Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 471) sorted by path

12345678910>>...19

/illumos-gate/usr/src/boot/common/
H A Dinterp_parse.c89 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/boot/forth/
H A Dloader.4th625 ['] include ( -- xt ) \ get the execution token of `include'
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Dfrontend.c347 return (keywordlist[i].token); in interesting_keyword()
H A Dparser.h60 int token; member
122 extern int xlator_start_if(const Meta_info meta_info, const int token,
124 extern int xlator_take_kvpair(const Meta_info, const int token, char *value);
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dversions.c177 if (token == NULL || *token != '#') { in comment()
193 token ? token : "<NULL>"); in arch_name()
206 *token); in arch_name()
244 (token) ? token : "<NULL>"); in set_list()
272 (token) ? token : "<NULL>"); in set()
393 (token) ? token : "<NULL>"); in set_parents()
414 while (token && *token != '}') { in set_parents()
472 (token) ? token : "<NULL>", expected); in accept_token()
484 (token) ? token : "<NULL>", expected); in accept_token()
496 while (token && !eq(token, target)) { in skip_to()
[all …]
H A Dxlator.c198 xlator_start_if(const Meta_info meta_info, const int token, char *value) in xlator_start_if() argument
206 switch (token) { in xlator_start_if()
246 Iface.IF_type = token; /* FUNCTION or DATA */ in xlator_start_if()
269 xlator_take_kvpair(const Meta_info meta_info, const int token, char *value) in xlator_take_kvpair() argument
273 char *key = Keywords[token-FIRST_TOKEN].key; in xlator_take_kvpair()
280 meta_info.mi_ext_cnt, token, key, value); in xlator_take_kvpair()
288 switch (token) { in xlator_take_kvpair()
414 token, value); in xlator_take_kvpair()
427 if (token == XLATOR_KW_FILTER) { in xlator_take_kvpair()
429 } else if (token == XLATOR_KW_AUXILIARY) { in xlator_take_kvpair()
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y93 %token <i_val> ELLIPSIS
95 %token <s_val> INTEGER
96 %token <s_val> IDENTIFIER
97 %token <s_val> TYPEDEF_NAME
100 %token <stt_val> REGISTER
101 %token <stt_val> TYPEDEF EXTERN AUTO STATIC
102 %token <stt_val> VOID CHAR SHORT INT LONG
110 %token <ds_val> STRUCT UNION
111 %token <ds_val> ENUM
611 int token; member
[all …]
H A Dtrace.c212 xlator_start_if(const Meta_info m, int const token, char *value) in xlator_start_if() argument
217 switch (token) { in xlator_start_if()
248 if (token == XLATOR_KW_DATA) { in xlator_start_if()
268 xlator_take_kvpair(Meta_info m, int const token, char *value) in xlator_take_kvpair() argument
271 char *key = Keywords[token-FIRST_TOKEN].key; in xlator_take_kvpair()
284 switch (token) { in xlator_take_kvpair()
306 retval = collect_binding(token, value, line); in xlator_take_kvpair()
522 collect_binding(int const token, char *value, int line) in collect_binding() argument
528 Keywords[token-FIRST_TOKEN].key, value, line); in collect_binding()
530 if (token == XLATOR_KW_EXCP) { in collect_binding()
/illumos-gate/usr/src/cmd/acpi/iasl/
H A Dasltokens.y192 %token <i> PARSEOP_ADD
200 %token <i> PARSEOP_AND
251 %token <i> PARSEOP_DMA
288 %token <i> PARSEOP_IF
301 %token <i> PARSEOP_IO
308 %token <i> PARSEOP_IRQ
330 %token <i> PARSEOP_LOR
349 %token <i> PARSEOP_MID
352 %token <i> PARSEOP_MOD
360 %token <i> PARSEOP_NOR
[all …]
H A Ddtparser.y196 %token <op> OP_EXP_EOF
197 %token <op> OP_EXP_NEW_LINE
198 %token <op> OP_EXP_NUMBER
199 %token <op> OP_EXP_HEX_NUMBER
200 %token <op> OP_EXP_DECIMAL_NUMBER
201 %token <op> OP_EXP_LABEL
202 %token <op> OP_EXP_PAREN_OPEN
203 %token <op> OP_EXP_PAREN_CLOSE
H A Dprparser.y196 %token <op> EXPOP_EOF
197 %token <op> EXPOP_NEW_LINE
198 %token <op> EXPOP_NUMBER
199 %token <op> EXPOP_HEX_NUMBER
200 %token <op> EXPOP_RESERVED1
201 %token <op> EXPOP_RESERVED2
202 %token <op> EXPOP_PAREN_OPEN
203 %token <op> EXPOP_PAREN_CLOSE
219 %token <op> EXPOP_DEFINE
220 %token <op> EXPOP_IDENTIFIER
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c313 verify_label(char *token, char *progname) in verify_label() argument
318 if ((strstr(token, DAOPT_MINLABEL) == NULL) && in verify_label()
319 (strstr(token, DAOPT_MAXLABEL) == NULL)) { in verify_label()
323 if ((val = strchr(token, '=')) == NULL) in verify_label()
/illumos-gate/usr/src/cmd/auditrecord/
H A Daudit_record_attr.txt44 token=arg:argument
47 token=cmd:command
48 token=data:data
51 token=group:group
53 token=inet:socket
54 token=ipc:ipc
57 token=path:path
61 token=text:text
70 token=head:header
72 token=ret:return
[all …]
H A Daudit_record_xml85 my $token = $entry[2];
88 $token = "[$token]" if ($opt eq 'optional');
91 $token .= $idx;
94 push @$format, $token;
H A Dauditrecord.pl34 %attr, %event, %class, %skipClass, %token, %noteAlias,
76 my ($attr, $token, $skipClass, $noteAlias) = $parse->readAttr();
78 %token = %$token;
554 my ($token, $comment);
562 if (defined($token{$arg})) { # expand abbreviated name to token
563 $token = $token{$arg};
565 $token = $arg; # no abbreviation found
567 $token = '['.$token.']' if ($isOption);
573 printf STDERR ($errString, $label, $token,
583 unless (defined($token) && defined($comment)) {
[all …]
H A Dmkmsg.pl38 %attr %event %class %skipClass %token %noteAlias);
65 my ($attr, $token, $skipClass, $noteAlias) = $parse->readAttr();
70 %token = %$token;
/illumos-gate/usr/src/cmd/auditreduce/
H A DMakefile32 SRCS = main.c option.c proc.c time.c token.c regex2.c $(TABLEDIR)/toktable.c
33 OBJS = main.o option.o proc.o time.o token.o regex2.o toktable.o
/illumos-gate/usr/src/cmd/awk/
H A Dawk.g.y81 %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 …]
H A Dmaketab.c67 int token; member
180 for (p = proc; p->token != 0; p++) in main()
181 table[p->token-FIRSTTOKEN] = p->name; in main()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk.y65 %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/backup/lib/
H A Dgetdate.y113 %token tAGO tDAY tDAYZONE tID tMERIDIAN tMINUTE_UNIT tMONTH tMONTH_UNIT
114 %token tSEC_UNIT tSNUMBER tUNUMBER tZONE
/illumos-gate/usr/src/cmd/bc/
H A Dbc.y62 %token <cptr> LETTER
64 %token <cc> DIGIT, SQRT, LENGTH, _IF, FFF, EQ
65 %token <cc> _WHILE _FOR NE LE GE INCR DECR
66 %token <cc> _RETURN _BREAK _DEFINE BASE OBASE SCALE
67 %token <cc> EQPL EQMI EQMUL EQDIV EQREM EQEXP
68 %token <cptr> _AUTO DOT
69 %token <cc> QSTR
/illumos-gate/usr/src/cmd/bhyve/
H A Dbhyverun.c434 char *cp, *token; in parse_cpuset() local
439 token = __DECONST(char *, list); in parse_cpuset()
441 pcpu = strtoul(token, &cp, 0); in parse_cpuset()
442 if (cp == token) in parse_cpuset()
473 token = cp + 1; in parse_cpuset()
H A Dpci_virtio_9p.c242 char *sharename = NULL, *tofree, *token, *tokens; in pci_vt9p_legacy_config() local
248 while ((token = strsep(&tokens, ",")) != NULL) { in pci_vt9p_legacy_config()
249 if (strchr(token, '=') != NULL) { in pci_vt9p_legacy_config()
256 sharename = strsep(&token, "="); in pci_vt9p_legacy_config()
258 set_config_value_node(nvl, "path", token); in pci_vt9p_legacy_config()
260 set_config_bool_node(nvl, token, true); in pci_vt9p_legacy_config()
H A Dsmbiostbl.c1008 char *buf, *lasts, *token, *typekey = NULL; in smbios_parse() local
1025 type = strtonum(token, 0, 3, &errstr); in smbios_parse()
1040 token = strchr(typekey, '.'); in smbios_parse()
1041 assert(token != NULL); in smbios_parse()
1042 *token = '\0'; in smbios_parse()
1055 token); in smbios_parse()
1061 if (strcmp(token, "uuid") == 0) { in smbios_parse()
1062 set_config_value_if_unset(token, val); in smbios_parse()
1070 token = smbios_legacy_map[i].val; in smbios_parse()
1077 token) == 0) { in smbios_parse()
[all …]

12345678910>>...19