Home
last modified time | relevance | path

Searched refs:cpp_token (Results 1 – 25 of 29) sorted by relevance

12

/dflybsd-src/contrib/gcc-4.7/libcpp/
H A Dmacro.c39 const cpp_token **first; /* First token in unexpanded argument. */
40 const cpp_token **expanded; /* Macro-expanded argument. */
41 const cpp_token *stringified; /* Stringified argument. */
73 const cpp_token **token_ptr;
88 const cpp_token *, source_location);
91 const cpp_token **, unsigned int);
94 const cpp_token **, unsigned int);
98 static const cpp_token *padding_token (cpp_reader *, const cpp_token *);
100 static const cpp_token *new_string_token (cpp_reader *, uchar *, unsigned int);
101 static const cpp_token *stringify_arg (cpp_reader *, macro_arg *);
[all …]
H A Dinternal.h124 const cpp_token *token;
125 const cpp_token **ptoken;
133 cpp_token *base, *limit;
410 cpp_token directive_result;
453 cpp_token *cur_token;
489 cpp_token avoid_paste;
490 cpp_token eof;
614 const cpp_token *, unsigned int);
650 extern cpp_token *_cpp_temp_token (cpp_reader *);
651 extern const cpp_token *_cpp_lex_token (cpp_reader *);
[all …]
H A Ddirectives.c102 static const char *parse_include (cpp_reader *, int *, const cpp_token ***,
122 static const cpp_token *get_token_no_padding (cpp_reader *);
123 static const cpp_token *get__Pragma_string (cpp_reader *);
229 static const cpp_token **
234 const cpp_token **buf; in check_eol_return_comments()
236 buf = XNEWVEC (const cpp_token *, capacity); in check_eol_return_comments()
242 const cpp_token *tok; in check_eol_return_comments()
256 buf = XRESIZEVEC (const cpp_token *, buf, capacity); in check_eol_return_comments()
395 const cpp_token *dname; in _cpp_handle_directive()
535 const cpp_token *token = _cpp_lex_token (pfile); in lex_macro_node()
[all …]
H A Dlex.c57 static void lex_string (cpp_reader *, cpp_token *, const uchar *);
58 static void save_comment (cpp_reader *, cpp_token *, const uchar *, cppchar_t);
59 static void store_comment (cpp_reader *, cpp_token *);
60 static void create_literal (cpp_reader *, cpp_token *, const uchar *,
74 cpp_ideq (const cpp_token *token, const char *string) in cpp_ideq()
1014 const cpp_token *token, in warn_about_normalization()
1231 create_literal (cpp_reader *pfile, cpp_token *token, const uchar *base, in create_literal()
1281 lex_raw_string (cpp_reader *pfile, cpp_token *token, const uchar *base, in lex_raw_string()
1538 lex_string (cpp_reader *pfile, cpp_token *token, const uchar *base) in lex_string()
1634 store_comment (cpp_reader *pfile, cpp_token *token) in store_comment()
[all …]
H A Dexpr.c32 const cpp_token *token; /* The token forming op (for diagnostics). */
62 static cpp_num eval_token (cpp_reader *, const cpp_token *);
341 cpp_get_userdef_suffix (const cpp_token *tok) in cpp_get_userdef_suffix()
364 cpp_classify_number (cpp_reader *pfile, const cpp_token *token, in cpp_classify_number()
635 cpp_interpret_integer (cpp_reader *pfile, const cpp_token *token, in cpp_interpret_integer()
812 const cpp_token *token; in parse_defined()
840 cpp_token op; in parse_defined()
899 eval_token (cpp_reader *pfile, const cpp_token *token) in eval_token()
H A Dinit.c614 const cpp_token *token, *token1; in read_original_filename()
645 const cpp_token *hash, *token; in read_original_directory()
/dflybsd-src/contrib/gcc-8.0/libcpp/
H A Dmacro.c37 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;
127 update_type update (const cpp_token *token) in update()
246 const cpp_token *, source_location);
250 const cpp_token **, unsigned int);
253 const cpp_token **, unsigned int);
257 static const cpp_token *padding_token (cpp_reader *, const cpp_token *);
259 static const cpp_token *new_string_token (cpp_reader *, uchar *, unsigned int);
[all …]
H A Dinternal.h125 const cpp_token *token;
126 const cpp_token **ptoken;
134 cpp_token *base, *limit;
419 cpp_token directive_result;
471 cpp_token *cur_token;
512 cpp_token avoid_paste;
513 cpp_token eof;
639 const cpp_token *, unsigned int);
679 extern cpp_token *_cpp_temp_token (cpp_reader *);
680 extern const cpp_token *_cpp_lex_token (cpp_reader *);
[all …]
H A Ddirectives.c100 static const char *parse_include (cpp_reader *, int *, const cpp_token ***,
123 static const cpp_token *get_token_no_padding (cpp_reader *);
124 static const cpp_token *get__Pragma_string (cpp_reader *);
258 static const cpp_token **
263 const cpp_token **buf; in check_eol_return_comments()
265 buf = XNEWVEC (const cpp_token *, capacity); in check_eol_return_comments()
271 const cpp_token *tok; in check_eol_return_comments()
285 buf = XRESIZEVEC (const cpp_token *, buf, capacity); in check_eol_return_comments()
424 const cpp_token *dname; in _cpp_handle_directive()
591 const cpp_token *token = _cpp_lex_token (pfile); in lex_macro_node()
[all …]
H A Dlex.c56 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()
1566 create_literal (cpp_reader *pfile, cpp_token *token, const uchar *base, in create_literal()
1658 lex_raw_string (cpp_reader *pfile, cpp_token *token, const uchar *base, in lex_raw_string()
1973 lex_string (cpp_reader *pfile, cpp_token *token, const uchar *base) in lex_string()
2089 store_comment (cpp_reader *pfile, cpp_token *token) in store_comment()
[all …]
H A Dexpr.c31 const cpp_token *token; /* The token forming op (for diagnostics). */
61 static cpp_num eval_token (cpp_reader *, const cpp_token *, source_location);
477 cpp_get_userdef_suffix (const cpp_token *tok) in cpp_get_userdef_suffix()
507 cpp_classify_number (cpp_reader *pfile, const cpp_token *token, in cpp_classify_number()
841 cpp_interpret_integer (cpp_reader *pfile, const cpp_token *token, in cpp_interpret_integer()
1020 const cpp_token *token; in parse_defined()
1048 cpp_token op; in parse_defined()
1109 eval_token (cpp_reader *pfile, const cpp_token *token, in eval_token()
2209 const cpp_token *token; in parse_has_include()
H A Dinit.c670 const cpp_token *token, *token1; in read_original_filename()
701 const cpp_token *hash, *token; in read_original_directory()
/dflybsd-src/contrib/gcc-4.7/libcpp/include/
H A Dcpplib.h34 typedef struct cpp_token cpp_token; typedef
223 struct GTY(()) cpp_token { struct
234 cpp_token * GTY ((tag ("CPP_TOKEN_FLD_SOURCE"))) source; argument
252 extern enum cpp_token_fld_kind cpp_token_val_index (cpp_token *tok);
502 void (*line_change) (cpp_reader *, const cpp_token *, int);
512 const char *, int, const cpp_token **);
523 cpp_hashnode * (*macro_to_expand) (cpp_reader *, const cpp_token *);
749 extern unsigned int cpp_token_len (const cpp_token *);
750 extern unsigned char *cpp_token_as_text (cpp_reader *, const cpp_token *);
751 extern unsigned char *cpp_spell_token (cpp_reader *, const cpp_token *,
[all …]
H A Dcpp-id-data.h31 cpp_token GTY ((length ("%h.count"))) first[1];
49 cpp_token * GTY ((tag ("0"), length ("%0.count"))) tokens;
/dflybsd-src/contrib/gcc-8.0/libcpp/include/
H A Dcpplib.h32 typedef struct cpp_token cpp_token; typedef
242 struct GTY(()) cpp_token { struct
254 cpp_token * GTY ((tag ("CPP_TOKEN_FLD_SOURCE"))) source; argument
272 extern enum cpp_token_fld_kind cpp_token_val_index (const cpp_token *tok);
565 void (*line_change) (cpp_reader *, const cpp_token *, int);
575 const char *, int, const cpp_token **);
586 cpp_hashnode * (*macro_to_expand) (cpp_reader *, const cpp_token *);
880 extern unsigned int cpp_token_len (const cpp_token *);
881 extern unsigned char *cpp_token_as_text (cpp_reader *, const cpp_token *);
882 extern unsigned char *cpp_spell_token (cpp_reader *, const cpp_token *,
[all …]
H A Dcpp-id-data.h30 cpp_token GTY ((length ("%h.count"))) first[1];
50 cpp_token * GTY ((tag ("0"), length ("%0.count"))) tokens;
/dflybsd-src/contrib/gcc-8.0/gcc/c-family/
H A Dc-lex.c41 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);
185 cb_line_change (cpp_reader * ARG_UNUSED (pfile), const cpp_token *token, in cb_line_change()
250 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 Dc-ppoutput.c32 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 **);
183 const cpp_token *token = cpp_get_token_with_location (pfile, &loc); in scan_translation_unit()
449 do_line_change (cpp_reader *pfile, const cpp_token *token, in do_line_change()
483 cb_line_change (cpp_reader *pfile, const cpp_token *token, in cb_line_change()
599 const cpp_token **comments) in cb_include()
H A Dc-ada-spec.c92 cpp_token *token = &macro->exp.tokens[j]; in macro_length()
281 cpp_token *token = &macro->exp.tokens[i]; in dump_ada_macros()
/dflybsd-src/contrib/gcc-4.7/gcc/c-family/
H A Dc-lex.c47 static tree interpret_integer (const cpp_token *, unsigned int);
48 static tree interpret_float (const cpp_token *, unsigned int, const char *);
49 static tree interpret_fixed (const cpp_token *, unsigned int);
54 static enum cpp_ttype lex_string (const cpp_token *, tree *, bool, bool);
55 static tree lex_charconst (const cpp_token *);
58 static void cb_line_change (cpp_reader *, const cpp_token *, int);
185 cb_line_change (cpp_reader * ARG_UNUSED (pfile), const cpp_token *token, in cb_line_change()
250 const cpp_token *s; in cb_def_pragma()
296 const cpp_token *tok; in c_lex_with_flags()
444 cpp_token temp_tok = *tok; in c_lex_with_flags()
[all …]
H A Dc-ppoutput.c34 const cpp_token *prev; /* Previous token. */
35 const cpp_token *source; /* Source token for spacing. */
66 static void 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 **);
177 const cpp_token *token = cpp_get_token_with_location (pfile, &loc); in scan_translation_unit()
408 do_line_change (cpp_reader *pfile, const cpp_token *token, in do_line_change()
439 cb_line_change (cpp_reader *pfile, const cpp_token *token, in cb_line_change()
553 const cpp_token **comments) in cb_include()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dinput.c1948 const cpp_token *tok, in assert_token_loc_eq()
2002 const cpp_token *tok; in test_lexer()
2074 const cpp_token *get_token ();
2231 const cpp_token *tok; in ~lexer_test()
2243 const cpp_token *
2247 const cpp_token *tok; in get_token()
2399 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_simple()
2448 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_ebcdic()
2500 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_hex()
2546 const cpp_token *tok = test.get_token (); in test_lexer_string_locations_oct()
[all …]
H A Dgenmatch.c120 fatal_at (const cpp_token *tk, const char *msg, ...) in fatal_at()
146 warning_at (const cpp_token *tk, const char *msg, ...) in warning_at()
681 vec<cpp_token> code_, unsigned nr_stmts_, in c_expr()
687 vec<cpp_token> code;
2241 const cpp_token *t = &e->code[i]; in walk_c_expr()
2242 const cpp_token *n = i < e->code.length () - 1 ? &e->code[i+1] : NULL; in walk_c_expr()
2505 const cpp_token *token = &code[i]; in gen_transform()
2510 const cpp_token *n = &code[i+1]; in gen_transform()
3837 const cpp_token *next ();
3838 const cpp_token *peek (unsigned = 1);
[all …]
H A Dcoretypes.h168 struct cpp_token;
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dcoretypes.h99 struct cpp_token;

12