/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlaggr.c | 782 char *token = NULL; local 787 while ((token = strtok_r((token == NULL) ? (char *)str : NULL, ",", 791 if (strcasecmp(token, pol->pol_name) == 0) {
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 419 char *token; local 433 token = tokenizer(buf, "#", &field, &matched); 435 token = tokenizer(buf, ":", &field, &matched); 436 if (token != 0x00) { 437 token = tokenizer(token, "|", &item, &matched); 438 while (token != 0x00) { 439 if (strcmp(token, cont_desc_str) == 0) { 443 token = tokenizer(item, "|", &item, &matched); 456 token [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/libc/port/gen/ |
H A D | crypt.c | 496 char *token = NULL; local 565 token = strtok_r(line, " \t", &lasts); 566 if (token == NULL) { 569 if (strcmp(token, algname) == 0) { 578 token = strtok_r(NULL, " \t", &lasts); 579 if (token == NULL) { 590 if ((pathname = isa_path(token)) == NULL) { 667 while ((token = strtok_r(NULL, " \t", &lasts)) != NULL) { 668 alg->a_params[alg->a_nparams++] = token;
|
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | ctags.c | 16 * - Handles C++ comment token "//" 67 #define begtoken(arg) (_btk[arg]) /* T if char can start token */ 68 #define intoken(arg) (_itk[arg]) /* T if char can be in token */ 73 /* an overloaded operator token */ 116 /* token ending chars */ 118 /* token starting chars */ 121 /* valid in-token chars */ 168 static int start_entry(char **lp, char *token, int *f); 483 char *token, *tp; local 494 sp = tp = token [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fcal_leds.h | 54 gettext("SUNW_fcal_leds: line %d token begins non-alpha\n") 56 gettext("SUNW_fcal_leds: line %d token too long\n") 58 gettext("SUNW_fcal_leds: line %d unknown token\n") 60 gettext("SUNW_fcal_leds: line %d invalid token at start of line\n") 62 gettext("SUNW_fcal_leds: line %d leading token not followed by ':'\n") 64 gettext("SUNW_fcal_leds: first token not VERSION\n") 187 typedef enum token { enum
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/ |
H A D | piclwatchdog.c | 134 char *token, *last, *value; local 144 token = last = value = NULL; 147 token = (char *)strtok_r(last, WD_DELIMETER, &last); 152 if (value == NULL || token == NULL) { 155 if (strcmp(token, WD_PAT_THREAD_PRIORITY) == 0) { 158 } else if (strcmp(token, WD_PATTING_TIME) == 0) { 164 } else if (strcmp(token, WD_ENABLE) == 0) { 168 } else { /* unknown token */
|
/illumos-gate/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 406 char *token; local 414 token = strtok(s, DELIMIT_LGRP); 415 if (token == NULL) 422 if (isdigit(*token)) { 432 p = strchr(token, DELIMIT_RANGE); 433 first = atoi(token); 452 } else if (strncmp(token, LGRP_ALL_STR, 461 } else if (strncmp(token, LGRP_ROOT_STR, 466 } else if (strncmp(token, LGRP_LEAVES_STR, 479 } while (token [all...] |
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 71 #define TOKEN_SIZE 36 /* max length of a token */ 72 typedef char TOKEN[TOKEN_SIZE+1]; /* token type */ 114 * The definitions are the token types that the data file parser recognizes. 116 #define SUP_EOF -1 /* eof token */ 117 #define SUP_STRING 0 /* string token */ 118 #define SUP_EQL 1 /* equals token */ 119 #define SUP_COMMA 2 /* comma token */ 120 #define SUP_COLON 3 /* colon token */ 121 #define SUP_EOL 4 /* newline token */ 133 static void clean_token(char *cleantoken, char *token); 157 TOKEN token; local 404 clean_token(char *cleantoken, char *token) argument 431 TOKEN token, cleaned, ident; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.c | 38 static boolean_t tmptoken_isvalid(struct in6_addr *token); 116 * TmpDesyncFactor is used to desynchronize temporary token 271 /* Ignore interface if the token is all zeros */ 274 logmsg(LOG_ERR, "ignoring interface %s: zero token\n", 283 * Guess a remote token for POINTOPOINT by looking at 701 * Validate a temporary token against a list of known bad values. 702 * Currently assumes that token is 8 bytes long! Current known 704 * used by ISATAP (draft-ietf-ngtrans-isatap-N), any token already 705 * assigned to this interface, or any token for which the global 710 * Return _B_TRUE if token i 713 tmptoken_isvalid(struct in6_addr *token) argument 762 struct in6_addr token; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecalgs.c | 92 int token; member in struct:flagtable 107 while (ft->token != 0) { 108 if (ft->token & flag) { 118 return (ft->token);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 1368 uint32_t token; local 1400 (void) memcpy(&token, opt, sizeof (token)); 1401 opt += sizeof (token); 1405 name[index] : "unknown", token);
|
/illumos-gate/usr/src/cmd/ctstat/ |
H A D | ctstat.c | 699 * Apply fp to each token in the comma- or space- separated argument 705 char *copy, *token; local 711 token = strtok(copy, ", "); 712 if (token == NULL) { 719 *(results++) = fp(token); 721 } while (token = strtok(NULL, ", "));
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | dcs.c | 2257 char *token; local 2261 while ((token = strtok(buf, delims)) != NULL) { 2264 if (strcmp(token, "sun-dr") == 0 || 2265 strcmp(token, "665") == 0) { 2271 if (strlen(token) == 5) { 2272 token++; 2273 if (strcmp(token, "port") == 0) {
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/ |
H A D | main.c | 219 static int findToken(char *path, char *token); 3357 * Find token (global) in file pointed to by mbPath. 3358 * token is only compared to first word in mbPath. 3391 * Description: Find first token in file. 3393 * path - file to search for token 3394 * token - string to search for 3396 * R_SUCCESS - the token exists 3397 * R_FAILURE - the token does not exist 3398 * R_ERROR - fatal error attempting to find token 3402 findToken(char *path, char *token) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_state.c | 566 ipftoken_t *token; local 573 token = ipf_findtoken(IPFGENITER_STATE, uid, ctx, ifs); 574 if (token != NULL) 575 error = fr_stateiter(token, &iter, ifs); 4357 /* Parameters: token(I) - pointer to ipftoken structure */ 4363 static int fr_stateiter(token, itp, ifs) 4364 ipftoken_t *token; 4386 * Get "previous" entry from the token and find the next entry. 4388 is = token->ipt_data; 4398 * If we found an entry, add a reference to it and update the token [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | kcpc.c | 756 kcpc_next_config(void *token, void *current, uint64_t **data) argument 760 kcpc_ctx_t *ctx = (kcpc_ctx_t *)token; 1594 kcpc_invalidate_config(void *token) argument 1596 kcpc_ctx_t *ctx = token; 1807 kcpc_allow_nonpriv(void *token) argument 1809 return (((kcpc_ctx_t *)token)->kc_flags & KCPC_CTX_NONPRIV);
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_xs.c | 704 xs_watch(const char *path, const char *token) argument 710 iov[1].iov_base = (void *)token; 711 iov[1].iov_len = strlen(token) + 1; 717 xs_unwatch(const char *path, const char *token) argument 723 iov[1].iov_base = (char *)token; 724 iov[1].iov_len = strlen(token) + 1; 730 find_watch(const char *token) argument 734 (void) ddi_strtoul(token, NULL, 16, (unsigned long *)&cmp); 808 /* Pointer in ascii is the token. */ 809 char token[sizeo local 857 char token[sizeof (watch) * 2 + 1]; local 914 char token[sizeof (watch) * 2 + 1]; local 991 const char *token; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_cmd.c | 57 uint16_t token); 74 uint16_t token; local 125 token = (uint16_t)cmdptr->cmd_indx; 126 status = tavor_write_hcr(state, cmdpost, token); 340 * in "token" 994 uint16_t token) 1066 /* Write the other 32-bits of "outparam" and "token" as 64-bit */ 1068 hcrreg = hcrreg | ((uint32_t)token << TAVOR_HCR_TOKEN_SHIFT); 993 tavor_write_hcr(tavor_state_t *state, tavor_cmd_post_t *cmdpost, uint16_t token) argument
|
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsmka_pathmanager.c | 88 * protects ipc_info list and sendq token lists 345 * Remove a work token and begin work 387 /* free up work token */ 445 /* free up work token */ 519 * Don't want to destroy a send queue when a token 520 * has been acquired; so wait 'til the token is 543 "do_deferred_work: bad work token opcode\n")); 562 enqueue_work(work_token_t *token) argument 570 token->next = NULL; 572 work_queue.head = work_queue.tail = token; 1367 sendq_token_t *token; local 2446 link_sendq_token(sendq_token_t *token, rsm_node_id_t remote_node) argument 2484 unlink_sendq_token(sendq_token_t *token, rsm_node_id_t remote_node) argument 2538 rele_sendq_token(sendq_token_t *token) argument 2571 sendq_token_t *token, *first_token; local 2665 sendq_token_t *token; local [all...] |
/illumos-gate/usr/src/uts/common/io/rwd/ |
H A D | rt2661_var.h | 41 uint32_t token; /* arbitrary identifier */ member in struct:dma_area
|
/illumos-gate/usr/src/uts/common/io/rwn/ |
H A D | rt2860_var.h | 68 uint32_t token; /* arbitrary identifier */ member in struct:dma_area
|
/illumos-gate/usr/src/uts/common/io/wpi/ |
H A D | wpivar.h | 83 uint32_t token; /* arbitrary identifier */ member in struct:wpi_dma_area
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regcomp.c | 67 #define eat(p) do{if ((p)->token.push)(p)->token.push=0;else (p)->cursor+=(p)->token.len;}while (0) 126 Token_t token; /* token lookahead */ member in struct:Cenv_s 630 static int token(Cenv_t*); 639 int l = env->token.len; 648 sp = (char*)env->cursor + env->token.len; 676 env->token.min = n; 692 else if (n < env->token 909 token(register Cenv_t* env) function [all...] |
/illumos-gate/usr/src/uts/common/io/iwh/ |
H A D | iwh_var.h | 55 uint32_t token; /* arbitrary identifier */ member in struct:iwh_dma_area
|