Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 2503) sorted by relevance

12345678910>>...101

/illumos-gate/usr/src/cmd/acpi/iasl/
H A Dasltypes.y161 %type <n> ArgList
162 %type <n> AslCode
172 %type <n> Object
181 %type <n> Target
182 %type <n> Term
183 %type <n> TermArg
248 %type <n> IfTerm
266 %type <n> AddTerm
298 %type <n> OrTerm
376 %type <n> String
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsymbol.h139 enum type type:8;
352 if (type->type == SYM_NODE) in is_int_type()
354 if (type->type == SYM_ENUM) in is_int_type()
362 if (type->type == SYM_NODE) in is_enum_type()
385 if (type->type == SYM_NODE) in is_ptr_type()
387 return type->type == SYM_PTR || type->type == SYM_ARRAY || type->type == SYM_FN; in is_ptr_type()
392 if (type->type == SYM_NODE) in is_func_type()
434 switch (type->type) { in is_scalar_type()
455 switch (type->type) { in is_integral_type()
470 return type && type->type == SYM_FN; in is_function()
[all …]
H A Dsmatch_function_ptrs.c75 if (type->type != SYM_ARRAY && type->type != SYM_PTR) in xxx_is_array()
167 if (type && type->type == SYM_PTR) in get_returned_ptr()
169 if (!type || type->type != SYM_FN) in get_returned_ptr()
225 if (type && type->type == SYM_PTR) { in get_fnptr_name()
254 if (type && type->type == SYM_PTR) in match_passes_function_pointer()
256 if (!type || type->type != SYM_FN) in match_passes_function_pointer()
293 if (type->type == SYM_PTR || type->type == SYM_ARRAY) { in can_hold_function_ptr()
299 if (type->type == SYM_PTR || type->type == SYM_ARRAY) { in can_hold_function_ptr()
347 if (type->type == SYM_PTR || type->type == SYM_ARRAY) { in match_function_assign()
379 if (!type || type->type != SYM_FN) in match_returns_function_pointer()
[all …]
H A Dsmatch_type.c46 if (type && type->type == SYM_ARRAY) in type_bytes()
57 if (!type || type->type != SYM_ARRAY) in array_bytes()
446 sval_t ret = { .type = type }; in fp_max()
475 sval_t ret = { .type = type }; in fp_min()
523 if (!type || type->type != SYM_PTR) in is_void_pointer()
536 if (!type || type->type != SYM_PTR) in is_char_pointer()
556 if (!type || type->type != SYM_PTR) in is_struct_ptr()
559 if (!type || type->type != SYM_STRUCT) in is_struct_ptr()
599 if (one->type != two->type) in types_equiv()
766 if (!type || type->type != SYM_PTR) in get_arg_type_from_key()
[all …]
H A Dsmatch_sval.c72 ret.type = type; in sval_type_val()
112 return (sval.type->type == SYM_PTR || sval.type->type == SYM_ARRAY); in sval_is_ptr()
341 ret.type = type; in cast_to_fp()
414 ret.type = type; in sval_cast()
466 ret.type = type; in sval_binop_unsigned()
521 ret.type = type; in sval_binop_signed()
582 ret.type = type; in ptr_binop()
651 type = left.type; in sval_binop_overflows()
653 type = right.type; in sval_binop_overflows()
720 type = left.type; in sval_binop_overflows_no_sign()
[all …]
H A Dsmatch_address.c30 if (!type || type->type != SYM_ARRAY) in is_non_null_array()
44 if (!type || type->type != SYM_PTR) in is_non_null_array()
46 type = get_real_base_type(type); in is_non_null_array()
47 if (type->type != SYM_STRUCT) in is_non_null_array()
72 if (!type || type->type != SYM_UNION) in matches_anonymous_union()
91 if (!type || type->type != SYM_STRUCT) in get_member_offset()
139 type = get_real_base_type(type); in get_member_offset_from_deref()
140 if (!type || type->type != SYM_STRUCT) in get_member_offset_from_deref()
225 if (!type || type->type != SYM_FN) in handle_fn_address()
273 if (!type || type->type != SYM_ARRAY) in get_address_rl()
[all …]
H A Dcheck_memcpy_overflow.c60 if (!type || type->type != SYM_ARRAY) in bytes_to_end_of_struct()
90 if (!type || type->type != SYM_UNION) in size_of_union()
118 if (type->type == SYM_NODE) in name_in_union()
119 type = get_real_base_type(type); in name_in_union()
120 if (!type || type->type != SYM_UNION) in name_in_union()
144 if (!type || type->type != SYM_ARRAY) in ends_on_struct_member_boundary()
153 if (type->type == SYM_UNION) { in ends_on_struct_member_boundary()
162 if (type->type != SYM_STRUCT) in ends_on_struct_member_boundary()
207 if (!type || type->type != SYM_ARRAY) in is_one_element_array()
225 if (type->type == SYM_PTR) in is_ignored_struct()
[all …]
H A Dsmatch_buf_size.c136 if (type && type->type == SYM_ARRAY) in bytes_per_element()
143 if (type->type != SYM_PTR && type->type != SYM_ARRAY) in bytes_per_element()
146 type = get_base_type(type); in bytes_per_element()
291 if (!type || type->type != SYM_ARRAY) in get_real_array_size_from_type()
341 if (type->type == SYM_PTR) in get_bytes_from_address()
497 if (type->type != SYM_ARRAY && type->type != SYM_PTR) in get_array_size_bytes_rl()
610 if (!type || type->type != SYM_ARRAY) in strip_ampersands()
651 if (type->type != SYM_PTR) in store_alloc()
658 if (type->type != SYM_BASETYPE && type->type != SYM_PTR) in store_alloc()
669 if (type && type->type == SYM_ARRAY) in is_array_base()
[all …]
H A Dsmatch_container_of.c34 if (!type || type->type != SYM_PTR) in get_param_from_container_of()
63 if (!type || type->type != SYM_PTR) in get_offset_from_container_of()
296 if (!type || type->type != SYM_PTR) in is_fn_ptr()
298 type = get_real_base_type(type); in is_fn_ptr()
299 if (!type || type->type != SYM_FN) in is_fn_ptr()
389 if (!type || type->type != SYM_PTR) in get_member_from_offset()
392 if (!type || type->type != SYM_STRUCT) in get_member_from_offset()
431 if (!type || type->type != SYM_PTR) in get_name_from_offset()
437 if (type->type != SYM_STRUCT) { in get_name_from_offset()
486 if (type->type != SYM_PTR) in save_vals()
[all …]
H A Dsmatch_struct_assignment.c76 if (type->type == SYM_PTR) { in get_struct_type()
77 type = get_real_base_type(type); in get_struct_type()
81 if (type->type == SYM_STRUCT) in get_struct_type()
83 if (type->type == SYM_UNION) in get_struct_type()
126 if (type->type != SYM_PTR && type->type != SYM_ARRAY) in remove_addr()
160 if (type->type == SYM_PTR) { in handle_non_struct_assignments()
174 if (!right || !type || type->type == SYM_ARRAY) in handle_non_struct_assignments()
201 if (type->type == SYM_ARRAY) in set_inner_struct_members()
203 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in set_inner_struct_members()
272 if (type->type == SYM_ARRAY) in __struct_members_copy()
[all …]
H A Dsmatch_array_values.c26 struct symbol *type; member
92 struct symbol *type; in get_array_name() local
96 if (!type || type->type != SYM_ARRAY) in get_array_name()
112 struct symbol *type; in get_array_rl() local
117 if (!type || type->type != SYM_BASETYPE) in get_array_rl()
119 db_info.type = type; in get_array_rl()
144 struct db_info db_info = {.type = type}; in get_saved_rl()
163 struct symbol *type; in match_assign() local
167 if (!type || type->type != SYM_BASETYPE) in match_assign()
194 struct symbol *type; in mark_strings_unknown() local
[all …]
H A Dcheck_kernel_printf.c296 return type->type == SYM_STRUCT && type->ident && !strcmp(type->ident->name, tag); in is_struct_tag()
303 if (type->type == SYM_STRUCT) in has_struct_tag()
305 if (type->type == SYM_UNION) { in has_struct_tag()
317 return type == &uchar_ctype || type == &char_ctype || type == &schar_ctype; in is_char_type()
667 type = get_type(arg); in pointer()
668 if (!type) { in pointer()
698 type = basetype; in pointer()
810 struct symbol *type; in hexbyte() local
822 if (!type) { in hexbyte()
826 if (type == &char_ctype || type == &schar_ctype) in hexbyte()
[all …]
H A Dsmatch_ranges.c111 type_bits(sval.type) <= type_bits(type)) in sval_too_big()
137 if (type_is_fp(min.type) && !type_is_fp(type)) in truncates_nicely()
156 if (sval_fits(type, min) && sval_fits(type, max)) { in add_range_t()
612 if (!type) in str_to_dinfo()
829 if (!type || type_positive_bits(type) < 0) in alloc_whole_rl()
831 if (type->type == SYM_ARRAY) in alloc_whole_rl()
911 } else if (min.type->type == SYM_PTR) { in add_range()
1418 if (!type || type == rl_type(rl)) in rl_truncate_cast()
1457 if (type != tmp->min.type || type != tmp->max.type) in rl_type_consistent()
1857 min.type = max.type = &ullong_ctype; in handle_OR_rl()
[all …]
H A Dcheck_syscall_arg_type.c83 struct symbol *type; in is_mode_t() local
97 struct symbol *type; in is_pid_t() local
103 if (type == pid_t.sym) in is_pid_t()
110 struct symbol *type; in get_arg_type_from_type() local
118 if (!type || type->type != SYM_PTR) in get_arg_type_from_type()
120 type = get_real_base_type(type); in get_arg_type_from_type()
121 if (!type) in get_arg_type_from_type()
125 if (!type->ident) in get_arg_type_from_type()
145 const char *type; in get_syscall_arg_type() local
150 if (type) in get_syscall_arg_type()
[all …]
H A Dsmatch_mtag_data.c86 struct symbol *type; in is_head_next() local
100 if (!type) in is_head_next()
102 if (type->type == SYM_PTR) in is_head_next()
103 type = get_real_base_type(type); in is_head_next()
104 if (type->type != SYM_STRUCT) in is_head_next()
106 if (!type->ident || !type->ident->name || in is_head_next()
135 if (!type) in invalid_type()
139 if (type->type == SYM_STRUCT || in invalid_type()
140 type->type == SYM_ARRAY || in invalid_type()
141 type->type == SYM_UNION) in invalid_type()
[all …]
H A Dsmatch_type_val.c96 struct symbol *type; in get_db_type_rl() local
115 type = get_type(expr); in get_db_type_rl()
188 struct symbol *type; in is_ignored_fake_assignment() local
202 if (!type || type->type != SYM_PTR) in is_ignored_fake_assignment()
204 type = get_real_base_type(type); in is_ignored_fake_assignment()
205 if (!type || type->type != SYM_STRUCT) in is_ignored_fake_assignment()
311 if (!expr || expr->type != EXPR_CALL || expr->fn->type != EXPR_SYMBOL) in is_ignored_function()
354 if (expr->type == EXPR_PREOP || expr->type == EXPR_POSTOP) { in is_uncasted_pointer_assign()
471 if (type && type->type == SYM_STRUCT) in match_assign_value()
547 if (type && (type->type == SYM_ARRAY || type->type == SYM_STRUCT)) in match_global_assign()
[all …]
H A Dsmatch_about_fn_ptr_arg.c53 struct symbol *type; in link_function_arg() local
60 type = get_type(arg); in link_function_arg()
61 if (!type || type->type != SYM_PTR) in link_function_arg()
63 type = get_real_base_type(type); in link_function_arg()
64 if (!type) in link_function_arg()
152 struct symbol *type; in match_assign_function() local
160 if (type && type->type == SYM_PTR) in match_assign_function()
161 type = get_real_base_type(type); in match_assign_function()
162 if (!type || type->type != SYM_FN) in match_assign_function()
197 struct symbol *type; in check_passes_fn_and_data() local
[all …]
H A Dsmatch_fn_arg_link.c33 struct symbol *type; in save_in_fn_ptr_data_link_table() local
55 type = get_real_base_type(fn_sym); in save_in_fn_ptr_data_link_table()
56 if (!type) in save_in_fn_ptr_data_link_table()
58 if (type->type != SYM_PTR) in save_in_fn_ptr_data_link_table()
60 type = get_real_base_type(type); in save_in_fn_ptr_data_link_table()
61 if (!type || type->type != SYM_STRUCT || !type->ident) in save_in_fn_ptr_data_link_table()
148 struct symbol *type; in check_passes_fn_and_data() local
155 type = get_type(fn); in check_passes_fn_and_data()
156 if (!type || type->type != SYM_PTR) in check_passes_fn_and_data()
158 type = get_real_base_type(type); in check_passes_fn_and_data()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_elf_rel_detector.c48 | (type == R_MIPS_32) in _dwarf_is_32bit_abs_reloc()
60 | (type == R_SPARC_UA32) in _dwarf_is_32bit_abs_reloc()
70 r = (type == R_SPARC_UA32); in _dwarf_is_32bit_abs_reloc()
89 | (type == R_386_32) in _dwarf_is_32bit_abs_reloc()
92 | (type == R_386_PC32) in _dwarf_is_32bit_abs_reloc()
101 | (type == R_386_GOTPC) in _dwarf_is_32bit_abs_reloc()
111 | (type == R_SH_DIR32) in _dwarf_is_32bit_abs_reloc()
196 | (type == R_390_32) in _dwarf_is_32bit_abs_reloc()
244 | (type == R_MIPS_64) in _dwarf_is_64bit_abs_reloc()
247 | (type == R_MIPS_32) in _dwarf_is_64bit_abs_reloc()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dencrypt.c143 for (; (ep->type != 0) && (ep->type != type); ep++); in findencryption()
154 while (ep->type && ep->type != type) in finddecryption()
218 ENCTYPE_NAME(ep->type), ep->type); in encrypt_list_types()
226 if (isprefix(type, "help") || isprefix(type, "?")) { in EncryptEnable()
508 Name, ENCTYPE_NAME(type), type); in encrypt_support()
550 ENCTYPE_NAME(type) : UNKNOWN, type); in encrypt_is()
559 ENCTYPE_NAME(type) : UNKNOWN, type); in encrypt_is()
593 ENCTYPE_NAME(type) : UNKNOWN, type); in encrypt_reply()
602 ENCTYPE_NAME(type) : UNKNOWN, type); in encrypt_reply()
827 ENCTYPE_NAME(type) : UNKNOWN, type); in encrypt_start_output()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dshqueue.h53 #define SH_LIST_FIRSTP(head, type) \ argument
56 #define SH_LIST_FIRST(head, type) \ argument
63 #define SH_LIST_NEXT(elm, field, type) \ argument
136 #define SH_TAILQ_FIRSTP(head, type) \ argument
139 #define SH_TAILQ_FIRST(head, type) \ argument
215 field, type), elm); \
252 #define SH_CIRCLEQ_LAST(head, type) \ argument
284 field, type)->field.scqe_prev = \
286 field, type), elm); \
298 field, type)->field.scqe_next = \
[all …]
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditm_comp.y68 %type <action> action
78 %type <obj> escseq
80 %type <tbl_hdr> map
89 %type <obj> op_list
90 %type <obj> op_unit
93 %type <data> name
95 %type <expr> expr
96 %type <expr> itm_in
521 $$->type = NULL;
532 $$->type = $3;
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_nvram.c66 efx_nvram_rw_finish(enp, type); in sfxge_nvram_rw()
107 efx_nvram_type_t type; in sfxge_nvram_ioctl() local
112 type = EFX_NVRAM_BOOTROM; in sfxge_nvram_ioctl()
115 type = EFX_NVRAM_BOOTROM_CFG; in sfxge_nvram_ioctl()
118 type = EFX_NVRAM_MC_FIRMWARE; in sfxge_nvram_ioctl()
121 type = EFX_NVRAM_MC_GOLDEN; in sfxge_nvram_ioctl()
130 type = EFX_NVRAM_PHY; in sfxge_nvram_ioctl()
133 type = EFX_NVRAM_NULLPHY; in sfxge_nvram_ioctl()
136 type = EFX_NVRAM_FPGA; in sfxge_nvram_ioctl()
139 type = EFX_NVRAM_FCFW; in sfxge_nvram_ioctl()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregdecomp.c91 switch (e->type) in decomp()
104 if (type < SRE) in decomp()
108 if (type < SRE) in decomp()
125 if (type >= SRE) in decomp()
271 if (type < SRE) in decomp()
398 int type; in regdecomp() local
409 type = BRE; in regdecomp()
413 type = ARE; in regdecomp()
416 type = ERE; in regdecomp()
419 type = SRE; in regdecomp()
[all …]
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A DIR.rst29 * .type: type of .src
40 * .type: type of .cond, must be an integral type
47 * .type: type of .cond, must be an integral type
61 * .type: type of .target
98 * .type: type of .target
117 * .type: type of .target, must be an integral type
133 * .type: type of .target, must be an integral type
228 * .type: type of .target, must be an integral type
235 * .type: type of .target
242 * .type: type of .target
[all …]

12345678910>>...101