Home
last modified time | relevance | path

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

12345678910>>...29

/freebsd/sys/contrib/dev/acpica/compiler/
H A Dasltokens.y192 %token <i> PARSEOP_ADD
200 %token <i> PARSEOP_AND
251 %token <i> PARSEOP_DMA
289 %token <i> PARSEOP_IF
302 %token <i> PARSEOP_IO
309 %token <i> PARSEOP_IRQ
331 %token <i> PARSEOP_LOR
350 %token <i> PARSEOP_MID
353 %token <i> PARSEOP_MOD
361 %token <i> PARSEOP_NOR
[all …]
/freebsd/usr.bin/localedef/
H A Dparser.y45 char *token; member
55 %token T_LT
56 %token T_GT
57 %token T_NL
58 %token T_SEMI
64 %token T_NULL
65 %token T_WS
66 %token T_END
134 %token T_DAY
149 %token <token> T_NAME
[all …]
/freebsd/sbin/dhclient/
H A Dparse.c102 int token; in parse_semi() local
106 if (token != SEMI) { in parse_semi()
122 int token; in parse_string() local
161 int token; in parse_hardware_param() local
166 switch (token) { in parse_hardware_param()
209 if (token != SEMI) { in parse_hardware_param()
222 int token; in parse_lease_time() local
250 int token; in parse_numeric_aggregate() local
269 if (token != RBRACE && token != LBRACE) in parse_numeric_aggregate()
445 int token; in parse_date() local
[all …]
H A Dclparse.c65 int token; in read_client_conf() local
154 int token; in read_client_leases() local
304 int token; in parse_X() local
309 if (token == NUMBER_OR_NAME || token == NUMBER) { in parse_X()
313 if (token != NUMBER && token != NUMBER_OR_NAME) { in parse_X()
354 int token; in parse_option_list() local
397 int token; in parse_interface_declaration() local
497 int token; in parse_client_lease_statement() local
624 int token; in parse_client_lease_declaration() local
687 int token; in parse_option_decl() local
[all …]
/freebsd/sys/geom/vinum/
H A Dgeom_vinum_share.c442 if (token[1] == NULL || *token[1] == '\0') in gv_new_drive()
449 if (!strcmp(token[j], "state")) { in gv_new_drive()
462 ptr = token[j]; in gv_new_drive()
491 if (token[1] == NULL || *token[1] == '\0') in gv_new_volume()
500 if (!strcmp(token[j], "state")) { in gv_new_volume()
531 if (token[1] == NULL || *token[1] == '\0') in gv_new_plex()
540 if (!strcmp(token[j], "name")) { in gv_new_plex()
553 p->org = gv_plexorgi(token[j]); in gv_new_plex()
598 gv_new_sd(int max, char *token[]) in gv_new_sd() argument
603 if (token[1] == NULL || *token[1] == '\0') in gv_new_sd()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dasn1parse.y88 %token kw_ALL
92 %token kw_BIT
95 %token kw_BY
107 %token kw_END
129 %token kw_MAX
130 %token kw_MIN
136 %token kw_OF
140 %token kw_PDV
148 %token kw_SET
167 %token RANGE
[all …]
/freebsd/contrib/wpa/src/utils/
H A Djson.c193 if (!token) in json_check_tree_state()
201 token->state, token->name ? token->name : "N/A", in json_check_tree_state()
238 if (!token) in json_parse()
375 if (!token) in json_parse()
427 if (!token) in json_parse()
500 for (token = json->child; token; token = token->sibling) { in json_get_member()
501 if (token->name && os_strcmp(token->name, name) == 0) in json_get_member()
517 if (!token || token->type != JSON_STRING) in json_get_member_base64url()
540 if (!token || token->type != JSON_STRING) in json_get_member_base64()
581 if (!token) in json_print_token()
[all …]
/freebsd/contrib/ntp/libjsmn/
H A Djsmn.c28 token->type = type; in jsmn_fill_token()
29 token->start = start; in jsmn_fill_token()
30 token->end = end; in jsmn_fill_token()
31 token->size = 0; in jsmn_fill_token()
39 jsmntok_t *token; in jsmn_parse_primitive() local
88 jsmntok_t *token; in jsmn_parse_string() local
157 jsmntok_t *token; in jsmn_parse() local
194 if (token->start != -1 && token->end == -1) { in jsmn_parse()
205 token = &tokens[token->parent]; in jsmn_parse()
210 if (token->start != -1 && token->end == -1) { in jsmn_parse()
[all …]
/freebsd/libexec/nuageinit/
H A Dyaml.lua146 local token
171 if token[1] == "{" or token[1] == "[" then
176 token.raw = token.raw:sub(1, #token.raw - #token[2][2])
180 token.raw = token.raw:sub(1, #token.raw - #token[2][2])
182 token[2][1] = string_trim(token[2][1])
225 token.row = row
231 if token then
233 token = nil
318 token = self:peek()
350 local term = "term "..c.token[1]..": '"..c.token[2][1].."'"
[all …]
/freebsd/crypto/heimdal/lib/gssapi/krb5/
H A Dcfx.c459 token->EC[0] = 0;
759 if (token->TOK_ID[0] != 0x05 || token->TOK_ID[1] != 0x04)
785 ec = (token->EC[0] << 8) | token->EC[1];
786 rrc = (token->RRC[0] << 8) | token->RRC[1];
919 if (ct_memcmp(ttoken, token, sizeof(*token)) != 0) {
1281 token, sizeof(*token)); in _gssapi_wrap_cfx()
1427 ec = (token->EC[0] << 8) | token->EC[1]; in _gssapi_unwrap_cfx()
1428 rrc = (token->RRC[0] << 8) | token->RRC[1]; in _gssapi_unwrap_cfx()
1499 if (ct_memcmp(p, token, sizeof(*token)) != 0) { in _gssapi_unwrap_cfx()
1546 token, sizeof(*token)); in _gssapi_unwrap_cfx()
[all …]
/freebsd/contrib/ntp/scripts/deprecated/
H A Dhtml2man.in98 if($token->[0] eq "T") {
99 my $text = $token->[1];
116 if($token->[0] eq "S") {
117 if($token->[1] eq "h4") {
132 if($token->[1] eq "tt") {
136 if($token->[1] eq "i") {
144 if($token->[1] eq "dt" || $token->[1] eq "br" && $deflevel > 0) {
158 if($token->[1] eq "p") {
178 elsif($token->[0] eq "E") {
192 if($token->[1] eq "i") {
[all …]
/freebsd/lib/libpmc/pmu-events/
H A Djsmn.c52 token->type = type; in jsmn_fill_token()
53 token->start = start; in jsmn_fill_token()
54 token->end = end; in jsmn_fill_token()
55 token->size = 0; in jsmn_fill_token()
65 jsmntok_t *token; in jsmn_parse_primitive() local
106 if (token == NULL) { in jsmn_parse_primitive()
122 jsmntok_t *token; in jsmn_parse_string() local
180 jsmntok_t *token; in jsmn_parse() local
203 if (token == NULL) in jsmn_parse()
220 if (token->start != -1 && token->end == -1) { in jsmn_parse()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dcontext2.sh56 * Pass a token thru pipes to NTHREADS+1 threads in a circular list.
80 int token;
84 if (read(fds[i][0], &token, sizeof(token)) != sizeof(token))
86 token++;
87 if (write(fds[i+1][1], &token, sizeof(token)) != sizeof(token))
99 int i, r, token;
115 token = 0;
116 if (write(fds[0][1], &token, sizeof(token)) != sizeof(token))
118 if (read(fds[NTHREADS][0], &token, sizeof(token)) !=
119 sizeof(token))
H A Dcontext.sh58 * Pass a token thru pipes to CHILDREN+1 processes in a circular list
88 int token;
106 if (read(fds[i][0], &token, sizeof(token))
107 != sizeof(token))
109 if (write(fds[i+1][1], &token, sizeof(token))
110 != sizeof(token))
118 token = j;
119 if (write(fds[0][1], &token, sizeof(token)) != sizeof(token))
121 if (read(fds[CHILDREN][0], &token, sizeof(token))
122 != sizeof(token))
H A Dpipe2.sh88 int token;
97 token = 0;
98 write(fds[1], &token, sizeof(token));
104 if (read(fds[0], &token, sizeof(token)) != sizeof(token))
109 token++;
110 if (write(fds[1], &token, sizeof(token)) != sizeof(token))
121 if (read(fds[0], &token, sizeof(token)) != sizeof(token))
123 fprintf(stderr, "FINAL read %d from %d\n", token, fds[0]);
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_grammar.y71 %token DT_KEY_AUTO
73 %token DT_KEY_CASE
74 %token DT_KEY_CHAR
79 %token DT_KEY_DO
81 %token DT_KEY_ELSE
82 %token DT_KEY_ENUM
85 %token DT_KEY_FOR
86 %token DT_KEY_GOTO
87 %token DT_KEY_IF
90 %token DT_KEY_INT
[all …]
/freebsd/sys/powerpc/powernv/
H A Dopal_async.c78 vmem_addr_t token; in opal_alloc_async_token() local
81 completions[token].completed = false; in opal_alloc_async_token()
83 return (token); in opal_alloc_async_token()
87 opal_free_async_token(int token) in opal_free_async_token() argument
90 vmem_free(async_token_pool, token, 1); in opal_free_async_token()
104 vtophys(buf), size, token); in opal_wait_completion()
106 if (completions[token].completed) { in opal_wait_completion()
108 memcpy(buf, &completions[token].msg, size); in opal_wait_completion()
120 int token; in opal_handle_async_completion() local
122 token = msg->params[0]; in opal_handle_async_completion()
[all …]
/freebsd/contrib/ldns/
H A Dparse.c49 if (!token || !limit) in ldns_fget_token_l_st()
68 t = *token; in ldns_fget_token_l_st()
142 old_token = *token; in ldns_fget_token_l_st()
144 *token = LDNS_XREALLOC(*token, char, *limit + 1); in ldns_fget_token_l_st()
145 if (*token == NULL) { in ldns_fget_token_l_st()
146 *token = old_token; in ldns_fget_token_l_st()
176 old_token = *token; in ldns_fget_token_l_st()
178 *token = LDNS_XREALLOC(*token, char, *limit + 1); in ldns_fget_token_l_st()
179 if (*token == NULL) { in ldns_fget_token_l_st()
180 *token = old_token; in ldns_fget_token_l_st()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_getdate.c54 struct token { int token; time_t value; }; struct
104 && gds->tokenp[1].token == ':' in timephrase()
146 if (gds->tokenp[0].token == '+' in timephrase()
155 if (gds->tokenp[0].token == '-' in timephrase()
173 if (gds->tokenp[0].token == tZONE in zonephrase()
347 if (gds->tokenp[0].token == '-' in relunitphrase()
356 if (gds->tokenp[0].token == '+' in relunitphrase()
373 if (gds->tokenp[0].token == '-' in relunitphrase()
382 if (gds->tokenp[0].token == '+' in relunitphrase()
941 struct token tokens[256]; in __archive_get_date()
[all …]
/freebsd/sys/powerpc/pseries/
H A Drtas_dev.c106 cell_t token; in rtas_gettime() local
109 token = rtas_token_lookup("get-time-of-day"); in rtas_gettime()
110 if (token == -1) in rtas_gettime()
134 cell_t token, status; in rtas_settime() local
138 if (token == -1) in rtas_settime()
155 cell_t token, status; in rtas_shutdown() local
158 token = rtas_token_lookup("power-off"); in rtas_shutdown()
159 if (token == -1) in rtas_shutdown()
164 token = rtas_token_lookup("system-reboot"); in rtas_shutdown()
165 if (token == -1) in rtas_shutdown()
[all …]
/freebsd/contrib/byacc/test/
H A Dok_syntax1.y27 %token OCT1 '\177'
28 %token HEX1 '\xff'
29 %token HEX2 '\xFF'
30 %token HEX3 '\x7f'
35 %token BELL '\a'
36 %token BS '\b'
37 %token NL '\n'
38 %token LF '\f'
39 %token CR '\r'
40 %token TAB '\t'
[all …]
/freebsd/sys/contrib/rdma/krping/
H A Dgetopt.c33 char *token; in krping_getopt() local
37 if ((token = strsep(options, ",")) == NULL) in krping_getopt()
39 } while (*token == '\0'); in krping_getopt()
41 *optopt = token; in krping_getopt()
43 if ((val = strchr (token, '=')) != NULL) { in krping_getopt()
48 if (!strcmp(opts->name, token)) { in krping_getopt()
54 "an argument\n", caller, token); in krping_getopt()
65 "in %s=%s\n", caller, token, val); in krping_getopt()
72 "%s option\n", caller, val, token); in krping_getopt()
76 printk(KERN_INFO "%s: Unrecognized option %s\n", caller, token); in krping_getopt()
/freebsd/usr.bin/rpcgen/
H A Drpc_scan.h115 struct token { struct
119 typedef struct token token; argument
125 void scan(tok_kind expect, token *tokp);
126 void scan2(tok_kind expect1, tok_kind expect2, token *tokp);
127 void scan3(tok_kind expect1, tok_kind expect2, tok_kind expect3, token *tokp);
128 void scan_num(token *tokp);
129 void peek(token *tokp);
130 int peekscan(tok_kind expect, token *tokp);
131 void get_token(token *tokp);
/freebsd/contrib/ntp/ntpd/
H A Dkeyword-gen.c380 token = ntp_keywords[i].token; in generate_fsm()
381 if (1 > token || token >= COUNTOF(sst)) { in generate_fsm()
387 token); in generate_fsm()
390 sst[token].finishes_token = token; in generate_fsm()
591 if (sst[token].finishes_token != (u_short)token) { in create_scan_states()
594 token, symbname(token)); in create_scan_states()
614 token, in create_scan_states()
700 if (p1->token == p2->token) in compare_key_tok_id()
703 if (p1->token < p2->token) in compare_key_tok_id()
735 int token; in populate_symb() local
[all …]
/freebsd/sbin/ipf/iplang/
H A Diplang_y.y46 extern int state, state, lineNum, token;
159 %token <num> IL_NUMBER
161 %token <str> IL_TOKEN
162 %type <str> token optoken
170 %token IL_UDP IL_UDPLEN IL_UDPSUM
171 %token IL_ICMP IL_ICMPTYPE IL_ICMPCODE
172 %token IL_SEND IL_VIA
173 %token IL_ARP
174 %token IL_DEFROUTER
533 token: IL_TOKEN ';'
[all …]

12345678910>>...29