Searched refs:token (Results 1 - 25 of 362) sorted by relevance

1234567891011>>

/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_symbolizer_test.cpp20 char *token; local
23 rest = ExtractToken("a;b;c", ";", &token);
24 EXPECT_STREQ("a", token);
26 InternalFree(token);
28 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token);
29 EXPECT_STREQ("aaa", token);
31 InternalFree(token);
35 int token; local
36 const char *rest = ExtractInt("123,456;789", ";,", &token);
37 EXPECT_EQ(123, token);
42 uptr token; local
49 char *token; local
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dcvt18.C19 void foo(Token token) { argument
20 if (token && token != '{') {}
23 if (inside_body && (token = next_token())) {}
/openbsd-current/gnu/gcc/gcc/
H A Dscan-decls.c46 /* Get a token but skip padding. */
64 enum cpp_ttype token = get_a_token (pfile)->type; local
66 if (token == CPP_EOF)
68 if (token == CPP_OPEN_BRACE)
70 if (token == CPP_CLOSE_BRACE && --nesting == 0)
103 const cpp_token *token; local
106 token = get_a_token (pfile);
112 if (token->type == CPP_OPEN_BRACE)
121 if (token->type == CPP_OPEN_BRACE)
127 if (token
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dscan-decls.c44 /* Get a token but skip padding. */
64 enum cpp_ttype token = get_a_token (pfile)->type; local
66 if (token == CPP_EOF)
68 if (token == CPP_OPEN_BRACE)
70 if (token == CPP_CLOSE_BRACE && --nesting == 0)
105 const cpp_token *token; local
108 token = get_a_token (pfile);
114 if (token->type == CPP_OPEN_BRACE)
123 if (token->type == CPP_OPEN_BRACE)
129 if (token
[all...]
/openbsd-current/usr.bin/rpcgen/
H A Drpc_scan.h89 * a token
91 struct token { struct
95 typedef struct token token; typedef in typeref:struct:token
101 void scan(tok_kind, token *);
102 void scan2(tok_kind, tok_kind, token *);
103 void scan3(tok_kind, tok_kind, tok_kind, token *);
104 void scan_num(token *);
105 void peek(token *);
106 int peekscan(tok_kind, token *);
[all...]
/openbsd-current/gnu/usr.bin/binutils/binutils/
H A Darparse.y43 %token NEWLINE
44 %token VERBOSE
45 %token <name> FILENAME
46 %token ADDLIB
47 %token LIST
48 %token ADDMOD
49 %token CLEAR
50 %token CREATE
51 %token DELETE
52 %token DIRECTOR
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/binutils/
H A Darparse.y43 %token NEWLINE
44 %token VERBOSE
45 %token <name> FILENAME
46 %token ADDLIB
47 %token LIST
48 %token ADDMOD
49 %token CLEAR
50 %token CREATE
51 %token DELETE
52 %token DIRECTOR
[all...]
/openbsd-current/sbin/dhclient/
H A Dparse.c71 * leaving the brace in the token buffer for the caller. If we see a
85 int token; local
89 token = peek_token(NULL, cfile);
90 if (token == '}') {
93 token = next_token(NULL, cfile);
98 } else if (token == '{') {
100 } else if (token == ';' && brace_count == 0) {
101 token = next_token(NULL, cfile);
104 token = next_token(NULL, cfile);
105 } while (token !
111 int token; local
128 int i, token; local
162 int token; local
202 int token; local
230 int token; local
258 int rslt, token; local
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Duninit-2.c28 enum cpp_token token; /* { dg-bogus "token" "uninitialized variable warning" { xfail *-*-* } } */ local
41 token = macarg (pfile, rest_args);
44 token = macarg (pfile, 0);
45 if (token == CPP_EOF || token == CPP_POP)
50 while (token == CPP_COMMA);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D990801-1.c5 token() function
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D980505-2.c6 Uint16 token; local
10 token = values[0];
11 count = token >> 8;
/openbsd-current/usr.sbin/dhcpd/
H A Dconfpars.c72 int token; local
94 token = peek_token(&val, cfile);
95 if (token == EOF)
102 token = next_token(&val, cfile); /* Clear the peek buffer */
119 int token; local
142 token = next_token(&val, cfile);
143 if (token == EOF)
145 if (token != TOK_LEASE) {
195 int token; local
342 token
458 int token; local
517 int token; local
537 int token; local
601 int token; local
648 int token; local
725 int token; local
824 int token; local
863 int token; local
907 int token; local
960 int token; local
992 int token; local
1266 int token; local
1444 int len = sizeof addr, token, dynamic = 0; local
1511 int token = ';'; local
[all...]
H A Dparse.c72 * leaving the brace in the token buffer for the caller. If we see a
86 int token; local
91 token = peek_token(&val, cfile);
92 if (token == '}') {
94 token = next_token(&val, cfile);
99 } else if (token == '{') {
101 } else if (token == ';' && !brace_count) {
102 token = next_token(&val, cfile);
104 } else if (token == '\n') {
111 token
121 int token; local
140 int token; local
166 int token, len = 0; local
222 int token, hlen = 0; local
324 int token, count = 0; local
515 int token; local
[all...]
/openbsd-current/usr.sbin/acme-client/
H A Djsmn.c25 * Allocates a fresh unused token from the token pull.
43 * Fills token type and boundaries.
45 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, argument
47 token->type = type;
48 token->start = start;
49 token->end = end;
50 token->size = 0;
54 * Fills next available token with JSON primitive.
58 jsmntok_t *token; local
107 jsmntok_t *token; local
176 jsmntok_t *token; local
[all...]
/openbsd-current/usr.sbin/slaacctl/
H A Dparser.c48 struct token { struct
52 const struct token *next;
55 static const struct token t_main[];
56 static const struct token t_log[];
57 static const struct token t_show[];
58 static const struct token t_show_interface[];
59 static const struct token t_send[];
60 static const struct token t_send_sol[];
62 static const struct token t_main[] = {
69 static const struct token t_lo
[all...]
/openbsd-current/usr.sbin/ldpctl/
H A Dparser.c47 struct token { struct
51 const struct token *next;
54 static const struct token t_main[];
55 static const struct token t_fib[];
56 static const struct token t_show[];
57 static const struct token t_show_iface[];
58 static const struct token t_show_iface_af[];
59 static const struct token t_show_disc[];
60 static const struct token t_show_disc_af[];
61 static const struct token t_show_nb
[all...]
/openbsd-current/gnu/usr.bin/perl/t/perf/
H A Dbenchmarks.t46 for my $token (sort keys %benchmarks) {
47 like($token, qr/^[a-zA-Z](\w|::)+$/a, "$token: legal token");
49 my @keys = sort keys %{$benchmarks{$token}};
51 ok(!@invalid, "$token: only valid keys present")
54 my @missing = grep !exists $benchmarks{$token}{$_}, @required_keys;
55 ok(!@missing, "$token: all required keys present")
61 for my $token (sort keys %benchmarks) {
62 my $b = $benchmarks{$token};
[all...]
/openbsd-current/usr.sbin/ractl/
H A Dparser.c44 struct token { struct
48 const struct token *next;
51 static const struct token t_main[];
52 static const struct token t_log[];
54 static const struct token t_main[] = {
60 static const struct token t_log[] = {
66 static const struct token *match_token(const char *, const struct token *,
68 static void show_valid_args(const struct token *);
74 const struct token *tabl
[all...]
/openbsd-current/usr.sbin/npppctl/
H A Dparser.c47 struct token { struct
51 const struct token *next;
56 static const struct token t_main[];
57 static const struct token t_session[];
58 static const struct token t_clear[];
59 static const struct token t_monitor[];
60 static const struct token t_filter[];
61 static const struct token t_ppp_id[];
62 static const struct token t_address[];
63 static const struct token t_interfac
[all...]
/openbsd-current/usr.sbin/ikectl/
H A Dparser.c51 struct token { struct
55 const struct token *next;
58 static const struct token t_main[];
59 static const struct token t_reset[];
60 static const struct token t_reset_id[];
61 static const struct token t_log[];
62 static const struct token t_load[];
63 static const struct token t_ca[];
64 static const struct token t_ca_pass[];
65 static const struct token t_ca_pass_va
[all...]
/openbsd-current/usr.sbin/relayctl/
H A Dparser.c41 struct token { struct
45 const struct token *next;
48 static const struct token t_main[];
49 static const struct token t_show[];
50 static const struct token t_rdr[];
51 static const struct token t_table[];
52 static const struct token t_host[];
53 static const struct token t_rdr_id[];
54 static const struct token t_table_id[];
55 static const struct token t_host_i
[all...]
/openbsd-current/usr.sbin/eigrpctl/
H A Dparser.c49 struct token { struct
53 const struct token *next;
56 static const struct token t_main[];
57 static const struct token t_fib[];
58 static const struct token t_show[];
59 static const struct token t_show_iface[];
60 static const struct token t_show_iface_af[];
61 static const struct token t_show_iface_as[];
62 static const struct token t_show_nbr[];
63 static const struct token t_show_nbr_a
[all...]
/openbsd-current/gnu/usr.bin/perl/plan9/
H A Dgenconfig.pl196 my($token) = shift @words; # and keep constant name
200 $val_vars{$token} = $1;
224 next unless my ($blocked,$un,$token,$val) =
227 delete $pp_vars{$token} if exists $pp_vars{$token};
228 delete $val_vars{$token} if exists $val_vars{$token};
233 if (!length($val) and $val_vars{$token} and ($un || $blocked)) {
234 print OUT "$val_vars{$token}=''\n";
235 delete $val_vars{$token};
[all...]
/openbsd-current/usr.sbin/nsd/
H A Dconfigparser.y60 %token <str> STRING
71 %token VAR_SERVER
72 %token VAR_SERVER_COUNT
73 %token VAR_IP_ADDRESS
74 %token VAR_IP_TRANSPARENT
75 %token VAR_IP_FREEBIND
76 %token VAR_REUSEPORT
77 %token VAR_SEND_BUFFER_SIZE
78 %token VAR_RECEIVE_BUFFER_SIZE
79 %token VAR_DEBUG_MOD
[all...]
/openbsd-current/usr.bin/fgen/
H A Dfgen.l97 #define STATE(y, x) do { if (debug) printf("%lx State %s: token `%s'\n", outpos, x, y); } while (0)
512 { "set-token-table", 0x00b3, 0, NULL, NULL },
514 { "new-token", 0x00b5, 0, NULL, NULL },
515 { "named-token", 0x00b6, 0, NULL, NULL },
534 { "external-token", 0x00ca, 0, NULL, NULL },
546 { "get-token", 0x00da, 0, NULL, NULL },
547 { "set-token", 0x00db, 0, NULL, NULL },
1102 TOKEN *token;
1107 while ((token = yylex()) != NULL) {
1108 switch (token
[all...]

Completed in 183 milliseconds

1234567891011>>