/illumos-gate/usr/src/lib/nametoaddr/straddr/common/ |
H A D | straddr.c | 184 char *nexttok; /* next token to process */ 402 * searchhost() looks for the specified token in the host file. 403 * The "field" parameter signifies which field to compare the token 404 * on, and returns all comma separated values associated with the token. 408 searchhost(struct netconfig *netconfigp, char *token, int field, char *hostbuf) argument 412 char *fileaddr; /* the first token in each line */ 413 char *filehost; /* the second token in each line */ 414 char *cmpstr; /* the string to compare token to */ 416 char *nexttok; /* next token to process */ 428 if ((strcmp(token, HOST_SELF_BIN 515 searchserv(struct netconfig *netconfigp, char *token, int field, char *servname) argument [all...] |
/illumos-gate/usr/src/lib/libfru/libgenutil/ |
H A D | Str.cc | 153 Str::tokenize(Str& token, const Str& separators, Str& remainder) argument 161 token = rc; 170 token = "";
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | dsparse.c | 50 char *p, *line, *token, **toks; local 66 while (( token = next_token( &p )) != NULL ) { 73 toks[ tokcnt ] = token; 182 *t++ = '\0'; /* end of token */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_filter.c | 1122 #define EQ(val) (strcmp(token, val) == 0) 1125 char *token; variable 1132 * token in the filter expression. A token is either: 1147 * that constitute a single token e.g. "==" or ">=". 1153 * The current token is maintained in "token" and and its 1174 token = tkp; 1181 token = tkp; 1182 if (*token [all...] |
/illumos-gate/usr/src/cmd/awk/ |
H A D | maketab.c | 37 int token; member in struct:xx 135 fprintf(stderr, gettext("maketab funny token %d %s\n"), 146 for (p = proc; p->token != 0; p++) 147 table[p->token-FIRSTTOKEN] = p->name; 160 printf(" (void) sprintf(buf, \"token %%d\", n);\n");
|
H A D | awk.g.y | 59 %token <i> FIRSTTOKEN /* must be first */ 60 %token <p> PROGRAM PASTAT PASTAT2 XBEGIN XEND 61 %token <i> NL ',' '{' '(' '|' ';' '/' ')' '}' '[' ']' 62 %token <i> ARRAY 63 %token <i> MATCH NOTMATCH MATCHOP 64 %token <i> FINAL DOT ALL CCL NCCL CHAR OR STAR QUEST PLUS 65 %token <i> AND BOR APPEND EQ GE GT LE LT NE IN 66 %token <i> ARG BLTIN BREAK CLOSE CONTINUE DELETE DO EXIT FOR FUNC 67 %token <i> SUB GSUB IF INDEX LSUBSTR MATCHFCN NEXT 68 %token < [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kcpc.h | 220 extern void *kcpc_next_config(void *token, void *current, 222 extern void kcpc_invalidate_config(void *token); 233 extern int kcpc_allow_nonpriv(void *token);
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppexpr.c | 35 static int peektoken; /* expression lookahead token */ 53 pptoken = pp.token; 54 pp.token = file; 58 pp.token = pptoken; 75 if (pathaccess(pp.path, pp.token, file, NiL, 0)) 120 pptoken = pp.token; 121 pp.token = tmp; 124 pp.token = pptoken; 128 c = strcmp(tmp, pp.token); 129 else if ((c = regcomp(&re, pp.token, REG_AUGMENTE [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/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/lib/libfru/include/ |
H A D | Str.h | 67 char tokenize(Str& token, const Str& separators, Str& remainder);
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus.c | 132 static int check_token(char *token, int *len); 134 static int parse_token(char *token); 135 static int token_to_hex(char *token, unsigned *val, int len); 136 static int token_to_dec(char *token, unsigned *val, int len); 1398 check_token(char *token, int *len) argument 1401 int sl = strlen(token), il = 1; 1404 if (token[0] == '0' && token[2] && (token[1] == 'x' || token[ 1452 parse_token(char *token) argument 1468 token_to_hex(char *token, unsigned *val, int len) argument 1504 token_to_dec(char *token, unsigned *val, int len) argument 1606 char *token = "beginning of line"; local [all...] |
/illumos-gate/usr/src/cmd/users/ |
H A D | users.c | 654 char *token; /* Ptr to a token extracted by strtok() */ local 720 /* Extract the first token putting an element on the list */ 721 if ((token = strtok(g_arg, ",")) != NULL) { 724 pgrp->groupname = token; 735 while (token = strtok(NULL, ",")) { 740 (rc = strcmp(token, rgrp->groupname))) 747 pgrp->groupname = token; 767 /* Extract the first token from the argument to the -l option */ 768 if (token [all...] |
/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/cmd/praudit/ |
H A D | Makefile | 32 SRCS = format.c main.c token.c toktable.c printaudit.c prio.c $(XLATEDIR)/adt_xlate.c 33 OBJS = format.o main.o token.o toktable.o printaudit.o prio.o adt_xlate.o
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | lz4.c | 556 BYTE *token; local 584 token = op++; 592 *token = (RUN_MASK << ML_BITS); 598 *token = (length << ML_BITS); 641 *token += ML_MASK; 653 *token += len; 667 token = op++; 668 *token = 0; 749 BYTE *token; local 777 token 943 unsigned token; local 1067 unsigned token; local [all...] |
/illumos-gate/usr/src/uts/sun4u/pcbe/ |
H A D | us234_pcbe.c | 91 void *token); 92 static void us_pcbe_program(void *token); 94 static void us_pcbe_sample(void *token); 765 uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) 792 if (((other_config = kcpc_next_config(token, NULL, NULL)) != NULL) && 817 us_pcbe_program(void *token) argument 826 if ((pic0 = (us_pcbe_config_t *)kcpc_next_config(token, NULL, NULL)) == 828 panic("us_pcbe: token %p has no configs", token); 830 if ((pic1 = kcpc_next_config(token, pic 764 us_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 894 us_pcbe_sample(void *token) argument [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf_y.y | 114 %token <num> YY_NUMBER YY_HEX 115 %token <str> YY_STR 116 %token YY_COMMENT 117 %token YY_CMP_EQ YY_CMP_NE YY_CMP_LE YY_CMP_GE YY_CMP_LT YY_CMP_GT 118 %token YY_RANGE_OUT YY_RANGE_IN 119 %token <ip6> YY_IPV6 121 %token IPFY_PASS IPFY_BLOCK IPFY_COUNT IPFY_CALL 122 %token IPFY_RETICMP IPFY_RETRST IPFY_RETICMPASDST 123 %token IPFY_IN IPFY_OUT 124 %token IPFY_QUIC [all...] |
H A D | ippool_y.y | 71 %token <num> YY_NUMBER YY_HEX 72 %token <str> YY_STR 73 %token YY_COMMENT 74 %token YY_CMP_EQ YY_CMP_NE YY_CMP_LE YY_CMP_GE YY_CMP_LT YY_CMP_GT 75 %token YY_RANGE_OUT YY_RANGE_IN 76 %token <ip6> YY_IPV6 78 %token IPT_IPF IPT_NAT IPT_COUNT IPT_AUTH IPT_IN IPT_OUT 79 %token IPT_TABLE IPT_GROUPMAP IPT_HASH 80 %token IPT_ROLE IPT_TYPE IPT_TREE 81 %token IPT_GROU [all...] |
/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/cmd/smbsrv/smbd/ |
H A D | smbd_ntlmssp.c | 396 smb_token_t *token = NULL; local 490 token = smbd_user_auth_logon(&user_info); 491 if (token == NULL) { 496 if (token->tkn_ssnkey.val != NULL && 497 token->tkn_ssnkey.len == SMBAUTH_HASH_SZ) { 500 * At this point, token->tkn_session_key is the 508 token->tkn_ssnkey.val); 511 (void) memcpy(kxkey, token->tkn_ssnkey.val, 521 (void) smb_auth_RC4(token->tkn_ssnkey.val, 526 (void) memcpy(token [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 132 static char *tok_err = "Unexpected token '%s'\n"; 188 /* return the next token from the given driver.conf file, or -1 on error */ 195 token_t token; local 209 token = T_EQUALS; 212 token = T_AMPERSAND; 215 token = T_BIT_OR; 218 token = T_STAR; 221 token = T_POUND; 224 token = T_COLON; 227 token 445 token_t token; local 642 token_t token; local 1874 token_t token; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_htable.c | 646 int fr_htable_getnext(token, ilp, ifs) 647 ipftoken_t *token; 664 * Get "previous" entry from the token and find the next entry. 666 * If we found an entry, add a reference to it and update the token. 667 * Otherwise, zero out data to be returned and NULL out token. 672 iph = token->ipt_data; 680 token->ipt_data = nextiph; 684 token->ipt_data = NULL; 689 node = token->ipt_data; 702 token [all...] |
/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/lib/fm/topo/libtopo/common/ |
H A D | pkg.c | 140 char *token; local 145 token = strtok(tmpbuf, ":"); 146 token = strtok(NULL, ": \t\n"); 147 pkgver = topo_mod_strdup(mp, token); 149 token = strtok(tmpbuf, ":"); 150 token = strtok(NULL, ": \t\n"); 151 pkgdir = topo_mod_strdup(mp, token);
|