Searched defs:base_type (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dread.c123 base_type(int8_t i) function
159 if (base_type(t) == base_type(type))
/illumos-gate/usr/src/tools/smatch/src/
H A Ddissect.c60 *base_type(struct symbol *sym),
95 if (!type->ctype.base_type)
127 sym.ctype.base_type = &bad_ctype;
136 struct symbol *ret = mem->ctype.base_type;
156 report_implicit(mode, pos, base_type(mem)));
173 if (!sym->ctype.base_type)
174 sym->ctype.base_type = &bad_ctype;
182 struct symbol *ret = base_type(sym);
215 while ((base = node->ctype.base_type) != NULL)
218 node->ctype.base_type
246 static struct symbol *base_type(struct symbol *sym) function
[all...]
H A Dbuiltin.c270 type = type->ctype.base_type;
275 type = type->ctype.base_type;
280 type = type->ctype.base_type;
283 if (type->ctype.base_type != &int_type || type == &bool_ctype)
325 struct symbol *base_type; member in struct:sym_init
360 sym->ctype.base_type = ptr->base_type;
375 sym->ctype.base_type = fun;
379 fun->ctype.base_type = rtype;
385 anode->ctype.base_type
[all...]
H A Dcheck_rosenberg.c63 struct symbol *tmp, *base_type; local
72 base_type = get_real_base_type(tmp);
73 if (base_type && base_type->type == SYM_STRUCT) {
74 if (check_struct(expr, base_type))
85 if (base_type == &bool_ctype)
H A Dcheck_uninitialized.c35 struct symbol *struct_type, *tmp, *base_type; local
42 base_type = get_real_base_type(tmp);
43 if (!base_type ||
44 base_type->type == SYM_STRUCT ||
45 base_type->type == SYM_ARRAY ||
46 base_type->type == SYM_UNION)
H A Dsmatch_function_ptrs.c402 struct symbol *base_type; local
418 base_type = get_type(expr->ident_expression);
419 if (!base_type || base_type->type != SYM_FN)
H A Dsmatch_type.c216 sym->ctype.base_type = base;
344 int type_signed(struct symbol *base_type) argument
346 if (!base_type)
348 if (base_type->ctype.modifiers & MOD_SIGNED)
406 sval_t sval_type_max(struct symbol *base_type) argument
410 if (!base_type || !type_bits(base_type))
411 base_type = &llong_ctype;
412 ret.type = base_type;
414 ret.value = (~0ULL) >> (64 - type_positive_bits(base_type));
418 sval_type_min(struct symbol *base_type) argument
[all...]
H A Dsmatch_container_of.c462 struct symbol *base_type; local
465 base_type = get_real_base_type(sym);
466 if (base_type && base_type->type == SYM_PTR)
467 base_type = get_real_base_type(base_type);
468 if (offset == 0 && base_type && base_type->type == SYM_BASETYPE)
469 return base_type;
666 FOR_EACH_PTR(cur_func_sym->ctype.base_type
[all...]
H A Dexpand.c175 ctype = ctype->ctype.base_type;
509 struct ctype c1 = {.base_type = left};
510 struct ctype c2 = {.base_type = right};
1117 struct symbol *base_type; local
1121 base_type = sym->ctype.base_type;
1122 if (!base_type)
1127 if (base_type->type == SYM_FN) {
1128 if (base_type->stmt)
1129 expand_statement(base_type
[all...]
H A Dsparse-llvm.c32 return symbol_type(sym->ctype.base_type);
44 struct symbol *arg_sym = arg->ctype.base_type;
55 struct symbol *base_type; local
57 base_type = sym->ctype.base_type;
59 assert(base_type->bit_size > 0);
61 elem_type = symbol_type(base_type);
65 return LLVMArrayType(elem_type, sym->bit_size / base_type->bit_size);
119 if (is_void_type(sym->ctype.base_type))
122 type = symbol_type(sym->ctype.base_type);
1136 struct symbol *base_type = sym->ctype.base_type; local
[all...]
H A Dsymbol.c114 sym = sym->ctype.base_type;
116 sym = sym->ctype.base_type;
165 sym->ctype.base_type->bit_offset = bit_offset;
211 struct symbol *base_type; local
214 base_type = examine_symbol_type(sym->ctype.base_type);
215 if (!base_type || base_type->type == SYM_PTR)
216 return base_type;
217 combine_address_space(sym->pos, &sym->ctype.as, base_type
230 struct symbol *base_type = examine_base_type(sym); local
255 struct symbol *base_type = examine_base_type(sym); local
279 merge_type(struct symbol *sym, struct symbol *base_type) argument
387 struct symbol *base_type = examine_base_type(sym); local
424 struct symbol *base_type = examine_base_type(sym); local
748 struct symbol *base_type; member in struct:ctype_declare
[all...]
H A Dlinearize.c946 base = base->ctype.base_type;
948 return base->ctype.base_type;
1258 s = s->ctype.base_type;
1261 if (s->ctype.base_type == &void_ctype)
1268 s = s->ctype.base_type;
1273 if (s->ctype.base_type == &fp_type)
1275 if (s->ctype.base_type == &int_type)
1347 src = src->ctype.base_type;
1349 dst = dst->ctype.base_type;
1504 fntype = fntype->ctype.base_type;
2447 linearize_fn(struct symbol *sym, struct symbol *base_type) argument
2498 struct symbol *base_type; local
[all...]
H A Dsmatch.h458 int type_signed(struct symbol *base_type);
461 int returns_unsigned(struct symbol *base_type);
463 int returns_pointer(struct symbol *base_type);
464 sval_t sval_type_max(struct symbol *base_type);
465 sval_t sval_type_min(struct symbol *base_type);
1286 static inline int type_unsigned(struct symbol *base_type) argument
1288 if (!base_type)
1290 if (is_ptr_type(base_type))
1292 if (base_type->ctype.modifiers & MOD_UNSIGNED)
H A Dsmatch_flow.c916 struct symbol *base_type = get_base_type(cur_func_sym); local
932 func_stmt = base_type->stmt;
934 func_stmt = base_type->inline_stmt;
1567 struct symbol *base_type = get_base_type(sym); local
1570 if (!base_type->stmt && !base_type->inline_stmt)
1588 __split_stmt(base_type->stmt);
1589 __split_stmt(base_type->inline_stmt);
1596 __split_stmt(base_type->stmt);
1597 __split_stmt(base_type
1664 struct symbol *base_type; local
[all...]
H A Dsymbol.h105 struct symbol *base_type; member in struct:ctype
331 extern void merge_type(struct symbol *sym, struct symbol *base_type);
342 return examine_symbol_type(sym->ctype.base_type);
353 type = type->ctype.base_type;
355 type = type->ctype.base_type;
357 type->ctype.base_type == &int_type;
363 type = type->ctype.base_type;
370 sym = sym->ctype.base_type;
386 type = type->ctype.base_type;
393 type = type->ctype.base_type;
[all...]
H A Dcompile-i386.c807 struct symbol *base_type = sym->ctype.base_type; local
809 FOR_EACH_PTR(base_type->arguments, arg) {
834 FOR_EACH_PTR(base_type->arguments, arg) {
969 struct symbol *base_type = sym->ctype.base_type; local
970 assert(base_type != NULL);
972 emit_scalar(expr, sym->bit_size / get_expression_value(base_type->array_size));
1052 struct symbol *base_type = sym->ctype.base_type; local
[all...]
H A Devaluate.c68 struct symbol *base_type; local
77 base_type = get_base_type(sym);
78 if (!base_type) {
111 sym->ctype.base_type = array;
121 array->ctype.base_type = &char_ctype;
146 type = type->ctype.base_type;
213 static struct symbol *base_type(struct symbol *node, unsigned long *modp, struct ident **asp) function
222 node = node->ctype.base_type;
238 old = base_type(old, &oldmod, &oldas);
239 new = base_type(ne
2233 struct symbol *base_type; local
3404 struct symbol *base_type; local
[all...]
H A Dparse.c622 sym->ctype.base_type = ptr->type;
680 ctype = ctx->mode->to_mode(ctx->ctype.base_type);
683 show_typename(ctx->ctype.base_type));
685 ctx->ctype.base_type = ctype;
693 sym->ctype.base_type = ctype->base_type;
696 ctype->base_type = sym;
737 ctx->ctype.base_type = sym;
741 struct decl_state attr = { .ctype.base_type = sym, };
765 ctx->ctype.base_type
890 cast_enum_list(struct symbol_list *list, struct symbol *base_type) argument
919 struct symbol *ctype = NULL, *base_type = NULL; local
1853 struct symbol *base_type = ctype->base_type; local
1942 struct symbol *base_type = bitfield->ctype.base_type; local
2806 struct symbol *base_type = decl->ctype.base_type; local
2968 struct symbol *base_type; local
[all...]
/illumos-gate/usr/src/lib/libscf/common/
H A Dnotify_params.c1045 scf_type_t type, base_type; local
1061 base_type = scf_true_base_type(type);
1062 if (base_type == SCF_TYPE_ASTRING && type != SCF_TYPE_ASTRING)
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dundi.h145 uint8_t base_type; member in struct:pnp_header
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c5184 char base_type = '\0'; local
5199 base_type = ZFS_DELEG_NAMED_SET;
5205 base_type = ZFS_DELEG_CREATE;
5211 base_type = ZFS_DELEG_USER;
5220 base_type = ZFS_DELEG_GROUP;
5229 base_type = ZFS_DELEG_EVERYONE;
5237 assert(set_type != '\0' && base_type != '\0');
5271 base_type, locality, who);
5275 base_type, locality);
5304 "%c%c$%s", base_type, localit
[all...]

Completed in 810 milliseconds