/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | auth.c | 142 findauthenticator(int type, int way) in findauthenticator() argument 146 while (ap->type && (ap->type != type || ap->way != way)) in findauthenticator() 148 return (ap->type ? ap : NULL); in findauthenticator() 164 while (ap->type) { in auth_init() 166 i_support |= typemask(ap->type); in auth_init() 170 Name, ap->type, ap->way); in auth_init() 225 auth_enable(char *type) in auth_enable() argument 227 return (auth_onoff(type, B_TRUE)); in auth_enable() 231 auth_disable(char *type) in auth_disable() argument 253 if (!strcasecmp(type, "?") || !strcasecmp(type, "help")) { in auth_onoff() [all …]
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | property.c | 40 int type; member 82 prop->type = HAL_PROPERTY_TYPE_STRING; in hal_property_new_string() 107 prop->type = HAL_PROPERTY_TYPE_INT32; in hal_property_new_int() 121 prop->type = HAL_PROPERTY_TYPE_UINT64; in hal_property_new_uint64() 135 prop->type = HAL_PROPERTY_TYPE_BOOLEAN; in hal_property_new_bool() 149 prop->type = HAL_PROPERTY_TYPE_DOUBLE; in hal_property_new_double() 169 return prop->type; in hal_property_get_type() 213 switch (prop->type) { in hal_property_to_string() 276 prop->type = HAL_PROPERTY_TYPE_STRING; in hal_property_set_string() 300 prop->type = HAL_PROPERTY_TYPE_INT32; in hal_property_set_int() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | objects.c | 185 nwamd_get_object_list(nwam_object_type_t type) in nwamd_get_object_list() argument 188 return (&object_lists[type]); in nwamd_get_object_list() 241 object->nwamd_object_type = type; in nwamd_object_init() 246 if (nwamd_object_list_lock(type) != 0) { in nwamd_object_init() 257 nwamd_object_list_unlock(type); in nwamd_object_init() 266 nwamd_object_list_unlock(type); in nwamd_object_init() 284 if (nwamd_object_list_rlock(type) != 0) in nwamd_object_find() 297 nwamd_object_list_unlock(type); in nwamd_object_find() 457 if (nwamd_object_list_rlock(type) != 0) in nwamd_walk_objects() 467 nwamd_object_list_unlock(type); in nwamd_walk_objects() [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sparc.c | 202 info->op1.type = fex_nodata; in __fex_get_op() 204 info->op2.type = fex_int; in __fex_get_op() 208 info->op2.type = fex_llong; in __fex_get_op() 214 info->op1.type = info->op2.type = fex_float; in __fex_get_op() 220 info->op1.type = info->op2.type = fex_double; in __fex_get_op() 226 info->op1.type = info->op2.type = fex_ldouble; in __fex_get_op() 236 info->res.type = fex_nodata; in __fex_get_op() 648 switch (info->res.type) { in __fex_st_result() 827 switch (info->res.type) { in __fex_st_result() 851 switch (info->res.type) { in __fex_st_result() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_accessor.c | 34 #define DEF_FUNC_PTRS(type) \ argument 35 krb5_error_code (*k5int_encode_##type)(const type *, krb5_data **); \ 36 krb5_error_code (*k5int_decode_##type)(const krb5_data *, type **) 38 #define DEF_FUNC_PTRS_ARRAY(type) \ argument 39 krb5_error_code (*k5int_encode_##type)(const type **, krb5_data **); \ 40 krb5_error_code (*k5int_decode_##type)(const krb5_data *, type ***) 93 #define SET_PTRS(type) \ in pkinit_accessor_init() argument 94 k5int_encode_##type = k5int.encode_##type; \ in pkinit_accessor_init() 95 k5int_decode_##type = k5int.decode_##type; in pkinit_accessor_init()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_stat.h | 69 struct vmm_stat_type type[1] = { \ 72 SYSINIT(type##_stat, SI_SUB_KLD, SI_ORDER_ANY, vmm_stat_register, type) 75 VMM_STAT_FDEFINE(type, nelems, desc, NULL, scope) 77 #define VMM_STAT_DECLARE(type) \ argument 78 extern struct vmm_stat_type type[1] 80 #define VMM_STAT(type, desc) \ argument 81 VMM_STAT_DEFINE(type, 1, desc, VMM_STAT_SCOPE_ANY) 82 #define VMM_STAT_INTEL(type, desc) \ argument 84 #define VMM_STAT_AMD(type, desc) \ argument 87 #define VMM_STAT_FUNC(type, desc, func) \ argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dthash.c | 38 int type; member 156 if(type == DT_FLATTEN || type == DT_EXTRACT) in hflatten() 168 if(type == DT_FLATTEN) in hflatten() 206 if(type&DT_FLATTEN) in hlist() 255 int type; 264 type = DTTYPE(dt,type); /* map type for upward compatibility */ 279 else if(type&DT_CLEAR) 281 else if(type&DT_STAT) 291 { if(type&DT_SEARCH) 297 if(type&DT_RELINK) [all …]
|
H A D | dttree.c | 91 int type; 101 if(type&DT_LAST) 148 int type; 167 if(type&DT_FLATTEN) 296 if(type&DT_ATMOST) in troot() 344 if(type&DT_NEXT ) in troot() 366 if(type&DT_NEXT ) in troot() 374 if(type&DT_NEXT) in troot() 380 { if(type&DT_NEXT) in troot() 399 int type; [all …]
|
H A D | dtview.c | 37 static Void_t* dtvsearch(dt,obj,type) in dtvsearch() 40 reg int type; 47 if(type&DT_NOVIEWPATH) 48 return (*(dt->meth->searchf))(dt,obj,type); 53 if((type & (DT_MATCH|DT_SEARCH)) || 54 ((type & (DT_FIRST|DT_LAST|DT_ATLEAST|DT_ATMOST)) && !(dt->meth->type&DT_ORDERED) ) ) 56 if((o = (*(d->meth->searchf))(d,obj,type)) ) 69 { if(!(o = (*d->meth->searchf)(d, obj, type)) ) 92 if(!(type&(DT_NEXT|DT_PREV)) ) 112 obj = (*d->meth->searchf)(d, obj, type); [all …]
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | queue.h | 152 #define QUEUE_TYPEOF(type) type argument 154 #define QUEUE_TYPEOF(type) struct type argument 160 #define SLIST_HEAD(name, type) \ argument 173 #define SLIST_ENTRY(type) \ argument 178 #define SLIST_CLASS_ENTRY(type) \ argument 263 #define STAILQ_HEAD(name, type) \ argument 278 #define STAILQ_ENTRY(type) \ argument 396 #define LIST_HEAD(name, type) \ argument 409 #define LIST_ENTRY(type) \ argument 415 #define LIST_CLASS_ENTRY(type) \ argument [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sysmacros.h | 70 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) argument 312 #define P2ALIGN_TYPED(x, align, type) \ argument 313 ((type)(x) & -(type)(align)) 315 ((type)(x) & ((type)(align) - 1)) 317 (-(type)(x) & ((type)(align) - 1)) 319 (-(-(type)(x) & -(type)(align))) 320 #define P2END_TYPED(x, align, type) \ argument 321 (-(~(type)(x) & -(type)(align))) 323 ((type)(phase) - (((type)(phase) - (type)(x)) & -(type)(align))) 325 (((type)(x) ^ (type)(y)) > (type)(align) - 1) [all …]
|
H A D | queue.h | 151 #define QUEUE_TYPEOF(type) type argument 153 #define QUEUE_TYPEOF(type) struct type argument 159 #define SLIST_HEAD(name, type) \ argument 172 #define SLIST_ENTRY(type) \ argument 177 #define SLIST_CLASS_ENTRY(type) \ argument 297 #define STAILQ_ENTRY(type) \ argument 428 #define LIST_HEAD(name, type) \ argument 441 #define LIST_ENTRY(type) \ argument 582 #define SIMPLEQ_ENTRY(type) \ argument 716 #define TAILQ_ENTRY(type) \ argument [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disptab.c | 284 dispatchName(int type) in dispatchName() argument 286 if (type <= 0 || type > LAST_MESSAGE) in dispatchName() 287 type = 0; in dispatchName() 311 if (type <= 0 || type >= LAST_MESSAGE || pd->fncp == NULL) in dispatch() 319 (*pd->fncp) (md, type+1); in dispatch() 324 md->type != MD_BOUND) in dispatch() 326 (*pd->fncp) (md, type+1); in dispatch() 340 r_H(MESG *md, int type) in r_H() argument 342 mputm(md, type, MNOPERM); in r_H() 346 r_HS(MESG *md, int type) in r_HS() argument [all …]
|
/illumos-gate/usr/src/contrib/bhyve/sys/ |
H A D | queue.h | 156 #define QUEUE_TYPEOF(type) type argument 158 #define QUEUE_TYPEOF(type) struct type argument 164 #define SLIST_HEAD(name, type) \ argument 177 #define SLIST_ENTRY(type) \ argument 182 #define SLIST_CLASS_ENTRY(type) \ argument 280 #define STAILQ_HEAD(name, type) \ argument 295 #define STAILQ_ENTRY(type) \ argument 413 #define LIST_HEAD(name, type) \ argument 426 #define LIST_ENTRY(type) \ argument 432 #define LIST_CLASS_ENTRY(type) \ argument [all …]
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_util.c | 129 fixit(char *type, char *orig) in fixit() argument 150 fixtype(char *type) in fixtype() argument 152 return (fixit(type, type)); in fixtype() 156 stringfix(char *type) in stringfix() argument 158 if (streq(type, "string")) in stringfix() 160 return (type); in stringfix() 173 if (streq(type, "bool")) { in ptype() 180 f_print(fout, "%s ", follow ? fixtype(type) : type); in ptype() 431 add_type(int len, char *type) in add_type() argument 440 ptr->name = type; in add_type() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_uninitialized.c | 46 base_type->type == SYM_UNION) in mark_members_uninitialized() 55 struct symbol *type; in match_declarations() local 60 type = get_real_base_type(sym); in match_declarations() 62 if (type->type == SYM_ARRAY) in match_declarations() 64 if (type->type == SYM_UNION) in match_declarations() 72 if (type->type == SYM_STRUCT) { in match_declarations() 138 if (expr->type != EXPR_SYMBOL) in is_initialized() 155 if (expr->type != EXPR_PREOP) in match_dereferences() 235 struct symbol *type, *sym; in match_call_struct_members() local 252 type = get_type(arg->unop); in match_call_struct_members() [all …]
|
H A D | smatch.h | 37 struct symbol *type; member 1319 (type->type == SYM_PTR || in type_is_ptr() 1320 type->type == SYM_ARRAY || in type_is_ptr() 1321 type->type == SYM_FN); in type_is_ptr() 1334 if (!type) in type_bits() 1356 if (!type) in type_positive_bits() 1379 type = type_bits(one.type) > type_bits(two.type) ? one.type : two.type; in fp_cmp() 1381 type = one.type; in fp_cmp() 1383 type = two.type; in fp_cmp() 1420 type = one.type; in sval_cmp() [all …]
|
H A D | smatch_integer_overflow.c | 57 struct symbol *type; in match_divide() local 80 type = get_type(expr); in match_divide() 81 if (!type) in match_divide() 83 if (type_bits(type) != 32 && type_bits(type) != 64) in match_divide() 99 struct symbol *type; in match_overflow_to_less_than() local 116 if (!type) in match_overflow_to_less_than() 118 if (type_bits(type) != 32 && type_bits(type) != 64) in match_overflow_to_less_than() 142 if (!type) in can_integer_overflow() 143 type = &int_ctype; in can_integer_overflow() 183 struct symbol *type; in can_integer_overflow_expr() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfraise.c | 30 static int _sfraiseall(int type, Void_t* data) in _sfraiseall() argument 32 static int _sfraiseall(type, data) in _sfraiseall() 33 int type; /* type of event */ in _sfraiseall() 49 if(sfraise(f, type, data) < 0) 57 int sfraise(Sfio_t* f, int type, Void_t* data) in sfraise() argument 59 int sfraise(f, type, data) in sfraise() 61 int type; /* type of event */ 70 return _sfraiseall(type,data); 77 (type == SF_NEW || type == SF_CLOSING || 78 type == SF_FINAL || type == SF_ATEXIT)) && [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | e820.c | 51 enum e820_memory_type type; member 68 element->type = type; in e820_element_alloc() 74 e820_get_type_name(const enum e820_memory_type type) in e820_get_type_name() argument 76 switch (type) { in e820_get_type_name() 102 e820_get_type_name(element->type)); in e820_dump_table() 144 entry->type = element->type; in e820_get_fwcfg_item() 154 const enum e820_memory_type type) in e820_add_entry() argument 162 new_element = e820_element_alloc(base, end, type); in e820_add_entry() 180 if (type == E820_TYPE_MEMORY) { in e820_add_entry() 202 assert(element->type == E820_TYPE_MEMORY); in e820_add_entry() [all …]
|
/illumos-gate/usr/src/lib/libsocket/socket/ |
H A D | socket.c | 56 _socket(int family, int type, int protocol) in _socket() argument 58 return (_socket_create(family, type, protocol, SOV_DEFAULT)); in _socket() 65 _socket_bsd(int family, int type, int protocol) in _socket_bsd() argument 67 return (_socket_create(family, type, protocol, SOV_SOCKBSD)); in _socket_bsd() 71 _socket_svr4(int family, int type, int protocol) in _socket_svr4() argument 77 __xnet_socket(int family, int type, int protocol) in __xnet_socket() argument 79 return (_socket_create(family, type, protocol, SOV_XPG4_2)); in __xnet_socket() 93 _socket_create(int family, int type, int protocol, int version) in _socket_create() argument 107 fd = _so_socket(family, type, protocol, NULL, version); in _socket_create() 126 if (_s_netconfig_path(family, type, protocol, in _socket_create() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | mgetputm.c | 59 int mgetm ( MESG * md, int type, ... ) in mgetm() argument 61 int mgetm (md, type, va_alist) in mgetm() 63 int type; 72 va_start(vp, type); 96 ret = _getmessage(MBG, type, vp); 104 int mputm ( MESG * md, int type, ... ) in mputm() argument 106 int mputm (md, type, va_alist) in mputm() 108 int type; 116 va_start(vp, type); 140 va_start(vp, type); [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppline.c | 34 static char type[5]; in ppline() local 45 type[1] = PP_sync_ignore; in ppline() 58 …type[1] = ((pp.flags & (PP_hosted|PP_linehosted)) == (PP_hosted|PP_linehosted)) ? PP_sync_hosted :… in ppline() 60 if (!(pp.flags & PP_linetype) || *pp.lineid || type[1] == PP_sync) in ppline() 61 type[0] = 0; in ppline() 64 type[0] = ' '; in ppline() 65 …if ((pp.flags & (PP_hosted|PP_linehosted)) == (PP_hosted|PP_linehosted) && type[1] != PP_sync_host… in ppline() 67 type[2] = ' '; in ppline() 68 type[3] = PP_sync_hosted; in ppline() 71 type[2] = 0; in ppline() [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | _SVID_error.c | 137 switch (type) { in _SVID_libm_err() 140 exc.type = DOMAIN; in _SVID_libm_err() 155 exc.type = DOMAIN; in _SVID_libm_err() 172 exc.type = DOMAIN; in _SVID_libm_err() 259 exc.type = DOMAIN; in _SVID_libm_err() 363 exc.type = SING; in _SVID_libm_err() 381 exc.type = SING; in _SVID_libm_err() 419 exc.type = SING; in _SVID_libm_err() 682 exc.type = SING; in _SVID_libm_err() 833 exc.type = SING; in _SVID_libm_err() [all …]
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 83 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) in ctf_member_iter() 135 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) in ctf_enum_iter() 189 ctf_id_t prev = type, otype = type; in ctf_type_resolve() 204 prev = type; in ctf_type_resolve() 496 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) in ctf_type_size() 562 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) in ctf_type_align() 673 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) in ctf_type_pointer() 820 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) in ctf_member_info() 899 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) in ctf_enum_name() 936 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR) in ctf_enum_value() [all …]
|