/illumos-gate/usr/src/tools/smatch/src/ |
H A D | compile-i386.c | 807 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 D | check_unwind.c | 50 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 D | ctags.c | 134 base = sym->ctype.base_type; in examine_symbol() 157 examine_symbol(sym->ctype.base_type); in examine_symbol()
|
H A D | gdbhelpers | 182 if ($arg0->base_type) 184 printf "base_type = " 185 gdb_show_symbol($arg0->base_type)
|
H A D | inline.c | 510 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 D | smatch_untracked_param.c | 194 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 D | smatch.h | 478 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 D | sparse.c | 286 if (!sym->ctype.base_type) in list_compound_symbol() 293 base = sym->ctype.base_type; in list_compound_symbol()
|
H A D | test-unssa.c | 52 printf("\ttype = %d\n", sym->ctype.base_type->type); in output_data()
|
H A D | check_kernel_printf.c | 900 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 D | check_dereferences_param.c | 47 FOR_EACH_PTR(sym->ctype.base_type->arguments, arg) { in match_function_def()
|
H A D | show-parse.c | 100 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 D | check_leaks.c | 110 FOR_EACH_PTR(cur_func_sym->ctype.base_type->arguments, tmp) { in is_param()
|
H A D | ast-inspect.c | 131 ast_append_child(node, "ctype.base_type:", sym->ctype.base_type,inspect_symbol); in inspect_symbol()
|
H A D | check_implicit_dependencies.c | 67 FOR_EACH_PTR(sym->ctype.base_type->arguments, arg) { in match_syscall_definition()
|
H A D | expression.c | 107 array->ctype.base_type = &char_ctype; in handle_func() 111 decl->ctype.base_type = array; in handle_func()
|
H A D | smatch_helper.c | 1086 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 D | check_kernel.c | 65 arg = first_ptr_list((struct ptr_list *)sym->ctype.base_type->arguments); in hack_ERR_PTR()
|
H A D | smatch_comparison.c | 615 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 D | smatch_db.c | 1026 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 D | smatch_parse_call_math.c | 280 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 D | read.c | 121 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 D | undi.h | 145 uint8_t base_type; member
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | notify_params.c | 1045 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 D | zfs_main.c | 5266 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 …]
|