Lines Matching refs:Type

60 class Type(object):  class
115 Type.all_types_list.append(self)
117 Type.argument_types_list.append(self)
119 Type.real_argument_types_list.append(self)
121 Type.standard_real_argument_types_list.append(self)
123 Type.non_standard_real_argument_types_list.append(self)
125 Type.real_types_order[self.order] = self
127 Type.double_type = self
129 Type.long_double_type = self
131 Type.complex_double_type = self
133 Type.float64_type = self
135 Type.complex_float64_type = self
137 Type.float64x_type = self
139 Type.float32x_ext_type = self
147 real_type = Type(name, suffix=suffix, mant_dig=mant_dig,
153 complex_type = Type(complex_name, condition=condition,
167 return (Type.complex_float64_type
169 else Type.float64_type)
171 return (Type.complex_double_type
173 else Type.double_type)
188 Type.create_type('_Float16', 'f16', 'FLT16_MANT_DIG',
191 Type.create_type('float', 'f', 'FLT_MANT_DIG', order=(1, 1))
192 Type.create_type('_Float32', 'f32', 'FLT32_MANT_DIG',
195 Type.create_type('_Float32x', 'f32x', 'FLT32X_MANT_DIG',
198 Type.create_type('double', '', 'DBL_MANT_DIG', order=(4, 4))
199 Type.create_type('long double', 'l', 'LDBL_MANT_DIG', order=(5, 7))
200 Type.create_type('_Float64', 'f64', 'FLT64_MANT_DIG',
203 Type.create_type('_Float64x', 'f64x', 'FLT64X_MANT_DIG',
206 Type.create_type('_Float128', 'f128', 'FLT128_MANT_DIG',
209 Type.create_type('char', integer=True)
210 Type.create_type('signed char', integer=True)
211 Type.create_type('unsigned char', integer=True)
212 Type.create_type('short int', integer=True)
213 Type.create_type('unsigned short int', integer=True)
214 Type.create_type('int', integer=True)
215 Type.create_type('unsigned int', integer=True)
216 Type.create_type('long int', integer=True)
217 Type.create_type('unsigned long int', integer=True)
218 Type.create_type('long long int', integer=True)
219 Type.create_type('unsigned long long int', integer=True)
220 Type.create_type('__int128', integer=True,
222 Type.create_type('unsigned __int128', integer=True,
224 Type.create_type('enum e', integer=True, complex_ok=False)
225 Type.create_type('_Bool', integer=True, complex_ok=False)
226 Type.create_type('bit_field', integer=True, complex_ok=False)
230 Type.create_type('long_double_Float64', None, 'LDBL_MANT_DIG',
234 Type.create_type('long_double_Float64x', None, 'FLT64X_MANT_DIG',
241 Type.create_type('Float32x_ext', None, 'FLT32X_EXT_MANT_DIG',
278 combined = Type.real_types_order[order]
366 float64_text = if_cond_text([Type.float64_type.condition],
376 float64x_text = if_cond_text([Type.float64x_type.condition],
391 for t in Type.all_types_list:
441 narrow_args = [Type.double_type, Type.long_double_type]
442 narrow_fallback = Type.double_type
447 narrow_args = [Type.long_double_type]
448 narrow_fallback = Type.long_double_type
454 for order, real_type in sorted(Type.real_types_order.items()):
470 narrow_fallback = Type.float32x_ext_type
479 for t in Type.argument_types_list:
531 arg_types.append(Type.argument_types_list)
534 arg_types.append(Type.standard_real_argument_types_list)
537 Type.non_standard_real_argument_types_list)
539 arg_types.append(Type.real_argument_types_list)
541 arg_types.append(Type.standard_real_argument_types_list)
545 comb_type = Type.combine_types(this_args, narrowing_nonstd)
567 can_comb = Type.can_combine_types(this_args, narrowing_nonstd)
790 Type.init_types()