/illumos-gate/usr/src/cmd/iconv/ |
H A D | parser.y | 28 char *token; 33 %token T_CODE_SET 34 %token T_MB_CUR_MAX 35 %token T_MB_CUR_MIN 36 %token T_COM_CHAR 37 %token T_ESC_CHAR 38 %token T_LT 39 %token T_GT 40 %token T_NL 41 %token T_SEM [all...] |
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_scan.h | 98 * a token 100 struct token { struct 104 typedef struct token token; typedef in typeref:struct:token 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 *); [all...] |
/illumos-gate/usr/src/cmd/localedef/ |
H A D | parser.y | 31 char *token; 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_SEM [all...] |
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | versions.c | 176 char *token = currtok(); local 178 if (token == NULL || *token != '#') { 181 /* Swallow token. */ 182 token = nexttok(); 190 char *token = currtok(); local 193 errlog(VERBOSE, "token = '%s';", 194 token ? token : "<NULL>"); 196 if (token 241 char *token = currtok(); local 268 char *token = currtok(); local 389 char *token = currtok(); local 469 char *token = currtok(); local 494 char *token = currtok(); local [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | au_to.c | 59 token_t *token; /* Resultant token */ local 61 if ((token = (token_t *)malloc(sizeof (token_t))) == NULL) 63 if ((token->tt_data = malloc(s)) == NULL) { 64 free(token); 67 token->tt_size = s; 68 token->tt_next = NULL; 69 return (token); 75 * pointer to header token. 81 token_t *token; /* toke local 122 token_t *token; /* token pointer */ local 184 token_t *token; /* token pointer */ local 208 token_t *token; /* local token */ local 237 token_t *token; /* local token */ local 267 token_t *token; /* local token */ local 313 token_t *token; /* token pointer */ local 391 token_t *token; /* local token */ local 434 token_t *token; /* local token */ local 477 token_t *token; /* local token */ local 534 token_t *token; /* local token */ local 557 token_t *token; local 586 token_t *token; /* local token */ local 630 token_t *token; /* local token */ local 706 token_t *token; /* local token */ local 731 token_t *token; /* local token */ local 757 token_t *token; /* local token */ local 818 token_t *token; /* local token */ local 841 token_t *token; /* local token */ local 864 token_t *token; /* local token */ local 888 token_t *token; /* local token */ local 914 token_t *token; /* local token */ local 936 token_t *token; local 976 token_t *token; /* local token */ local 993 token_t *token; /* local token */ local 1025 token_t *token; /* local token */ local 1066 token_t *token; /* local token */ local 1088 token_t *token; /* local token */ local 1137 token_t *token; local 1167 token_t *token; /* local token */ local 1193 token_t *token; /* local token */ local 1221 token_t *token; /* local token */ local 1249 token_t *token; /* local token */ local 1275 token_t *token; /* local token */ local 1311 token_t *token; /* local token */ local 1406 token_t *token; /* local token */ local 1436 token_t *token; /* local token */ local 1458 token_t *token; /* local token */ local 1486 token_t *token; local 1505 token_t *token; /* local token */ local 1533 token_t *token; /* local token */ local [all...] |
/illumos-gate/usr/src/lib/libpri/common/ |
H A D | pri.c | 97 * - token: opaque PRI token, accepted from and/or returned to caller, 104 * - PRI_GET call ignores the token passed in, and returns 105 * immediately with current PRI and its token (if any) 107 * whose token differs from the token passed in by the caller; 108 * the passed in token should come from a previous pri_get() 109 * call with return value >= 0; the new PRI buffer and its token 134 pri_get(uint8_t wait, uint64_t *token, uint64_t **buf, argument 148 /* wait until have new PRI with different token */ [all...] |
/illumos-gate/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) argument 76 if (!token || !sib) 81 if (token->tkn_flags & SMB_ATF_ANON) { 82 token->tkn_user.i_id = UID_NOBODY; 83 token->tkn_owner.i_id = UID_NOBODY; 86 id = &token->tkn_user; 95 id = &token->tkn_owner; 105 id = &token->tkn_primary_grp; 114 for (i = 0; i < token 135 smb_token_sids2ids(smb_token_t *token) argument 245 smb_token_destroy(smb_token_t *token) argument 269 smb_token_set_owner(smb_token_t *token) argument 287 smb_token_create_privs(smb_token_t *token) argument 329 smb_token_set_flags(smb_token_t *token) argument 351 smb_token_setup_common(smb_token_t *token) argument 429 smb_token_t *token = NULL; local 475 smb_logon_local(smb_logon_t *user_info, smb_token_t *token) argument 515 smb_logon_guest(smb_logon_t *user_info, smb_token_t *token) argument 552 smb_logon_anon(smb_logon_t *user_info, smb_token_t *token) argument 563 smb_token_auth_local(smb_logon_t *user_info, smb_token_t *token, smb_passwd_t *smbpw) argument 619 smb_token_setup_local(smb_passwd_t *smbpw, smb_token_t *token) argument 681 smb_token_setup_guest(smb_logon_t *user_info, smb_token_t *token) argument 705 smb_token_setup_anon(smb_token_t *token) argument 732 smb_token_user_sid(smb_token_t *token) argument 752 smb_token_group_sid(smb_token_t *token, int *iterator) argument 779 smb_token_is_member(smb_token_t *token, smb_sid_t *sid) argument 804 smb_token_log(smb_token_t *token) argument 875 smb_token_setup_wingrps(smb_token_t *token) argument [all...] |
/illumos-gate/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 YEA [all...] |
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_token.c | 50 * access token. 53 smb_token_query_privilege(smb_token_t *token, int priv_id) argument 58 if ((token == NULL) || (token->tkn_privileges == NULL)) 61 privset = token->tkn_privileges; 75 * Basic sanity check on a token. 78 smb_token_valid(smb_token_t *token) argument 80 if (token == NULL) 83 if ((token->tkn_user.i_sid == NULL) || 84 (token [all...] |
/illumos-gate/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 CONTINU [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5unseal.c | 76 gss_buffer_desc token; local 192 /* get the token parameters */ 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 [all...] |
/illumos-gate/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_UINT1 [all...] |
/illumos-gate/usr/src/lib/udapl/libdat/common/ |
H A D | udat_sr_parser.c | 103 DAT_SR_TOKEN token; member in struct:DAT_SR_STACK_NODE 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, 390 return ("error: invalid token type"); 405 DAT_SR_TOKEN token; local 407 if (DAT_SUCCESS != dat_sr_get_token(file, &token)) { 411 if (DAT_SR_TOKEN_EOF == token 483 DAT_SR_TOKEN token; local 549 DAT_SR_TOKEN token; local 584 DAT_SR_TOKEN token; local 623 DAT_SR_TOKEN token; local 662 DAT_SR_TOKEN token; local 701 DAT_SR_TOKEN token; local 735 DAT_SR_TOKEN token; local 774 DAT_SR_TOKEN token; local 809 DAT_SR_TOKEN token; local 844 DAT_SR_TOKEN token; local 1075 dat_sr_get_token( DAT_OS_FILE *file, DAT_SR_TOKEN *token) argument 1101 dat_sr_put_token( DAT_OS_FILE *file, DAT_SR_TOKEN *token) argument 1124 dat_sr_read_token( DAT_OS_FILE *file, DAT_SR_TOKEN *token) argument 1252 dat_sr_read_str( DAT_OS_FILE *file, DAT_SR_TOKEN *token, DAT_OS_SIZE token_len) argument 1282 dat_sr_read_quoted_str( DAT_OS_FILE *file, DAT_SR_TOKEN *token, DAT_OS_SIZE token_len, DAT_COUNT num_escape_seq) argument [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | ckparam.c | 92 char *token; local 95 token = strtok(value, ", "); 97 while (token) { 98 ret_val += too_long(param, token, TOKLEN); 99 ret_val += not_ascii(param, token); 100 token = strtok(NULL, ", "); 125 char *token; local 128 token = strtok(value, ", "); 130 while (token) { 131 ret_val += too_long(param, token, TOKLE [all...] |
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppbuiltin.c | 46 char* token; local 57 token = pp.token; 58 p = pp.token = pp.tmpbuf; 69 p = pp.token = pp.valbuf; 86 if (op) pp.token = pp.toknxt; 89 *pp.token = 0; 90 pp.token = token; 113 pp.token [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_cred.c | 44 * Allocate a Solaris cred and initialize it based on the access token. 51 * to the token's primary group. 54 smb_cred_create(smb_token_t *token) argument 62 ASSERT(token); 63 ASSERT(token->tkn_posix_grps); 64 posix_grps = token->tkn_posix_grps; 69 if (!IDMAP_ID_IS_EPHEMERAL(token->tkn_user.i_id) && 73 gid = token->tkn_primary_grp.i_id; 76 if (crsetugid(cr, token->tkn_user.i_id, gid) != 0) { 86 smb_cred_set_sid(&token [all...] |
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | master_ops.c | 165 mftoken_t token = MF_UNEXPECTED; local 168 return (token); /* MF_UNEXPECTED */ 187 token = MF_EOF; 191 token = MF_NEWLINE; 194 token = MF_EQUALS; 197 token = MF_BIT_OR; 216 token = MF_UNEXPECTED; 223 token = MF_STRING; 228 token = MF_UNEXPECTED; 232 token 262 mftoken_t token; local [all...] |
/illumos-gate/usr/src/cmd/eqn/ |
H A D | lex.c | 22 char token[SSIZE]; variable 119 token[sp++] = '\\'; 120 token[sp++] = c; 123 "quoted string %.20s... too long"), token); 125 token[sp] = '\0'; 126 yylval = (int)&token[0]; 128 error(!FATAL, gettext("missing \" in %.20s"), token); 135 getstr(token, SSIZE); 136 if (dbg) printf(".\tlex token = |%s|\n", token); [all...] |
/illumos-gate/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_PREIN [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_hyper.c | 132 * Set "token" to be the the string starting from the pointer "str" delimited 139 * memory for the new token string. 142 get_token(char **token, char *str, char *delim) argument 148 *token = NULL; 172 /* found a delimiter, so create a token string */ 173 if ((*token = malloc(len)) == NULL) { 179 (void) strlcpy(*token, start, len); 188 /* if we hit the end of the string, the token is the whole string */ 189 *token = s_strdup(start); 389 * If there's no "=" in the token, i 512 char *token, *parsestr; local 568 char *token, *parsestr; local 610 char *token = NULL; local 680 char *parsestr, *token; local [all...] |
/illumos-gate/usr/src/cmd/sgs/tsort/common/ |
H A D | errtext.c | 164 char *token; local 170 for (token = errstrtok(buf, space); token; 171 token = errstrtok((char *)0, space)) { 172 if (strcmp(token, "nochange") == 0) { 180 } else if (strcmp(token, "silent") == 0) { 189 } else if (strcmp(token, "verbose") == 0) { 198 } else if (strcmp(token, "expert") == 0) { 207 } else if (strcmp(token, "bell") == 0) { 209 } else if (strcmp(token, "nobel [all...] |
/illumos-gate/usr/src/uts/common/sys/scsi/ |
H A D | scsi_watch.h | 64 int scsi_watch_request_terminate(opaque_t token, int flags); 65 int scsi_watch_get_ref_count(opaque_t token); 66 void scsi_watch_resume(opaque_t token); 67 void scsi_watch_suspend(opaque_t token);
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | ds_pri.h | 54 uint64_t token; member in struct:dspri_info
|
H A D | ds_snmp.h | 53 uint64_t token; member in struct:dssnmp_info
|
/illumos-gate/usr/src/cmd/sgs/tools/common/ |
H A D | sgsmsg.c | 44 * @ token(s) entries are translated. Two translations are possible dependent 47 * A single token is interpreted as one of two reserved message 50 * the occurance of any other @ token will also enable message 56 * Besides the reserved output indicators, a single token is taken 60 * token for the associated definition found in the message 191 char *buffer, *token, *_mesgid = 0, *_setid = 0, *_domain = 0; local 216 if ((token = strstr(buffer, id)) == NULL) 223 _mesgid = token; 224 while (!(isspace(*token))) 225 token 664 char buffer[LINE_MAX], * token; local [all...] |