/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_subr.c | 633 char *token; local 669 for (token = strtok(tprop, " "); token; 670 token = strtok(NULL, " ")) { 671 prop[j++] = strtoul(token, (char **)NULL, 16);
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | trace.c | 73 #define FIRST_TOKEN 4 /* Must match the first token in the above enum */ 214 xlator_start_if(const Meta_info m, int const token, char *value) argument 219 switch (token) { 250 if (token == XLATOR_KW_DATA) { 270 xlator_take_kvpair(Meta_info m, int const token, char *value) argument 273 char *key = Keywords[token-FIRST_TOKEN].key; 286 switch (token) { 308 retval = collect_binding(token, value, line); 524 collect_binding(int const token, char *value, int line) argument 530 Keywords[token [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 777 const char *token; local 790 while ((token = strsep(&p, ",")) != NULL) { 791 if (*token == '\0') 796 if ((n = strchr(token, '-')) != NULL) 799 lo = strtonum(token, PORT_MIN, PORT_MAX, &errstr); 801 errx(1, "port number %s: %s", errstr, token);
|
/illumos-gate/usr/src/cmd/syseventadm/ |
H A D | syseventadm.c | 685 char *token; local 722 token = next_field(&lp); 723 if (strcmp(arg_args[i], token) != 0) {
|
/illumos-gate/usr/src/uts/common/gssapi/ |
H A D | gssd_clnt_stubs.c | 778 * status codes, output token and context handle. 1049 * and the output token to send to the peer. 1526 gss_buffer_desc token; local 1560 token.length = interprocess_token->length - 4 - length; 1561 token.value = p; 1568 status = KGSS_IMPORT_SEC_CONTEXT(minor_status, &token, kctx,
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vfsops.c | 1663 static char token[10]; local 1688 name = token; 1690 getfsname("root", name, sizeof (token));
|
H A D | nfs_vfsops.c | 1668 static char token[10]; local 1693 name = token; 1695 getfsname("root", name, sizeof (token));
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndrgen.h | 79 int token; member in struct:keyword
|
/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/uts/common/io/ |
H A D | hook.c | 789 * Parameters: token(I) - event pointer 799 hook_run(hook_family_int_t *hfi, hook_event_token_t token, hook_data_t info) argument 805 ASSERT(token != NULL); 807 hei = (hook_event_int_t *)token; 809 hook_event_token_t, token, 821 hook_event_token_t, token, 824 rval = (*hi->hi_hook.h_func)(token, info, hi->hi_hook.h_arg); 826 hook_event_token_t, token, 840 hook_event_token_t, token,
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_watch.c | 383 scsi_watch_resume(opaque_t token) argument 395 /* search for token */ 397 if (swr == (struct scsi_watch_request *)token) 426 scsi_watch_suspend(opaque_t token) argument 438 /* search for token */ 440 if (swr == (struct scsi_watch_request *)token) 523 scsi_watch_request_terminate(opaque_t token, int flags) argument 526 (struct scsi_watch_request *)token; 1012 * called by clients to query the reference count for a given token. 1013 * return the number of reference count or 0 if the given token i 1017 scsi_watch_get_ref_count(opaque_t token) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/pcbe/ |
H A D | niagara2_pcbe.c | 94 void *token); 95 static void ni2_pcbe_program(void *token); 97 static void ni2_pcbe_sample(void *token); 482 uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) 563 if (((other_config = kcpc_next_config(token, NULL, NULL)) != NULL) && 609 ni2_pcbe_program(void *token) argument 622 if ((pic0 = (ni2_pcbe_config_t *)kcpc_next_config(token, NULL, NULL)) == 624 panic("ni2_pcbe: token %p has no configs", token); 626 if ((pic1 = kcpc_next_config(token, pic 481 ni2_pcbe_configure(uint_t picnum, char *event, uint64_t preset, uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) argument 740 ni2_pcbe_sample(void *token) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | ndp.c | 834 * If this address is deprecated and its token 835 * doesn't match the current tmp token, we want 837 * token. So don't count this addr as a match. 958 * For RFC3041 addresses, need to take token lifetime 980 * because of a bad token, we don't want to update its 1016 in6_addr_t *token; local 1028 token = &pi->pi_tmp_token; 1031 token = &pi->pi_token; 1041 "mismatched length %d token length %d\n", 1052 token [all...] |
/illumos-gate/usr/src/cmd/format/ |
H A D | io.c | 54 * This variable is used to determine whether a token is present in the pipe 60 * This variable always gives us access to the most recent token type 122 * This routine gets the next token off the input stream. A token is 172 * Null terminate the token. 181 * If we hit another token, push it back and set state. 189 * Return the token. 195 * This routine removes the leading and trailing spaces from a token. 198 clean_token(cleantoken, token) 199 char *cleantoken, *token; 456 TOKEN token, cleantoken; local [all...] |
H A D | menu_command.c | 137 TOKEN token, cleantoken; local 149 (void) gettoken(token); 150 clean_token(cleantoken, token); 153 * Convert the token into an integer.
|
/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...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_hc_sun4v.c | 126 char *token, *tokbuf; local 130 for (token = strtok_r(str, sep, &tokbuf); 131 token != NULL; 132 token = strtok_r(NULL, sep, &tokbuf)) { 133 namelen = strcspn(token, "0123456789"); 134 instlen = strspn(token+namelen, "0123456789"); 135 (void) strncpy(namebuf, token, namelen); 144 (void) strncpy(instbuf, token+namelen, instlen);
|
/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/lib/efcode/engine/ |
H A D | fcode.c | 54 ushort_t token = next_bytecode(env); local 55 if ((token) && (token < 0x10)) { 56 token = (token << 8) | next_bytecode(env); 58 env->last_fcode = token; 59 return (token); 97 do_code(fcode_env_t *env, int token, char *name, void (*fn)(fcode_env_t *)) argument 99 env->table[token].name = name; 101 env->table[token] 316 int len, count, token; local 516 int token; local 568 int token = get_next_token(env); local 611 get_token_name(fcode_env_t *env, int token, char **name, int *len) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | init_sec_context.c | 215 version of the token will fit in 10K, so don't make this 260 make_ap_req_v1(context, ctx, cred, k_cred, chan_bindings, mech_type, token) 267 gss_buffer_t token; 327 /* build up the token */ 329 /* allocate space for the token */ 348 token->length = tlen; 349 token->value = (void *) t; 486 gss_buffer_desc token; local 490 token.length = 0; 491 token [all...] |
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acltext.c | 1076 char *token; local 1089 token = strtok(acltext, ","); 1090 if (token == NULL) { 1097 split_line(token, cols - 5); 1098 } while (token = strtok(NULL, ","));
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 1501 char *token, *last, *value; local 1510 for (token = strtok_r(shareopts, ",", &last); token != NULL; 1511 token = strtok_r(NULL, ",", &last)) { 1512 value = strchr(token, '='); 1517 (void) snprintf(cur_val, MAXPATHLEN, "%s=", token);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | parse.c | 152 eline = lexp->sh->inlineno-(lexp->token==NL); 289 errormsg(SH_DICT,ERROR_warn(0),"%d: parameter substitution requires unnecessary string to number conversion",lp->sh->inlineno-(lp->token=='\n')); 482 if(lexp->token==NL) 485 lexp->token=';'; 489 switch(lexp->token) 513 if(sym && sym!=lexp->token) 515 if(sym!=ELSESYM || (lexp->token!=ELIFSYM && lexp->token!=FISYM)) 532 register int token; local 533 while(t && ((token 546 register int token; local 1530 register int token; local 1544 register int iof = lexp->digits, token=lexp->token; local 1799 register int num,token; local [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 662 tokenp = cp; /* start of token */ 679 *cp = NULL; /* terminate token */ 689 *cp++ = '\0'; /* terminate token, point to next */ 702 getvalue(char *token, int *valuep) argument 710 if (*token == '~') { 712 token++; 713 } else if (*token == '-') { 715 token++; 717 if (*token == '0') { 718 token [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 854 dladm_str2pri(char *token, mac_priority_level_t *pri) argument 856 if (strlen(token) == strlen("low") && 857 strncasecmp(token, "low", strlen("low")) == 0) { 859 } else if (strlen(token) == strlen("medium") && 860 strncasecmp(token, "medium", strlen("medium")) == 0) { 862 } else if (strlen(token) == strlen("high") && 863 strncasecmp(token, "high", strlen("high")) == 0) { 901 dladm_str2protect(char *token, uint32_t *ptype) argument 908 if (strcmp(token, lp->lp_name) == 0) { 950 dladm_str2ipv4addr(char *token, voi argument 966 dladm_str2ipv6addr(char *token, void *addr) argument [all...] |