/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 898 dladm_str2pri(char *token, mac_priority_level_t *pri) in dladm_str2pri() argument 900 if (strlen(token) == strlen("low") && in dladm_str2pri() 901 strncasecmp(token, "low", strlen("low")) == 0) { in dladm_str2pri() 903 } else if (strlen(token) == strlen("medium") && in dladm_str2pri() 906 } else if (strlen(token) == strlen("high") && in dladm_str2pri() 945 dladm_str2protect(char *token, uint32_t *ptype) in dladm_str2protect() argument 952 if (strcmp(token, lp->lp_name) == 0) { in dladm_str2protect() 994 dladm_str2ipv4addr(char *token, void *addr) in dladm_str2ipv4addr() argument 996 return (inet_pton(AF_INET, token, addr) == 1 ? in dladm_str2ipv4addr() 1010 dladm_str2ipv6addr(char *token, void *addr) in dladm_str2ipv6addr() argument [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 398 token = 0; in expand() 402 token = (char *)MSG_ORIG(MSG_TKN_ORIGIN); in expand() 438 token = (char *)MSG_ORIG(MSG_TKN_PLATFORM); in expand() 475 token = (char *)MSG_ORIG(MSG_TKN_MACHINE); in expand() 505 token = (char *)MSG_ORIG(MSG_TKN_OSNAME); in expand() 533 token = (char *)MSG_ORIG(MSG_TKN_OSREL); in expand() 562 token = (char *)MSG_ORIG(MSG_TKN_ISALIST); in expand() 634 token = (char *)MSG_ORIG(MSG_TKN_CAPABILITY); in expand() 660 token = (char *)MSG_ORIG(MSG_TKN_HWCAP); in expand() 699 if (token) { in expand() [all …]
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_mounts.c | 428 char *token; in fs_parse_optlist_for_option() local 439 token = strtok(optlist_copy, delimiter); in fs_parse_optlist_for_option() 443 if (token == NULL) { in fs_parse_optlist_for_option() 446 } else if ((return_value = is_option(token, opt, errp)) != NULL) { in fs_parse_optlist_for_option() 451 while (token != NULL) { in fs_parse_optlist_for_option() 452 token = NULL; in fs_parse_optlist_for_option() 453 token = strtok(NULL, delimiter); in fs_parse_optlist_for_option() 459 if (token == NULL) { in fs_parse_optlist_for_option() 463 is_option(token, opt, errp)) != NULL) { in fs_parse_optlist_for_option()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_virtio_9p.c | 242 char *sharename = NULL, *tofree, *token, *tokens; in pci_vt9p_legacy_config() local 248 while ((token = strsep(&tokens, ",")) != NULL) { in pci_vt9p_legacy_config() 249 if (strchr(token, '=') != NULL) { in pci_vt9p_legacy_config() 256 sharename = strsep(&token, "="); in pci_vt9p_legacy_config() 258 set_config_value_node(nvl, "path", token); in pci_vt9p_legacy_config() 260 set_config_bool_node(nvl, token, true); in pci_vt9p_legacy_config()
|
/illumos-gate/usr/src/common/fsreparse/ |
H A D | fs_reparse.c | 43 static int reparse_add_nvpair(char *token, nvlist_t *nvl); 304 reparse_add_nvpair(char *token, nvlist_t *nvl) in reparse_add_nvpair() argument 309 if ((cp = strchr(token, ':')) == NULL) in reparse_add_nvpair() 314 err = nvlist_add_string(nvl, token, cp + 1); in reparse_add_nvpair()
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_cred.c | 48 smb_cred_create(smb_token_t *token) in smb_cred_create() argument 50 _NOTE(ARGUNUSED(token)) in smb_cred_create()
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | pkcs11_uri.c | 166 if (uri->token != NULL) in pkcs11_parse_uri() 170 if ((uri->token = (unsigned char *)strdup(l2)) == NULL) in pkcs11_parse_uri() 285 if (uri->token != NULL) in pkcs11_free_uri() 286 free(uri->token); in pkcs11_free_uri()
|
/illumos-gate/usr/src/lib/libsrpt/common/ |
H A D | libsrpt.h | 49 srpt_GetConfig(nvlist_t **cfg, uint64_t *token); 67 srpt_SetConfig(nvlist_t *cfg, uint64_t token);
|
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | p4_pcbe.c | 94 void *token); 95 static void p4_pcbe_program(void *token); 97 static void p4_pcbe_sample(void *token); 643 cfg = (p4_pcbe_config_t *)kcpc_next_config(token, cfg, &daddr); in build_cfgs() 668 void *token) in p4_pcbe_configure() argument 727 build_cfgs(cfgs, NULL, token); in p4_pcbe_configure() 906 p4_pcbe_program(void *token) in p4_pcbe_program() argument 914 build_cfgs(cfgs, NULL, token); in p4_pcbe_program() 918 if (kcpc_allow_nonpriv(token)) in p4_pcbe_program() 998 p4_pcbe_sample(void *token) in p4_pcbe_sample() argument [all …]
|
/illumos-gate/usr/src/tools/cw/ |
H A D | cw.c | 1261 char *tspec, *token; in parse_compiler() local 1266 if ((token = strsep(&tspec, ",")) == NULL) in parse_compiler() 1268 compiler->c_name = token; in parse_compiler() 1270 if ((token = strsep(&tspec, ",")) == NULL) in parse_compiler() 1272 compiler->c_path = token; in parse_compiler() 1274 if ((token = strsep(&tspec, ",")) == NULL) in parse_compiler() 1277 if ((strcasecmp(token, "gnu") == 0) || in parse_compiler() 1278 (strcasecmp(token, "gcc") == 0)) { in parse_compiler() 1280 } else if ((strcasecmp(token, "sun") == 0) || in parse_compiler() 1281 (strcasecmp(token, "cc") == 0)) { in parse_compiler() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_auth.c | 379 ipftoken_t *token; local 387 if (token != NULL) 388 error = fr_authgeniter(token, &iter, ifs); 860 int fr_authgeniter(token, itp, ifs) in fr_authgeniter() argument 861 ipftoken_t *token; in fr_authgeniter() 879 fae = token->ipt_data; 892 token->ipt_data = next; 896 token->ipt_data = NULL; 910 if (token->ipt_data == NULL) { 911 ipf_freetoken(token, ifs); [all …]
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | liblddbg.msg | 90 # An output file specified via the "output" token is used as 183 # and can be switched off by prepending the token with "!". 271 # TRANSLATION_NOTE -- do not translate the first token "long". 345 # TRANSLATION_NOTE -- do not translate the token "all". 349 # TRANSLATION_NOTE -- do not translate the token "alt". 353 # TRANSLATION_NOTE -- do not translate the token "alt". 357 # TRANSLATION_NOTE -- do not translate the token "base". 414 # TRANSLATION_NOTE -- do not translate the first token "all". 421 # TRANSLATION_NOTE -- do not translate the first token "cap". 450 # TRANSLATION_NOTE -- do not translate the first token "tls". [all …]
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_sasl.c | 313 char buf[MSGSIZE], *conf = NULL, *token = NULL, *last = NULL; in test_dns_nsswitch() local 332 token = strtok_r(conf, " ", &last); in test_dns_nsswitch() 333 while (token != NULL) { in test_dns_nsswitch() 334 if (strncmp(token, "dns", 3) == 0) { in test_dns_nsswitch() 354 } else if (strncmp(token, "ldap", 4) == 0) { in test_dns_nsswitch() 358 token = strtok_r(NULL, " ", &last); in test_dns_nsswitch()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_solaris.c | 164 char **tprinc, *ptr, *token, *t_host = NULL, *realm; in krb5_kt_add_ad_entries() local 185 token = localname; in krb5_kt_add_ad_entries() 191 if ((ptr = strchr(token, '.')) != NULL) in krb5_kt_add_ad_entries() 193 for (ptr = token; *ptr; ptr++) in krb5_kt_add_ad_entries() 200 t_len = snprintf(NULL, 0, "host/%.*s.%s@%s", HOST_TRUNC, token, domain, in krb5_kt_add_ad_entries() 206 (void) snprintf(t_host, t_len, "host/%.*s.%s@%s", HOST_TRUNC, token, in krb5_kt_add_ad_entries()
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_parse.c | 72 token tok; in get_definition() 247 token tok; in def_struct() 286 token tok; in def_program() 391 token tok; in def_enum() 420 token tok; in def_const() 433 token tok; in def_union() 568 token tok; in get_declaration() 617 token tok; in get_prog_declaration() 688 token tok; in get_type() 751 token tok; in unsigned_dec()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 702 getvalue(char *token, int *valuep) in getvalue() argument 710 if (*token == '~') { in getvalue() 712 token++; in getvalue() 713 } else if (*token == '-') { in getvalue() 715 token++; in getvalue() 717 if (*token == '0') { in getvalue() 718 token++; in getvalue() 719 c = *token; in getvalue() 728 token++; in getvalue() 735 while ((c = *token++)) { in getvalue()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | scope.h | 32 struct token *token; member
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | maketab.c | 67 int token; member 180 for (p = proc; p->token != 0; p++) in main() 181 table[p->token-FIRSTTOKEN] = p->name; in main()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kcpc.h | 219 extern void *kcpc_next_config(void *token, void *current, 221 extern void kcpc_invalidate_config(void *token); 232 extern int kcpc_allow_nonpriv(void *token);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | dsparse.c | 47 char *p, *line, *token, **toks; in ldap_next_line_tokens() local 63 while (( token = next_token( &p )) != NULL ) { in ldap_next_line_tokens() 70 toks[ tokcnt ] = token; in ldap_next_line_tokens()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | MICwrap.c | 52 gss_buffer_t token /* output token */) in __dh_gss_sign() argument 66 if (minor == 0 || token == GSS_C_NO_BUFFER) in __dh_gss_sign() 100 if ((*minor = __make_token(token, message, &tok, &keys)) in __dh_gss_sign() 121 gss_buffer_t token, /* The DH_MIC message token */ in __dh_gss_verify() argument 153 if ((*minor = __get_token(token, message, in __dh_gss_verify()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.agghist.d.out | 12 SAML token |@@@@@@@@@@@@@@@@@@@@ 6 31 SAML token |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 6
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | plcysubr.c | 62 typedef struct token { struct 63 const char *token; argument 462 parse_plcy_token(char *token, devplcysys_t *dp) in parse_plcy_token() argument 464 char *val = strchr(token, '='); in parse_plcy_token() 470 (void) fprintf(stderr, gettext(ERR_NO_EQUALS), token); in parse_plcy_token() 476 if (strcmp(token, toktab[i].token) == 0) { in parse_plcy_token() 508 (void) fprintf(stderr, gettext(ERR_BAD_TOKEN), token); in parse_plcy_token()
|
/illumos-gate/usr/src/cmd/auditrecord/ |
H A D | audit_record_attr.txt | 44 token=arg:argument 47 token=cmd:command 48 token=data:data 51 token=group:group 53 token=inet:socket 54 token=ipc:ipc 57 token=path:path 61 token=text:text 70 token=head:header 72 token=ret:return [all …]
|
/illumos-gate/usr/src/lib/libfru/libgenutil/ |
H A D | Str.cc | 151 Str::tokenize(Str& token, const Str& separators, Str& remainder) in tokenize() argument 159 token = rc; in tokenize() 168 token = ""; in tokenize()
|