/netbsd-src/external/gpl3/gcc.old/dist/libcpp/ |
H A D | macro.c | 37 const cpp_token **first; /* First token in unexpanded argument. */ 38 const cpp_token **expanded; /* Macro-expanded argument. */ 39 const cpp_token *stringified; /* Stringified argument. */ 71 const cpp_token **token_ptr; 131 update_type update (const cpp_token *token) in update() 272 const cpp_token *, location_t); 276 const cpp_token **, unsigned int); 279 const cpp_token **, unsigned int); 283 static const cpp_token *padding_token (cpp_reader *, const cpp_token *); 284 static const cpp_token *new_string_token (cpp_reader *, uchar *, unsigned int); [all …]
|
H A D | internal.h | 134 const cpp_token *token; 135 const cpp_token **ptoken; 143 cpp_token *base, *limit; 426 cpp_token directive_result; 478 cpp_token *cur_token; 519 cpp_token avoid_paste; 520 cpp_token eof; 672 const cpp_token *, unsigned int); 712 extern cpp_token *_cpp_temp_token (cpp_reader *); 713 extern const cpp_token *_cpp_lex_token (cpp_reader *); [all …]
|
H A D | directives.c | 100 static const char *parse_include (cpp_reader *, int *, const cpp_token ***, 124 static const cpp_token *get_token_no_padding (cpp_reader *); 125 static const cpp_token *get__Pragma_string (cpp_reader *); 252 static const cpp_token ** 257 const cpp_token **buf; in check_eol_return_comments() 259 buf = XNEWVEC (const cpp_token *, capacity); in check_eol_return_comments() 265 const cpp_token *tok; in check_eol_return_comments() 279 buf = XRESIZEVEC (const cpp_token *, buf, capacity); in check_eol_return_comments() 418 const cpp_token *dname; in _cpp_handle_directive() 585 const cpp_token *token = _cpp_lex_token (pfile); in lex_macro_node() [all …]
|
H A D | lex.c | 56 static void lex_string (cpp_reader *, cpp_token *, const uchar *); 57 static void save_comment (cpp_reader *, cpp_token *, const uchar *, cppchar_t); 58 static void store_comment (cpp_reader *, cpp_token *); 59 static void create_literal (cpp_reader *, cpp_token *, const uchar *, 73 cpp_ideq (const cpp_token *token, const char *string) in cpp_ideq() 1294 const cpp_token *token, in warn_about_normalization() 1577 create_literal (cpp_reader *pfile, cpp_token *token, const uchar *base, in create_literal() 1669 lex_raw_string (cpp_reader *pfile, cpp_token *token, const uchar *base, in lex_raw_string() 1984 lex_string (cpp_reader *pfile, cpp_token *token, const uchar *base) in lex_string() 2100 store_comment (cpp_reader *pfile, cpp_token *token) in store_comment() [all …]
|
H A D | expr.c | 31 const cpp_token *token; /* The token forming op (for diagnostics). */ 61 static cpp_num eval_token (cpp_reader *, const cpp_token *, location_t); 475 cpp_get_userdef_suffix (const cpp_token *tok) in cpp_get_userdef_suffix() 505 cpp_classify_number (cpp_reader *pfile, const cpp_token *token, in cpp_classify_number() 846 cpp_interpret_integer (cpp_reader *pfile, const cpp_token *token, in cpp_interpret_integer() 1025 const cpp_token *token; in parse_defined() 1053 cpp_token op; in parse_defined() 1097 eval_token (cpp_reader *pfile, const cpp_token *token, in eval_token()
|
/netbsd-src/external/gpl3/gcc/dist/libcpp/ |
H A D | macro.cc | 37 const cpp_token **first; /* First token in unexpanded argument. */ 38 const cpp_token **expanded; /* Macro-expanded argument. */ 39 const cpp_token *stringified; /* Stringified argument. */ 71 const cpp_token **token_ptr; 132 update_type update (const cpp_token *token) in update() 284 const cpp_token *, location_t); 288 const cpp_token **, unsigned int); 291 const cpp_token **, unsigned int); 295 static const cpp_token *padding_token (cpp_reader *, const cpp_token *); 296 static const cpp_token *new_string_token (cpp_reader *, uchar *, unsigned int); [all …]
|
H A D | internal.h | 138 const cpp_token *token; 139 const cpp_token **ptoken; 147 cpp_token *base, *limit; 442 cpp_token directive_result; 494 cpp_token *cur_token; 534 cpp_token avoid_paste; 535 cpp_token endarg; 703 const cpp_token *, unsigned int); 745 extern cpp_token *_cpp_temp_token (cpp_reader *); 746 extern const cpp_token *_cpp_lex_token (cpp_reader *); [all …]
|
H A D | directives.cc | 106 static const char *parse_include (cpp_reader *, int *, const cpp_token ***, 130 static const cpp_token *get_token_no_padding (cpp_reader *); 131 static const cpp_token *get__Pragma_string (cpp_reader *); 260 static const cpp_token ** 265 const cpp_token **buf; in check_eol_return_comments() 267 buf = XNEWVEC (const cpp_token *, capacity); in check_eol_return_comments() 273 const cpp_token *tok; in check_eol_return_comments() 287 buf = XRESIZEVEC (const cpp_token *, buf, capacity); in check_eol_return_comments() 426 const cpp_token *dname; in _cpp_handle_directive() 601 const cpp_token *token = _cpp_lex_token (pfile); in lex_macro_node() [all …]
|
H A D | lex.cc | 56 static void lex_string (cpp_reader *, cpp_token *, const uchar *); 57 static void save_comment (cpp_reader *, cpp_token *, const uchar *, cppchar_t); 58 static void store_comment (cpp_reader *, cpp_token *); 59 static void create_literal (cpp_reader *, cpp_token *, const uchar *, 73 cpp_ideq (const cpp_token *token, const char *string) in cpp_ideq() 1808 const cpp_token *token, in warn_about_normalization() 2147 create_literal (cpp_reader *pfile, cpp_token *token, const uchar *base, in create_literal() 2289 lex_raw_string (cpp_reader *pfile, cpp_token *token, const uchar *base) in lex_raw_string() 2600 lex_string (cpp_reader *pfile, cpp_token *token, const uchar *base) in lex_string() 2736 store_comment (cpp_reader *pfile, cpp_token *token) in store_comment() [all …]
|
H A D | init.cc | 754 const cpp_token *token = _cpp_lex_direct (pfile); in read_original_filename() 801 const cpp_token *hash = _cpp_lex_direct (pfile); in read_original_directory() 804 const cpp_token *number = _cpp_lex_direct (pfile); in read_original_directory() 806 const cpp_token *string = _cpp_lex_direct (pfile); in read_original_directory()
|
H A D | expr.cc | 31 const cpp_token *token; /* The token forming op (for diagnostics). */ 61 static cpp_num eval_token (cpp_reader *, const cpp_token *, location_t); 485 cpp_get_userdef_suffix (const cpp_token *tok) in cpp_get_userdef_suffix() 515 cpp_classify_number (cpp_reader *pfile, const cpp_token *token, in cpp_classify_number() 869 cpp_interpret_integer (cpp_reader *pfile, const cpp_token *token, in cpp_interpret_integer() 1048 const cpp_token *token; in parse_defined() 1076 cpp_token op; in parse_defined() 1123 eval_token (cpp_reader *pfile, const cpp_token *token, in eval_token()
|
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/include/ |
H A D | cpplib.h | 32 typedef struct cpp_token cpp_token; typedef 243 struct GTY(()) cpp_token { struct 257 cpp_token * GTY ((tag ("CPP_TOKEN_FLD_SOURCE"))) source; argument 275 extern enum cpp_token_fld_kind cpp_token_val_index (const cpp_token *tok); 634 void (*line_change) (cpp_reader *, const cpp_token *, int); 644 const char *, int, const cpp_token **); 655 cpp_hashnode * (*macro_to_expand) (cpp_reader *, const cpp_token *); 812 cpp_token GTY ((tag ("false"), length ("%1.count"))) tokens[1]; 1010 extern unsigned int cpp_token_len (const cpp_token *); 1011 extern unsigned char *cpp_token_as_text (cpp_reader *, const cpp_token *); [all …]
|
H A D | cpp-id-data.h | 30 cpp_token GTY ((length ("%h.count"))) first[1]; 50 cpp_token * GTY ((tag ("0"), length ("%0.count"))) tokens;
|
/netbsd-src/external/gpl3/gcc/dist/libcpp/include/ |
H A D | cpplib.h | 32 typedef struct cpp_token cpp_token; typedef 246 struct GTY(()) cpp_token { struct 260 cpp_token * GTY ((tag ("CPP_TOKEN_FLD_SOURCE"))) source; argument 278 extern enum cpp_token_fld_kind cpp_token_val_index (const cpp_token *tok); 675 void (*line_change) (cpp_reader *, const cpp_token *, int); 685 const char *, int, const cpp_token **); 696 cpp_hashnode * (*macro_to_expand) (cpp_reader *, const cpp_token *); 872 cpp_token GTY ((tag ("false"), length ("%1.count"))) tokens[1]; 1092 extern unsigned int cpp_token_len (const cpp_token *); 1093 extern unsigned char *cpp_token_as_text (cpp_reader *, const cpp_token *); [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/ |
H A D | c-lex.cc | 42 static tree interpret_integer (const cpp_token *, unsigned int, 44 static tree interpret_float (const cpp_token *, unsigned int, const char *, 46 static tree interpret_fixed (const cpp_token *, unsigned int); 51 static enum cpp_ttype lex_string (const cpp_token *, tree *, bool, bool); 52 static tree lex_charconst (const cpp_token *); 55 static void cb_line_change (cpp_reader *, const cpp_token *, int); 183 cb_line_change (cpp_reader * ARG_UNUSED (pfile), const cpp_token *token, in cb_line_change() 248 const cpp_token *s; in cb_def_pragma() 289 static const cpp_token * 294 const cpp_token *ret = cpp_peek_token (pfile, 0); in get_token_no_padding() [all …]
|
H A D | c-ppoutput.cc | 33 const cpp_token *prev; /* Previous token. */ 34 const cpp_token *source; /* Source token for spacing. */ 66 static bool do_line_change (cpp_reader *, const cpp_token *, 71 static void cb_line_change (cpp_reader *, const cpp_token *, int); 77 const char *, int, const cpp_token **); 193 void stream (cpp_reader *pfile, const cpp_token *tok, location_t); 197 token_streamer::stream (cpp_reader *pfile, const cpp_token *token, in stream() 319 const cpp_token *token in scan_translation_unit() 376 const cpp_token *token = va_arg (args, const cpp_token *); in directives_only_cb() 546 do_line_change (cpp_reader *pfile, const cpp_token *token, in do_line_change() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/ |
H A D | c-lex.c | 41 static tree interpret_integer (const cpp_token *, unsigned int, 43 static tree interpret_float (const cpp_token *, unsigned int, const char *, 45 static tree interpret_fixed (const cpp_token *, unsigned int); 50 static enum cpp_ttype lex_string (const cpp_token *, tree *, bool, bool); 51 static tree lex_charconst (const cpp_token *); 54 static void cb_line_change (cpp_reader *, const cpp_token *, int); 184 cb_line_change (cpp_reader * ARG_UNUSED (pfile), const cpp_token *token, in cb_line_change() 249 const cpp_token *s; in cb_def_pragma() 288 static const cpp_token * 293 const cpp_token *ret = cpp_peek_token (pfile, 0); in get_token_no_padding() [all …]
|
H A D | c-ppoutput.c | 32 const cpp_token *prev; /* Previous token. */ 33 const cpp_token *source; /* Source token for spacing. */ 66 static bool do_line_change (cpp_reader *, const cpp_token *, 71 static void cb_line_change (cpp_reader *, const cpp_token *, int); 77 const char *, int, const cpp_token **); 184 const cpp_token *token = cpp_get_token_with_location (pfile, &loc); in scan_translation_unit() 450 do_line_change (cpp_reader *pfile, const cpp_token *token, in do_line_change() 484 cb_line_change (cpp_reader *pfile, const cpp_token *token, in cb_line_change() 601 const cpp_token **comments) in cb_include()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | input.cc | 2149 const cpp_token *tok, in assert_token_loc_eq() 2203 const cpp_token *tok; in test_lexer() 2276 const cpp_token *get_token (); 2433 const cpp_token *tok; in ~lexer_test() 2445 const cpp_token * 2449 const cpp_token *tok; in get_token() 2601 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_simple() 2650 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_ebcdic() 2702 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_hex() 2748 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_oct() [all …]
|
H A D | genmatch.cc | 121 fatal_at (const cpp_token *tk, const char *msg, ...) in fatal_at() 147 warning_at (const cpp_token *tk, const char *msg, ...) in warning_at() 748 vec<cpp_token> code_, unsigned nr_stmts_, in c_expr() 754 vec<cpp_token> code; 2315 const cpp_token *t = &e->code[i]; in walk_c_expr() 2316 const cpp_token *n = i < e->code.length () - 1 ? &e->code[i+1] : NULL; in walk_c_expr() 2602 const cpp_token *token = &code[i]; in gen_transform() 2618 const cpp_token *n = &code[i+1]; in gen_transform() 4004 const cpp_token *next (); 4005 const cpp_token *peek (unsigned = 1); [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | input.c | 1989 const cpp_token *tok, in assert_token_loc_eq() 2043 const cpp_token *tok; in test_lexer() 2116 const cpp_token *get_token (); 2273 const cpp_token *tok; in ~lexer_test() 2285 const cpp_token * 2289 const cpp_token *tok; in get_token() 2441 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_simple() 2490 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_ebcdic() 2542 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_hex() 2588 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_oct() [all …]
|
H A D | genmatch.c | 121 fatal_at (const cpp_token *tk, const char *msg, ...) in fatal_at() 147 warning_at (const cpp_token *tk, const char *msg, ...) in warning_at() 744 vec<cpp_token> code_, unsigned nr_stmts_, in c_expr() 750 vec<cpp_token> code; 2310 const cpp_token *t = &e->code[i]; in walk_c_expr() 2311 const cpp_token *n = i < e->code.length () - 1 ? &e->code[i+1] : NULL; in walk_c_expr() 2589 const cpp_token *token = &code[i]; in gen_transform() 2605 const cpp_token *n = &code[i+1]; in gen_transform() 3947 const cpp_token *next (); 3948 const cpp_token *peek (unsigned = 1); [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | cpp.cc | 126 const cpp_token *prev; /* Previous token. */ 127 const cpp_token *source; /* Source token for spacing. */ 140 static void cb_line_change (cpp_reader *, const cpp_token *, int); 145 const char *, int, const cpp_token **); 768 const cpp_token *token = cpp_get_token (pfile); in scan_translation_unit() 939 cb_line_change (cpp_reader *pfile, const cpp_token *token, in cb_line_change() 1008 const cpp_token **comments) in cb_include()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | cpp.c | 122 const cpp_token *prev; /* Previous token. */ 123 const cpp_token *source; /* Source token for spacing. */ 136 static void cb_line_change (cpp_reader *, const cpp_token *, int); 141 const char *, int, const cpp_token **); 748 const cpp_token *token = cpp_get_token (pfile); in scan_translation_unit() 919 cb_line_change (cpp_reader *pfile, const cpp_token *token, in cb_line_change() 988 const cpp_token **comments) in cb_include()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/spu/ |
H A D | spu-c.c | 33 spu_categorize_keyword (const cpp_token *tok) in spu_categorize_keyword() 53 spu_macro_to_expand (cpp_reader *pfile, const cpp_token *tok) in spu_macro_to_expand()
|