/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg.y | 45 %token SCC_CLEANUP 46 %token SCC_REPOSITORY SCC_INVENTORY SCC_SET SCC_END SCC_HELP SCC_RESTORE 47 %token SCC_LIST SCC_ADD SCC_DELETE SCC_SELECT SCC_UNSELECT 48 %token SCC_LISTPG SCC_ADDPG SCC_DELPG SCC_DELHASH 49 %token SCC_LISTPROP SCC_SETPROP SCC_DELPROP SCC_EDITPROP 50 %token SCC_DESCRIBE 51 %token SCC_ADDPROPVALUE SCC_DELPROPVALUE SCC_SETENV SCC_UNSETENV 52 %token SCC_LISTSNAP SCC_SELECTSNAP SCC_REVERT SCC_REFRESH 53 %token SCS_REDIRECT SCS_NEWLINE SCS_EQUALS SCS_LPAREN SCS_RPAREN 54 %token SCV_WORD SCV_STRING [all …]
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | nameSyntaxYacc.y | 60 %token SEPIDENT ITERBEGIN ITEREND 61 %token LAST ADD 62 %token <num> NUMBER 63 %token <name> NAME
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | lib.h | 68 struct token; 90 struct token *skip_to(struct token *, int); 91 struct token *expect(struct token *, int, const char *); 92 void unexpected(struct token *, const char *errmsg);
|
H A D | gdbhelpers | 269 set $token = $arg0 271 if ($token->pos.type == TOKEN_IDENT) 274 gdb_show_ident $token.ident 277 if ($token->pos.type == TOKEN_MACRO_ARGUMENT) 279 printf "argnum = %d\n", $token->argnum 282 if ($token->pos.type == TOKEN_SPECIAL) 284 printf "special = \"%s\"\n", show_special($token.special) 299 printf "token = "
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_ntlmssp.c | 396 smb_token_t *token = NULL; in smbd_ntlmssp_authenticate() local 490 token = smbd_user_auth_logon(&user_info); in smbd_ntlmssp_authenticate() 491 if (token == NULL) { in smbd_ntlmssp_authenticate() 498 if (token->tkn_ssnkey.val != NULL && in smbd_ntlmssp_authenticate() 499 token->tkn_ssnkey.len == SMBAUTH_HASH_SZ) { in smbd_ntlmssp_authenticate() 510 token->tkn_ssnkey.val); in smbd_ntlmssp_authenticate() 513 (void) memcpy(kxkey, token->tkn_ssnkey.val, in smbd_ntlmssp_authenticate() 523 (void) smb_auth_RC4(token->tkn_ssnkey.val, in smbd_ntlmssp_authenticate() 528 (void) memcpy(token->tkn_ssnkey.val, kxkey, in smbd_ntlmssp_authenticate() 533 ctx->ctx_token = token; in smbd_ntlmssp_authenticate()
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_list.c | 103 char *token = NULL; local 117 token = strtok_r(str, delimiter, &ptrptr); 118 for (count = 1; ((token != NULL) && (count < MAX_LIST_ENTRIES)); 120 *plist = strdup(token); 125 token = strtok_r(NULL, delimiter, &ptrptr);
|
/illumos-gate/usr/src/cmd/sgs/yacc/common/ |
H A D | yaccpar | 83 int yychar; /* current input token number */ 101 if(i&0x60000000){/*Must convert to a token. */ 118 }else{/* i is already a token. */ 212 printf( "State %d, token ", yy_state ); 296 printf( "Received token " ); 338 printf( "Received token " ); 438 case 3: /* no shift yet; eat a token */ 441 ** if debugging, look up token in list of 453 printf( "token end-of-file\n" ); 455 printf( "token -none-\n" ); [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | accept_sec_context.c | 305 gss_buffer_desc token; local 346 token.value = 0; 1078 if ((token.value = (unsigned char *) xmalloc(token.length)) 1084 ptr3 = token.value; 1093 token.length = 0; 1094 token.value = NULL; 1128 *output_token = token; 1208 if (token.value) 1275 token.value = (unsigned char *) xmalloc(token.length); 1276 if (!token.value) [all …]
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_imp_sec_context.c | 83 gss_buffer_desc token; local 126 token.length = interprocess_token->length - sizeof (OM_uint32) - length; 127 token.value = p; 145 &token, &ctx->internal_ctx_id);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | pkg.c | 140 char *token; in construct_fru_fmri() local 145 token = strtok(tmpbuf, ":"); in construct_fru_fmri() 146 token = strtok(NULL, ": \t\n"); in construct_fru_fmri() 147 pkgver = topo_mod_strdup(mp, token); in construct_fru_fmri() 149 token = strtok(tmpbuf, ":"); in construct_fru_fmri() 150 token = strtok(NULL, ": \t\n"); in construct_fru_fmri() 151 pkgdir = topo_mod_strdup(mp, token); in construct_fru_fmri()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipmon_y.y | 47 %token <num> YY_NUMBER YY_HEX 48 %token <str> YY_STR 49 %token <ip6> YY_IPV6 50 %token YY_COMMENT 51 %token YY_CMP_EQ YY_CMP_NE YY_CMP_LE YY_CMP_GE YY_CMP_LT YY_CMP_GT 52 %token YY_RANGE_OUT YY_RANGE_IN 54 %token IPM_MATCH IPM_BODY IPM_COMMENT IPM_DIRECTION IPM_DSTIP IPM_DSTPORT 56 %token IPM_PACKET IPM_PACKETS IPM_POOL IPM_PROTOCOL IPM_RESULT IPM_RULE 57 %token IPM_SECOND IPM_SECONDS IPM_SRCIP IPM_SRCPORT IPM_LOGTAG IPM_WITH 58 %token IPM_DO IPM_SAVE IPM_SYSLOG IPM_NOTHING IPM_RAW IPM_TYPE IPM_NAT [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_2path.c | 32 static int token2path(char *svc, uint_t token, char *buf, uint_t len); 47 token2path(char *service, uint_t token, char *buf, uint_t len) in token2path() argument 68 ci[3] = p1275_uint2cell(token); /* Arg1: ihandle/phandle */ in token2path()
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | env.c | 31 static const char *token = ":"; variable 43 tok = strtok_r(envstr, token, &lasts); in build_env_list() 53 tok = strtok_r(NULL, token, &lasts); in build_env_list()
|
/illumos-gate/usr/src/cmd/abi/spectrans/parser/ |
H A D | parser.h | 60 int token; member 122 extern int xlator_start_if(const Meta_info meta_info, const int token, 124 extern int xlator_take_kvpair(const Meta_info, const int token, char *value);
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_pool.c | 764 ipftoken_t *token; in ip_pool_getnext() 789 ipo = token->ipt_data; 797 token->ipt_data = nextipo; 801 token->ipt_data = NULL; 806 node = token->ipt_data; 820 token->ipt_data = nextnode; 824 token->ipt_data = NULL; 851 ipf_freetoken(token, ifs); 859 ipf_freetoken(token, ifs); 868 ipf_freetoken(token, ifs); [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | lex.c | 415 lp->token = -1; in sh_lex() 626 lp->token = c; in sh_lex() 1039 lp->token = n; in sh_lex() 1072 lp->token = c; in sh_lex() 1177 lp->token = c; in sh_lex() 1330 return(lp->token=0); in sh_lex() 1439 lp->token = '!'; in sh_lex() 1444 lp->token = 0; in sh_lex() 1446 return(lp->token); in sh_lex() 1456 return(lp->token); in sh_lex() [all …]
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | genkeypair.c | 49 char *token, char *keylabel, KMF_KEY_ALG keyAlg, in genkeypair_pkcs11() argument 65 kmfrv = select_token(kmfhandle, token, FALSE); in genkeypair_pkcs11() 225 char *token, in genkeypair_nss() argument 240 if (token == NULL) in genkeypair_nss() 241 token = DEFAULT_NSS_TOKEN; in genkeypair_nss() 279 if (token != NULL) { in genkeypair_nss() 281 KMF_TOKEN_LABEL_ATTR, token, in genkeypair_nss() 282 strlen(token)); in genkeypair_nss()
|
H A D | gencsr.c | 47 char *token, char *subject, char *altname, in gencsr_pkcs11() argument 73 kmfrv = select_token(kmfhandle, token, FALSE); in gencsr_pkcs11() 79 kmfrv = genkeypair_pkcs11(kmfhandle, token, certlabel, in gencsr_pkcs11() 262 char *token, char *subject, char *altname, in gencsr_nss() argument 281 if (token == NULL) in gencsr_nss() 282 token = DEFAULT_NSS_TOKEN; in gencsr_nss() 298 kmfrv = genkeypair_nss(kmfhandle, token, nickname, dir, in gencsr_nss() 353 if (token && strlen(token)) { in gencsr_nss() 355 token, strlen(token)); in gencsr_nss()
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | trace.c | 212 xlator_start_if(const Meta_info m, int const token, char *value) in xlator_start_if() argument 217 switch (token) { in xlator_start_if() 248 if (token == XLATOR_KW_DATA) { in xlator_start_if() 268 xlator_take_kvpair(Meta_info m, int const token, char *value) in xlator_take_kvpair() argument 271 char *key = Keywords[token-FIRST_TOKEN].key; in xlator_take_kvpair() 284 switch (token) { in xlator_take_kvpair() 306 retval = collect_binding(token, value, line); in xlator_take_kvpair() 522 collect_binding(int const token, char *value, int line) in collect_binding() argument 528 Keywords[token-FIRST_TOKEN].key, value, line); in collect_binding() 530 if (token == XLATOR_KW_EXCP) { in collect_binding()
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | xlator.c | 198 xlator_start_if(const Meta_info meta_info, const int token, char *value) in xlator_start_if() argument 206 switch (token) { in xlator_start_if() 246 Iface.IF_type = token; /* FUNCTION or DATA */ in xlator_start_if() 269 xlator_take_kvpair(const Meta_info meta_info, const int token, char *value) in xlator_take_kvpair() argument 273 char *key = Keywords[token-FIRST_TOKEN].key; in xlator_take_kvpair() 280 meta_info.mi_ext_cnt, token, key, value); in xlator_take_kvpair() 288 switch (token) { in xlator_take_kvpair() 414 token, value); in xlator_take_kvpair() 427 if (token == XLATOR_KW_FILTER) { in xlator_take_kvpair() 429 } else if (token == XLATOR_KW_AUXILIARY) { in xlator_take_kvpair()
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.pm | 533 my $token; 544 foreach $token (@newtokens) { 545 if (!($token =~ /^[(),]$/ || 580 my $token; 596 foreach $token (@$tokens) { 598 push(@usedtokens, $token); 600 if ($token eq ',') { 609 if ($token eq '(') { 630 if ($token eq ')') { 656 $line, $token]); [all …]
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acl.y | 44 %token BARE_SID_TOK 45 %token USER_TOK USER_SID_TOK GROUP_TOK GROUP_SID_TOK MASK_TOK OTHER_TOK 46 %token OWNERAT_TOK GROUPAT_TOK EVERYONEAT_TOK DEFAULT_USER_TOK 47 %token DEFAULT_GROUP_TOK DEFAULT_MASK_TOK DEFAULT_OTHER_TOK 48 %token COLON COMMA NL SLASH 49 %token <str> ID IDNAME PERM_TOK INHERIT_TOK SID 50 %token <val> ERROR ACE_PERM ACE_INHERIT ENTRY_TYPE ACCESS_TYPE
|
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | opteron_pcbe.c | 105 void *token); 106 static void opt_pcbe_program(void *token); 108 static void opt_pcbe_sample(void *token); 821 uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) in opt_pcbe_configure() argument 926 opt_pcbe_program(void *token) in opt_pcbe_program() argument 939 if (kcpc_allow_nonpriv(token)) in opt_pcbe_program() 948 pcfg = (opt_pcbe_config_t *)kcpc_next_config(token, pcfg, NULL); in opt_pcbe_program() 988 opt_pcbe_sample(void *token) in opt_pcbe_sample() argument 1006 pcfg = (opt_pcbe_config_t *)kcpc_next_config(token, pcfg, &tmp); in opt_pcbe_sample()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_yacc.y | 80 %token BASE BLOCK CD DIRECTORY TFILE FIND FILL 81 %token INODE LS OVERRIDE PROMPT PWD QUIT TAG BANG 83 %token AVD MVDS RVDS INTS FSDS ROOT 84 %token ATTZ ATYE ATMO ATDA ATHO ATMI ATSE ATCE ATHU ATMIC 85 %token CTTZ CTYE CTMO CTDA CTHO CTMI CTSE CTCE CTHU CTMIC 86 %token MTTZ MTYE MTMO MTDA MTHO MTMI MTSE MTCE MTHU MTMIC 87 %token GID LN MD MAJ MIO NM SZ UID UNIQ 88 %token DOT 89 %token NL 91 %token WORD
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | cpufreq.c | 169 char *s, *token, *prog_ptr; in pt_cpufreq_stat_prepare() local 204 for (token = strtok(s, ":"), s = NULL; in pt_cpufreq_stat_prepare() 205 token != NULL && g_npstates < NSTATES; in pt_cpufreq_stat_prepare() 206 token = strtok(NULL, ":")) { in pt_cpufreq_stat_prepare() 208 state->speed = HZ2MHZ(atoll(token)); in pt_cpufreq_stat_prepare() 219 if (token != NULL) in pt_cpufreq_stat_prepare()
|