Home
last modified time | relevance | path

Searched refs:base_type (Results 26 – 50 of 54) sorted by relevance

123

/illumos-gate/usr/src/tools/smatch/src/
H A Dcompile-i386.c807 struct symbol *base_type = sym->ctype.base_type; in emit_func_pre() local
809 FOR_EACH_PTR(base_type->arguments, arg) { in emit_func_pre()
834 FOR_EACH_PTR(base_type->arguments, arg) { in emit_func_pre()
969 struct symbol *base_type = sym->ctype.base_type; in emit_initializer() local
970 assert(base_type != NULL); in emit_initializer()
972 emit_scalar(expr, sym->bit_size / get_expression_value(base_type->array_size)); in emit_initializer()
1052 struct symbol *base_type = sym->ctype.base_type; in emit_array() local
1056 assert(base_type != NULL); in emit_array()
1075 entry->init_offset / (base_type->bit_size / 8); in emit_array()
1807 type = sym->ctype.base_type; in x86_symbol()
[all …]
H A Dcheck_unwind.c50 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, arg) { in was_passed_as_param()
128 if (type && type->ctype.base_type == &int_type) { in func_returns_int()
H A Dctags.c134 base = sym->ctype.base_type; in examine_symbol()
157 examine_symbol(sym->ctype.base_type); in examine_symbol()
H A Dgdbhelpers182 if ($arg0->base_type)
184 printf "base_type = "
185 gdb_show_symbol($arg0->base_type)
H A Dinline.c510 struct symbol *fn = sym->ctype.base_type; in inline_function()
530 expr->ctype = fn->ctype.base_type; in inline_function()
539 a->ctype.base_type = arg->ctype; in inline_function()
571 struct symbol *fn = sym->ctype.base_type; in uninline()
H A Dsmatch_untracked_param.c194 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, arg) { in mark_all_params()
223 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, arg) { in print_untracked_params()
H A Dsmatch.h478 int type_signed(struct symbol *base_type);
481 int returns_unsigned(struct symbol *base_type);
483 int returns_pointer(struct symbol *base_type);
484 sval_t sval_type_max(struct symbol *base_type);
485 sval_t sval_type_min(struct symbol *base_type);
1343 static inline int type_unsigned(struct symbol *base_type) in type_unsigned() argument
1345 if (!base_type) in type_unsigned()
1347 if (is_ptr_type(base_type)) in type_unsigned()
1349 if (base_type->ctype.modifiers & MOD_UNSIGNED) in type_unsigned()
H A Dsparse.c286 if (!sym->ctype.base_type) in list_compound_symbol()
293 base = sym->ctype.base_type; in list_compound_symbol()
H A Dtest-unssa.c52 printf("\ttype = %d\n", sym->ctype.base_type->type); in output_data()
H A Dcheck_kernel_printf.c900 struct symbol *base = sym->ctype.base_type; in is_array_of_const_char()
905 if (!is_char_type(base->ctype.base_type)) { in is_array_of_const_char()
906 spam("weird: format argument is array of const '%s'", type_to_str(base->ctype.base_type)); in is_array_of_const_char()
914 struct symbol *base = sym->ctype.base_type; in is_const_pointer_to_const_char()
921 if (!is_char_type(base->ctype.base_type)) { in is_const_pointer_to_const_char()
922 spam("weird: format argument is pointer to const '%s'", type_to_str(base->ctype.base_type)); in is_const_pointer_to_const_char()
H A Dcheck_dereferences_param.c47 FOR_EACH_PTR(sym->ctype.base_type->arguments, arg) { in match_function_def()
H A Dshow-parse.c100 do_debug_symbol(sym->ctype.base_type, indent+2); in do_debug_symbol()
416 sym = sym->ctype.base_type; in do_show_type()
463 type = sym->ctype.base_type; in show_symbol()
760 if (sym->ctype.base_type->type == SYM_FN) in show_call_expression()
H A Dcheck_leaks.c110 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, tmp) { in is_param()
H A Dast-inspect.c131 ast_append_child(node, "ctype.base_type:", sym->ctype.base_type,inspect_symbol); in inspect_symbol()
H A Dcheck_implicit_dependencies.c67 FOR_EACH_PTR(sym->ctype.base_type->arguments, arg) { in match_syscall_definition()
H A Dexpression.c107 array->ctype.base_type = &char_ctype; in handle_func()
111 decl->ctype.base_type = array; in handle_func()
H A Dsmatch_helper.c1086 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, tmp) { in get_param_num_from_sym()
1117 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, sym) { in get_param_sym_from_num()
H A Dcheck_kernel.c65 arg = first_ptr_list((struct ptr_list *)sym->ctype.base_type->arguments); in hack_ERR_PTR()
H A Dsmatch_comparison.c615 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, param) { in save_start_states()
2016 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, param) { in range_comparison_to_param_helper()
2054 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, param) { in name_sym_to_param_comparison()
2094 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, param) { in expr_param_comparison()
H A Dsmatch_db.c1026 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, arg) { in get_param()
1955 FOR_EACH_PTR_REVERSE(cur_func_sym->ctype.base_type->arguments, arg) { in find_bool_param()
2051 if (ptr_list_size((struct ptr_list *)cur_func_sym->ctype.base_type->arguments) != 1) in split_by_null_nonnull_param()
2053 arg = first_ptr_list((struct ptr_list *)cur_func_sym->ctype.base_type->arguments); in split_by_null_nonnull_param()
H A Dsmatch_parse_call_math.c280 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, arg) { in get_arg_number()
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dread.c121 base_type(int8_t i) in base_type() function
157 if (base_type(t) == base_type(type)) in validate_type()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dundi.h145 uint8_t base_type; member
/illumos-gate/usr/src/lib/libscf/common/
H A Dnotify_params.c1045 scf_type_t type, base_type; in add_prop_to_nvlist() local
1061 base_type = scf_true_base_type(type); in add_prop_to_nvlist()
1062 if (base_type == SCF_TYPE_ASTRING && type != SCF_TYPE_ASTRING) in add_prop_to_nvlist()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c5266 char base_type = '\0'; in store_allow_perm() local
5281 base_type = ZFS_DELEG_NAMED_SET; in store_allow_perm()
5287 base_type = ZFS_DELEG_CREATE; in store_allow_perm()
5293 base_type = ZFS_DELEG_USER; in store_allow_perm()
5302 base_type = ZFS_DELEG_GROUP; in store_allow_perm()
5311 base_type = ZFS_DELEG_EVERYONE; in store_allow_perm()
5319 assert(set_type != '\0' && base_type != '\0'); in store_allow_perm()
5353 base_type, locality, who); in store_allow_perm()
5357 base_type, locality); in store_allow_perm()
5386 "%c%c$%s", base_type, locality, who); in store_allow_perm()
[all …]

123