Home
last modified time | relevance | path

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

12345678910>>...24

/openbsd/gnu/gcc/gcc/
H A Dscan-decls.c66 if (token == CPP_EOF) in skip_to_closing_brace()
103 const cpp_token *token; in scan_decls() local
106 token = get_a_token (pfile); in scan_decls()
127 if (token->type == CPP_EOF) in scan_decls()
132 if (token->type != CPP_NAME) in scan_decls()
138 switch (token->type) in scan_decls()
153 if (token->type == CPP_COMMA) in scan_decls()
203 while (token->type != CPP_SEMICOLON && token->type != CPP_EOF) in scan_decls()
204 token = get_a_token (pfile); in scan_decls()
221 && token->val.str.len == 1 in scan_decls()
[all …]
/openbsd/usr.sbin/dhcpd/
H A Dconfpars.c72 int token; in readconf() local
119 int token; in read_leases() local
195 int token; in parse_statement() local
458 int token; in parse_allow_deny() local
517 int token; in parse_lbrace() local
886 } while (token == '.' || token == '/'); in parse_cidr()
938 if (token != '{' && token != '}') in parse_ip_addr_or_hostname()
1146 if (token != TOK_NUMBER && token != in parse_option_param()
1159 if (token != TOK_NUMBER && token != in parse_option_param()
1172 if (token != TOK_NUMBER && token != in parse_option_param()
[all …]
H A Dparse.c86 int token; in skip_to_semi() local
121 int token; in parse_semi() local
125 if (token != ';') { in parse_semi()
140 int token; in parse_string() local
166 int token, len = 0; in parse_host_name() local
189 if (token == '.') in parse_host_name()
226 switch (token) { in parse_hardware_param()
341 if (token != '{' && token != '}') in parse_numeric_aggregate()
356 if (token != TOK_NUMBER && token != TOK_NUMBER_OR_NAME) { in parse_numeric_aggregate()
515 int token; in parse_date() local
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dscan-decls.c66 if (token == CPP_EOF)
105 const cpp_token *token; local
108 token = get_a_token (pfile);
129 if (token->type == CPP_EOF)
134 if (token->type != CPP_NAME)
140 switch (token->type)
155 if (token->type == CPP_COMMA)
201 while (token->type != CPP_SEMICOLON && token->type != CPP_EOF)
202 token = get_a_token (pfile);
217 && token->val.str.len == 1
[all …]
/openbsd/sbin/dhclient/
H A Dparse.c85 int token; in skip_to_semi() local
111 int token; in parse_semi() local
114 if (token == ';') in parse_semi()
128 int i, token; in parse_string() local
143 if (token != ';') in parse_string()
162 int token; in parse_cidr() local
184 } while (token == '.' || token == '/'); in parse_cidr()
188 if (token != ';') in parse_cidr()
202 int token; in parse_ip_addr() local
220 if (token != ';') in parse_ip_addr()
[all …]
H A Dclparse.c167 int token; in read_conf() local
279 switch (token) { in parse_conf_decl()
435 int token; in parse_hex_octets() local
464 if (token != ';') in parse_hex_octets()
510 if (token != ';') in parse_domain_list()
528 int token; in parse_option_list() local
564 if (token != ';') in parse_option_list()
578 int token; in parse_interface() local
629 int token; in parse_lease() local
691 int i, token; in parse_lease_decl() local
[all …]
/openbsd/usr.sbin/ikectl/
H A Dparser.c51 struct token { struct
55 const struct token *next; argument
58 static const struct token t_main[];
61 static const struct token t_log[];
62 static const struct token t_load[];
63 static const struct token t_ca[];
76 static const struct token t_show[];
241 const struct token *match_token(char *, const struct token []);
249 const struct token *match; in parse()
295 const struct token *
[all …]
/openbsd/usr.sbin/ldpctl/
H A Dparser.c47 struct token { struct
51 const struct token *next; argument
54 static const struct token t_main[];
55 static const struct token t_fib[];
56 static const struct token t_show[];
68 static const struct token t_clear[];
70 static const struct token t_log[];
180 static const struct token *match_token(const char *, const struct token *,
189 const struct token *match; in parse()
217 static const struct token *
[all …]
/openbsd/gnu/usr.bin/perl/plan9/
H A Dgenconfig.pl227 delete $pp_vars{$token} if exists $pp_vars{$token};
228 delete $val_vars{$token} if exists $val_vars{$token};
235 delete $val_vars{$token};
239 if ($pp_vars{$token}) {
241 delete $pp_vars{$token};
246 $token =~ tr/A-Z/a-z/;
247 $token = "d_$token" unless $token =~ /^i_/;
254 if ($val_vars{$token}) {
256 if ($val_vars{$token} =~ s/exp$//) {print OUT "$val_vars{$token}='$val'\n";}
261 $token =~ tr/A-Z/a-z/;
[all …]
/openbsd/usr.sbin/eigrpctl/
H A Dparser.c49 struct token { struct
53 const struct token *next; argument
56 static const struct token t_main[];
57 static const struct token t_fib[];
58 static const struct token t_show[];
73 static const struct token t_log[];
74 static const struct token t_clear[];
222 static const struct token *match_token(const char *, const struct token *,
231 const struct token *match; in parse()
259 static const struct token *
[all …]
/openbsd/usr.sbin/nsd/
H A Dconfigparser.y71 %token VAR_SERVER
82 %token VAR_DO_IP4
83 %token VAR_DO_IP6
84 %token VAR_PORT
88 %token VAR_CHROOT
102 %token VAR_NSID
167 %token VAR_KEY
180 %token VAR_NAME
185 %token VAR_AXFR
186 %token VAR_UDP
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_symbolizer_test.cpp20 char *token; in TEST() local
24 EXPECT_STREQ("a", token); in TEST()
26 InternalFree(token); in TEST()
29 EXPECT_STREQ("aaa", token); in TEST()
31 InternalFree(token); in TEST()
35 int token; in TEST() local
37 EXPECT_EQ(123, token); in TEST()
42 uptr token; in TEST() local
44 EXPECT_EQ(123U, token); in TEST()
49 char *token; in TEST() local
[all …]
/openbsd/usr.sbin/acme-client/
H A Djsmn.c47 token->type = type; in jsmn_fill_token()
48 token->start = start; in jsmn_fill_token()
49 token->end = end; in jsmn_fill_token()
50 token->size = 0; in jsmn_fill_token()
58 jsmntok_t *token; in jsmn_parse_primitive() local
107 jsmntok_t *token; in jsmn_parse_string() local
176 jsmntok_t *token; in jsmn_parse() local
213 if (token->start != -1 && token->end == -1) { in jsmn_parse()
224 token = &tokens[token->parent]; in jsmn_parse()
229 if (token->start != -1 && token->end == -1) { in jsmn_parse()
[all …]
/openbsd/usr.sbin/npppctl/
H A Dparser.c47 struct token { struct
51 const struct token *next; argument
56 static const struct token t_main[];
58 static const struct token t_clear[];
60 static const struct token t_filter[];
61 static const struct token t_ppp_id[];
65 static const struct token t_realm[];
140 static const struct token *match_token(char *, const struct token []);
147 const struct token *match; in parse()
175 static const struct token *
[all …]
/openbsd/usr.sbin/relayctl/
H A Dparser.c41 struct token { struct
45 const struct token *next; argument
48 static const struct token t_main[];
49 static const struct token t_show[];
50 static const struct token t_rdr[];
52 static const struct token t_host[];
56 static const struct token t_log[];
127 static const struct token *match_token(const char *, const struct token *,
136 const struct token *match; in parse()
164 static const struct token *
[all …]
/openbsd/usr.sbin/slaacctl/
H A Dparser.c48 struct token { struct
52 const struct token *next; argument
55 static const struct token t_main[];
56 static const struct token t_log[];
57 static const struct token t_show[];
59 static const struct token t_send[];
95 static const struct token *match_token(const char *, const struct token *,
103 const struct token *table = t_main; in parse()
104 const struct token *match; in parse()
132 static const struct token *
[all …]
/openbsd/gnu/usr.bin/binutils/binutils/
H A Darparse.y46 %token ADDLIB
47 %token LIST
48 %token ADDMOD
49 %token CLEAR
50 %token CREATE
51 %token DELETE
53 %token END
56 %token HELP
57 %token QUIT
59 %token SAVE
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Darparse.y46 %token ADDLIB
47 %token LIST
48 %token ADDMOD
49 %token CLEAR
50 %token CREATE
51 %token DELETE
53 %token END
56 %token HELP
57 %token QUIT
59 %token SAVE
[all …]
/openbsd/usr.sbin/radiusctl/
H A Dparser.c46 struct token { struct
50 const struct token *next; argument
59 static const struct token t_test[];
60 static const struct token t_secret[];
64 static const struct token t_port[];
65 static const struct token t_method[];
67 static const struct token t_tries[];
139 static const struct token *match_token(char *, const struct token []);
146 const struct token *match; in parse()
178 static const struct token *
[all …]
/openbsd/usr.sbin/ripctl/
H A Dparser.c46 struct token { struct
50 const struct token *next; argument
53 static const struct token t_main[];
54 static const struct token t_fib[];
55 static const struct token t_show[];
60 static const struct token t_log[];
70 static const struct token t_fib[] = {
116 static const struct token *match_token(const char *, const struct token *,
125 const struct token *match; in parse()
153 static const struct token *
[all …]
/openbsd/usr.sbin/unwindctl/
H A Dparser.c44 struct token { struct
48 const struct token *next; argument
51 static const struct token t_main[];
52 static const struct token t_log[];
53 static const struct token t_status[];
62 static const struct token t_log[] = {
76 static const struct token *match_token(const char *, const struct token *,
84 const struct token *table = t_main; in parse()
85 const struct token *match; in parse()
113 static const struct token *
[all …]
/openbsd/usr.sbin/ospfctl/
H A Dparser.c46 struct token { struct
50 const struct token *next; argument
53 static const struct token t_main[];
54 static const struct token t_fib[];
55 static const struct token t_show[];
62 static const struct token t_log[];
72 static const struct token t_fib[] = {
143 static const struct token *match_token(const char *, const struct token *,
152 const struct token *match; in parse()
180 static const struct token *
[all …]
/openbsd/usr.sbin/ospf6ctl/
H A Dparser.c47 struct token { struct
51 const struct token *next; argument
54 static const struct token t_main[];
55 static const struct token t_fib[];
56 static const struct token t_show[];
63 static const struct token t_log[];
73 static const struct token t_fib[] = {
144 static const struct token *match_token(const char *, const struct token *,
153 const struct token *match; in parse()
181 static const struct token *
[all …]
/openbsd/usr.bin/fgen/
H A Dfgen.l1102 TOKEN *token;
1251 token = yylex();
1264 token->text);
1311 token = yylex();
1322 token = yylex();
1340 token = yylex();
1352 token = yylex();
1369 token = yylex();
1402 token = yylex();
1429 token = yylex();
[all …]
/openbsd/gnu/gcc/libcpp/
H A Dmacro.c100 token->flags = 0; in new_string_token()
101 return token; in new_string_token()
369 || token->type == CPP_CHAR || token->type == CPP_WCHAR); in stringify_arg()
626 || (token->type == CPP_HASH && token->flags & BOL)) in collect_args()
716 if (token->type != CPP_EOF || token == &pfile->eof) in funlike_invocation_p()
1089 else if (FIRST (context).token != LAST (context).token) in cpp_get_token()
1411 token->val.arg_no = token->val.node->value.arg_index; in lex_expansion_token()
1414 && (token->type == CPP_STRING || token->type == CPP_CHAR)) in lex_expansion_token()
1417 return token; in lex_expansion_token()
1504 token->flags |= token[-1].flags & PREV_WHITE; in create_iso_definition()
[all …]

12345678910>>...24