Home
last modified time | relevance | path

Searched refs:cpp_reader (Results 1 – 25 of 200) sorted by relevance

12345678

/netbsd-src/external/gpl3/gcc/dist/libcpp/include/
H A Dcpplib.h29 typedef struct cpp_reader cpp_reader; typedef
669 typedef const char *(*missing_header_cb)(cpp_reader *, const char *header, cpp_dir **);
675 void (*line_change) (cpp_reader *, const cpp_token *, int);
681 void (*file_change) (cpp_reader *, const line_map_ordinary *);
683 void (*dir_change) (cpp_reader *, const char *);
684 void (*include) (cpp_reader *, location_t, const unsigned char *,
686 void (*define) (cpp_reader *, location_t, cpp_hashnode *);
687 void (*undef) (cpp_reader *, location_t, cpp_hashnode *);
688 void (*ident) (cpp_reader *, location_t, const cpp_string *);
689 void (*def_pragma) (cpp_reader *, location_t);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/include/
H A Dcpplib.h29 typedef struct cpp_reader cpp_reader; typedef
628 typedef const char *(*missing_header_cb)(cpp_reader *, const char *header, cpp_dir **);
634 void (*line_change) (cpp_reader *, const cpp_token *, int);
640 void (*file_change) (cpp_reader *, const line_map_ordinary *);
642 void (*dir_change) (cpp_reader *, const char *);
643 void (*include) (cpp_reader *, location_t, const unsigned char *,
645 void (*define) (cpp_reader *, location_t, cpp_hashnode *);
646 void (*undef) (cpp_reader *, location_t, cpp_hashnode *);
647 void (*ident) (cpp_reader *, location_t, const cpp_string *);
648 void (*def_pragma) (cpp_reader *, location_t);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Dinternal.h103 extern _cpp_buff *_cpp_get_buff (cpp_reader *, size_t);
104 extern void _cpp_release_buff (cpp_reader *, _cpp_buff *);
105 extern void _cpp_extend_buff (cpp_reader *, _cpp_buff **, size_t);
106 extern _cpp_buff *_cpp_append_extend_buff (cpp_reader *, _cpp_buff *, size_t);
108 extern unsigned char *_cpp_aligned_alloc (cpp_reader *, size_t);
109 extern unsigned char *_cpp_unaligned_alloc (cpp_reader *, size_t);
396 struct cpp_reader struct
623 static inline int cpp_in_system_header (cpp_reader *);
625 cpp_in_system_header (cpp_reader *pfile) in cpp_in_system_header()
632 static inline int cpp_in_primary_file (cpp_reader *);
[all …]
H A Ddirectives.c41 typedef void (*pragma_cb) (cpp_reader *);
79 typedef void (*directive_handler) (cpp_reader *);
92 static void skip_rest_of_line (cpp_reader *);
93 static void check_eol (cpp_reader *, bool);
94 static void start_directive (cpp_reader *);
95 static void prepare_directive_trad (cpp_reader *);
96 static void end_directive (cpp_reader *, int);
97 static void directive_diagnostics (cpp_reader *, const directive *, int);
98 static void run_directive (cpp_reader *, int, const char *, size_t);
99 static char *glue_header_name (cpp_reader *);
[all …]
H A Derrors.c34 cpp_diagnostic_at (cpp_reader * pfile, enum cpp_diagnostic_level level, in cpp_diagnostic_at()
51 cpp_diagnostic (cpp_reader * pfile, enum cpp_diagnostic_level level, in cpp_diagnostic()
81 cpp_error (cpp_reader * pfile, enum cpp_diagnostic_level level, in cpp_error()
98 cpp_warning (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_warning()
115 cpp_pedwarning (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_pedwarning()
133 cpp_warning_syshdr (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_warning_syshdr()
151 cpp_diagnostic_with_line (cpp_reader * pfile, enum cpp_diagnostic_level level, in cpp_diagnostic_with_line()
171 cpp_error_with_line (cpp_reader *pfile, enum cpp_diagnostic_level level, in cpp_error_with_line()
190 cpp_warning_with_line (cpp_reader *pfile, enum cpp_warning_reason reason, in cpp_warning_with_line()
209 cpp_pedwarning_with_line (cpp_reader *pfile, enum cpp_warning_reason reason, in cpp_pedwarning_with_line()
[all …]
H A Dfiles.c171 static bool pch_open_file (cpp_reader *pfile, _cpp_file *file,
173 static bool find_file_in_dir (cpp_reader *pfile, _cpp_file *file,
175 static bool read_file_guts (cpp_reader *pfile, _cpp_file *file,
177 static bool read_file (cpp_reader *pfile, _cpp_file *file,
179 static struct cpp_dir *search_path_head (cpp_reader *, const char *fname,
182 static void open_file_failed (cpp_reader *pfile, _cpp_file *file, int,
186 static _cpp_file *make_cpp_file (cpp_reader *, cpp_dir *, const char *fname);
188 static cpp_dir *make_cpp_dir (cpp_reader *, const char *dir_name, int sysp);
189 static void allocate_file_hash_entries (cpp_reader *pfile);
190 static struct cpp_file_hash_entry *new_file_hash_entry (cpp_reader *pfile);
[all …]
H A Dinit.c38 static void mark_named_operators (cpp_reader *, int);
39 static void read_original_filename (cpp_reader *);
40 static void read_original_directory (cpp_reader *);
41 static void post_options (cpp_reader *);
127 cpp_set_lang (cpp_reader *pfile, enum c_lang lang) in cpp_set_lang()
176 cpp_reader *
180 cpp_reader *pfile; in cpp_create_reader()
185 pfile = XCNEW (cpp_reader); in cpp_create_reader()
294 cpp_set_line_map (cpp_reader *pfile, class line_maps *line_table) in cpp_set_line_map()
302 cpp_destroy (cpp_reader *pfile) in cpp_destroy()
[all …]
H A Dpch.c25 static int write_macdef (cpp_reader *, cpp_hashnode *, void *);
26 static int save_idents (cpp_reader *, cpp_hashnode *, void *);
30 static int count_defs (cpp_reader *, cpp_hashnode *, void *);
32 static int collect_ht_nodes (cpp_reader *, cpp_hashnode *, void *);
33 static int write_defs (cpp_reader *, cpp_hashnode *, void *);
34 static int save_macros (cpp_reader *, cpp_hashnode *, void *);
35 static int _cpp_save_pushed_macros (cpp_reader *, FILE *);
36 static int _cpp_restore_pushed_macros (cpp_reader *, FILE *);
50 write_macdef (cpp_reader *pfile, cpp_hashnode *hn, void *file_p) in write_macdef()
125 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in save_idents()
[all …]
H A Dmacro.c96 static void expand_arg (cpp_reader *, macro_arg *);
116 vaopt_state (cpp_reader *pfile, bool is_variadic, macro_arg *arg) in vaopt_state()
240 cpp_reader *m_pfile;
271 static int enter_macro_context (cpp_reader *, cpp_hashnode *,
273 static int builtin_macro (cpp_reader *, cpp_hashnode *,
275 static void push_ptoken_context (cpp_reader *, cpp_hashnode *, _cpp_buff *,
277 static void push_extended_tokens_context (cpp_reader *, cpp_hashnode *,
280 static _cpp_buff *collect_args (cpp_reader *, const cpp_hashnode *,
282 static cpp_context *next_context (cpp_reader *);
283 static const cpp_token *padding_token (cpp_reader *, const cpp_token *);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dinternal.h105 extern _cpp_buff *_cpp_get_buff (cpp_reader *, size_t);
106 extern void _cpp_release_buff (cpp_reader *, _cpp_buff *);
107 extern void _cpp_extend_buff (cpp_reader *, _cpp_buff **, size_t);
108 extern _cpp_buff *_cpp_append_extend_buff (cpp_reader *, _cpp_buff *, size_t);
110 extern unsigned char *_cpp_aligned_alloc (cpp_reader *, size_t);
111 extern unsigned char *_cpp_unaligned_alloc (cpp_reader *, size_t);
412 struct cpp_reader struct
651 _cpp_in_system_header (cpp_reader *pfile) in _cpp_in_system_header()
661 _cpp_in_main_source_file (cpp_reader *pfile) in _cpp_in_main_source_file()
678 extern bool _cpp_notify_macro_use (cpp_reader *pfile, cpp_hashnode *node,
[all …]
H A Ddirectives.cc41 typedef void (*pragma_cb) (cpp_reader *);
85 typedef void (*directive_handler) (cpp_reader *);
98 static void skip_rest_of_line (cpp_reader *);
99 static void check_eol (cpp_reader *, bool);
100 static void start_directive (cpp_reader *);
101 static void prepare_directive_trad (cpp_reader *);
102 static void end_directive (cpp_reader *, int);
103 static void directive_diagnostics (cpp_reader *, const directive *, int);
104 static void run_directive (cpp_reader *, int, const char *, size_t);
105 static char *glue_header_name (cpp_reader *);
[all …]
H A Derrors.cc34 cpp_diagnostic_get_current_location (cpp_reader *pfile) in cpp_diagnostic_get_current_location()
59 cpp_diagnostic_at (cpp_reader * pfile, enum cpp_diagnostic_level level, in cpp_diagnostic_at()
76 cpp_diagnostic (cpp_reader * pfile, enum cpp_diagnostic_level level, in cpp_diagnostic()
88 cpp_error (cpp_reader * pfile, enum cpp_diagnostic_level level, in cpp_error()
105 cpp_warning (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_warning()
122 cpp_pedwarning (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_pedwarning()
140 cpp_warning_syshdr (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_warning_syshdr()
156 bool cpp_warning_at (cpp_reader *pfile, enum cpp_warning_reason reason, in cpp_warning_at()
176 cpp_pedwarning_at (cpp_reader * pfile, enum cpp_warning_reason reason, in cpp_pedwarning_at()
195 cpp_diagnostic_with_line (cpp_reader * pfile, enum cpp_diagnostic_level level, in cpp_diagnostic_with_line()
[all …]
H A Dfiles.cc171 static bool pch_open_file (cpp_reader *pfile, _cpp_file *file,
173 static bool find_file_in_dir (cpp_reader *pfile, _cpp_file *file,
175 static bool read_file_guts (cpp_reader *pfile, _cpp_file *file,
177 static bool read_file (cpp_reader *pfile, _cpp_file *file,
179 static struct cpp_dir *search_path_head (cpp_reader *, const char *fname,
182 static void open_file_failed (cpp_reader *pfile, _cpp_file *file, int,
188 static cpp_dir *make_cpp_dir (cpp_reader *, const char *dir_name, int sysp);
189 static void allocate_file_hash_entries (cpp_reader *pfile);
190 static struct cpp_file_hash_entry *new_file_hash_entry (cpp_reader *pfile);
196 static char *remap_filename (cpp_reader *pfile, _cpp_file *file);
[all …]
H A Dpch.cc25 static int write_macdef (cpp_reader *, cpp_hashnode *, void *);
26 static int save_idents (cpp_reader *, cpp_hashnode *, void *);
30 static int count_defs (cpp_reader *, cpp_hashnode *, void *);
32 static int collect_ht_nodes (cpp_reader *, cpp_hashnode *, void *);
33 static int write_defs (cpp_reader *, cpp_hashnode *, void *);
34 static int save_macros (cpp_reader *, cpp_hashnode *, void *);
35 static int _cpp_save_pushed_macros (cpp_reader *, FILE *);
36 static int _cpp_restore_pushed_macros (cpp_reader *, FILE *);
50 write_macdef (cpp_reader *pfile, cpp_hashnode *hn, void *file_p) in write_macdef()
125 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in save_idents()
[all …]
H A Dinit.cc38 static void mark_named_operators (cpp_reader *, int);
39 static bool read_original_filename (cpp_reader *);
40 static void read_original_directory (cpp_reader *);
41 static void post_options (cpp_reader *);
131 cpp_set_lang (cpp_reader *pfile, enum c_lang lang) in cpp_set_lang()
182 cpp_reader *
186 cpp_reader *pfile; in cpp_create_reader()
191 pfile = XCNEW (cpp_reader); in cpp_create_reader()
303 cpp_set_line_map (cpp_reader *pfile, class line_maps *line_table) in cpp_set_line_map()
311 cpp_destroy (cpp_reader *pfile) in cpp_destroy()
[all …]
H A Dmacro.cc96 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 *);
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-ppoutput.cc55 static void scan_translation_unit (cpp_reader *);
56 static void scan_translation_unit_directives_only (cpp_reader *);
57 static void scan_translation_unit_trad (cpp_reader *);
59 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
60 static void dump_queued_macros (cpp_reader *);
66 static bool do_line_change (cpp_reader *, const cpp_token *,
71 static void cb_line_change (cpp_reader *, const cpp_token *, int);
72 static void cb_define (cpp_reader *, location_t, cpp_hashnode *);
73 static void cb_undef (cpp_reader *, location_t, cpp_hashnode *);
74 static void cb_used_define (cpp_reader *, location_t, cpp_hashnode *);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-ppoutput.c54 static void scan_translation_unit (cpp_reader *);
56 static void scan_translation_unit_directives_only (cpp_reader *);
57 static void scan_translation_unit_trad (cpp_reader *);
59 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
60 static void dump_queued_macros (cpp_reader *);
66 static bool do_line_change (cpp_reader *, const cpp_token *,
71 static void cb_line_change (cpp_reader *, const cpp_token *, int);
72 static void cb_define (cpp_reader *, location_t, cpp_hashnode *);
73 static void cb_undef (cpp_reader *, location_t, cpp_hashnode *);
74 static void cb_used_define (cpp_reader *, location_t, cpp_hashnode *);
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/v850/
H A Dv850-protos.h59 extern void ghs_pragma_section (struct cpp_reader *);
60 extern void ghs_pragma_interrupt (struct cpp_reader *);
61 extern void ghs_pragma_starttda (struct cpp_reader *);
62 extern void ghs_pragma_startsda (struct cpp_reader *);
63 extern void ghs_pragma_startzda (struct cpp_reader *);
64 extern void ghs_pragma_endtda (struct cpp_reader *);
65 extern void ghs_pragma_endsda (struct cpp_reader *);
66 extern void ghs_pragma_endzda (struct cpp_reader *);
H A Dv850-c.cc116 ghs_pragma_section (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_section()
198 ghs_pragma_interrupt (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_interrupt()
209 ghs_pragma_starttda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_starttda()
220 ghs_pragma_startsda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_startsda()
231 ghs_pragma_startzda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_startzda()
242 ghs_pragma_endtda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_endtda()
253 ghs_pragma_endsda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_endsda()
264 ghs_pragma_endzda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_endzda()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/v850/
H A Dv850-protos.h59 extern void ghs_pragma_section (struct cpp_reader *);
60 extern void ghs_pragma_interrupt (struct cpp_reader *);
61 extern void ghs_pragma_starttda (struct cpp_reader *);
62 extern void ghs_pragma_startsda (struct cpp_reader *);
63 extern void ghs_pragma_startzda (struct cpp_reader *);
64 extern void ghs_pragma_endtda (struct cpp_reader *);
65 extern void ghs_pragma_endsda (struct cpp_reader *);
66 extern void ghs_pragma_endzda (struct cpp_reader *);
H A Dv850-c.c116 ghs_pragma_section (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_section()
198 ghs_pragma_interrupt (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_interrupt()
209 ghs_pragma_starttda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_starttda()
220 ghs_pragma_startsda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_startsda()
231 ghs_pragma_startzda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_startzda()
242 ghs_pragma_endtda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_endtda()
253 ghs_pragma_endsda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_endsda()
264 ghs_pragma_endzda (cpp_reader * pfile ATTRIBUTE_UNUSED) in ghs_pragma_endzda()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dcpp.cc119 static cpp_reader *cpp_in = NULL;
134 static void scan_translation_unit (cpp_reader *);
135 static void scan_translation_unit_trad (cpp_reader *);
139 static void cb_file_change (cpp_reader *, const line_map_ordinary *);
140 static void cb_line_change (cpp_reader *, const cpp_token *, int);
141 static void cb_define (cpp_reader *, location_t, cpp_hashnode *);
142 static void cb_undef (cpp_reader *, location_t, cpp_hashnode *);
143 static void cb_def_pragma (cpp_reader *, location_t);
144 static void cb_include (cpp_reader *, location_t, const unsigned char *,
146 static void cb_ident (cpp_reader *, location_t, const cpp_string *);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dcpp.c115 static cpp_reader *cpp_in = NULL;
130 static void scan_translation_unit (cpp_reader *);
131 static void scan_translation_unit_trad (cpp_reader *);
135 static void cb_file_change (cpp_reader *, const line_map_ordinary *);
136 static void cb_line_change (cpp_reader *, const cpp_token *, int);
137 static void cb_define (cpp_reader *, location_t, cpp_hashnode *);
138 static void cb_undef (cpp_reader *, location_t, cpp_hashnode *);
139 static void cb_def_pragma (cpp_reader *, location_t);
140 static void cb_include (cpp_reader *, location_t, const unsigned char *,
142 static void cb_ident (cpp_reader *, location_t, const cpp_string *);
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/vms/
H A Dvms-c.cc39 vms_pragma_nostandard (cpp_reader *pfile ATTRIBUTE_UNUSED) in vms_pragma_nostandard()
50 vms_pragma_standard (cpp_reader *pfile ATTRIBUTE_UNUSED) in vms_pragma_standard()
64 vms_pragma_member_alignment (cpp_reader *pfile ATTRIBUTE_UNUSED) in vms_pragma_member_alignment()
109 vms_pragma_nomember_alignment (cpp_reader *pfile ATTRIBUTE_UNUSED) in vms_pragma_nomember_alignment()
193 vms_pragma_extern_model (cpp_reader *pfile ATTRIBUTE_UNUSED) in vms_pragma_extern_model()
244 vms_pragma_message (cpp_reader *pfile ATTRIBUTE_UNUSED) in vms_pragma_message()
258 vms_pragma_extern_prefix (cpp_reader * ARG_UNUSED (dummy)) in vms_pragma_extern_prefix()
338 vms_pragma_pointer_size (cpp_reader * ARG_UNUSED (dummy)) in vms_pragma_pointer_size()
348 vms_pragma_required_pointer_size (cpp_reader * ARG_UNUSED (dummy)) in vms_pragma_required_pointer_size()

12345678