Lines Matching refs:ctype

100 struct ctype {  struct
109 struct ctype ctype; argument
183 struct ctype ctype; member
301 extern const char * type_difference(struct ctype *c1, struct ctype *c2,
327 extern const char *builtin_ctypename(struct ctype *ctype);
335 static inline int valid_type(const struct symbol *ctype) in valid_type() argument
337 return ctype && ctype != &bad_ctype; in valid_type()
342 return examine_symbol_type(sym->ctype.base_type); in get_base_type()
353 type = type->ctype.base_type; in is_int_type()
355 type = type->ctype.base_type; in is_int_type()
357 type->ctype.base_type == &int_type; in is_int_type()
363 type = type->ctype.base_type; in is_enum_type()
370 sym = sym->ctype.base_type; in is_signed_type()
373 return !(sym->ctype.modifiers & MOD_UNSIGNED); in is_signed_type()
378 return (type->ctype.modifiers & MOD_TYPE) != 0; in is_type_type()
386 type = type->ctype.base_type; in is_ptr_type()
393 type = type->ctype.base_type; in is_func_type()
400 type = type->ctype.base_type; in is_array_type()
407 type = type->ctype.base_type; in is_float_type()
408 return type->ctype.base_type == &fp_type; in is_float_type()
419 type = type->ctype.base_type; in is_void_type()
426 type = type->ctype.base_type; in is_bool_type()
433 type = type->ctype.base_type; in is_scalar_type()
443 if (type->ctype.base_type == &int_type) in is_scalar_type()
445 if (type->ctype.base_type == &fp_type) in is_scalar_type()
454 type = type->ctype.base_type; in is_integral_type()
463 if (type->ctype.base_type == &int_type) in is_integral_type()
475 return (sym->ctype.modifiers & MOD_EXTERN) && in is_extern_inline()
476 (sym->ctype.modifiers & MOD_INLINE) && in is_extern_inline()
477 is_function(sym->ctype.base_type); in is_extern_inline()
483 type = type->ctype.base_type; in get_sym_type()
485 type = type->ctype.base_type; in get_sym_type()
489 static inline long long extend_value(long long val, struct symbol *ctype) in extend_value() argument
491 int is_signed = !(ctype->ctype.modifiers & MOD_UNSIGNED); in extend_value()
492 unsigned size = ctype->bit_size; in extend_value()