Home
last modified time | relevance | path

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

12345678910>>...15

/dragonfly/sys/contrib/dev/acpica/source/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 …]
/dragonfly/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 …]
H A Dscanner.c64 static char *token = NULL; variable
83 static struct token { struct
359 if ((token = realloc(token, toksz)) == NULL) { in add_tok()
368 token[tokidx] = 0; in add_tok()
535 if (token == NULL) { in get_symbol()
572 yylval.token = strdup(token); in get_symbol()
573 token = NULL; in get_symbol()
598 if (token == NULL) in consume_token()
634 if (isdigit(*token) || (*token == '-' && isdigit(token[1]))) { in consume_token()
652 yylval.token = strdup(token); in consume_token()
[all …]
/dragonfly/sbin/dhclient/
H A Dparse.c64 int token; in skip_to_semi() local
69 if (token == '}') { in skip_to_semi()
98 int token; in parse_semi() local
101 if (token != ';') { in parse_semi()
116 int token; in parse_string() local
150 int token; in parse_hardware_param() local
153 switch (token) { in parse_hardware_param()
190 int token; in parse_lease_time() local
214 int token, count; in parse_numeric_aggregate() local
354 int guess, token; in parse_date() local
[all …]
H A Dclparse.c56 int token; in read_client_conf() local
110 int token; in read_client_leases() local
257 int token; in parse_X() local
262 if (token == TOK_NUMBER_OR_NAME || token == TOK_NUMBER) { in parse_X()
266 if (token != TOK_NUMBER && token != TOK_NUMBER_OR_NAME) { in parse_X()
307 int token; in parse_option_list() local
351 int token; in parse_interface_declaration() local
398 int token; in parse_client_lease_statement() local
507 int token; in parse_client_lease_declaration() local
568 int token; in parse_option_decl() local
[all …]
/dragonfly/contrib/wpa_supplicant/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()
303 if (!token) in json_parse()
373 if (!token) in json_parse()
425 if (!token) in json_parse()
498 for (token = json->child; token; token = token->sibling) { in json_get_member()
499 if (token->name && os_strcmp(token->name, name) == 0) in json_get_member()
515 if (!token || token->type != JSON_STRING) in json_get_member_base64url()
557 if (!token) in json_print_token()
[all …]
/dragonfly/contrib/gcc-8.0/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()
542 switch (token ()) in option()
660 switch (token ()) in direct_declarator()
800 while (token () != '}' && token () != EOF_TOKEN) in struct_field_seq()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dgengtype-parse.c38 struct token struct
44 static struct token T; argument
49 token (void) in token() function
159 int u = token (); in require()
175 int u = token (); in require2()
245 switch (token ()) in consume_balanced()
325 if (immediate && token () != ',' && token () != ';') in consume_until_comma_or_semi()
447 switch (token ()) in option()
557 switch (token ()) in direct_declarator()
696 while (token () != '}' && token () != EOF_TOKEN); in struct_field_seq()
[all …]
/dragonfly/contrib/binutils-2.27/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 …]
/dragonfly/contrib/binutils-2.34/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 …]
/dragonfly/usr.sbin/config/
H A Dconfig.y7 %token ANY
8 %token AT
9 %token BUS
10 %token COMMA
11 %token CONFIG
15 %token CPU
18 %token DRIVE
19 %token DRQ
21 %token FLAGS
25 %token IRQ
[all …]
/dragonfly/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 …]
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_getdate.c58 struct token { int token; time_t value; }; argument
108 && gds->tokenp[1].token == ':' in timephrase()
150 if (gds->tokenp[0].token == '+' in timephrase()
159 if (gds->tokenp[0].token == '-' in timephrase()
177 if (gds->tokenp[0].token == tZONE in zonephrase()
351 if (gds->tokenp[0].token == '-' in relunitphrase()
360 if (gds->tokenp[0].token == '+' in relunitphrase()
377 if (gds->tokenp[0].token == '-' in relunitphrase()
386 if (gds->tokenp[0].token == '+' in relunitphrase()
987 struct token tokens[256]; in __archive_get_date()
[all …]
/dragonfly/contrib/diffutils/lib/
H A Dregcomp.c1386 op->token.opr.idx = cls->token.opr.idx = node->token.opr.idx; in lower_subexp()
1387 op->token.opt_subexp = cls->token.opt_subexp = node->token.opt_subexp; in lower_subexp()
1810 token->opr.c = c; in peek_token()
1957 token->word_char = IS_WORD_CHAR (token->opr.c); in peek_token()
2046 token->opr.c = c; in peek_token_bracket()
2182 if (token->type != OP_ALT && token->type != END_OF_RE in parse_reg_exp()
2227 while (token->type != OP_ALT && token->type != END_OF_RE in parse_branch()
2555 if (token->type == CHARACTER && token->opr.c == ',') in parse_dup_op()
2567 : ((token->type == CHARACTER && token->opr.c == ',') in parse_dup_op()
3851 tree->token = *token; in create_token_tree()
[all …]
/dragonfly/contrib/grep/lib/
H A Dregcomp.c1374 op->token.opr.idx = cls->token.opr.idx = node->token.opr.idx; in lower_subexp()
1375 op->token.opt_subexp = cls->token.opt_subexp = node->token.opt_subexp; in lower_subexp()
1794 token->opr.c = c; in peek_token()
1941 token->word_char = IS_WORD_CHAR (token->opr.c); in peek_token()
2030 token->opr.c = c; in peek_token_bracket()
2166 if (token->type != OP_ALT && token->type != END_OF_RE in parse_reg_exp()
2211 while (token->type != OP_ALT && token->type != END_OF_RE in parse_branch()
2537 if (token->type == CHARACTER && token->opr.c == ',') in parse_dup_op()
2549 : ((token->type == CHARACTER && token->opr.c == ',') in parse_dup_op()
3824 tree->token = *token; in create_token_tree()
[all …]
/dragonfly/contrib/cvs-1.12/lib/
H A Dregcomp.c1302 op->token.opr.idx = cls->token.opr.idx = node->token.opr.idx; in lower_subexp()
1303 op->token.opt_subexp = cls->token.opt_subexp = node->token.opt_subexp; in lower_subexp()
1734 token->opr.c = c; in peek_token()
1881 token->word_char = IS_WORD_CHAR (token->opr.c); in peek_token()
1970 token->opr.c = c; in peek_token_bracket()
2103 if (token->type != OP_ALT && token->type != END_OF_RE in parse_reg_exp()
2141 while (token->type != OP_ALT && token->type != END_OF_RE in parse_branch()
2439 if (token->type == CHARACTER && token->opr.c == ',') in parse_dup_op()
2451 : ((token->type == CHARACTER && token->opr.c == ',') in parse_dup_op()
3684 tree->token = *token; in create_token_tree()
[all …]
/dragonfly/contrib/gcc-8.0/libcpp/
H A Dmacro.c372 return token; in new_string_token()
708 || token->type == CPP_WSTRING || token->type == CPP_WCHAR in stringify_arg()
709 || token->type == CPP_STRING32 || token->type == CPP_CHAR32 in stringify_arg()
710 || token->type == CPP_STRING16 || token->type == CPP_CHAR16 in stringify_arg()
1076 || (token->type == CPP_HASH && token->flags & BOL)) in collect_args()
1221 if (token->type != CPP_EOF || token == &pfile->eof) in funlike_invocation_p()
2617 return FIRST (context).token == LAST (context).token; in reached_end_of_context()
2640 *token = FIRST (c).token; in consume_next_token_from_context()
3240 return token; in lex_expansion_token()
3344 token->flags |= token[-1].flags & PREV_WHITE; in create_iso_definition()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/c-family/
H A Dc-pragma.c140 enum cpp_ttype token; in handle_pragma_pack() local
669 enum cpp_ttype token; in handle_pragma_visibility() local
712 enum cpp_ttype token; in handle_pragma_diagnostic() local
761 enum cpp_ttype token; in handle_pragma_target() local
829 enum cpp_ttype token; in handle_pragma_optimize() local
847 if (token != CPP_STRING && token != CPP_NUMBER) in handle_pragma_optimize()
868 while (token == CPP_STRING || token == CPP_NUMBER); in handle_pragma_optimize()
916 enum cpp_ttype token; in handle_pragma_push_options() local
921 if (token != CPP_EOF) in handle_pragma_push_options()
946 enum cpp_ttype token; in handle_pragma_pop_options() local
[all …]
/dragonfly/contrib/gcc-4.7/libcpp/
H A Dmacro.c206 return token; in new_string_token()
482 || token->type == CPP_WSTRING || token->type == CPP_WCHAR in stringify_arg()
483 || token->type == CPP_STRING32 || token->type == CPP_CHAR32 in stringify_arg()
484 || token->type == CPP_STRING16 || token->type == CPP_CHAR16 in stringify_arg()
804 || (token->type == CPP_HASH && token->flags & BOL)) in collect_args()
949 if (token->type != CPP_EOF || token == &pfile->eof) in funlike_invocation_p()
2146 return FIRST (context).token == LAST (context).token; in reached_end_of_context()
2169 *token = FIRST (c).token; in consume_next_token_from_context()
2738 return token; in lex_expansion_token()
2833 token->flags |= token[-1].flags & PREV_WHITE; in create_iso_definition()
[all …]
/dragonfly/usr.bin/window/
H A Dparser1.c51 while (token != T_EOL && token != T_EOF) { in p_start()
52 if (token == T_STR) in p_start()
56 if (token == T_EOL) in p_start()
72 switch (token) { in p_statement()
109 if (token != T_THEN) { in p_if()
119 if (token == T_ELSIF) in p_if()
122 if (token == T_ELSE) { in p_if()
129 if (token == T_ENDIF) { in p_if()
144 switch (token) { in p_expression()
158 if (token == T_EOF) { in p_expression()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/cp/
H A Dparser.c719 token->type in cp_lexer_get_preprocessor_token()
720 = c_lex_with_flags (&token->u.value, &token->location, &token->flags, in cp_lexer_get_preprocessor_token()
741 token->keyword = C_RID_CODE (token->u.value); in cp_lexer_get_preprocessor_token()
948 ++token; in cp_lexer_peek_nth_token()
965 return token; in cp_lexer_peek_nth_token()
1001 return token; in cp_lexer_consume_token()
2384 token->u.value, token->flags); in cp_parser_error()
3366 return token ? token->u.value : error_mark_node; in cp_parser_identifier()
9674 if (!token) in cp_parser_iteration_statement()
9847 if (!token) in cp_parser_jump_statement()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/c-family/
H A Dc-pragma.c132 enum cpp_ttype token; in handle_pragma_pack() local
138 token = pragma_lex (&x); in handle_pragma_pack()
414 enum cpp_ttype token; in handle_pragma_scalar_storage_order() local
433 if (token != CPP_NAME) in handle_pragma_scalar_storage_order()
715 enum cpp_ttype token; in handle_pragma_visibility() local
848 enum cpp_ttype token; in handle_pragma_target() local
916 enum cpp_ttype token; in handle_pragma_optimize() local
934 if (token != CPP_STRING && token != CPP_NUMBER) in handle_pragma_optimize()
955 while (token == CPP_STRING || token == CPP_NUMBER); in handle_pragma_optimize()
1003 enum cpp_ttype token; in handle_pragma_push_options() local
[all …]
/dragonfly/contrib/dhcpcd/src/
H A Dauth.c83 if (state->token) { in dhcp_auth_reset()
86 free(state->token); in dhcp_auth_reset()
87 state->token = NULL; in dhcp_auth_reset()
103 const struct token *
114 const struct token *t; in dhcp_auth_validate()
268 if (state->token) { in dhcp_auth_validate()
269 free(state->token); in dhcp_auth_validate()
319 if (state->token && in dhcp_auth_validate()
377 state->token = malloc(sizeof(*state->token)); in dhcp_auth_validate()
378 if (state->token) { in dhcp_auth_validate()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dparser.c785 token->type in cp_lexer_get_preprocessor_token()
786 = c_lex_with_flags (&token->u.value, &token->location, &token->flags, in cp_lexer_get_preprocessor_token()
807 token->keyword = C_RID_CODE (token->u.value); in cp_lexer_get_preprocessor_token()
1061 ++token; in cp_lexer_peek_nth_token()
2896 (token->type == CPP_KEYWORD ? CPP_NAME : token->type), in cp_parser_error_1()
2897 token->u.value, token->flags, &richloc); in cp_parser_error_1()
3986 if (token) in cp_parser_identifier()
3987 return cp_expr (token->u.value, token->location); in cp_parser_identifier()
5131 return cp_expr (token->u.value, token->location); in cp_parser_primary_expression()
17129 token, in cp_parser_simple_type_specifier()
[all …]
/dragonfly/usr.bin/rpcgen/
H A Drpc_scan.h120 struct token { struct
124 typedef struct token token; argument
130 void scan(tok_kind, token *);
131 void scan2(tok_kind, tok_kind, token *);
132 void scan3(tok_kind, tok_kind, tok_kind, token *);
133 void scan_num(token *);
134 void peek(token *);
135 int peekscan(tok_kind, token *);
136 void get_token(token *);

12345678910>>...15