Lines Matching refs:cpp_reader
96 static void expand_arg (cpp_reader *, macro_arg *);
116 vaopt_state (cpp_reader *pfile, bool is_variadic, macro_arg *arg) in vaopt_state()
248 cpp_reader *m_pfile;
281 static cpp_macro *get_deferred_or_lazy_macro (cpp_reader *, cpp_hashnode *,
283 static int enter_macro_context (cpp_reader *, cpp_hashnode *,
285 static int builtin_macro (cpp_reader *, cpp_hashnode *,
287 static void push_ptoken_context (cpp_reader *, cpp_hashnode *, _cpp_buff *,
289 static void push_extended_tokens_context (cpp_reader *, cpp_hashnode *,
292 static _cpp_buff *collect_args (cpp_reader *, const cpp_hashnode *,
294 static cpp_context *next_context (cpp_reader *);
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);
297 static const cpp_token *stringify_arg (cpp_reader *, const cpp_token **,
299 static void paste_all_tokens (cpp_reader *, const cpp_token *);
300 static bool paste_tokens (cpp_reader *, location_t,
302 static void alloc_expanded_arg_mem (cpp_reader *, macro_arg *, size_t);
303 static void ensure_expanded_arg_room (cpp_reader *, macro_arg *, size_t, size_t *);
325 static _cpp_buff *tokens_buff_new (cpp_reader *, size_t,
345 static void replace_args (cpp_reader *, cpp_hashnode *, cpp_macro *,
347 static _cpp_buff *funlike_invocation_p (cpp_reader *, cpp_hashnode *,
349 static cpp_macro *create_iso_definition (cpp_reader *);
353 static cpp_macro *lex_expansion_token (cpp_reader *, cpp_macro *);
354 static bool parse_params (cpp_reader *, unsigned *, bool *);
355 static void check_trad_stringification (cpp_reader *, const cpp_macro *,
358 static void consume_next_token_from_context (cpp_reader *pfile,
361 static const cpp_token* cpp_get_token_1 (cpp_reader *, location_t *);
375 cpp_get_token_no_padding (cpp_reader *pfile) in cpp_get_token_no_padding()
391 builtin_has_include (cpp_reader *pfile, cpp_hashnode *op, bool has_next) in builtin_has_include()
447 _cpp_warn_if_unused_macro (cpp_reader *pfile, cpp_hashnode *node, in _cpp_warn_if_unused_macro()
468 new_string_token (cpp_reader *pfile, unsigned char *text, unsigned int len) in new_string_token()
544 _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node, in _cpp_builtin_macro_text()
755 cpp_get_date (cpp_reader *pfile, time_t *result) in cpp_get_date()
802 builtin_macro (cpp_reader *pfile, cpp_hashnode *node, in builtin_macro()
896 stringify_arg (cpp_reader *pfile, const cpp_token **first, unsigned int count) in stringify_arg()
991 paste_tokens (cpp_reader *pfile, location_t location, in paste_tokens()
1060 paste_all_tokens (cpp_reader *pfile, const cpp_token *lhs) in paste_all_tokens()
1148 _cpp_arguments_ok (cpp_reader *pfile, cpp_macro *macro, const cpp_hashnode *node, unsigned int argc) in _cpp_arguments_ok()
1211 collect_args (cpp_reader *pfile, const cpp_hashnode *node, in collect_args()
1425 funlike_invocation_p (cpp_reader *pfile, cpp_hashnode *node, in funlike_invocation_p()
1489 enter_macro_context (cpp_reader *pfile, cpp_hashnode *node, in enter_macro_context()
1909 expanded_token_index (cpp_reader *pfile, cpp_macro *macro, in expanded_token_index()
1921 copy_paste_flag (cpp_reader *pfile, const cpp_token **paste_flag, in copy_paste_flag()
1949 replace_args (cpp_reader *pfile, cpp_hashnode *node, cpp_macro *macro, in replace_args()
2416 padding_token (cpp_reader *pfile, const cpp_token *source) in padding_token()
2432 next_context (cpp_reader *pfile) in next_context()
2451 push_ptoken_context (cpp_reader *pfile, cpp_hashnode *macro, _cpp_buff *buff, in push_ptoken_context()
2470 _cpp_push_token_context (cpp_reader *pfile, cpp_hashnode *macro, in _cpp_push_token_context()
2498 push_extended_tokens_context (cpp_reader *pfile, in push_extended_tokens_context()
2526 _cpp_push_text_context (cpp_reader *pfile, cpp_hashnode *macro, in _cpp_push_text_context()
2546 tokens_buff_new (cpp_reader *pfile, size_t len, in tokens_buff_new()
2688 alloc_expanded_arg_mem (cpp_reader *pfile, macro_arg *arg, size_t capacity) in alloc_expanded_arg_mem()
2702 ensure_expanded_arg_room (cpp_reader *pfile, macro_arg *arg, in ensure_expanded_arg_room()
2732 expand_arg (cpp_reader *pfile, macro_arg *arg) in expand_arg()
2806 in_macro_expansion_p (cpp_reader *pfile) in in_macro_expansion_p()
2820 _cpp_pop_context (cpp_reader *pfile) in _cpp_pop_context()
2903 consume_next_token_from_context (cpp_reader *pfile, in consume_next_token_from_context()
2945 maybe_adjust_loc_for_trad_cpp (cpp_reader *pfile, location_t location) in maybe_adjust_loc_for_trad_cpp()
2970 cpp_get_token_1 (cpp_reader *pfile, location_t *location) in cpp_get_token_1()
3212 cpp_get_token (cpp_reader *pfile) in cpp_get_token()
3256 cpp_get_token_with_location (cpp_reader *pfile, location_t *loc) in cpp_get_token_with_location()
3266 cpp_sys_macro_p (cpp_reader *pfile) in cpp_sys_macro_p()
3285 cpp_scan_nooutput (cpp_reader *pfile) in cpp_scan_nooutput()
3307 _cpp_backup_tokens_direct (cpp_reader *pfile, unsigned int count) in _cpp_backup_tokens_direct()
3326 _cpp_backup_tokens (cpp_reader *pfile, unsigned int count) in _cpp_backup_tokens()
3359 warn_of_redefinition (cpp_reader *pfile, cpp_hashnode *node, in warn_of_redefinition()
3428 _cpp_save_parameter (cpp_reader *pfile, unsigned n, cpp_hashnode *node, in _cpp_save_parameter()
3466 _cpp_unsave_parameters (cpp_reader *pfile, unsigned n) in _cpp_unsave_parameters()
3493 parse_params (cpp_reader *pfile, unsigned *n_ptr, bool *varadic_ptr) in parse_params()
3603 lex_expansion_token (cpp_reader *pfile, cpp_macro *macro) in lex_expansion_token()
3631 create_iso_definition (cpp_reader *pfile) in create_iso_definition()
3853 _cpp_new_macro (cpp_reader *pfile, cpp_macro_kind kind, void *placement) in _cpp_new_macro()
3881 _cpp_create_definition (cpp_reader *pfile, cpp_hashnode *node) in _cpp_create_definition()
3938 cpp_define_lazily (cpp_reader *pfile, cpp_hashnode *node, unsigned num) in cpp_define_lazily()
3950 cpp_get_deferred_macro (cpp_reader *pfile, cpp_hashnode *node, in cpp_get_deferred_macro()
3964 get_deferred_or_lazy_macro (cpp_reader *pfile, cpp_hashnode *node, in get_deferred_or_lazy_macro()
3987 _cpp_notify_macro_use (cpp_reader *pfile, cpp_hashnode *node, in _cpp_notify_macro_use()
4018 check_trad_stringification (cpp_reader *pfile, const cpp_macro *macro, in check_trad_stringification()
4063 cpp_macro_definition (cpp_reader *pfile, cpp_hashnode *node) in cpp_macro_definition()
4073 cpp_macro_definition (cpp_reader *pfile, cpp_hashnode *node, in cpp_macro_definition()