/titanic_50/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | encrypt.c | 139 findencryption(int type) in findencryption() argument 143 if (!(I_SUPPORT_ENCRYPT & remote_supports_decrypt & typemask(type))) in findencryption() 145 for (; (ep->type != NULL) && (ep->type != type); ep++); in findencryption() 146 return (ep->type ? ep : NULL); in findencryption() 150 finddecryption(int type) in finddecryption() argument 154 if (!(I_SUPPORT_DECRYPT & remote_supports_encrypt & typemask(type))) in finddecryption() 156 while (ep->type && ep->type != type) in finddecryption() 158 return (ep->type ? ep : NULL); in finddecryption() 194 while (ep->type) { in encrypt_init() 198 Name, ENCTYPE_NAME(ep->type)); in encrypt_init() [all …]
|
H A D | auth.c | 90 static int auth_onoff(const char *type, boolean_t on); 144 findauthenticator(int type, int way) in findauthenticator() argument 148 while (ap->type && (ap->type != type || ap->way != way)) in findauthenticator() 150 return (ap->type ? ap : NULL); in findauthenticator() 166 while (ap->type) { in auth_init() 168 i_support |= typemask(ap->type); in auth_init() 172 Name, ap->type, ap->way); in auth_init() 208 getauthmask(const char *type, uint_t *maskp) in getauthmask() argument 212 if (!strcasecmp(type, AUTHTYPE_NAME(0))) { in getauthmask() 218 if (!strcasecmp(type, AUTHTYPE_NAME(x))) { in getauthmask() [all …]
|
/titanic_50/usr/src/cmd/sendmail/db/include/ |
H A D | shqueue.h | 55 #define SH_LIST_FIRSTP(head, type) \ argument 56 ((struct type *)(((u_int8_t *)(head)) + (head)->slh_first)) 58 #define SH_LIST_FIRST(head, type) \ argument 60 ((struct type *)(((u_int8_t *)(head)) + (head)->slh_first))) 62 #define SH_LIST_NEXTP(elm, field, type) \ argument 63 ((struct type *)(((u_int8_t *)(elm)) + (elm)->field.sle_next)) 65 #define SH_LIST_NEXT(elm, field, type) \ argument 67 ((struct type *)(((u_int8_t *)(elm)) + (elm)->field.sle_next))) 87 #define SH_LIST_INSERT_AFTER(listelm, elm, field, type) do { \ argument 90 SH_LIST_NEXTP(listelm, field, type)); \ [all …]
|
/titanic_50/usr/src/uts/common/tnf/ |
H A D | tnf_types.h | 54 #define TAG_DATA(type) type##_tag_data argument 55 #define _TAG_DATA(type) _##type##_tag_data argument 57 #define TAG_SNAP(type) TAG_DATA(type) = &_TAG_DATA(type) argument 58 #define TAG_EXPORT(type) tnf_tag_data_t *TAG_SNAP(type) argument 74 #define TAG_SET(type) TAG_SNAP(type) argument 79 #define TAG_SET(type) TAG_EXPORT(type) argument 116 #define TNF_ABSTRACT_TAG(type) \ argument 117 static tnf_tag_data_t _TAG_DATA(type) = { \ 121 TNF_STRINGIFY(type) } 127 #define TNF_SCALAR_TAG(type, size, align, kind) \ argument [all …]
|
/titanic_50/usr/src/cmd/geniconvtbl/ |
H A D | itm_comp.y | 62 %type <intval> itm_def 63 %type <obj> def_element_list 64 %type <tbl_hdr> def_element 66 %type <tbl_hdr> direction 67 %type <obj> direction_unit_list 68 %type <obj> direction_unit 70 %type <action> action 72 %type <itmc_ref> condition 73 %type <obj> condition_list 74 %type <obj> condition_expr [all …]
|
/titanic_50/usr/src/lib/libast/common/regex/ |
H A D | regdecomp.c | 72 decomp(register Rex_t* e, Sfio_t* sp, int type, int delimiter, regflags_t flags) in decomp() argument 91 switch (e->type) in decomp() 94 if (decomp(e->re.group.expr.binary.left, sp, type, delimiter, flags)) in decomp() 97 …if (e->re.group.expr.binary.right && decomp(e->re.group.expr.binary.right, sp, type, delimiter, fl… in decomp() 104 if (type < SRE) in decomp() 108 if (type < SRE) in decomp() 112 meta(sp, '<', type, 1, delimiter); in decomp() 115 meta(sp, '<', type, 1, delimiter); in decomp() 125 if (type >= SRE) in decomp() 144 switch (e->type) in decomp() [all …]
|
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | dispatch.c | 42 dispatch_protocol_error(int type, u_int32_t seq, void *ctxt) in dispatch_protocol_error() argument 44 log("dispatch_protocol_error: type %d seq %u", type, seq); in dispatch_protocol_error() 53 dispatch_protocol_ignore(int type, u_int32_t seq, void *ctxt) in dispatch_protocol_ignore() argument 55 log("dispatch_protocol_ignore: type %d seq %u", type, seq); in dispatch_protocol_ignore() 76 dispatch_set(int type, dispatch_fn *fn) in dispatch_set() argument 78 dispatch[type] = fn; in dispatch_set() 84 int type; in dispatch_run() local 88 type = packet_read_seqnr(&seqnr); in dispatch_run() 90 type = packet_read_poll_seqnr(&seqnr); in dispatch_run() 91 if (type == SSH_MSG_NONE) in dispatch_run() [all …]
|
H A D | authfd.c | 59 int decode_reply(int type); 232 int type; in ssh_lock_agent() local 243 type = buffer_get_char(&msg); in ssh_lock_agent() 245 return decode_reply(type); in ssh_lock_agent() 255 int type, code1 = 0, code2 = 0; in ssh_get_num_identities() local 286 type = buffer_get_char(&auth->identities); in ssh_get_num_identities() 287 if (agent_failed(type)) { in ssh_get_num_identities() 289 } else if (type != code2) { in ssh_get_num_identities() 290 fatal("Bad authentication reply message type: %d", type); in ssh_get_num_identities() 371 int type; in ssh_decrypt_challenge() local [all …]
|
/titanic_50/usr/src/cmd/acctadm/ |
H A D | main.c | 116 int type = 0; /* type of accounting */ in main() local 207 type |= AC_PROC; in main() 209 type |= AC_TASK; in main() 211 type |= AC_FLOW; in main() 213 type |= AC_NET; in main() 220 type = AC_PROC | AC_TASK | AC_FLOW | AC_NET; in main() 226 if ((type & AC_NET) == 0) { in main() 250 printgroups(type); in main() 260 aconf_print(stdout, type); in main() 282 assert(type == AC_PROC || type == AC_TASK || type == AC_FLOW || in main() [all …]
|
/titanic_50/usr/src/lib/libm/common/m9x/ |
H A D | __fex_i386.c | 594 info->op2.type = fex_nodata; in __fex_get_op() 602 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 606 info->op1.type = fex_float; in __fex_get_op() 608 info->res.type = fex_ldouble; in __fex_get_op() 617 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 621 info->op1.type = fex_double; in __fex_get_op() 623 info->res.type = fex_ldouble; in __fex_get_op() 634 info->res.type = fex_float; in __fex_get_op() 639 info->op1.type = info->op2.type = info->res.type = fex_nodata; in __fex_get_op() 643 info->op1.type = fex_nodata; in __fex_get_op() [all …]
|
/titanic_50/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb.c | 82 smdb_lockfile(fd, type) in smdb_lockfile() argument 84 int type; 93 if (bitset(LOCK_UN, type)) 95 else if (bitset(LOCK_EX, type)) 100 if (bitset(LOCK_NB, type)) 123 if (!bitset(LOCK_NB, type) || 131 filename, ext, fd, type, omode, euid); 138 while ((i = flock(fd, type)) < 0 && errno == EINTR) 144 if (!bitset(LOCK_NB, type) || save_errno != EWOULDBLOCK) 151 filename, ext, fd, type, omode, euid); [all …]
|
/titanic_50/usr/src/cmd/lp/lib/lp/ |
H A D | isterminfo.c | 106 char * type in isterminfo() argument 109 isterminfo (type) in isterminfo() 110 char *type; in isterminfo() 118 if (!type || !*type) 122 if (tfind(type, (A2)&hit_cache, (A3)strcmp)) 127 if (tfind(type, (A2)&miss_cache, (A3)strcmp)) 135 && _isterminfo(type, envTERMINFO) 137 || _isterminfo(type, TERMINFO) 146 (void)tsearch (Strdup(type), (A2)&hit_cache, (A3)strcmp); 156 (void)tsearch (Strdup(type), (A2)&miss_cache, (A3)strcmp); [all …]
|
/titanic_50/usr/src/lib/libfruutils/ |
H A D | fru_tag.h | 45 unsigned type : 1; member 50 unsigned type : 2; member 55 unsigned type : 3; member 60 unsigned type : 4; member 65 unsigned type : 5; member 70 unsigned type : 6; member 75 unsigned type : 7; member 85 unsigned type : 1; 90 unsigned type : 2; 95 unsigned type : 3; [all …]
|
/titanic_50/usr/src/uts/common/io/1394/ |
H A D | s1394_fa.c | 54 s1394_fa_claim_addr(s1394_hal_t *hal, s1394_fa_type_t type, in s1394_fa_claim_addr() argument 58 s1394_fa_hal_t *falp = &hal->hal_fa[type]; in s1394_fa_claim_addr() 83 "", tnf_int, type, type, tnf_int, ret, ret); in s1394_fa_claim_addr() 97 s1394_fa_free_addr(s1394_hal_t *hal, s1394_fa_type_t type) in s1394_fa_free_addr() argument 99 s1394_fa_hal_t *falp = &hal->hal_fa[type]; in s1394_fa_free_addr() 124 s1394_fa_type_t type) in s1394_fa_list_add() argument 126 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_add() 132 fal->fal_tail->target_fa[type].fat_next = target; in s1394_fa_list_add() 145 s1394_fa_type_t type) in s1394_fa_list_remove() argument 147 s1394_fa_hal_t *fal = &hal->hal_fa[type]; in s1394_fa_list_remove() [all …]
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_grammar.y | 141 %type <l_node> d_expression 142 %type <l_node> d_program 143 %type <l_node> d_type 145 %type <l_node> translation_unit 146 %type <l_node> external_declaration 147 %type <l_node> inline_definition 148 %type <l_node> translator_definition 149 %type <l_node> translator_member_list 150 %type <l_node> translator_member 151 %type <l_node> provider_definition [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | typegraph.c | 379 typegraph_resolve(mdb_ctf_id_t type) in typegraph_resolve() argument 388 if (mdb_ctf_type_cmp(type, tg_typetab[i].tgt_type) == 0) { in typegraph_resolve() 389 type = tg_typetab[i].tgt_actual_type; in typegraph_resolve() 394 (void) mdb_ctf_type_resolve(type, &ret); in typegraph_resolve() 406 typegraph_type_name(mdb_ctf_id_t type, mdb_ctf_id_t utype) in typegraph_type_name() argument 410 if (mdb_ctf_type_name(type, buf, sizeof (buf)) == NULL) { in typegraph_type_name() 428 typegraph_size(mdb_ctf_id_t type) in typegraph_size() argument 433 if (!mdb_ctf_type_valid(type)) in typegraph_size() 436 if (mdb_ctf_type_kind(type) != CTF_K_ARRAY) in typegraph_size() 437 return (mdb_ctf_type_size(type)); in typegraph_size() [all …]
|
/titanic_50/usr/src/cmd/ssh/ssh/ |
H A D | sshconnect1.c | 72 int type; in try_agent_authentication() local 103 type = packet_read(); in try_agent_authentication() 107 if (type == SSH_SMSG_FAILURE) { in try_agent_authentication() 113 if (type != SSH_SMSG_AUTH_RSA_CHALLENGE) in try_agent_authentication() 115 type); in try_agent_authentication() 143 type = packet_read(); in try_agent_authentication() 146 if (type == SSH_SMSG_SUCCESS) { in try_agent_authentication() 153 if (type != SSH_SMSG_FAILURE) in try_agent_authentication() 155 type); in try_agent_authentication() 218 int i, type, quit; in try_rsa_authentication() local [all …]
|
/titanic_50/usr/src/common/zfs/ |
H A D | zprop_common.c | 53 zprop_get_proptable(zfs_type_t type) in zprop_get_proptable() argument 55 if (type == ZFS_TYPE_POOL) in zprop_get_proptable() 62 zprop_get_numprops(zfs_type_t type) in zprop_get_numprops() argument 64 if (type == ZFS_TYPE_POOL) in zprop_get_numprops() 71 zprop_register_impl(int prop, const char *name, zprop_type_t type, in zprop_register_impl() argument 87 pd->pd_proptype = type; in zprop_register_impl() 131 zprop_register_hidden(int prop, const char *name, zprop_type_t type, in zprop_register_hidden() argument 134 zprop_register_impl(prop, name, type, 0, NULL, attr, in zprop_register_hidden() 136 type == PROP_TYPE_NUMBER, B_FALSE, NULL); in zprop_register_hidden() 167 boolean_t ordered, zfs_type_t type) in zprop_iter_common() argument [all …]
|
/titanic_50/usr/src/grub/grub-0.97/stage2/ |
H A D | pc_slice.h | 128 #define IS_PC_SLICE_TYPE_FAT(type) \ argument 129 ({ int _type = (type) & ~PC_SLICE_TYPE_HIDDEN_FLAG; \ 136 || type == PC_SLICE_TYPE_SOLARIS_BOOT \ 137 || type == PC_SLICE_TYPE_DELL_UTIL; }) 139 #define IS_PC_SLICE_TYPE_EXTENDED(type) \ argument 140 (((type) == PC_SLICE_TYPE_EXTENDED) \ 141 || ((type) == PC_SLICE_TYPE_WIN95_EXTENDED) \ 142 || ((type) == PC_SLICE_TYPE_LINUX_EXTENDED)) 144 #define IS_PC_SLICE_TYPE_MINIX(type) \ argument 145 (((type) == PC_SLICE_TYPE_MINIX) \ [all …]
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | ddt.c | 56 ddt_object_create(ddt_t *ddt, enum ddt_type type, enum ddt_class class, in ddt_object_create() argument 61 uint64_t *objectp = &ddt->ddt_object[type][class]; in ddt_object_create() 66 ddt_object_name(ddt, type, class, name); in ddt_object_create() 69 VERIFY(ddt_ops[type]->ddt_op_create(os, objectp, tx, prehash) == 0); in ddt_object_create() 77 &ddt->ddt_histogram[type][class], tx) == 0); in ddt_object_create() 81 ddt_object_destroy(ddt_t *ddt, enum ddt_type type, enum ddt_class class, in ddt_object_destroy() argument 86 uint64_t *objectp = &ddt->ddt_object[type][class]; in ddt_object_destroy() 89 ddt_object_name(ddt, type, class, name); in ddt_object_destroy() 92 ASSERT(ddt_object_count(ddt, type, class) == 0); in ddt_object_destroy() 93 ASSERT(ddt_histogram_empty(&ddt->ddt_histogram[type][class])); in ddt_object_destroy() [all …]
|
/titanic_50/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()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | CryptoAlg.c | 91 mDNSexport AlgContext *AlgCreate(AlgType type, mDNSu8 alg) in AlgCreate() argument 96 if (type == CRYPTO_ALG) in AlgCreate() 101 else if (type == DIGEST_ALG) in AlgCreate() 106 else if (type == ENC_ALG) in AlgCreate() 129 ctx->type = type; in AlgCreate() 141 if (ctx->type == CRYPTO_ALG) in AlgDestroy() 143 else if (ctx->type == DIGEST_ALG) in AlgDestroy() 145 else if (ctx->type == ENC_ALG) in AlgDestroy() 166 if (ctx->type == CRYPTO_ALG) in AlgLength() 168 else if (ctx->type == DIGEST_ALG) in AlgLength() [all …]
|
/titanic_50/usr/src/cmd/hal/hald/ |
H A D | property.c | 40 int type; member 60 if (prop->type == HAL_PROPERTY_TYPE_STRING) { in hal_property_free() 62 } else if (prop->type == HAL_PROPERTY_TYPE_STRLIST) { in hal_property_free() 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() 176 g_return_val_if_fail (prop->type == HAL_PROPERTY_TYPE_STRING, NULL); in hal_property_get_string() [all …]
|
/titanic_50/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 187 assert(type < sizeof (object_lists) / sizeof (object_lists[0])); in nwamd_get_object_list() 188 return (&object_lists[type]); in nwamd_get_object_list() 192 nwamd_object_list_lock(nwam_object_type_t type) in nwamd_object_list_lock() argument 194 nwamd_object_list_t *object_list = nwamd_get_object_list(type); in nwamd_object_list_lock() 201 nwamd_object_list_rlock(nwam_object_type_t type) in nwamd_object_list_rlock() argument 203 nwamd_object_list_t *object_list = nwamd_get_object_list(type); in nwamd_object_list_rlock() 214 nwamd_object_list_unlock(nwam_object_type_t type) in nwamd_object_list_unlock() argument 216 nwamd_object_list_t *object_list = nwamd_get_object_list(type); in nwamd_object_list_unlock() 225 nwamd_object_init(nwam_object_type_t type, const char *name, void *handle, in nwamd_object_init() argument [all …]
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vsw_phys.c | 80 static int vsw_maccl_open(vsw_t *vswp, vsw_port_t *port, int type); 81 static void vsw_maccl_close(vsw_t *vswp, vsw_port_t *port, int type); 82 static void vsw_mac_multicast_add_all(vsw_t *vswp, vsw_port_t *portp, int type); 84 vsw_port_t *portp, int type); 90 static void vsw_maccl_set_bandwidth(vsw_t *vswp, vsw_port_t *port, int type, 94 static void vsw_notify_cb(void *arg, mac_notify_type_t type); 104 int type); 106 mcst_addr_t *mcst_p, int type); 107 int vsw_mac_client_init(vsw_t *vswp, vsw_port_t *port, int type); 108 void vsw_mac_client_cleanup(vsw_t *vswp, vsw_port_t *port, int type); [all …]
|