/titanic_41/usr/src/cmd/localedef/ |
H A D | parser.y | 31 char *token; member 36 %token T_CODE_SET 37 %token T_MB_CUR_MAX 38 %token T_MB_CUR_MIN 39 %token T_COM_CHAR 40 %token T_ESC_CHAR 41 %token T_LT 42 %token T_GT 43 %token T_NL 44 %token T_SEMI [all …]
|
H A D | scanner.c | 48 static char *token = NULL; variable 67 static struct token { struct 179 static struct token symwords[] = { 338 if ((token = realloc(token, toksz)) == NULL) { in add_tok() 346 token[tokidx++] = (char)c; in add_tok() 347 token[tokidx] = 0; in add_tok() 514 if (token == NULL) { in get_symbol() 527 if (strcmp(token, symwords[i].name) == in get_symbol() 540 (lookup_charmap(token, &yylval.wc)) != -1) { in get_symbol() 543 if ((yylval.collsym = lookup_collsym(token)) != NULL) { in get_symbol() [all …]
|
/titanic_41/usr/src/lib/libbsm/common/ |
H A D | au_to.c | 59 token_t *token; /* Resultant token */ in get_token() local 61 if ((token = (token_t *)malloc(sizeof (token_t))) == NULL) in get_token() 63 if ((token->tt_data = malloc(s)) == NULL) { in get_token() 64 free(token); in get_token() 67 token->tt_size = s; in get_token() 68 token->tt_next = NULL; in get_token() 69 return (token); in get_token() 81 token_t *token; /* token pointer */ in au_to_header() local 88 token = get_token(2 * sizeof (char) + sizeof (int32_t) + in au_to_header() 93 token = get_token(2 * sizeof (char) + 3 * sizeof (int32_t) + in au_to_header() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_logon.c | 57 static uint32_t smb_token_setup_anon(smb_token_t *token); 69 smb_token_idmap(smb_token_t *token, smb_idmap_batch_t *sib) in smb_token_idmap() argument 76 if (!token || !sib) in smb_token_idmap() 81 if (token->tkn_flags & SMB_ATF_ANON) { in smb_token_idmap() 82 token->tkn_user.i_id = UID_NOBODY; in smb_token_idmap() 83 token->tkn_owner.i_id = UID_NOBODY; in smb_token_idmap() 86 id = &token->tkn_user; in smb_token_idmap() 95 id = &token->tkn_owner; in smb_token_idmap() 105 id = &token->tkn_primary_grp; in smb_token_idmap() 114 for (i = 0; i < token->tkn_win_grps.i_cnt; i++, sim++) { in smb_token_idmap() [all …]
|
/titanic_41/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | versions.c | 176 char *token = currtok(); in comment() local 178 if (token == NULL || *token != '#') { in comment() 182 token = nexttok(); in comment() 190 char *token = currtok(); in arch_name() local 194 token ? token : "<NULL>"); in arch_name() 196 if (token == NULL) { in arch_name() 200 } else if (in_specials(*token)) { in arch_name() 207 *token); in arch_name() 215 } else if (!eq(token, TargetArchStr)) { in arch_name() 217 errlog(VERBOSE, "Begin unselected architecture: %s", token); in arch_name() [all …]
|
/titanic_41/usr/src/lib/udapl/libdat/common/ |
H A D | udat_sr_parser.c | 103 DAT_SR_TOKEN token; member 232 DAT_SR_TOKEN *token); 237 DAT_SR_TOKEN *token); 242 DAT_SR_TOKEN *token); 247 DAT_SR_TOKEN *token, 253 DAT_SR_TOKEN *token, 405 DAT_SR_TOKEN token; in dat_sr_parse_eof() local 407 if (DAT_SUCCESS != dat_sr_get_token(file, &token)) { in dat_sr_parse_eof() 411 if (DAT_SR_TOKEN_EOF == token.type) { in dat_sr_parse_eof() 414 (void) dat_sr_put_token(file, &token); in dat_sr_parse_eof() [all …]
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5unseal.c | 76 gss_buffer_desc token; local 269 token.length = tmsglen; 289 token.length = tmsglen - conflen - plain[tmsglen-1]; 292 if (token.length) { 293 if ((token.value = (void *) xmalloc(token.length)) == NULL) { 300 (void) memcpy(token.value, plain+conflen, token.length); 302 token.value = NULL; 306 token = *message_buffer; 307 plain = token.value; 308 plainlen = token.length; [all …]
|
/titanic_41/usr/src/cmd/tnf/prex/ |
H A D | prexgram.y | 29 %token ADD 30 %token ALLOC 31 %token BUFFER 32 %token CLEAR 33 %token COMMA 34 %token CONNECT 35 %token DEALLOC 36 %token DELETE 37 %token FILTER 38 %token CONTINUE [all …]
|
/titanic_41/usr/src/cmd/sgs/tools/common/ |
H A D | sgsmsg.c | 191 char *buffer, *token, *_mesgid = 0, *_setid = 0, *_domain = 0; in getmesgid() local 216 if ((token = strstr(buffer, id)) == NULL) in getmesgid() 223 _mesgid = token; in getmesgid() 224 while (!(isspace(*token))) in getmesgid() 225 token++; in getmesgid() 226 *token++ = 0; in getmesgid() 228 while (isspace(*token)) in getmesgid() 229 token++; in getmesgid() 230 _setid = token; in getmesgid() 231 while (!(isspace(*token))) in getmesgid() [all …]
|
/titanic_41/usr/src/uts/intel/io/acpica/ |
H A D | master_ops.c | 165 mftoken_t token = MF_UNEXPECTED; in mf_lex() local 168 return (token); /* MF_UNEXPECTED */ in mf_lex() 187 token = MF_EOF; in mf_lex() 191 token = MF_NEWLINE; in mf_lex() 194 token = MF_EQUALS; in mf_lex() 197 token = MF_BIT_OR; in mf_lex() 216 token = MF_UNEXPECTED; in mf_lex() 223 token = MF_STRING; in mf_lex() 228 token = MF_UNEXPECTED; in mf_lex() 232 token = MF_IDENT; in mf_lex() [all …]
|
/titanic_41/usr/src/common/smbsrv/ |
H A D | smb_token.c | 53 smb_token_query_privilege(smb_token_t *token, int priv_id) in smb_token_query_privilege() argument 58 if ((token == NULL) || (token->tkn_privileges == NULL)) in smb_token_query_privilege() 61 privset = token->tkn_privileges; in smb_token_query_privilege() 78 smb_token_valid(smb_token_t *token) in smb_token_valid() argument 80 if (token == NULL) in smb_token_valid() 83 if ((token->tkn_user.i_sid == NULL) || in smb_token_valid() 84 (token->tkn_owner.i_sid == NULL) || in smb_token_valid() 85 (token->tkn_primary_grp.i_sid == NULL) || in smb_token_valid() 86 (token->tkn_account_name == NULL) || in smb_token_valid() 87 (token->tkn_domain_name == NULL) || in smb_token_valid() [all …]
|
/titanic_41/usr/src/cmd/eqn/ |
H A D | lex.c | 22 char token[SSIZE]; variable 119 token[sp++] = '\\'; in yylex() 120 token[sp++] = c; in yylex() 123 "quoted string %.20s... too long"), token); in yylex() 125 token[sp] = '\0'; in yylex() 126 yylval = (int)&token[0]; in yylex() 128 error(!FATAL, gettext("missing \" in %.20s"), token); in yylex() 135 getstr(token, SSIZE); in yylex() 136 if (dbg) printf(".\tlex token = |%s|\n", token); in yylex() 137 if ((tp = lookup(deftbl, token, NULL)) != NULL) { in yylex() [all …]
|
/titanic_41/usr/src/cmd/cron/ |
H A D | att1.y | 45 %token TIME 46 %token NOW 47 %token NOON 48 %token MIDNIGHT 49 %token MINUTE 50 %token HOUR 51 %token DAY 52 %token WEEK 53 %token MONTH 54 %token YEAR [all …]
|
/titanic_41/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 84 char *lasts, *token; in build_keysizes() local 102 token = strtok_r(input_string, slash, &lasts); in build_keysizes() 103 if (token == NULL || (key_default = atoi(token)) == 0) in build_keysizes() 107 token = strtok_r(NULL, dash, &lasts); in build_keysizes() 108 if (token == NULL || (key_low = atoi(token)) == 0) in build_keysizes() 112 token = strtok_r(NULL, comma, &lasts); in build_keysizes() 113 if (token == NULL || (key_high = atoi(token)) == 0 || in build_keysizes() 118 token = strtok_r(NULL, "", &lasts); in build_keysizes() 119 if (token == NULL || (key_increment = atoi(token)) == 0) in build_keysizes() 139 token = strtok_r(input_string, comma, &lasts); in build_keysizes() [all …]
|
/titanic_41/usr/src/cmd/fm/fminject/common/ |
H A D | inj_grammar.y | 82 %token INJ_TOK_EVDEF 83 %token INJ_TOK_FMRIDEF 84 %token INJ_TOK_AUTHDEF 85 %token INJ_TOK_LISTDEF 87 %token INJ_TOK_INT8 88 %token INJ_TOK_INT16 89 %token INJ_TOK_INT32 90 %token INJ_TOK_INT64 91 %token INJ_TOK_UINT8 92 %token INJ_TOK_UINT16 [all …]
|
/titanic_41/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_hyper.c | 142 get_token(char **token, char *str, char *delim) in get_token() argument 148 *token = NULL; in get_token() 173 if ((*token = malloc(len)) == NULL) { in get_token() 178 (void) strlcpy(*token, start, len); in get_token() 188 *token = s_strdup(start); in get_token() 511 char *token, *parsestr; in cvt_metal_kernel() local 530 if ((parsestr = get_token(&token, parsestr, " \t,")) == NULL) { in cvt_metal_kernel() 531 if (token != NULL) in cvt_metal_kernel() 532 free(token); in cvt_metal_kernel() 537 if (strncmp(token, BFLAG, strlen(BFLAG)) != 0) { in cvt_metal_kernel() [all …]
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_grammar.y | 50 %token DT_TOK_COMMA DT_TOK_ELLIPSIS 51 %token DT_TOK_ASGN DT_TOK_ADD_EQ DT_TOK_SUB_EQ DT_TOK_MUL_EQ 52 %token DT_TOK_DIV_EQ DT_TOK_MOD_EQ DT_TOK_AND_EQ DT_TOK_XOR_EQ DT_TOK_OR_EQ 53 %token DT_TOK_LSH_EQ DT_TOK_RSH_EQ DT_TOK_QUESTION DT_TOK_COLON 54 %token DT_TOK_LOR DT_TOK_LXOR DT_TOK_LAND 55 %token DT_TOK_BOR DT_TOK_XOR DT_TOK_BAND DT_TOK_EQU DT_TOK_NEQ 56 %token DT_TOK_LT DT_TOK_LE DT_TOK_GT DT_TOK_GE DT_TOK_LSH DT_TOK_RSH 57 %token DT_TOK_ADD DT_TOK_SUB DT_TOK_MUL DT_TOK_DIV DT_TOK_MOD 58 %token DT_TOK_LNEG DT_TOK_BNEG DT_TOK_ADDADD DT_TOK_SUBSUB 59 %token DT_TOK_PREINC DT_TOK_POSTINC DT_TOK_PREDEC DT_TOK_POSTDEC [all …]
|
/titanic_41/usr/src/cmd/sgs/tsort/common/ |
H A D | errtext.c | 164 char *token; in errverb() local 170 for (token = errstrtok(buf, space); token; in errverb() 171 token = errstrtok((char *)0, space)) { in errverb() 172 if (strcmp(token, "nochange") == 0) { in errverb() 180 } else if (strcmp(token, "silent") == 0) { in errverb() 189 } else if (strcmp(token, "verbose") == 0) { in errverb() 198 } else if (strcmp(token, "expert") == 0) { in errverb() 207 } else if (strcmp(token, "bell") == 0) { in errverb() 209 } else if (strcmp(token, "nobell") == 0) { in errverb() 211 } else if (strcmp(token, "tag") == 0) { in errverb() [all …]
|
/titanic_41/usr/src/lib/libpp/common/ |
H A D | ppbuiltin.c | 46 char* token; in ppbuiltin() local 57 token = pp.token; in ppbuiltin() 58 p = pp.token = pp.tmpbuf; in ppbuiltin() 69 p = pp.token = pp.valbuf; in ppbuiltin() 86 if (op) pp.token = pp.toknxt; in ppbuiltin() 89 *pp.token = 0; in ppbuiltin() 90 pp.token = token; in ppbuiltin() 113 pp.token = token; in ppbuiltin() 118 pp.token = pp.valbuf; in ppbuiltin() 119 …if ((c = pplex()) != T_ID || !(sym = ppsymref(pp.symtab, pp.token)) || !sym->macro || sym->macro->… in ppbuiltin() [all …]
|
H A D | ppcall.c | 105 old_token = pp.token; in ppcall() 107 pp.token = p = oldof(0, char, 0, n); in ppcall() 109 *pp.token++ = ' '; in ppcall() 129 if (streq(pp.token, tp->token)) in ppcall() 137 pp.token = old_token; in ppcall() 138 PUSH_TUPLE(sym, tp->token); in ppcall() 148 pp.token = pp.toknxt; in ppcall() 152 if ((pp.token = pp.toknxt) > q) in ppcall() 154 c = pp.token - p; in ppcall() 157 pp.token = p + c; in ppcall() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | token.c | 118 dh_token_t token, /* The unserialized input token */ in __make_ap_token() argument 127 if ((stat = __alloc_sig(get_qop(token), in __make_ap_token() 128 &token->verifier)) in __make_ap_token() 138 token_size = xdr_sizeof((xdrproc_t)xdr_dh_token_desc, (void *)token); in __make_ap_token() 161 __free_signature(&token->verifier); in __make_ap_token() 193 if ((stat = __xdr_encode_token(&xdrs, NULL, token, keys)) in __make_ap_token() 195 __free_signature(&token->verifier); in __make_ap_token() 200 __free_signature(&token->verifier); in __make_ap_token() 214 dh_token_t token, /* The token to encode */ in __make_token() argument 223 if ((stat = __alloc_sig(get_qop(token), in __make_token() [all …]
|
/titanic_41/usr/src/cmd/rpcgen/ |
H A D | rpc_scan.h | 100 struct token { struct 104 typedef struct token token; argument 109 extern void scan(tok_kind, token *); 110 extern void scan2(tok_kind, tok_kind, token *); 111 extern void scan3(tok_kind, tok_kind, tok_kind, token *); 112 extern void scan_num(token *); 113 extern void peek(token *); 114 extern int peekscan(tok_kind, token *); 115 extern void get_token(token *);
|
/titanic_41/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_configfile.c | 108 static int getvalue(char *token, u_longlong_t *valuep); 174 getvalue(char *token, u_longlong_t *valuep) in getvalue() argument 182 if (*token == '~') { in getvalue() 184 token++; in getvalue() 185 } else if (*token == '-') { in getvalue() 187 token++; in getvalue() 189 if (*token == '0') { in getvalue() 190 token++; in getvalue() 191 c = *token; in getvalue() 200 token++; in getvalue() [all …]
|
/titanic_41/usr/src/lib/libpri/common/ |
H A D | pri.c | 134 pri_get(uint8_t wait, uint64_t *token, uint64_t **buf, in pri_get() argument 149 if (ioctl(pri_fd, DSPRI_WAIT, token) < 0) { in pri_get() 164 *token = pri_info.token; in pri_get() 190 if (pri_info2.token != pri_info.token) in pri_get() 193 } while (pri_info2.token != pri_info.token); in pri_get() 197 *token = pri_info.token; in pri_get()
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_session_setup_andx.c | 234 smb_token_t *token = NULL; in smb_authenticate_core() local 311 if ((token = smb_get_token(sr->session, &user_info)) == NULL) { in smb_authenticate_core() 318 token->tkn_domain_name, token->tkn_account_name); in smb_authenticate_core() 324 smb_token_free(token); in smb_authenticate_core() 329 if ((cr = smb_cred_create(token)) == NULL) { in smb_authenticate_core() 330 smb_token_free(token); in smb_authenticate_core() 335 privileges = smb_priv_xlate(token); in smb_authenticate_core() 338 token->tkn_domain_name, token->tkn_account_name, in smb_authenticate_core() 339 token->tkn_flags, privileges, token->tkn_audit_sid); in smb_authenticate_core() 346 if ((token->tkn_flags & (SMB_ATF_GUEST | SMB_ATF_ANON)) == 0) in smb_authenticate_core() [all …]
|