/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | crossref.c | 82 int token; /* current token */ in crossref() local 105 switch (token = yylex()) { in crossref() 110 token != INCLUDE && token != NEWFILE) { in crossref() 116 savesymbol(token); in crossref() 124 (token == IDENT || in crossref() 125 token == symbol[i].type)) { in crossref() 131 savesymbol(token); in crossref() 162 savesymbol(int token) in savesymbol() argument 171 symbol[symbols].type = token; in savesymbol()
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | ruserpass.c | 56 static int token(); 180 while ((t = token())) in rnetrc() 184 (void) token(); in rnetrc() 188 if (token() != ID || strcmp(host, d->tokval)) in rnetrc() 190 while ((t = token()) != 0 && t != MACHINE) in rnetrc() 194 if (token()) in rnetrc() 214 if (token() && *apass == 0) { in rnetrc() 223 (void) token(); in rnetrc() 237 token() in token() function
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | parse.h | 126 extern struct token *parse_expression(struct token *, struct expression **); 127 extern struct symbol *label_symbol(struct token *token); 134 extern struct token *external_declaration(struct token *, struct symbol_list **, validate_decl_t);
|
H A D | smatch_struct_assignment.c | 507 struct token *token; in register_clears_param() local 517 token = get_tokens_file(name); in register_clears_param() 518 if (!token) in register_clears_param() 520 if (token_type(token) != TOKEN_STREAMBEGIN) in register_clears_param() 522 token = token->next; in register_clears_param() 524 if (token_type(token) != TOKEN_IDENT) in register_clears_param() 526 function = show_ident(token->ident); in register_clears_param() 527 token = token->next; in register_clears_param() 528 if (token_type(token) != TOKEN_NUMBER) in register_clears_param() 530 param = atoi(token->number); in register_clears_param() [all …]
|
H A D | macro_table.c | 58 void store_macro_pos(struct token *token) in store_macro_pos() argument 65 list = do_search_macro(macro_table, &token->pos); in store_macro_pos() 66 insert_macro_string(&list, token->ident->name); in store_macro_pos() 68 do_insert_macro(macro_table, &token->pos, list); in store_macro_pos()
|
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/ |
H A D | README | 369 hidparser: hidparser_GlobalItem:index = 0x0 token = 0x4 383 hidparser: hidparser_LocalItem:index = 0x2 token = 0x8 408 hidparser: hidparser_MainItem:index = 0x4 token = 0xa0 442 hidparser: hidparser_MainItem:index = 0x6 token = 0xa0 485 hidparser: hidparser_LocalItem:index = 0x10 token = 0x8 491 hidparser: hidparser_LocalItem:index = 0x12 token = 0x8 497 hidparser: hidparser_LocalItem:index = 0x14 token = 0x8 515 hidparser: hidparser_MainItem:index = 0x1a token = 0x80 529 hidparser: hidparser_MainItem:index = 0x1c token = 0xc0 542 hidparser: hidparser_MainItem:index = 0x1d token = 0xa0 [all …]
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_xs.c | 710 iov[1].iov_base = (void *)token; in xs_watch() 711 iov[1].iov_len = strlen(token) + 1; in xs_watch() 723 iov[1].iov_base = (char *)token; in xs_unwatch() 724 iov[1].iov_len = strlen(token) + 1; in xs_unwatch() 730 find_watch(const char *token) in find_watch() argument 813 (void) snprintf(token, sizeof (token), "%lX", (long)watch); in register_xenbus_watch() 821 if (find_watch(token) == NULL) in register_xenbus_watch() 860 (void) snprintf(token, sizeof (token), "%lX", (long)watch); in unregister_xenbus_watch() 865 ASSERT(find_watch(token)); in unregister_xenbus_watch() 924 (void) snprintf(token, sizeof (token), "%lX", (long)watch); in xenbus_resume() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | interp_parse.c | 89 char token, tmp, quote, dquote, *buf; in parse() local 101 token = 0; in parse() 136 token = isdelim(*(p + 1)); in parse() 137 if (token) in parse() 156 if (token) { in parse() 157 PARSE_FAIL((q = strchr(p, token)) == NULL); in parse() 172 p = q + (token ? 1 : 0); in parse()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppexpr.c | 53 pptoken = pp.token; in exists() 54 pp.token = file; in exists() 58 pp.token = pptoken; in exists() 120 pptoken = pp.token; in compare() 121 pp.token = tmp; in compare() 124 pp.token = pptoken; in compare() 128 c = strcmp(tmp, pp.token); in compare() 141 pp.token = pptoken; in compare() 183 strcpy(pred, pp.token); in predicate() 532 n = chrtoi(pp.token + 1); in subexpr() [all …]
|
H A D | ppmisc.c | 148 pptoken = pp.token; in pppredargs() 149 pp.token = pp.args; in pppredargs() 175 pp.token = pp.toknxt; in pppredargs() 186 if (pp.token > pp.args && *(pp.token - 1) == ' ') pp.token--; in pppredargs() 187 *pp.token = 0; in pppredargs() 194 pp.token = pptoken; in pppredargs()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 276 char *dirp, *token, *ptr; in nocdopendir() local 288 if ((token = strtok_r(dirp, "/", &ptr)) != NULL) { in nocdopendir() 294 while ((token = strtok_r(NULL, "/", &ptr)) != NULL) { in nocdopendir() 295 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { in nocdopendir() 322 char *dirp, *token, *ptr; in nocdstat() local 335 if ((token = strtok_r(dirp, "/", &ptr)) != NULL) { in nocdstat() 342 while (((token = strtok_r(NULL, "/", &ptr)) != NULL) && in nocdstat() 343 (strcmp(token, unrootp) != 0)) { in nocdstat() 344 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { in nocdstat()
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk.y | 65 %token <node> NOT AND OR EXP QUEST 66 %token <node> EQ NE GE LE GT LT 68 %token <node> GETLINE CALLFUNC RE TILDE NRE 71 %token ASG 74 %token <node> PRINT PRINTF 76 %token <node> DELETE WHILE DO FOR FORIN IF 82 %token <node> CONSTANT VAR FUNC 85 %token DOT CALLUFUNC 90 %token KEYWORD SVAR 91 %token PIPESYM [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_filter.c | 1128 char *token; variable 1176 token = tkp; in next() 1183 token = tkp; in next() 1190 tkp = token + strspn(token, numchars); in next() 1199 tkp = token; in next() 1221 tkp = token + strspn(token, numchars); in next() 1252 } else if (token + strspn(token, namechars) <= tkp) { in next() 1260 tkp = token; in next() 1285 tkp = token +2; in next() 2113 if (*token == ':') { in load_field() [all …]
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf_y.y | 115 %token <str> YY_STR 116 %token YY_COMMENT 119 %token <ip6> YY_IPV6 123 %token IPFY_IN IPFY_OUT 127 %token IPFY_HEAD IPFY_GROUP 132 %token IPFY_PPS 133 %token IPFY_ESP IPFY_AH 138 %token IPFY_PORT 139 %token IPFY_NOW 161 %token IPFY_ICMPT_ROUTERSOL [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg_grammar.y | 53 %token LIST REVERT SELECT SET VERIFY WALKPROP 54 %token LOC NCP NCU ENM WLAN 55 %token PHYS IP 56 %token TOKEN EQUAL OPTION 59 %token LINK_MACADDR LINK_AUTOPUSH LINK_MTU 62 %token ENM_STATE ENM_FMRI ENM_START ENM_STOP 65 %token LOC_NIS_CONFIGSRC LOC_NIS_SERVERS 66 %token LOC_LDAP_CONFIGSRC LOC_LDAP_SERVERS 67 %token LOC_DEFAULT_DOMAIN LOC_NFSV4_DOMAIN 68 %token LOC_IPF_CONFIG LOC_IPF_V6_CONFIG [all …]
|
/illumos-gate/usr/src/cmd/auditrecord/ |
H A D | audit_record_xml | 85 my $token = $entry[2]; 88 $token = "[$token]" if ($opt eq 'optional'); 91 $token .= $idx; 94 push @$format, $token;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ruserpass.c | 44 static int token(void); 104 while ((t = token())) in rnetrc() 108 if (token() != ID || strcmp(host, tokval)) in rnetrc() 115 while (((t = token()) != 0) && t != MACHINE && t != DEFAULT) in rnetrc() 119 if (token()) in rnetrc() 143 if (token() && *apass == 0) { in rnetrc() 161 if (token() && *aacct == 0) { in rnetrc() 257 token(void) in token() function
|
/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/cmd/genmsg/ |
H A D | genmsg.y | 51 %token CATGETS 52 %token CONST 53 %token CATD 54 %token INT, CHAR, INC 55 %token <str> STR 56 %token <id> SETID, MSGID, DIGIT 57 %token <str> QSTR
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_glue.c | 192 OM_uint32 gssint_get_mech_type_oid(OID, token) in gssint_get_mech_type_oid() argument 194 gss_buffer_t token; 225 if ((token == NULL) || (token->value == NULL)) 230 buffer_ptr = (unsigned char *) token->value; 271 OM_uint32 gssint_get_mech_type(OID, token) in gssint_get_mech_type() argument 273 gss_buffer_t token; 277 memcmp(token->value, NTLMSSP_SIGNATURE, 280 } else if (token->length != 0 && 281 ((char *)token->value)[0] == 0x6E) { 284 } else if (token->length == 0) { [all …]
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | awk.g.y | 81 %token <i> FIRSTTOKEN /* must be first */ 82 %token <p> PROGRAM PASTAT PASTAT2 XBEGIN XEND 84 %token <i> ARRAY 85 %token <i> MATCH NOTMATCH MATCHOP 90 %token <i> ADD MINUS MULT DIVIDE MOD 92 %token <i> PRINT PRINTF SPRINTF 93 %token <p> ELSE INTEST CONDEXPR 94 %token <i> POSTINCR PREINCR POSTDECR PREDECR 95 %token <cp> VAR IVAR VARNF CALL NUMBER STRING 96 %token <s> REGEXPR [all …]
|
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 925 str_t *token; in snip_identifier() local 934 freestr(token); in snip_identifier() 939 return (token); in snip_identifier() 944 return (token); in snip_identifier() 955 str_t *token; in snip_delimited_identifier() local 963 return (token); in snip_delimited_identifier() 966 freestr(token); in snip_delimited_identifier() 972 freestr(token); in snip_delimited_identifier() 977 return (token); in snip_delimited_identifier() 1420 str_t *token; in expand_macros() local [all …]
|
/illumos-gate/usr/src/common/lz4/ |
H A D | lz4.c | 582 BYTE *token; in LZ4_compressCtx() local 610 token = op++; in LZ4_compressCtx() 679 *token += len; in LZ4_compressCtx() 693 token = op++; in LZ4_compressCtx() 694 *token = 0; in LZ4_compressCtx() 775 BYTE *token; in LZ4_compress64kCtx() local 803 token = op++; in LZ4_compress64kCtx() 872 *token += len; in LZ4_compress64kCtx() 886 token = op++; in LZ4_compress64kCtx() 887 *token = 0; in LZ4_compress64kCtx() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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) 902 return token(env); in magic() 925 env->token.att = env->token.esc = 0; in token() 928 env->token.lex = 0; in token() 978 env->token.esc = env->token.len; in token() 987 env->token.esc = env->token.len; in token() 1025 env->token.len++; in token() 2245 c = token(env); in grp() 2531 c = token(env); in grp() 2631 n = env->token.len - env->token.esc; in seq() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/ |
H A D | msgcpp.c | 241 if (x > 0 && !strmatch(pp.token, OMIT)) in main() 242 sfprintf(sfstdout, "str \"%s\"\n", pp.token); in main() 249 sfprintf(sfstdout, "var %s %s\n", pp.token, s); in main() 270 if (c == '=' && (c = pplex()) == T_STRING && !strmatch(pp.token, OMIT)) in main() 272 sfprintf(sfstdout, "def %s \"%s\"\n", s, pp.token); in main() 273 sfprintf(tmp, "#define %s \"%s\"\n", s, pp.token); in main()
|