| /dflybsd-src/sys/contrib/dev/acpica/source/compiler/ |
| H A D | asltokens.y | 174 %token <i> PARSEOP_ACCESSAS 175 %token <i> PARSEOP_ACCESSATTRIB_BLOCK 176 %token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL 177 %token <i> PARSEOP_ACCESSATTRIB_BYTE 178 %token <i> PARSEOP_ACCESSATTRIB_BYTES 179 %token <i> PARSEOP_ACCESSATTRIB_QUICK 180 %token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES 181 %token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS 182 %token <i> PARSEOP_ACCESSATTRIB_SND_RCV 183 %token <i> PARSEOP_ACCESSATTRIB_WORD [all …]
|
| /dflybsd-src/usr.bin/localedef/ |
| H A D | parser.y | 45 char *token; member 50 %token T_CODE_SET 51 %token T_MB_CUR_MAX 52 %token T_MB_CUR_MIN 53 %token T_COM_CHAR 54 %token T_ESC_CHAR 55 %token T_LT 56 %token T_GT 57 %token T_NL 58 %token T_SEMI [all …]
|
| H A D | scanner.c | 64 static char *token = NULL; variable 83 static struct token { struct 195 static struct token symwords[] = { 359 if ((token = realloc(token, toksz)) == NULL) { in add_tok() 367 token[tokidx++] = (char)c; in add_tok() 368 token[tokidx] = 0; in add_tok() 535 if (token == NULL) { in get_symbol() 548 if (strcmp(token, symwords[i].name) == in get_symbol() 561 (lookup_charmap(token, &yylval.wc)) != -1) { in get_symbol() 564 if ((yylval.collsym = lookup_collsym(token)) != NULL) { in get_symbol() [all …]
|
| /dflybsd-src/sbin/dhclient/ |
| H A D | parse.c | 64 int token; in skip_to_semi() local 68 token = peek_token(NULL, cfile); in skip_to_semi() 69 if (token == '}') { in skip_to_semi() 71 token = next_token(NULL, cfile); in skip_to_semi() 76 } else if (token == '{') { in skip_to_semi() 78 } else if (token == ';' && !brace_count) { in skip_to_semi() 79 token = next_token(NULL, cfile); in skip_to_semi() 81 } else if (token == '\n') { in skip_to_semi() 88 token = next_token(NULL, cfile); in skip_to_semi() 91 token = next_token(NULL, cfile); in skip_to_semi() [all …]
|
| H A D | clparse.c | 56 int token; in read_client_conf() local 89 token = peek_token(NULL, cfile); in read_client_conf() 90 if (token == EOF) in read_client_conf() 94 token = next_token(NULL, cfile); /* Clear the peek buffer */ in read_client_conf() 110 int token; in read_client_leases() local 119 token = next_token(NULL, cfile); in read_client_leases() 120 if (token == EOF) in read_client_leases() 122 if (token != TOK_LEASE) { in read_client_leases() 160 int token, code, count, i; in parse_client_statement() local 247 token = next_token(NULL, cfile); in parse_client_statement() [all …]
|
| /dflybsd-src/contrib/wpa_supplicant/src/utils/ |
| H A D | json.c | 191 static int json_check_tree_state(struct json_token *token) in json_check_tree_state() argument 193 if (!token) in json_check_tree_state() 195 if (json_check_tree_state(token->child) < 0 || in json_check_tree_state() 196 json_check_tree_state(token->sibling) < 0) in json_check_tree_state() 198 if (token->state != JSON_COMPLETED) { in json_check_tree_state() 201 token->state, token->name ? token->name : "N/A", in json_check_tree_state() 202 token->type); in json_check_tree_state() 222 struct json_token *root = NULL, *curr_token = NULL, *token = NULL; in json_parse() local 237 token = json_alloc_token(&tokens); in json_parse() 238 if (!token) in json_parse() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | gengtype-parse.c | 39 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 …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | gengtype-parse.c | 38 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() 201 while (token () == STRING) in string_seq() 221 if (token () == VEC_TOKEN) in typedef_name() 245 switch (token ()) in consume_balanced() 263 if (token () != closer) in consume_balanced() 265 closer, token ()); in consume_balanced() [all …]
|
| /dflybsd-src/contrib/binutils-2.27/binutils/ |
| H A D | arparse.y | 43 %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 DIRECTORY [all …]
|
| /dflybsd-src/contrib/binutils-2.34/binutils/ |
| H A D | arparse.y | 43 %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 DIRECTORY [all …]
|
| /dflybsd-src/usr.sbin/config/ |
| H A D | config.y | 7 %token ANY 8 %token AT 9 %token BUS 10 %token COMMA 11 %token CONFIG 12 %token CONFIG_MACHINE 13 %token CONFIG_MACHINE_ARCH 14 %token CONFIG_PLATFORM 15 %token CPU 16 %token DEVICE [all …]
|
| /dflybsd-src/contrib/ldns/ |
| H A D | parse.c | 25 ldns_fget_token(FILE *f, char *token, const char *delim, size_t limit) in ldns_fget_token() argument 27 return ldns_fget_token_l(f, token, delim, limit, NULL); in ldns_fget_token() 31 ldns_fget_token_l_st(FILE *f, char **token, size_t *limit, bool fixed in ldns_fget_token_l_st() argument 49 if (!token || !limit) in ldns_fget_token_l_st() 53 if (*token == NULL || *limit == 0) in ldns_fget_token_l_st() 56 } else if (*token == NULL) { in ldns_fget_token_l_st() 58 if (!(*token = LDNS_XMALLOC(char, *limit + 1))) in ldns_fget_token_l_st() 68 t = *token; in ldns_fget_token_l_st() 131 if (c == '\n' && p != 0 && t > *token) { in ldns_fget_token_l_st() 137 && (i >= *limit || (size_t)(t - *token) >= *limit)) { in ldns_fget_token_l_st() [all …]
|
| /dflybsd-src/contrib/libarchive/libarchive/ |
| H A D | archive_getdate.c | 58 struct token { int token; time_t value; }; member 64 struct token *tokenp; /* Pointer to next token. */ 107 if (gds->tokenp[0].token == tUNUMBER in timephrase() 108 && gds->tokenp[1].token == ':' in timephrase() 109 && gds->tokenp[2].token == tUNUMBER in timephrase() 110 && gds->tokenp[3].token == ':' in timephrase() 111 && gds->tokenp[4].token == tUNUMBER) { in timephrase() 119 else if (gds->tokenp[0].token == tUNUMBER in timephrase() 120 && gds->tokenp[1].token == ':' in timephrase() 121 && gds->tokenp[2].token == tUNUMBER) { in timephrase() [all …]
|
| /dflybsd-src/contrib/grep/lib/ |
| H A D | regcomp.c | 59 static Idx fetch_number (re_string_t *input, re_token_t *token, 61 static int peek_token (re_token_t *token, re_string_t *input, 66 re_token_t *token, reg_syntax_t syntax, 69 re_token_t *token, reg_syntax_t syntax, 72 re_token_t *token, reg_syntax_t syntax, 75 re_token_t *token, reg_syntax_t syntax, 78 re_dfa_t *dfa, re_token_t *token, 81 re_token_t *token, reg_syntax_t syntax, 85 re_token_t *token, int token_len, 91 re_token_t *token); [all …]
|
| /dflybsd-src/contrib/cvs-1.12/lib/ |
| H A D | regcomp.c | 55 static Idx fetch_number (re_string_t *input, re_token_t *token, 57 static int peek_token (re_token_t *token, re_string_t *input, 62 re_token_t *token, reg_syntax_t syntax, 65 re_token_t *token, reg_syntax_t syntax, 68 re_token_t *token, reg_syntax_t syntax, 71 re_token_t *token, reg_syntax_t syntax, 74 re_dfa_t *dfa, re_token_t *token, 77 re_token_t *token, reg_syntax_t syntax, 81 re_token_t *token, int token_len, 87 re_token_t *token); [all …]
|
| /dflybsd-src/contrib/gcc-8.0/libcpp/ |
| H A D | macro.c | 127 update_type update (const cpp_token *token) in update() argument 133 if (token->type == CPP_NAME in update() 134 && token->val.node.node == m_pfile->spec_nodes.n__VA_OPT__) in update() 138 cpp_error_at (m_pfile, CPP_DL_ERROR, token->src_loc, in update() 143 m_location = token->src_loc; in update() 148 if (token->type != CPP_OPEN_PAREN) in update() 160 if (m_state == 2 && token->type == CPP_PASTE) in update() 162 cpp_error_at (m_pfile, CPP_DL_ERROR, token->src_loc, in update() 174 if (token->type == CPP_PASTE) in update() 177 m_paste_location = token->src_loc; in update() [all …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/c-family/ |
| H A D | c-pragma.c | 140 enum cpp_ttype token; in handle_pragma_pack() local 146 token = pragma_lex (&x); in handle_pragma_pack() 147 if (token == CPP_CLOSE_PAREN) in handle_pragma_pack() 152 else if (token == CPP_NUMBER) in handle_pragma_pack() 161 else if (token == CPP_NAME) in handle_pragma_pack() 177 while ((token = pragma_lex (&x)) == CPP_COMMA) in handle_pragma_pack() 179 token = pragma_lex (&x); in handle_pragma_pack() 180 if (token == CPP_NAME && id == 0) in handle_pragma_pack() 184 else if (token == CPP_NUMBER && action == push && align == -1) in handle_pragma_pack() 196 if (token != CPP_CLOSE_PAREN) in handle_pragma_pack() [all …]
|
| /dflybsd-src/contrib/gcc-4.7/libcpp/ |
| H A D | macro.c | 199 cpp_token *token = _cpp_temp_token (pfile); in new_string_token() local 202 token->type = CPP_STRING; in new_string_token() 203 token->val.str.len = len; in new_string_token() 204 token->val.str.text = text; in new_string_token() 205 token->flags = 0; in new_string_token() 206 return token; in new_string_token() 470 const cpp_token *token = arg->first[i]; in stringify_arg() local 472 if (token->type == CPP_PADDING) in stringify_arg() 476 && token->val.source == NULL)) in stringify_arg() 477 source = token->val.source; in stringify_arg() [all …]
|
| /dflybsd-src/usr.bin/window/ |
| H A D | parser1.c | 47 if (token == T_EOF || p_abort()) in p_start() 51 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() [all …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/cp/ |
| H A D | parser.c | 261 cp_token *token; in cp_lexer_dump_tokens() local 283 for (i = 0; VEC_iterate (cp_token, buffer, i, token) && nprinted < num; i++) in cp_lexer_dump_tokens() 285 if (token == start_token) in cp_lexer_dump_tokens() 292 if (token == curr_token) in cp_lexer_dump_tokens() 295 cp_lexer_print_token (file, token); in cp_lexer_dump_tokens() 297 if (token == curr_token) in cp_lexer_dump_tokens() 300 switch (token->type) in cp_lexer_dump_tokens() 475 cp_token *token; in cp_debug_parser() local 542 token = parser->lexer->next_token; in cp_debug_parser() 545 cp_lexer_print_token (file, token); in cp_debug_parser() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/c-family/ |
| H A D | c-pragma.c | 132 enum cpp_ttype token; in handle_pragma_pack() local 138 token = pragma_lex (&x); in handle_pragma_pack() 139 if (token == CPP_CLOSE_PAREN) in handle_pragma_pack() 144 else if (token == CPP_NUMBER) in handle_pragma_pack() 153 else if (token == CPP_NAME) in handle_pragma_pack() 169 while ((token = pragma_lex (&x)) == CPP_COMMA) in handle_pragma_pack() 171 token = pragma_lex (&x); in handle_pragma_pack() 172 if (token == CPP_NAME && id == 0) in handle_pragma_pack() 176 else if (token == CPP_NUMBER && action == push && align == -1) in handle_pragma_pack() 188 if (token != CPP_CLOSE_PAREN) in handle_pragma_pack() [all …]
|
| /dflybsd-src/contrib/dhcpcd/src/ |
| H A D | auth.c | 83 if (state->token) { in dhcp_auth_reset() 84 free(state->token->key); in dhcp_auth_reset() 85 free(state->token->realm); 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() 180 if (state->token && state->replay != 0) { in dhcp_auth_validate() 268 if (state->token) { in dhcp_auth_validate() 269 free(state->token); in dhcp_auth_validate() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/cp/ |
| H A D | parser.c | 283 cp_token *token; in cp_lexer_dump_tokens() local 305 for (i = 0; buffer->iterate (i, &token) && nprinted < num; i++) in cp_lexer_dump_tokens() 307 if (token == start_token) in cp_lexer_dump_tokens() 314 if (token == curr_token) in cp_lexer_dump_tokens() 317 cp_lexer_print_token (file, token); in cp_lexer_dump_tokens() 319 if (token == curr_token) in cp_lexer_dump_tokens() 322 switch (token->type) in cp_lexer_dump_tokens() 510 cp_token *token; in cp_debug_parser() local 579 token = parser->lexer->next_token; in cp_debug_parser() 582 cp_lexer_print_token (file, token); in cp_debug_parser() [all …]
|
| /dflybsd-src/usr.bin/rpcgen/ |
| H A D | rpc_scan.h | 120 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 *);
|
| /dflybsd-src/contrib/binutils-2.27/ld/ |
| H A D | ldgram.y | 75 int token; member 102 %token <bigint> INT 103 %token <name> NAME LNAME 110 %right <token> PLUSEQ MINUSEQ MULTEQ DIVEQ '=' LSHIFTEQ RSHIFTEQ ANDEQ OREQ 111 %right <token> '?' ':' 112 %left <token> OROR 113 %left <token> ANDAND 114 %left <token> '|' 115 %left <token> '^' 116 %left <token> '&' [all …]
|