Searched refs:pfile (Results 1 - 25 of 77) sorted by relevance

1234

/haiku-buildtools/gcc/gcc/
H A Dcppbuiltin.c68 define__GNUC__ (cpp_reader *pfile) argument
73 cpp_define_formatted (pfile, "__GNUC__=%d", major);
74 cpp_define_formatted (pfile, "__GNUC_MINOR__=%d", minor);
75 cpp_define_formatted (pfile, "__GNUC_PATCHLEVEL__=%d", patchlevel);
76 cpp_define_formatted (pfile, "__VERSION__=\"%s\"", version_string);
77 cpp_define_formatted (pfile, "__ATOMIC_RELAXED=%d", MEMMODEL_RELAXED);
78 cpp_define_formatted (pfile, "__ATOMIC_SEQ_CST=%d", MEMMODEL_SEQ_CST);
79 cpp_define_formatted (pfile, "__ATOMIC_ACQUIRE=%d", MEMMODEL_ACQUIRE);
80 cpp_define_formatted (pfile, "__ATOMIC_RELEASE=%d", MEMMODEL_RELEASE);
81 cpp_define_formatted (pfile, "__ATOMIC_ACQ_RE
89 define_builtin_macros_for_compilation_flags(cpp_reader *pfile) argument
129 define_builtin_macros_for_lp64(cpp_reader *pfile) argument
143 define_builtin_macros_for_type_sizes(cpp_reader *pfile) argument
199 define_language_independent_builtin_macros(cpp_reader *pfile) argument
[all...]
/haiku-buildtools/gcc/libcpp/
H A Dinit.c117 cpp_set_lang (cpp_reader *pfile, enum c_lang lang) argument
121 CPP_OPTION (pfile, lang) = lang;
123 CPP_OPTION (pfile, c99) = l->c99;
124 CPP_OPTION (pfile, cplusplus) = l->cplusplus;
125 CPP_OPTION (pfile, extended_numbers) = l->extended_numbers;
126 CPP_OPTION (pfile, extended_identifiers) = l->extended_identifiers;
127 CPP_OPTION (pfile, c11_identifiers) = l->c11_identifiers;
128 CPP_OPTION (pfile, std) = l->std;
129 CPP_OPTION (pfile, digraphs) = l->digraphs;
130 CPP_OPTION (pfile, uliteral
166 cpp_reader *pfile; local
273 cpp_set_line_map(cpp_reader *pfile, struct line_maps *line_table) argument
281 cpp_destroy(cpp_reader *pfile) argument
418 mark_named_operators(cpp_reader *pfile, int flags) argument
452 cpp_init_special_builtins(cpp_reader *pfile) argument
482 cpp_init_builtins(cpp_reader *pfile, int hosted) argument
537 sanity_checks(cpp_reader *pfile) argument
589 cpp_post_options(cpp_reader *pfile) argument
611 cpp_read_main_file(cpp_reader *pfile, const char *fname) argument
646 read_original_filename(cpp_reader *pfile) argument
677 read_original_directory(cpp_reader *pfile) argument
727 cpp_finish(cpp_reader *pfile, FILE *deps_stream) argument
756 post_options(cpp_reader *pfile) argument
[all...]
H A Didentifiers.c39 node = XOBNEW (&table->pfile->hash_ob, cpp_hashnode);
47 _cpp_init_hashtable (cpp_reader *pfile, cpp_hash_table *table) argument
53 pfile->our_hashtable = 1;
57 obstack_specify_allocation (&pfile->hash_ob, 0, 0, xmalloc, free);
60 table->pfile = pfile;
61 pfile->hash_table = table;
64 _cpp_init_directives (pfile);
65 _cpp_init_internal_pragmas (pfile);
67 s = &pfile
79 _cpp_destroy_hashtable(cpp_reader *pfile) argument
91 cpp_lookup(cpp_reader *pfile, const unsigned char *str, unsigned int len) argument
99 cpp_defined(cpp_reader *pfile, const unsigned char *str, int len) argument
117 cpp_forall_identifiers(cpp_reader *pfile, cpp_cb cb, void *v) argument
[all...]
H A Ddirectives.c200 #define SEEN_EOL() (pfile->cur_token[-1].type == CPP_EOF)
204 skip_rest_of_line (cpp_reader *pfile) argument
207 while (pfile->context->prev)
208 _cpp_pop_context (pfile);
212 while (_cpp_lex_token (pfile)->type != CPP_EOF)
219 check_eol_1 (cpp_reader *pfile, bool expand, int reason) argument
222 ? cpp_get_token (pfile)
223 : _cpp_lex_token (pfile))->type != CPP_EOF)
224 cpp_pedwarning (pfile, reason, "extra tokens at end of #%s directive",
225 pfile
231 check_eol_endif_labels(cpp_reader *pfile) argument
240 check_eol(cpp_reader *pfile, bool expand) argument
248 check_eol_return_comments(cpp_reader *pfile) argument
287 start_directive(cpp_reader *pfile) argument
300 end_directive(cpp_reader *pfile, int skip_line) argument
334 prepare_directive_trad(cpp_reader *pfile) argument
365 directive_diagnostics(cpp_reader *pfile, const directive *dir, int indented) argument
410 _cpp_handle_directive(cpp_reader *pfile, int indented) argument
528 run_directive(cpp_reader *pfile, int dir_no, const char *buf, size_t count) argument
551 lex_macro_node(cpp_reader *pfile, bool is_def_or_undef) argument
592 do_define(cpp_reader *pfile) argument
616 do_undef(cpp_reader *pfile) argument
667 cpp_undef_all(cpp_reader *pfile) argument
677 glue_header_name(cpp_reader *pfile) argument
723 parse_include(cpp_reader *pfile, int *pangle_brackets, const cpp_token ***buf, source_location *location) argument
777 do_include_common(cpp_reader *pfile, enum include_type type) argument
829 do_include(cpp_reader *pfile) argument
835 do_import(cpp_reader *pfile) argument
841 do_include_next(cpp_reader *pfile) argument
861 read_flag(cpp_reader *pfile, unsigned int last) argument
912 do_line(cpp_reader *pfile) argument
974 do_linemarker(cpp_reader *pfile) argument
1062 _cpp_do_file_change(cpp_reader *pfile, enum lc_reason reason, const char *to_file, linenum_type file_line, unsigned int sysp) argument
1080 do_diagnostic(cpp_reader *pfile, int code, int reason, int print_dir) argument
1104 do_error(cpp_reader *pfile) argument
1110 do_warning(cpp_reader *pfile) argument
1118 do_ident(cpp_reader *pfile) argument
1146 new_pragma_entry(cpp_reader *pfile, struct pragma_entry **chain) argument
1163 register_pragma_1(cpp_reader *pfile, const char *space, const char *name, bool allow_name_expansion) argument
1226 register_pragma_internal(cpp_reader *pfile, const char *space, const char *name, pragma_cb handler) argument
1242 cpp_register_pragma(cpp_reader *pfile, const char *space, const char *name, pragma_cb handler, bool allow_expansion) argument
1265 cpp_register_deferred_pragma(cpp_reader *pfile, const char *space, const char *name, unsigned int ident, bool allow_expansion, bool allow_name_expansion) argument
1282 _cpp_init_internal_pragmas(cpp_reader *pfile) argument
1334 _cpp_save_pragma_names(cpp_reader *pfile) argument
1346 restore_registered_pragmas(cpp_reader *pfile, struct pragma_entry *pe, char **sd) argument
1363 _cpp_restore_pragma_names(cpp_reader *pfile, char **saved) argument
1377 do_pragma(cpp_reader *pfile) argument
1463 do_pragma_once(cpp_reader *pfile) argument
1474 do_pragma_push_macro(cpp_reader *pfile) argument
1533 do_pragma_pop_macro(cpp_reader *pfile) argument
1585 do_pragma_poison(cpp_reader *pfile) argument
1623 do_pragma_system_header(cpp_reader *pfile) argument
1640 do_pragma_dependency(cpp_reader *pfile) argument
1671 do_pragma_warning_or_error(cpp_reader *pfile, bool error) argument
1691 do_pragma_warning(cpp_reader *pfile) argument
1698 do_pragma_error(cpp_reader *pfile) argument
1705 get_token_no_padding(cpp_reader *pfile) argument
1718 get__Pragma_string(cpp_reader *pfile) argument
1749 destringize_and_run(cpp_reader *pfile, const cpp_string *in) argument
1863 _cpp_do__Pragma(cpp_reader *pfile) argument
1880 do_ifdef(cpp_reader *pfile) argument
1925 do_ifndef(cpp_reader *pfile) argument
1975 do_if(cpp_reader *pfile) argument
1989 do_else(cpp_reader *pfile) argument
2022 do_elif(cpp_reader *pfile) argument
2058 do_endif(cpp_reader *pfile) argument
2089 push_conditional(cpp_reader *pfile, int skip, int type, const cpp_hashnode *cmacro) argument
2117 parse_answer(cpp_reader *pfile, struct answer **answerp, int type, source_location pred_loc) argument
2195 parse_assertion(cpp_reader *pfile, struct answer **answerp, int type) argument
2255 _cpp_test_assertion(cpp_reader *pfile, unsigned int *value) argument
2278 do_assert(cpp_reader *pfile) argument
2323 do_unassert(cpp_reader *pfile) argument
2361 cpp_define(cpp_reader *pfile, const char *str) argument
2394 cpp_define_formatted(cpp_reader *pfile, const char *fmt, ...) argument
2410 _cpp_define_builtin(cpp_reader *pfile, const char *str) argument
2421 cpp_undef(cpp_reader *pfile, const char *macro) argument
2433 cpp_pop_definition(cpp_reader *pfile, struct def_pragma_macro *c) argument
2485 cpp_assert(cpp_reader *pfile, const char *str) argument
2492 cpp_unassert(cpp_reader *pfile, const char *str) argument
2499 handle_assertion(cpp_reader *pfile, const char *str, int type) argument
2522 cpp_get_options(cpp_reader *pfile) argument
2529 cpp_get_callbacks(cpp_reader *pfile) argument
2536 cpp_set_callbacks(cpp_reader *pfile, cpp_callbacks *cb) argument
2543 cpp_get_deps(cpp_reader *pfile) argument
2554 cpp_push_buffer(cpp_reader *pfile, const uchar *buffer, size_t len, int from_stage3) argument
2576 _cpp_pop_buffer(cpp_reader *pfile) argument
2612 _cpp_init_directives(cpp_reader *pfile) argument
2628 _cpp_bracket_include(cpp_reader *pfile) argument
[all...]
H A Dtraditional.c104 check_output_buffer (cpp_reader *pfile, size_t n) argument
110 if (n > (size_t) (pfile->out.limit - pfile->out.cur))
112 size_t size = pfile->out.cur - pfile->out.base;
115 pfile->out.base = XRESIZEVEC (unsigned char, pfile->out.base, new_size);
116 pfile->out.limit = pfile->out.base + new_size;
117 pfile
124 skip_macro_block_comment(cpp_reader *pfile) argument
153 copy_comment(cpp_reader *pfile, const uchar *cur, int in_define) argument
217 skip_whitespace(cpp_reader *pfile, const uchar *cur, int skip_comments) argument
249 lex_identifier(cpp_reader *pfile, const uchar *cur) argument
271 _cpp_overlay_buffer(cpp_reader *pfile, const uchar *start, size_t len) argument
288 _cpp_remove_overlay(cpp_reader *pfile) argument
303 _cpp_read_logical_line_trad(cpp_reader *pfile) argument
329 maybe_start_funlike(cpp_reader *pfile, cpp_hashnode *node, const uchar *start, struct fun_macro *macro) argument
368 _cpp_scan_out_logical_line(cpp_reader *pfile, cpp_macro *macro, bool builtin_macro_arg) argument
828 push_replacement_text(cpp_reader *pfile, cpp_hashnode *node) argument
857 recursive_macro(cpp_reader *pfile, cpp_hashnode *node) argument
962 replace_args_and_push(cpp_reader *pfile, struct fun_macro *fmacro) argument
1077 scan_parameters(cpp_reader *pfile, cpp_macro *macro) argument
1120 save_replacement_text(cpp_reader *pfile, cpp_macro *macro, unsigned int arg_index) argument
1171 _cpp_create_trad_definition(cpp_reader *pfile, cpp_macro *macro) argument
[all...]
H A Derrors.c34 cpp_diagnostic (cpp_reader * pfile, int level, int reason, argument
40 if (CPP_OPTION (pfile, traditional))
42 if (pfile->state.in_directive)
43 src_loc = pfile->directive_line;
45 src_loc = pfile->line_table->highest_line;
49 else if (pfile->cur_token == pfile->cur_run->base)
55 src_loc = pfile->cur_token[-1].src_loc;
58 if (!pfile->cb.error)
60 ret = pfile
68 cpp_error(cpp_reader * pfile, int level, const char *msgid, ...) argument
84 cpp_warning(cpp_reader * pfile, int reason, const char *msgid, ...) argument
100 cpp_pedwarning(cpp_reader * pfile, int reason, const char *msgid, ...) argument
117 cpp_warning_syshdr(cpp_reader * pfile, int reason, const char *msgid, ...) argument
134 cpp_diagnostic_with_line(cpp_reader * pfile, int level, int reason, source_location src_loc, unsigned int column, const char *msgid, va_list *ap) argument
150 cpp_error_with_line(cpp_reader *pfile, int level, source_location src_loc, unsigned int column, const char *msgid, ...) argument
169 cpp_warning_with_line(cpp_reader *pfile, int reason, source_location src_loc, unsigned int column, const char *msgid, ...) argument
188 cpp_pedwarning_with_line(cpp_reader *pfile, int reason, source_location src_loc, unsigned int column, const char *msgid, ...) argument
208 cpp_warning_with_line_syshdr(cpp_reader *pfile, int reason, source_location src_loc, unsigned int column, const char *msgid, ...) argument
228 cpp_errno(cpp_reader *pfile, int level, const char *msgid) argument
238 cpp_errno_filename(cpp_reader *pfile, int level, const char *filename) argument
[all...]
H A Ddirectives-only.c37 _cpp_preprocess_dir_only (cpp_reader *pfile, argument
50 buffer = pfile->buffer;
56 loc = pfile->line_table->highest_line;
78 CPP_INCREMENT_LINE (pfile, 0);
93 if (!pfile->state.skipping && next_line != base)
99 _cpp_get_fresh_line (pfile);
104 _cpp_handle_directive (pfile, 0 /* ignore indented */);
108 line_table = pfile->line_table;
113 must use pfile->buffer, not buffer. */
114 if (pfile
[all...]
H A Dmacro.c171 static void consume_next_token_from_context (cpp_reader *pfile,
178 static bool in_macro_expansion_p (cpp_reader *pfile);
190 _cpp_warn_if_unused_macro (cpp_reader *pfile, cpp_hashnode *node, argument
198 && MAIN_FILE_P (linemap_lookup (pfile->line_table, macro->line)))
199 cpp_warning_with_line (pfile, CPP_W_UNUSED_MACROS, macro->line, 0,
209 new_string_token (cpp_reader *pfile, unsigned char *text, unsigned int len) argument
211 cpp_token *token = _cpp_temp_token (pfile);
230 _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node) argument
238 cpp_error (pfile, CPP_DL_ICE, "invalid built-in macro \"%s\"",
244 if (CPP_OPTION (pfile, warn_date_tim
418 builtin_macro(cpp_reader *pfile, cpp_hashnode *node, source_location loc) argument
502 stringify_arg(cpp_reader *pfile, macro_arg *arg) argument
597 paste_tokens(cpp_reader *pfile, source_location location, const cpp_token **plhs, const cpp_token *rhs) argument
661 paste_all_tokens(cpp_reader *pfile, const cpp_token *lhs) argument
746 _cpp_arguments_ok(cpp_reader *pfile, cpp_macro *macro, const cpp_hashnode *node, unsigned int argc) argument
803 collect_args(cpp_reader *pfile, const cpp_hashnode *node, _cpp_buff **pragma_buff, unsigned *num_args) argument
1017 funlike_invocation_p(cpp_reader *pfile, cpp_hashnode *node, _cpp_buff **pragma_buff, unsigned *num_args) argument
1076 enter_macro_context(cpp_reader *pfile, cpp_hashnode *node, const cpp_token *result, source_location location) argument
1512 expanded_token_index(cpp_reader *pfile, cpp_macro *macro, const cpp_token *cur_replacement_token, unsigned absolute_token_index) argument
1528 replace_args(cpp_reader *pfile, cpp_hashnode *node, cpp_macro *macro, macro_arg *args, source_location expansion_point_loc) argument
1873 padding_token(cpp_reader *pfile, const cpp_token *source) argument
1889 next_context(cpp_reader *pfile) argument
1908 push_ptoken_context(cpp_reader *pfile, cpp_hashnode *macro, _cpp_buff *buff, const cpp_token **first, unsigned int count) argument
1927 _cpp_push_token_context(cpp_reader *pfile, cpp_hashnode *macro, const cpp_token *first, unsigned int count) argument
1955 push_extended_tokens_context(cpp_reader *pfile, cpp_hashnode *macro, _cpp_buff *token_buff, source_location *virt_locs, const cpp_token **first, unsigned int count) argument
1983 _cpp_push_text_context(cpp_reader *pfile, cpp_hashnode *macro, const uchar *start, size_t len) argument
2003 tokens_buff_new(cpp_reader *pfile, size_t len, source_location **virt_locs) argument
2143 alloc_expanded_arg_mem(cpp_reader *pfile, macro_arg *arg, size_t capacity) argument
2159 ensure_expanded_arg_room(cpp_reader *pfile, macro_arg *arg, size_t size, size_t *expanded_capacity) argument
2189 expand_arg(cpp_reader *pfile, macro_arg *arg) argument
2258 in_macro_expansion_p(cpp_reader *pfile) argument
2272 _cpp_pop_context(cpp_reader *pfile) argument
2356 consume_next_token_from_context(cpp_reader *pfile, const cpp_token ** token, source_location *location) argument
2398 maybe_adjust_loc_for_trad_cpp(cpp_reader *pfile, source_location location) argument
2423 cpp_get_token_1(cpp_reader *pfile, source_location *location) argument
2582 cpp_get_token(cpp_reader *pfile) argument
2626 cpp_get_token_with_location(cpp_reader *pfile, source_location *loc) argument
2635 cpp_sys_macro_p(cpp_reader *pfile) argument
2650 cpp_scan_nooutput(cpp_reader *pfile) argument
2672 _cpp_backup_tokens_direct(cpp_reader *pfile, unsigned int count) argument
2691 _cpp_backup_tokens(cpp_reader *pfile, unsigned int count) argument
2727 warn_of_redefinition(cpp_reader *pfile, cpp_hashnode *node, const cpp_macro *macro2) argument
2793 _cpp_save_parameter(cpp_reader *pfile, cpp_macro *macro, cpp_hashnode *node, cpp_hashnode *spelling) argument
2831 parse_params(cpp_reader *pfile, cpp_macro *macro) argument
2933 alloc_expansion_token(cpp_reader *pfile, cpp_macro *macro) argument
2944 lex_expansion_token(cpp_reader *pfile, cpp_macro *macro) argument
2970 create_iso_definition(cpp_reader *pfile, cpp_macro *macro) argument
3172 _cpp_create_definition(cpp_reader *pfile, cpp_hashnode *node) argument
3271 check_trad_stringification(cpp_reader *pfile, const cpp_macro *macro, const cpp_string *string) argument
3325 cpp_macro_definition(cpp_reader *pfile, cpp_hashnode *node) argument
[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);
176 static bool read_file (cpp_reader *pfile, _cpp_file *file);
181 static void open_file_failed (cpp_reader *pfile, _cpp_file *file, int);
187 static void allocate_file_hash_entries (cpp_reader *pfile);
188 static struct cpp_file_hash_entry *new_file_hash_entry (cpp_reader *pfile);
194 static char *remap_filename (cpp_reader *pfile, _cpp_file *file);
279 pch_open_file (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) argument
289 if (file->name[0] == '\0' || !pfile
374 find_file_in_dir(cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) argument
454 search_path_exhausted(cpp_reader *pfile, const char *header, _cpp_file *file) argument
500 _cpp_find_file(cpp_reader *pfile, const char *fname, cpp_dir *start_dir, bool fake, int angle_brackets, bool implicit_preinclude) argument
663 read_file_guts(cpp_reader *pfile, _cpp_file *file) argument
744 read_file(cpp_reader *pfile, _cpp_file *file) argument
770 should_stack_file(cpp_reader *pfile, _cpp_file *file, bool import) argument
878 _cpp_stack_file(cpp_reader *pfile, _cpp_file *file, bool import) argument
922 _cpp_mark_file_once_only(cpp_reader *pfile, _cpp_file *file) argument
932 search_path_head(cpp_reader *pfile, const char *fname, int angle_brackets, enum include_type type) argument
992 _cpp_stack_include(cpp_reader *pfile, const char *fname, int angle_brackets, enum include_type type) argument
1044 open_file_failed(cpp_reader *pfile, _cpp_file *file, int angle_brackets) argument
1095 make_cpp_file(cpp_reader *pfile, cpp_dir *dir, const char *fname) argument
1119 destroy_all_cpp_files(cpp_reader *pfile) argument
1138 make_cpp_dir(cpp_reader *pfile, const char *dir_name, int sysp) argument
1173 allocate_file_hash_entries(cpp_reader *pfile) argument
1183 new_file_hash_entry(cpp_reader *pfile) argument
1195 free_file_hash_entries(cpp_reader *pfile) argument
1210 cpp_included(cpp_reader *pfile, const char *fname) argument
1227 cpp_included_before(cpp_reader *pfile, const char *fname, source_location location) argument
1283 _cpp_init_files(cpp_reader *pfile) argument
1299 _cpp_cleanup_files(cpp_reader *pfile) argument
1312 cpp_clear_file_cache(cpp_reader *pfile) argument
1322 _cpp_fake_include(cpp_reader *pfile, const char *fname) argument
1331 cpp_make_system_header(cpp_reader *pfile, int syshdr, int externc) argument
1348 cpp_change_file(cpp_reader *pfile, enum lc_reason reason, const char *new_name) argument
1401 _cpp_report_missing_guards(cpp_reader *pfile) argument
1432 _cpp_compare_file_date(cpp_reader *pfile, const char *fname, int angle_brackets) argument
1458 cpp_push_include(cpp_reader *pfile, const char *fname) argument
1467 cpp_push_default_include(cpp_reader *pfile, const char *fname) argument
1475 _cpp_pop_file_buffer(cpp_reader *pfile, _cpp_file *file, const unsigned char *to_free) argument
1518 cpp_set_include_chains(cpp_reader *pfile, cpp_dir *quote, cpp_dir *bracket, int quote_ignores_source_dir) argument
1649 remap_filename(cpp_reader *pfile, _cpp_file *file) argument
1693 validate_pch(cpp_reader *pfile, _cpp_file *file, const char *pchname) argument
1745 cpp_get_buffer(cpp_reader *pfile) argument
1809 _cpp_save_file_entries(cpp_reader *pfile, FILE *fp) argument
1975 _cpp_has_header(cpp_reader *pfile, const char *fname, int angle_brackets, enum include_type type) argument
[all...]
H A Dlex.c821 _cpp_clean_line (cpp_reader *pfile)
827 buffer = pfile->buffer;
859 if (CPP_OPTION (pfile, trigraphs))
936 if (CPP_OPTION (pfile, trigraphs))
965 warn_in_comment (cpp_reader *pfile, _cpp_line_note *note)
977 if (CPP_OPTION (pfile, trigraphs))
993 _cpp_process_line_notes (cpp_reader *pfile, int in_comment)
995 cpp_buffer *buffer = pfile->buffer;
1011 cpp_error_with_line (pfile, CPP_DL_WARNING, pfile
820 _cpp_clean_line(cpp_reader *pfile) argument
964 warn_in_comment(cpp_reader *pfile, _cpp_line_note *note) argument
992 _cpp_process_line_notes(cpp_reader *pfile, int in_comment) argument
1058 _cpp_skip_block_comment(cpp_reader *pfile) argument
1117 skip_line_comment(cpp_reader *pfile) argument
1131 skip_whitespace(cpp_reader *pfile, cppchar_t c) argument
1164 name_p(cpp_reader *pfile, const cpp_string *string) argument
1178 warn_about_normalization(cpp_reader *pfile, const cpp_token *token, const struct normalize_state *s) argument
1204 forms_identifier_p(cpp_reader *pfile, int first, struct normalize_state *state) argument
1241 lex_identifier_intern(cpp_reader *pfile, const uchar *base) argument
1296 _cpp_lex_identifier(cpp_reader *pfile, const char *name) argument
1305 lex_identifier(cpp_reader *pfile, const uchar *base, bool starts_ucn, struct normalize_state *nst, cpp_hashnode **spelling) argument
1384 lex_number(cpp_reader *pfile, cpp_string *number, struct normalize_state *nst) argument
1420 create_literal(cpp_reader *pfile, cpp_token *token, const uchar *base, unsigned int len, enum cpp_ttype type) argument
1436 bufring_append(cpp_reader *pfile, const uchar *base, size_t len, _cpp_buff **first_buff_p, _cpp_buff **last_buff_p) argument
1467 is_macro(cpp_reader *pfile, const uchar *base) argument
1497 lex_raw_string(cpp_reader *pfile, cpp_token *token, const uchar *base, const uchar *cur) argument
1813 lex_string(cpp_reader *pfile, cpp_token *token, const uchar *base) argument
1916 cpp_get_comments(cpp_reader *pfile) argument
1923 store_comment(cpp_reader *pfile, cpp_token *token) argument
1960 save_comment(cpp_reader *pfile, cpp_token *token, const unsigned char *from, cppchar_t type) argument
2061 cpp_peek_token(cpp_reader *pfile, int index) argument
2112 _cpp_temp_token(cpp_reader *pfile) argument
2153 _cpp_lex_token(cpp_reader *pfile) argument
2220 _cpp_get_fresh_line(cpp_reader *pfile) argument
2282 _cpp_lex_direct(cpp_reader *pfile) argument
2792 cpp_spell_token(cpp_reader *pfile, const cpp_token *token, unsigned char *buffer, bool forstring) argument
2843 cpp_token_as_text(cpp_reader *pfile, const cpp_token *token) argument
2956 cpp_avoid_paste(cpp_reader *pfile, const cpp_token *token1, const cpp_token *token2) argument
3022 cpp_output_line(cpp_reader *pfile, FILE *fp) argument
3042 cpp_output_line_to_string(cpp_reader *pfile, const unsigned char *dir_name) argument
3130 _cpp_release_buff(cpp_reader *pfile, _cpp_buff *buff) argument
3142 _cpp_get_buff(cpp_reader *pfile, size_t min_size) argument
3171 _cpp_append_extend_buff(cpp_reader *pfile, _cpp_buff *buff, size_t min_extra) argument
3187 _cpp_extend_buff(cpp_reader *pfile, _cpp_buff **pbuff, size_t min_extra) argument
3217 _cpp_unaligned_alloc(cpp_reader *pfile, size_t len) argument
3245 _cpp_aligned_alloc(cpp_reader *pfile, size_t len) argument
[all...]
H A Dexpr.c76 do { cpp_error (pfile, CPP_DL_ERROR, msgid); goto syntax_error; } while(0)
78 do { cpp_error (pfile, CPP_DL_ERROR, msgid, arg); goto syntax_error; } \
81 do { cpp_error_with_line (pfile, CPP_DL_ERROR, (loc), 0, msgid); goto syntax_error; } \
84 do { cpp_error_with_line (pfile, CPP_DL_ERROR, (loc), 0, msgid, arg); goto syntax_error; } \
91 interpret_float_suffix (cpp_reader *pfile, const uchar *s, size_t len) argument
119 if (CPP_OPTION (pfile, ext_numeric_literals))
191 if (i && !CPP_OPTION (pfile, ext_numeric_literals))
194 if ((w || q) && !CPP_OPTION (pfile, ext_numeric_literals))
207 cpp_interpret_float_suffix (cpp_reader *pfile, const char *s, size_t len) argument
209 return interpret_float_suffix (pfile, (cons
216 interpret_int_suffix(cpp_reader *pfile, const uchar *s, size_t len) argument
251 cpp_interpret_int_suffix(cpp_reader *pfile, const char *s, size_t len) argument
391 cpp_classify_number(cpp_reader *pfile, const cpp_token *token, const char **ud_suffix, source_location virtual_location) argument
725 cpp_interpret_integer(cpp_reader *pfile, const cpp_token *token, unsigned int type) argument
899 parse_defined(cpp_reader *pfile) argument
991 eval_token(cpp_reader *pfile, const cpp_token *token, source_location virtual_location) argument
1183 _cpp_parse_expr(cpp_reader *pfile, bool is_if) argument
1344 reduce(cpp_reader *pfile, struct op *top, enum cpp_ttype op) argument
1505 _cpp_expand_op_stack(cpp_reader *pfile) argument
1519 check_promotion(cpp_reader *pfile, const struct op *op) argument
1666 num_inequality_op(cpp_reader *pfile, cpp_num lhs, cpp_num rhs, enum cpp_ttype op) argument
1785 num_unary_op(cpp_reader *pfile, cpp_num num, enum cpp_ttype op) argument
1820 num_binary_op(cpp_reader *pfile, cpp_num lhs, cpp_num rhs, enum cpp_ttype op) argument
1932 num_mul(cpp_reader *pfile, cpp_num lhs, cpp_num rhs) argument
1984 num_div_op(cpp_reader *pfile, cpp_num lhs, cpp_num rhs, enum cpp_ttype op, source_location location) argument
2084 parse_has_include(cpp_reader *pfile, enum include_type type) argument
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20040304-1.c2 cpplib_macroExpand (char * pfile) argument
15 token = macarg (pfile, rest_args);
/haiku-buildtools/legacy/gcc/gcc/
H A Dcpplib.c31 #define PEEKN(N) (CPP_BUFFER (pfile)->rlimit - CPP_BUFFER (pfile)->cur >= (N) ? CPP_BUFFER (pfile)->cur[N] : EOF)
32 #define FORWARD(N) CPP_FORWARD (CPP_BUFFER (pfile), (N))
33 #define GETC() CPP_BUF_GET (CPP_BUFFER (pfile))
34 #define PEEKC() CPP_BUF_PEEK (CPP_BUFFER (pfile))
122 Caller must reserve enough space in pfile->token_buffer. */
125 quote_string (pfile, src)
126 cpp_reader *pfile;
131 CPP_PUTC_Q (pfile, '\"');
2960 cpp_error(cpp_reader * pfile, const char *msgid, ...) argument
2963 cpp_reader *pfile; local
2999 cpp_warning(cpp_reader * pfile, const char *msgid, ...) argument
3002 cpp_reader *pfile; local
3021 cpp_pedwarn(cpp_reader * pfile, const char *msgid, ...) argument
3024 cpp_reader *pfile; local
3062 cpp_error_with_line(cpp_reader * pfile, int line, int column, const char *msgid, ...) argument
3066 cpp_reader *pfile; local
3113 cpp_warning_with_line(cpp_reader * pfile, int line, int column, const char *msgid, ...) argument
3117 cpp_reader *pfile; local
3138 cpp_pedwarn_with_line(cpp_reader * pfile, int line, int column, const char *msgid, ...) argument
3142 cpp_reader *pfile; local
3169 cpp_pedwarn_with_file_and_line(cpp_reader *pfile, char *file, int line, const char *msgid, ...) argument
3173 cpp_reader *pfile; local
[all...]
H A Dcpperror.c39 cpp_print_containing_files (pfile)
40 cpp_reader *pfile;
47 if (pfile->input_stack_listing_current)
50 ip = cpp_file_buffer (pfile);
57 while ((ip = CPP_PREV_BUFFER (ip)), ip != CPP_NULL_BUFFER (pfile))
70 cpp_message (pfile, -1, ",\n from %s:%ld",
78 pfile->input_stack_listing_current = 1;
82 cpp_file_line_for_message (pfile, filename, line, column)
83 cpp_reader *pfile ATTRIBUTE_UNUSED;
96 v_cpp_message (pfile, is_erro
127 cpp_message(cpp_reader *pfile, int is_error, const char *msgid, ...) argument
130 cpp_reader *pfile; local
155 cpp_fatal(cpp_reader *pfile, const char *msgid, ...) argument
158 cpp_reader *pfile; local
[all...]
H A Dscan-decls.c39 skip_to_closing_brace (pfile)
40 cpp_reader *pfile;
45 enum cpp_token token = cpp_get_token (pfile);
78 scan_decls (pfile, argc, argv)
79 cpp_reader *pfile;
93 CPP_SET_WRITTEN (pfile, 0);
95 token = cpp_get_token (pfile);
134 cpp_buffer *fbuf = cpp_file_buffer (pfile);
139 token = cpp_get_token (pfile);
153 recognized_function (pfile
[all...]
H A Dcppinit.c391 path_include (pfile, pend, list, path)
392 cpp_reader *pfile;
421 append_include_chain (pfile, pend, name, path);
457 append_include_chain (pfile, pend, dir, path)
458 cpp_reader *pfile;
472 cpp_perror_with_name (pfile, dir);
473 else if (CPP_OPTIONS (pfile)->verbose)
480 cpp_message (pfile, 1, "%s: %s: Not a directory", progname, dir);
485 if (len > pfile->max_include_len)
486 pfile
[all...]
H A Dcpphash.c40 #define FORWARD(N) CPP_FORWARD (CPP_BUFFER (pfile), (N))
75 #define ARG_BASE ((pfile)->token_buffer)
79 /* Strings relative to pfile->token_buffer */
115 cpp_lookup (pfile, name, len, hash)
116 cpp_reader *pfile ATTRIBUTE_UNUSED;
133 bucket = pfile->hashtab[hash];
204 cpp_install (pfile, name, len, type, value, hash)
205 cpp_reader *pfile;
230 hp->bucket_hdr = &pfile->hashtab[bucket];
231 hp->next = pfile
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/ia64/
H A D20080802-1.c10 _cpp_init_internal_pragmas (struct cpp_reader *pfile) argument
15 fname = parse_include (pfile, &angle_brackets, (void *) 0);
18 ordering = _cpp_compare_file_date (pfile, fname, angle_brackets);
/haiku-buildtools/gcc/gcc/config/tilegx/
H A Dtilegx-c.c41 # define builtin_define(TXT) cpp_define (pfile, TXT)
42 # define builtin_assert(TXT) cpp_assert (pfile, TXT)
47 tilegx_cpu_cpp_builtins (struct cpp_reader *pfile) argument
/haiku-buildtools/gcc/gcc/config/tilepro/
H A Dtilepro-c.c41 # define builtin_define(TXT) cpp_define (pfile, TXT)
42 # define builtin_assert(TXT) cpp_assert (pfile, TXT)
47 tilepro_cpu_cpp_builtins (struct cpp_reader *pfile) argument
/haiku-buildtools/gcc/gcc/config/avr/
H A Davr-c.c302 avr_cpu_cpp_builtins (struct cpp_reader *pfile) argument
312 cpp_define_formatted (pfile, "__AVR_ARCH__=%s", avr_arch->macro);
313 if (AVR_HAVE_RAMPD) cpp_define (pfile, "__AVR_HAVE_RAMPD__");
314 if (AVR_HAVE_RAMPX) cpp_define (pfile, "__AVR_HAVE_RAMPX__");
315 if (AVR_HAVE_RAMPY) cpp_define (pfile, "__AVR_HAVE_RAMPY__");
316 if (AVR_HAVE_RAMPZ) cpp_define (pfile, "__AVR_HAVE_RAMPZ__");
317 if (AVR_HAVE_ELPM) cpp_define (pfile, "__AVR_HAVE_ELPM__");
318 if (AVR_HAVE_ELPMX) cpp_define (pfile, "__AVR_HAVE_ELPMX__");
319 if (AVR_HAVE_MOVW) cpp_define (pfile, "__AVR_HAVE_MOVW__");
320 if (AVR_HAVE_LPMX) cpp_define (pfile, "__AVR_HAVE_LPMX_
[all...]
/haiku-buildtools/gcc/gcc/c-family/
H A Dc-pch.c219 c_common_valid_pch (cpp_reader *pfile, const char *name, int fd) argument
237 if (cpp_get_options (pfile)->warn_invalid_pch)
238 cpp_error (pfile, CPP_DL_WARNING, "%s: too short to be a PCH file",
246 if (cpp_get_options (pfile)->warn_invalid_pch)
251 cpp_error (pfile, CPP_DL_WARNING,
255 cpp_error (pfile, CPP_DL_WARNING, "%s: not for %s", name,
259 cpp_error (pfile, CPP_DL_WARNING, "%s: not a PCH file", name);
265 if (cpp_get_options (pfile)->warn_invalid_pch)
266 cpp_error (pfile, CPP_DL_WARNING,
283 if (cpp_get_options (pfile)
355 c_common_read_pch(cpp_reader *pfile, const char *name, int fd, const char *orig_name ATTRIBUTE_UNUSED) argument
426 c_common_pch_pragma(cpp_reader *pfile, const char *name) argument
[all...]
/haiku-buildtools/gcc/gcc/config/sh/
H A Dsh-c.c66 sh_pr_interrupt (struct cpp_reader *pfile ATTRIBUTE_UNUSED)
72 sh_pr_trapa (struct cpp_reader *pfile ATTRIBUTE_UNUSED)
78 sh_pr_nosave_low_regs (struct cpp_reader *pfile ATTRIBUTE_UNUSED)
83 #define builtin_define(TXT) cpp_define (pfile, TXT)
84 #define builtin_assert(TXT) cpp_assert (pfile, TXT)
88 sh_cpu_cpp_builtins (cpp_reader* pfile) argument
155 cpp_define_formatted (pfile, "__SH_ATOMIC_MODEL_%s__",
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Duninit-2-O0.c22 macroexpand (struct cpp_reader *pfile, struct definition *defn) argument
41 token = macarg (pfile, rest_args);
44 token = macarg (pfile, 0);
H A Duninit-2.c22 macroexpand (struct cpp_reader *pfile, struct definition *defn) argument
41 token = macarg (pfile, rest_args);
44 token = macarg (pfile, 0);

Completed in 138 milliseconds

1234