Home
last modified time | relevance | path

Searched refs:type (Results 76 – 100 of 3807) sorted by relevance

12345678910>>...153

/illumos-gate/usr/src/boot/common/
H A Dpart.c78 } type; member
83 enum ptable_type type; member
91 enum partition_type type; member
126 if (ptypes[i].type == type) in parttype2str()
142 gpt_parttype(uuid_t type) in gpt_parttype() argument
384 mbr_parttype(uint8_t type) in mbr_parttype() argument
387 switch (type) { in mbr_parttype()
471 switch (type) { in bsd_parttype()
551 switch (type) { in vtoc8_parttype()
631 switch (type) { in vtoc_parttype()
[all …]
/illumos-gate/usr/src/cmd/audio/include/
H A Dlibaudio_impl.h62 #define MALLOC(type) \ argument
63 (type *)(long)malloc(sizeof (type))
64 #define CALLOC(number, type) \ argument
65 (type *)(long)calloc((unsigned)(number), sizeof (type))
66 #define REALLOC(ptr, number, type) \ argument
67 (type *)(long)realloc((char *)(ptr), (unsigned)(number) * sizeof (type))
/illumos-gate/usr/src/cmd/mandoc/
H A Deqn_term.c65 bp->parent->type == EQN_SUBEXPR && in eqn_box()
73 (bp->type == EQN_LIST && in eqn_box()
75 bp->first->type != EQN_PILE && in eqn_box()
76 bp->first->type != EQN_MATRIX && in eqn_box()
78 (bp->prev->type == EQN_LIST || in eqn_box()
79 (bp->prev->type == EQN_TEXT && in eqn_box()
114 } else if (bp->type == EQN_SUBEXPR) { in eqn_box()
137 if (bp->type == EQN_MATRIX && in eqn_box()
139 child->type == EQN_LIST && in eqn_box()
144 bp->type == EQN_PILE && in eqn_box()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_kmalloc_wrong_size.c24 struct symbol *type; in get_data_size() local
26 type = get_type(ptr); in get_data_size()
27 if (!type || type->type != SYM_PTR) in get_data_size()
29 type = get_base_type(type); in get_data_size()
30 if (!type) in get_data_size()
32 return type_bytes(type); in get_data_size()
60 if (!arg || arg->type != EXPR_BINOP || arg->op != '*') in match_alloc()
62 if (expr->left->type == EXPR_SIZEOF) in match_alloc()
64 if (expr->right->type == EXPR_SIZEOF) in match_alloc()
H A Dsmatch_helper.c153 struct symbol *type; in get_array_expr() local
159 if (!type) in get_array_expr()
161 if (type->type == SYM_ARRAY) in get_array_expr()
163 if (type->type != SYM_PTR) in get_array_expr()
185 switch (expr->type) { in __get_variable_from_expr()
512 switch (expr->type) { in get_complication_score()
643 struct symbol *type; in is_array() local
661 if (!type || type->type != SYM_ARRAY) in is_array()
738 switch (expr->type) { in strip_expr_helper()
766 if (type && type->type == SYM_ARRAY) in strip_expr_helper()
[all …]
H A Dsmatch_function_hooks.c37 int type; member
63 int type; member
81 cb->type = type; in alloc_fcall_back()
156 cb->type = type; in select_return_states_hook()
201 if (tmp->type == type) { in call_call_backs()
634 if (!type) in func_type_mismatch()
636 if (type->type == SYM_PTR) in func_type_mismatch()
637 type = get_real_base_type(type); in func_type_mismatch()
729 if (tmp->type == type) in db_compare_callback()
972 if (tmp->type == type) in db_assign_return_states_callback()
[all …]
H A Dexpand.c64 expr->type = EXPR_VALUE; in expand_symbol_expression()
101 expr->type = EXPR_VALUE; in cast_value()
324 if (left->type != EXPR_VALUE || right->type != EXPR_VALUE) in simplify_cmp_binop()
356 if (left->type != EXPR_FVALUE || right->type != EXPR_FVALUE) in simplify_float_binop()
404 if (left->type != EXPR_FVALUE || right->type != EXPR_FVALUE) in simplify_float_cmp()
463 if (left->type == EXPR_VALUE && right->type == EXPR_VALUE) { in expand_logical()
493 if (expr->left->type == EXPR_VALUE || expr->left->type == EXPR_FVALUE) { in expand_comma()
538 if (left->type == EXPR_TYPE && right->type == EXPR_TYPE) { in expand_compare()
820 if (target->type == EXPR_VALUE || target->type == EXPR_FVALUE) { in expand_cast()
1018 switch (expr->type) { in expand_expression()
[all …]
H A Dcheck_shift_to_zero.c24 struct symbol *type; in match_binop() local
33 type = get_type(expr->left); in match_binop()
34 if (!type) in match_binop()
36 if (type_bits(type) == -1 || type_bits(type) > bits.value) in match_binop()
40 sm_warning("right shifting more than type allows %d vs %lld", type_bits(type), bits.value); in match_binop()
56 if (left->type != EXPR_BINOP || left->op != '&') in match_binop2()
72 struct symbol *type; in match_assign() local
80 type = get_type(expr->left); in match_assign()
81 if (!type) in match_assign()
83 if (type_bits(type) > bits.value) in match_assign()
H A Dcheck_spectre.c49 if (parent->type == EXPR_ASSIGNMENT) { in is_read()
59 if (stmt && stmt->type == STMT_RETURN) in is_read()
73 if (tmp->type == EXPR_ASSIGNMENT || tmp->type == EXPR_CALL) in is_harmless()
85 if (stmt->type == STMT_ITERATOR && in is_harmless()
95 struct symbol *type; in get_max_by_type() local
99 max.type = &ullong_ctype; in get_max_by_type()
104 type = get_type(expr); in get_max_by_type()
105 if (type && sval_type_max(type).uvalue < max.uvalue) in get_max_by_type()
106 max = sval_type_max(type); in get_max_by_type()
107 if (expr->type == EXPR_PREOP) { in get_max_by_type()
[all …]
H A Dsmatch_flow.c83 .type = &ptr_ctype,
87 .type = &ptr_ctype,
1270 if (!type || type->type != SYM_STRUCT) in member_to_number()
1290 if (!type || type->type != SYM_STRUCT) in number_to_member()
1316 if (!type) in set_inner_struct_members()
1323 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in set_inner_struct_members()
1352 if (!type) in set_unset_to_zero()
1361 if (type->type == SYM_UNION || type->type == SYM_STRUCT) { in set_unset_to_zero()
1365 if (type->type == SYM_ARRAY) in set_unset_to_zero()
1420 if (type && type->type == SYM_ARRAY) in fake_member_assigns_helper()
[all …]
H A Dcheck_kernel.c51 low_error.type = &long_ctype; in hack_ERR_PTR()
54 minus_one.type = &long_ctype; in hack_ERR_PTR()
57 zero.type = &long_ctype; in hack_ERR_PTR()
209 struct symbol *type; in match_next_bit() local
216 type = get_type(call); in match_next_bit()
226 min = sval_cast(type, min); in match_next_bit()
239 start.type = &int_ctype; in match_fls()
241 end.type = &int_ctype; in match_fls()
288 if (fn->type != SYM_FN) in find_module_init_exit()
400 type = get_type(dest); in match__read_once_size()
[all …]
H A Dsymbol.c80 sym->type = type; in alloc_symbol()
523 const char* get_type_name(enum type type) in get_type_name() argument
562 struct symbol *new = alloc_symbol(type->pos, type->type); in create_fouled()
563 *new = *type; in create_fouled()
575 while (type->type == SYM_NODE) in befoul()
576 type = type->ctype.base_type; in befoul()
580 if (t1 == type) in befoul()
665 if (sym && sym->type != type) in create_symbol()
667 type, sym->type); in create_symbol()
744 enum type type; member
[all …]
H A Dsmatch_extra.c126 type = get_real_base_type(type); in set_union_info()
127 if (!type || type->type != SYM_STRUCT) in set_union_info()
554 if (!type) in set_extra_chunk_true_false()
971 if (!type) in is_const_param()
1008 if (!type) in values_fit_type()
1041 if (!type) in save_chunk_info()
1283 if (!type || type->type != SYM_PTR) in clear_pointed_at_state()
1285 type = get_real_base_type(type); in clear_pointed_at_state()
1286 if (!type || type->type != SYM_BASETYPE) in clear_pointed_at_state()
1912 if (!type) in handle_integer_overflow_test()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfreserve.c32 Void_t* sfreserve(f,size,type) in sfreserve()
49 if(type < 0)
51 else if((mode = type&SF_WRITE) )
52 type &= ~SF_WRITE;
55 if(type == SF_LASTR )
73 if(type > 0)
75 type = SF_LOCKR;
76 else if(type != SF_LOCKR)
80 if(size == 0 && (type < 0 || type == SF_LOCKR) )
145 if(size == 0 && type == 0)
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c120 (type == DDI_INTR_TYPE_MSI)) { in pci_get_msi_ctrl()
169 if (type == DDI_INTR_TYPE_MSI) { in pci_msi_get_cap()
214 if (type == DDI_INTR_TYPE_MSI) { in pci_msi_configure()
306 if (type == DDI_INTR_TYPE_MSI) { in pci_msi_unconfigure()
405 if (type == DDI_INTR_TYPE_MSI) { in pci_msi_enable_mode()
454 if (type == DDI_INTR_TYPE_MSI) { in pci_msi_disable_mode()
498 if (type == DDI_INTR_TYPE_MSI) { in pci_msi_set_mask()
562 if (type == DDI_INTR_TYPE_MSI) { in pci_msi_clr_mask()
623 if (type == DDI_INTR_TYPE_MSI) { in pci_msi_get_pending()
680 if (type == DDI_INTR_TYPE_MSI) { in pci_msi_get_nintrs()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dppriv.c62 if (!PRIV_VALIDSET(type) || !PRIV_VALIDOP(op)) in setppriv()
76 audit_setppriv(op, type, &pset, pcr); in setppriv()
89 if (type == PRIV_LIMIT && in setppriv()
99 if (type != PRIV_INHERITABLE || in setppriv()
127 if (type != PRIV_INHERITABLE) in setppriv()
130 target = &(CR_PRIVS(cr)->crprivs[type]); in setppriv()
154 if (type == PRIV_PERMITTED) in setppriv()
189 if ((type == PRIV_EFFECTIVE || type == PRIV_PERMITTED) && in setppriv()
210 if (!PRIV_VALIDSET(type)) in getppriv()
383 return (setppriv(op, type, buf)); in privsys()
[all …]
/illumos-gate/usr/src/lib/libsocket/socket/
H A Dsocketpair.c57 _socketpair(int family, int type, int protocol, int sv[2]) in _socketpair() argument
59 return (_socketpair_create(family, type, protocol, sv, SOV_DEFAULT)); in _socketpair()
66 _socketpair_bsd(int family, int type, int protocol, int sv[2]) in _socketpair_bsd() argument
68 return (_socketpair_create(family, type, protocol, sv, SOV_SOCKBSD)); in _socketpair_bsd()
72 _socketpair_svr4(int family, int type, int protocol, int sv[2]) in _socketpair_svr4() argument
74 return (_socketpair_create(family, type, protocol, sv, SOV_SOCKSTREAM)); in _socketpair_svr4()
78 __xnet_socketpair(int family, int type, int protocol, int sv[2]) in __xnet_socketpair() argument
80 return (_socketpair_create(family, type, protocol, sv, SOV_XPG4_2)); in __xnet_socketpair()
84 _socketpair_create(int family, int type, int protocol, int sv[2], int version) in _socketpair_create() argument
93 fd1 = _socket_create(family, type, protocol, version); in _socketpair_create()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtemplate.c319 attr->type = pTemplate[i].type; in template_add_attributes()
422 CK_ATTRIBUTE_TYPE type, in template_attribute_find() argument
435 if (type == a->type) { in template_attribute_find()
659 attr_32->type = attr->type; in template_flatten()
743 if ((a1->type == CKA_CLASS || in template_unflatten()
759 a2->type = a1->type; in template_unflatten()
761 if ((a1->type == CKA_CLASS || in template_unflatten()
1048 token_attr->type = CKA_TOKEN; in template_set_default_common_attributes()
1063 label_attr->type = CKA_LABEL; in template_set_default_common_attributes()
1088 if (new_attr->type == attr->type) { in template_update_attribute()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dset_charset.c61 char * type in set_charset() argument
64 set_charset (char_set, putout, type) in set_charset()
67 char *type;
135 || cat_charset((char *)0, cs, type, putout) != -1
136 || cat_charset(char_set, 0, type, putout) != -1
154 || cat_charset(char_set, 0, type, putout) != -1
184 char * type, in cat_charset() argument
188 cat_charset (name, number, type, putout) in cat_charset()
192 char *type;
211 (T = "x")[0] = type[0];
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dpci_intr_lib.h39 extern int pci_msi_get_cap(dev_info_t *rdip, int type, int *flagsp);
40 extern int pci_msi_configure(dev_info_t *rdip, int type, int count,
42 extern int pci_msi_unconfigure(dev_info_t *rdip, int type, int inum);
43 extern int pci_is_msi_enabled(dev_info_t *rdip, int type);
44 extern int pci_msi_enable_mode(dev_info_t *rdip, int type);
45 extern int pci_msi_disable_mode(dev_info_t *rdip, int type);
46 extern int pci_msi_set_mask(dev_info_t *rdip, int type, int inum);
47 extern int pci_msi_clr_mask(dev_info_t *rdip, int type, int inum);
48 extern int pci_msi_get_pending(dev_info_t *rdip, int type, int inum,
50 extern int pci_msi_get_nintrs(dev_info_t *rdip, int type, int *nintrs);
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dwclib.c79 wp->type['\n'] = WC_SP|WC_NL; in wc_init()
84 wp->type[0x80+n] |= WC_MB; in wc_init()
86 wp->type[0xc0+n] |= WC_MB+1; in wc_init()
88 wp->type[0xc0+n] |= WC_MB+2; in wc_init()
90 wp->type[0xc0+n] |= WC_MB+3; in wc_init()
167 register char* type = wp->type; in wc_count() local
323 c = type[*cp]; in wc_count()
326 lasttype = type[lastchar]; in wc_count()
472 c=type[*cp++]; in wc_count()
498 c = type[*cp]; in wc_count()
[all …]
/illumos-gate/usr/src/cmd/acctadm/
H A Dres.c183 name2id(char *name, int type) in name2id() argument
206 id2name(int id, int type) in id2name() argument
219 printgroup(int type) in printgroup() argument
239 printgroups(int type) in printgroups() argument
243 if ((type & AC_PROC) && (type & AC_TASK) && (type & AC_FLOW) && in printgroups()
244 (type & AC_NET)) { in printgroups()
247 if (type & AC_PROC) { in printgroups()
252 if (type & AC_TASK) { in printgroups()
257 if (type & AC_FLOW) { in printgroups()
262 if (type & AC_NET) { in printgroups()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_accessor.h39 #define DEF_EXT_FUNC_PTRS(type) \ argument
40 extern krb5_error_code (*k5int_encode_##type)(const type *, krb5_data **); \
41 extern krb5_error_code (*k5int_decode_##type)(const krb5_data *, type **)
43 #define DEF_EXT_FUNC_PTRS_ARRAY(type) \ argument
44 extern krb5_error_code (*k5int_encode_##type)(const type **, krb5_data **); \
45 extern krb5_error_code (*k5int_decode_##type)(const krb5_data *, type ***)
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c230 type = 0;
299 switch (type)
309 switch (type)
472 if (type == IPLT_ALL || type == IPLT_POOL) {
505 if (type == IPLT_ALL || type == IPLT_HASH) {
548 if (type == IPLT_ALL || type == IPLT_POOL) {
576 if (type == IPLT_ALL || type == IPLT_HASH) {
706 if (type == IPLT_ALL || type == IPLT_POOL) {
721 if (type == IPLT_ALL || type == IPLT_HASH) {
849 int type; local
[all …]
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dgetexecattr.c86 if ((name == NULL) && (type == NULL) && (id == NULL)) { in getexecprof()
105 type, in getexecprof()
140 head = userprof((const char *)(utmp->name), type, id, in getexecuser()
152 type, id, search_flag)) != NULL) { in getexecuser()
167 head = userprof(username, type, id, search_flag); in getexecuser()
183 (type && execp->type && (strcmp(type, execp->type) != 0)) || in match_execattr()
211 free(exec->type); in free_execattr()
223 const char *type; member
277 call.type = type; in userprof()
322 newexec->type = _do_unescape(es->type); in execstr2attr()
[all …]

12345678910>>...153