Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 1414) sorted by relevance

12345678910>>...57

/netbsd-src/sys/external/bsd/acpica/dist/compiler/
H A Dasltokens.y4 * Module Name: asltokens.y - Bison/Yacc token types
66 %token <i> PARSEOP_ACCESSAS
67 %token <i> PARSEOP_ACCESSATTRIB_BLOCK
68 %token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL
69 %token <i> PARSEOP_ACCESSATTRIB_BYTE
70 %token <i> PARSEOP_ACCESSATTRIB_BYTES
71 %token <i> PARSEOP_ACCESSATTRIB_QUICK
72 %token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES
73 %token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS
74 %token <
[all...]
/netbsd-src/bin/sh/
H A Darith_token.c75 int token; in arith_token() local
81 token = *buf; in arith_token()
83 if (isdigit(token)) { in arith_token()
91 token = *end; in arith_token()
96 "%.*s", token, (int)(end - buf), buf); in arith_token()
103 } else if (is_name(token)) { in arith_token()
121 } else switch (token) { in arith_token()
137 token, token); in arith_token()
141 token = ARITH_ASS; in arith_token()
147 token += ARITH_ASS_GAP; in arith_token()
[all …]
/netbsd-src/external/gpl2/groff/dist/src/preproc/eqn/
H A Deqn.y42 %token OVER
43 %token SMALLOVER
44 %token SQRT
45 %token SUB
46 %token SUP
47 %token LPILE
48 %token RPILE
49 %token CPILE
50 %token PILE
51 %token LEFT
[all …]
/netbsd-src/external/mpl/dhcp/dist/dhcpctl/
H A Domshell.c118 enum dhcp_token token; in main() local
217 token = next_token (&val, (unsigned *)0, cfile); in main()
218 switch (token) { in main()
248 token = next_token (&val, (unsigned *)0, cfile); in main()
249 if (is_identifier (token)) { in main()
258 } else if (token == NUMBER) { in main()
265 token = next_token (&val, (unsigned *)0, cfile); in main()
266 if (token != END_OF_FILE && token != EOL) { in main()
274 token = next_token (&val, (unsigned *)0, cfile); in main()
275 if (token == NUMBER) { in main()
[all …]
/netbsd-src/external/mpl/dhcp/dist/common/
H A Dparse.c107 enum dhcp_token token; local
114 token = peek_token(&val, NULL, cfile);
115 if (token == RBRACE) {
125 } else if (token == LBRACE) {
127 } else if (token == SEMI && (brace_count == 0)) {
131 } else if (token == EOL) {
140 token = next_token(&val, NULL, cfile);
141 } while (token != END_OF_FILE);
147 enum dhcp_token token; local
150 token = next_token (&val, (unsigned *)0, cfile);
[all …]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dpk11.c66 pk11_token_t *token; member
93 setup_session(pk11_session_t *sp, pk11_token_t *token, bool rw);
241 pk11_token_t *token, *next; in pk11_finalize() local
246 token = ISC_LIST_HEAD(tokens); in pk11_finalize()
247 while (token != NULL) { in pk11_finalize()
248 next = ISC_LIST_NEXT(token, link); in pk11_finalize()
249 ISC_LIST_UNLINK(tokens, token, link); in pk11_finalize()
250 if (token == best_rsa_token) { in pk11_finalize()
253 if (token == best_ecdsa_token) { in pk11_finalize()
256 if (token == best_eddsa_token) { in pk11_finalize()
[all …]
/netbsd-src/usr.sbin/npf/npfctl/
H A Dnpf_parse.y94 %token RULE_ENTRY_TOKEN MAP_ENTRY_TOKEN
100 %token ALG
101 %token ALGO
102 %token ALL
103 %token ANY
104 %token APPLY
105 %token ARROWBOTH
106 %token ARROWLEFT
107 %token ARROWRIGHT
108 %token BLOCK
[all …]
/netbsd-src/external/bsd/nsd/dist/
H A Dconfigparser.y58 %token <str> STRING
68 %token VAR_SERVER
69 %token VAR_SERVER_COUNT
70 %token VAR_IP_ADDRESS
71 %token VAR_IP_TRANSPARENT
72 %token VAR_IP_FREEBIND
73 %token VAR_REUSEPORT
74 %token VAR_SEND_BUFFER_SIZE
75 %token VAR_RECEIVE_BUFFER_SIZE
76 %token VAR_DEBUG_MODE
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dparse.c94 const utf8_t *comment = token.blockComment; in parseModule()
101 if (skipAttributes(&token, &tk) && tk->value == TOKmodule) in parseModule()
103 while (token.value != TOKmodule) in parseModule()
105 switch (token.value) in parseModule()
119 if (token.value == TOKlparen) in parseModule()
135 … error("@%s attribute for module declaration is not supported", token.toChars()); in parseModule()
147 error("'module' expected instead of %s", token.toChars()); in parseModule()
163 if (token.value == TOKmodule) in parseModule()
165 Loc loc = token.loc; in parseModule()
168 if (token.value != TOKidentifier) in parseModule()
[all …]
/netbsd-src/external/gpl2/groff/dist/src/roff/troff/
H A Dtoken.h29 class token {
67 token();
68 ~token();
69 token(const token &);
70 void operator=(const token &);
94 int operator==(const token &); // need this for delimiters, and for conditions
95 int operator!=(const token &); // ditto
107 extern token tok; // the current token
141 inline int token::newline() in newline()
146 inline int token::space() in space()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dyyscript.y103 %token <string> STRING
104 %token <string> QUOTED_STRING
105 %token <integer> INTEGER
113 %token ABSOLUTE
114 %token ADDR
115 %token ALIGN_K /* ALIGN */
116 %token ALIGNOF
117 %token ASSERT_K /* ASSERT */
118 %token AS_NEEDED
119 %token AT
[all …]
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dyyscript.y106 %token <string> STRING
107 %token <string> QUOTED_STRING
108 %token <integer> INTEGER
116 %token ABSOLUTE
117 %token ADDR
118 %token ALIGN_K /* ALIGN */
119 %token ALIGNOF
120 %token ASSERT_K /* ASSERT */
121 %token AS_NEEDED
122 %token AT
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dasn1parse.y89 %token kw_ABSENT
90 %token kw_ABSTRACT_SYNTAX
91 %token kw_ALL
92 %token kw_APPLICATION
93 %token kw_AUTOMATIC
94 %token kw_BEGIN
95 %token kw_BIT
96 %token kw_BMPString
97 %token kw_BOOLEAN
98 %token kw_BY
[all …]
/netbsd-src/lib/libintl/
H A Dplural_parser.c101 int token; member
110 tcx->token0.token = T_NONE; in init_tokenizer_context()
231 if (tcx->token0.token != T_NONE) { in get_token()
232 int token = tcx->token0.token; in get_token() local
233 tcx->token0.token = T_NONE; in get_token()
235 return token; in get_token()
243 int token, union token_data *token_data) in unget_token() argument
245 tcx->token0.token = token; in unget_token()
256 int token; in main() local
267 token = get_token(&tcx, &token_data); in main()
[all …]
/netbsd-src/external/mpl/dhcp/dist/keama/
H A Dparse.c101 enum dhcp_token token; in skip_to_rbrace() local
105 token = peek_token(&val, NULL, cfile); in skip_to_rbrace()
106 if (token == RBRACE) { in skip_to_rbrace()
116 } else if (token == LBRACE) { in skip_to_rbrace()
118 } else if (token == SEMI && (brace_count == 0)) { in skip_to_rbrace()
122 } else if (token == EOL) { in skip_to_rbrace()
131 token = next_token(&val, NULL, cfile); in skip_to_rbrace()
132 } while (token != END_OF_FILE); in skip_to_rbrace()
138 enum dhcp_token token; in parse_semi() local
141 token = next_token(&val, NULL, cfile); in parse_semi()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Dcfx.c321 gss_cfx_wrap_token token; in _gssapi_wrap_cfx_iov() local
452 token = (gss_cfx_wrap_token)header->buffer.value; in _gssapi_wrap_cfx_iov()
454 token->TOK_ID[0] = 0x05; in _gssapi_wrap_cfx_iov()
455 token->TOK_ID[1] = 0x04; in _gssapi_wrap_cfx_iov()
456 token->Flags = 0; in _gssapi_wrap_cfx_iov()
457 token->Filler = 0xFF; in _gssapi_wrap_cfx_iov()
460 token->Flags |= CFXSentByAcceptor; in _gssapi_wrap_cfx_iov()
463 token->Flags |= CFXAcceptorSubkey; in _gssapi_wrap_cfx_iov()
475 token->Flags |= CFXSealed; in _gssapi_wrap_cfx_iov()
476 token->EC[0] = (ec >> 8) & 0xFF; in _gssapi_wrap_cfx_iov()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dx-scheme.c194 struct token struct
203 init_token (struct token *tp) in init_token()
212 free_token (struct token *tp) in free_token()
219 grow_token (struct token *tp) in grow_token()
231 read_token (struct token *tp, int first) in read_token()
497 is_number (const struct token *tp) in is_number()
644 struct token *token; /* for t_symbol and t_string */ member
654 free_token (op->token); in free_object()
655 free (op->token); in free_object()
668 n = op->token->charcount; in string_of_object()
[all …]
/netbsd-src/external/bsd/ntp/dist/libjsmn/
H A Djsmn.c28 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token() argument
30 token->type = type; in jsmn_fill_token()
31 token->start = start; in jsmn_fill_token()
32 token->end = end; in jsmn_fill_token()
33 token->size = 0; in jsmn_fill_token()
41 jsmntok_t *token; in jsmn_parse_primitive() local
72 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive()
73 if (token == NULL) { in jsmn_parse_primitive()
77 jsmn_fill_token(token, JSMN_PRIMITIVE, start, parser->pos); in jsmn_parse_primitive()
79 token->parent = parser->toksuper; in jsmn_parse_primitive()
[all …]
/netbsd-src/external/mpl/dhcp/dist/client/
H A Dclparse.c226 token = peek_token(&val, NULL, cfile); in read_client_conf()
227 if (token == END_OF_FILE) in read_client_conf()
270 int token; in read_client_conf_file() local
282 token = peek_token (&val, (unsigned *)0, cfile); in read_client_conf_file()
283 if (token == END_OF_FILE) in read_client_conf_file()
309 int token; in read_client_duid() local
321 while ((token = next_token(&val, NULL, cfile)) != END_OF_FILE) { in read_client_duid()
327 if (token == DEFAULT_DUID) { in read_client_duid()
345 int token; in read_client_leases() local
358 token = next_token (&val, (unsigned *)0, cfile); in read_client_leases()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgengtype-parse.cc39 struct token struct
45 static struct token T; argument
50 token (void) in token() function
158 int u = token (); in require()
173 int u = token (); in require_without_advance()
189 int u = token (); in require2()
206 int u = token (); in require4()
233 while (token () == STRING) in string_seq()
271 if (token () == ENUM) in require_template_declaration()
277 if (token () == NUM in require_template_declaration()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgengtype-parse.c39 struct token struct
45 static struct token T; argument
50 token (void) in token() function
158 int u = token (); in require()
173 int u = token (); in require_without_advance()
189 int u = token (); in require2()
206 int u = token (); in require4()
233 while (token () == STRING) in string_seq()
271 if (token () == ENUM) in require_template_declaration()
277 if (token () == NUM in require_template_declaration()
[all …]
/netbsd-src/external/gpl2/groff/dist/src/preproc/pic/
H A Dpic.y86 %token <str> LABEL
87 %token <str> VARIABLE
88 %token <x> NUMBER
89 %token <lstr> TEXT
90 %token <lstr> COMMAND_LINE
91 %token <str> DELIMITED
92 %token <n> ORDINAL
93 %token TH
94 %token LEFT_ARROW_HEAD
95 %token RIGHT_ARROW_HEAD
[all …]
/netbsd-src/external/mpl/dhcp/dist/server/
H A Dconfpars.c251 enum dhcp_token token; in conf_file_subparse() local
256 token = peek_token (&val, (unsigned *)0, cfile); in conf_file_subparse()
257 if (token == END_OF_FILE) in conf_file_subparse()
277 enum dhcp_token token; in lease_file_subparse() local
281 token = next_token (&val, (unsigned *)0, cfile); in lease_file_subparse()
282 if (token == END_OF_FILE) in lease_file_subparse()
284 if (token == LEASE) { in lease_file_subparse()
292 } else if (token == IA_NA) { in lease_file_subparse()
294 } else if (token == IA_TA) { in lease_file_subparse()
296 } else if (token == IA_PD) { in lease_file_subparse()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dparse.d107 const comment = token.blockComment; in parseModuleDeclaration()
115 if (token.value == TOK.module_) in parseModuleDeclaration()
117 const loc = token.loc; in parseModuleDeclaration()
124 if (token.value != TOK.identifier) in parseModuleDeclaration()
131 Identifier id = token.ident; in parseModuleDeclaration()
137 if (token.value != TOK.identifier) in parseModuleDeclaration()
142 id = token.ident; in parseModuleDeclaration()
147 if (token.value != TOK.semicolon) in parseModuleDeclaration()
148 error("`;` expected following module declaration instead of `%s`", token.toChars()); in parseModuleDeclaration()
165 if (token.value == TOK.rightCurly) in parseModuleContent()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_symbolizer_test.cc21 char *token; in TEST() local
24 rest = ExtractToken("a;b;c", ";", &token); in TEST()
25 EXPECT_STREQ("a", token); in TEST()
27 InternalFree(token); in TEST()
29 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token); in TEST()
30 EXPECT_STREQ("aaa", token); in TEST()
32 InternalFree(token); in TEST()
36 int token; in TEST() local
37 const char *rest = ExtractInt("123,456;789", ";,", &token); in TEST()
38 EXPECT_EQ(123, token); in TEST()
[all …]

12345678910>>...57