/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsmka_pathmanager.c | 570 token->next = NULL; in enqueue_work() 1367 sendq_token_t *token; in pathup_to_pathactive() local 1377 while (token != NULL) { in pathup_to_pathactive() 1385 token = token->next; in pathup_to_pathactive() 2467 token->next = token; in link_sendq_token() 2506 if (current == token) { in unlink_sendq_token() 2587 if (token == NULL) { in rsmka_get_sendq_token() 2610 token = token->next; in rsmka_get_sendq_token() 2625 token = prev_used; in rsmka_get_sendq_token() 2648 return (token); in rsmka_get_sendq_token() [all …]
|
/illumos-gate/usr/src/cmd/users/ |
H A D | users.c | 652 char *token; /* Ptr to a token extracted by strtok() */ in main() local 719 if ((token = strtok(g_arg, ",")) != NULL) { in main() 722 pgrp->groupname = token; in main() 733 while ((token = strtok(NULL, ",")) != NULL) { in main() 739 (rc = strcmp(token, rgrp->groupname))) in main() 746 pgrp->groupname = token; in main() 765 if ((token = strtok(l_arg, ",")) != NULL) { in main() 770 plogin->loginname = token; in main() 781 while ((token = strtok(NULL, ",")) != NULL) { in main() 787 (rc = strcmp(token, rlogin->loginname))) in main() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | char.h | 1 extern void get_char_constant(struct token *, unsigned long long *); 2 extern struct token *get_string_constant(struct token *, struct expression *);
|
H A D | c2xml.c | 223 static struct position *get_expansion_end (struct token *token) in get_expansion_end() argument 225 struct token *p1, *p2; in get_expansion_end() 228 !eof_token(token); in get_expansion_end() 229 p2 = p1, p1 = token, token = token->next); in get_expansion_end()
|
/illumos-gate/usr/src/lib/nametoaddr/straddr/common/ |
H A D | straddr.c | 408 searchhost(struct netconfig *netconfigp, char *token, int field, char *hostbuf) in searchhost() argument 428 if ((strcmp(token, HOST_SELF_BIND) == 0) || in searchhost() 429 (strcmp(token, HOST_SELF_CONNECT) == 0) || in searchhost() 430 (strcmp(token, HOST_ANY) == 0) || in searchhost() 431 (strcmp(token, LOCALHOST) == 0) || in searchhost() 432 (uname(&utsname) >= 0 && strcmp(token, utsname.nodename) == 0)) { in searchhost() 483 if (strcmp(token, cmpstr) == 0) { in searchhost() 515 searchserv(struct netconfig *netconfigp, char *token, int field, char *servname) in searchserv() argument 551 if (strcmp(token, cmpstr) == 0) { in searchserv()
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba_devdb.c | 141 token_t token; in usba_devdb_get_conf_rec() local 156 token = kobj_lex(file, tokval, sizeof (tokval)); in usba_devdb_get_conf_rec() 157 while ((token != EOF) && (token != SEMICOLON)) { in usba_devdb_get_conf_rec() 158 switch (token) { in usba_devdb_get_conf_rec() 284 token = kobj_lex(file, tokval, sizeof (tokval)); in usba_devdb_get_conf_rec() 288 return (token); in usba_devdb_get_conf_rec() 485 token_t token; in usba_devdb_build_device_database() local 495 token = usba_devdb_get_conf_rec(file, &user_rec); in usba_devdb_build_device_database() 526 } while (token != EOF); in usba_devdb_build_device_database()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ippool_y.y | 69 %token <num> YY_NUMBER YY_HEX 70 %token <str> YY_STR 71 %token YY_COMMENT 72 %token YY_CMP_EQ YY_CMP_NE YY_CMP_LE YY_CMP_GE YY_CMP_LT YY_CMP_GT 73 %token YY_RANGE_OUT YY_RANGE_IN 74 %token <ip6> YY_IPV6 76 %token IPT_IPF IPT_NAT IPT_COUNT IPT_AUTH IPT_IN IPT_OUT 77 %token IPT_TABLE IPT_GROUPMAP IPT_HASH 78 %token IPT_ROLE IPT_TYPE IPT_TREE 79 %token IPT_GROUP IPT_SIZE IPT_SEED IPT_NUM IPT_NAME
|
/illumos-gate/usr/src/cmd/lofiadm/ |
H A D | main.c | 103 token_spec_t *token; member 1098 if (token == NULL || token->key == NULL) in getkeyfromtoken() 1242 token_spec_t *token; in match_token_cipher() local 1271 token = cipher->token; in match_token_cipher() 1277 if (token == NULL) { in match_token_cipher() 1291 if (token->name != NULL && (token->name)[0] != '\0' && in match_token_cipher() 1295 if (token->mfr != NULL && (token->mfr)[0] != '\0' && in match_token_cipher() 1299 if (token->serno != NULL && (token->serno)[0] != '\0' && in match_token_cipher() 1331 cipher->token = token; in init_crypto() 1943 token_spec_t *token = NULL; in main() local [all …]
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4.c | 118 token[1] = EOS; in main() 192 puttok(token); in main() 204 puttok(token); in main() 211 token[1] = EOS; in main() 215 puttok(token); in main() 220 puttok(token); in main() 241 puttok(token); in main() 244 token[1] = EOS; in main() 246 puttok(token); in main() 320 pbstr(token+1); in inpmatch() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_009_pos.ksh | 68 for token in ${valid_args[i]}; do 69 log_must snapexists $token && \ 70 log_must zfs destroy $token 78 for token in ${invalid_args[i]}; do 79 log_mustnot snapexists $token
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 195 token_t token; in lex() local 218 token = T_STAR; in lex() 221 token = T_POUND; in lex() 224 token = T_COLON; in lex() 230 token = T_COMMA; in lex() 233 token = T_SLASH; in lex() 309 token = T_EOF; in lex() 407 return (token); in lex() 445 token_t token; in parse_conf_entry() local 457 token = T_NAME; in parse_conf_entry() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | smbiostbl.c | 1008 char *buf, *lasts, *token, *typekey = NULL; in smbios_parse() local 1025 type = strtonum(token, 0, 3, &errstr); in smbios_parse() 1040 token = strchr(typekey, '.'); in smbios_parse() 1041 assert(token != NULL); in smbios_parse() 1042 *token = '\0'; in smbios_parse() 1055 token); in smbios_parse() 1061 if (strcmp(token, "uuid") == 0) { in smbios_parse() 1062 set_config_value_if_unset(token, val); in smbios_parse() 1070 token = smbios_legacy_map[i].val; in smbios_parse() 1077 token) == 0) { in smbios_parse() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_signing.c | 161 smb2_sign_begin(smb_request_t *sr, smb_token_t *token) in smb2_sign_begin() argument 177 if (token->tkn_ssnkey.val == NULL || token->tkn_ssnkey.len == 0 || in smb2_sign_begin() 191 uint32_t ssnkey_len = MIN(token->tkn_ssnkey.len, SMB2_KEYLEN); in smb2_sign_begin() 194 token->tkn_ssnkey.val, ssnkey_len, in smb2_sign_begin() 201 token->tkn_ssnkey.val, ssnkey_len, in smb2_sign_begin() 215 bcopy(token->tkn_ssnkey.val, sign_key->key, in smb2_sign_begin() 216 MIN(token->tkn_ssnkey.len, sign_key->len)); in smb2_sign_begin()
|
H A D | smb3_encrypt.c | 120 smb3_encrypt_begin(smb_user_t *u, smb_token_t *token) in smb3_encrypt_begin() argument 140 if (token->tkn_ssnkey.val == NULL || token->tkn_ssnkey.len == 0 || in smb3_encrypt_begin() 162 input_keylen = token->tkn_ssnkey.len; in smb3_encrypt_begin() 166 token->tkn_ssnkey.len); in smb3_encrypt_begin() 170 token->tkn_ssnkey.val, input_keylen, in smb3_encrypt_begin() 176 token->tkn_ssnkey.val, input_keylen, in smb3_encrypt_begin() 185 input_keylen = MIN(SMB2_SSN_KEYLEN, token->tkn_ssnkey.len); in smb3_encrypt_begin() 188 token->tkn_ssnkey.val, input_keylen, in smb3_encrypt_begin() 194 token->tkn_ssnkey.val, input_keylen, in smb3_encrypt_begin()
|
H A D | smb_signing.c | 124 smb_sign_begin(smb_request_t *sr, smb_token_t *token) in smb_sign_begin() argument 138 if (token->tkn_ssnkey.val == NULL || token->tkn_ssnkey.len == 0) in smb_sign_begin() 178 sign->mackey_len = token->tkn_ssnkey.len + sinfo->ssi_ntpwlen; in smb_sign_begin() 180 bcopy(token->tkn_ssnkey.val, sign->mackey, token->tkn_ssnkey.len); in smb_sign_begin() 182 bcopy(sinfo->ssi_ntpwd, sign->mackey + token->tkn_ssnkey.len, in smb_sign_begin()
|
/illumos-gate/usr/src/uts/sun4u/pcbe/ |
H A D | opl_pcbe.c | 90 void *token); 91 static void opl_pcbe_program(void *token); 93 static void opl_pcbe_sample(void *token); 712 opl_pcbe_program(void *token) in opl_pcbe_program() argument 724 firstconfig = tmp = kcpc_next_config(token, NULL, NULL); in opl_pcbe_program() 731 tmp = kcpc_next_config(token, tmp, NULL); in opl_pcbe_program() 734 panic("opl_pcbe: token %p has no configs", token); in opl_pcbe_program() 807 opl_pcbe_sample(void *token) in opl_pcbe_sample() argument 824 firstconfig = ctmp = kcpc_next_config(token, NULL, &dtmp); in opl_pcbe_sample() 832 ctmp = kcpc_next_config(token, ctmp, &dtmp); in opl_pcbe_sample() [all …]
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 419 char *token; in get_container_info() local 436 if (token != NULL) { in get_container_info() 437 token = tokenizer(token, "|", &item, &matched); in get_container_info() 438 while (token != NULL) { in get_container_info() 457 if (token == NULL) { in get_container_info() 464 while (token != NULL) { in get_container_info() 465 token = tokenizer(token, ",", &item, &matched); in get_container_info() 466 if (token == NULL) { in get_container_info() 470 if (atoi(token) == 1) { in get_container_info() 474 } else if (atoi(token) == 0) { in get_container_info() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | pplex.c | 278 count(token); in ppcpp() 341 count(token); in ppcpp() 1057 STRCOPY(op, pp.token + 2 + (*pp.token == ' '), s); in ppcpp() 1070 STRCOPY(op, pp.token + 1 + (*pp.token == ' '), s); in ppcpp() 1087 *(pp.token + 3) = *(pp.token + 2); in ppcpp() 1088 *(pp.token + 2) = *(pp.token + 1); in ppcpp() 1089 *(pp.token + 1) = *pp.token; in ppcpp() 1090 *pp.token = *(pp.token - 1); in ppcpp() 1131 count(token); in ppcpp() 1322 count(token); in ppcpp() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kconf.c | 121 char *realm, *kdcs, *master, *domain, *token, *lasts; in main() local 180 token = strtok_r(kdcs, ",", &lasts); in main() 182 if (token != NULL) { in main() 183 code = add_to_list(&values, token); in main() 194 } while ((token = strtok_r(NULL, ",", &lasts)) != NULL); in main()
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | delete.c | 226 char *token, int oclass, char *objlabel, in delete_nss_keys() argument 257 if (token && strlen(token)) { in delete_nss_keys() 259 token, strlen(token)); in delete_nss_keys() 317 char *token, char *objlabel, in delete_nss_certs() argument 367 if (token != NULL) { in delete_nss_certs() 369 KMF_TOKEN_LABEL_ATTR, token, in delete_nss_certs() 370 strlen(token)); in delete_nss_certs() 381 char *dir, char *prefix, char *token, in delete_nss_crl() argument 397 if (token != NULL) { in delete_nss_crl() 399 token, strlen(token)); in delete_nss_crl() [all …]
|
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | ctags.c | 457 char *token, *tp; in C_entries() local 468 sp = tp = token = line; in C_entries() 654 if (start_entry(&sp, token, &f)) { in C_entries() 655 (void) strncpy(tok, token, tp-token+1); in C_entries() 656 tok[tp-token+1] = 0; in C_entries() 663 token = sp; in C_entries() 669 token = tp = sp; in C_entries() 680 tp = token = sp = line; in C_entries() 719 if (strncmp(token, "define", 6) == 0) 731 if (strncmp(token, "typedef", 7) == 0) { [all …]
|
/illumos-gate/usr/src/cmd/auditrecord/ |
H A D | mkmsg.pl | 38 %attr %event %class %skipClass %token %noteAlias); 65 my ($attr, $token, $skipClass, $noteAlias) = $parse->readAttr(); 70 %token = %$token;
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lparser.c | 62 if (ls->t.token == TK_NAME || ls->t.token == TK_STRING) { in anchor_token() 101 if (ls->t.token == c) { in testnext() 110 if (ls->t.token != c) in check() 593 switch (ls->t.token) { in block_follow() 709 switch(ls->t.token) { in field() 826 switch (ls->t.token) { in funcargs() 878 switch (ls->t.token) { in primaryexp() 939 switch (ls->t.token) { in simpleexp() 1209 while (ls->t.token == ';' || ls->t.token == TK_DBCOLON) in skipnoopstat() 1382 if (ls->t.token == TK_GOTO || ls->t.token == TK_BREAK) { in test_then_block() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_map.c | 610 token_type token; in parse_name_fields() local 791 object_dn_token token; in parse_object_dn() local 812 if (token == dn_no_token || token == dn_semi_token) { in parse_object_dn() 819 if (token == dn_no_token) in parse_object_dn() 832 if (token == dn_semi_token) in parse_object_dn() 837 if (token == dn_ques_token) in parse_object_dn() 851 if (token == dn_ques_token) in parse_object_dn() 860 if (token == dn_ques_token) in parse_object_dn() 879 if (token == dn_ques_token) in parse_object_dn() 911 if (token == dn_ques_token) in parse_object_dn() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_htable.c | 646 ipftoken_t *token; in fr_htable_getnext() 671 iph = token->ipt_data; 679 token->ipt_data = nextiph; 683 token->ipt_data = NULL; 688 node = token->ipt_data; 701 token->ipt_data = nextnode; 705 token->ipt_data = NULL; 731 ipf_freetoken(token, ifs); 739 ipf_freetoken(token, ifs); 748 ipf_freetoken(token, ifs); [all …]
|