/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/avr/ |
H A D | avr-c.c | 36 avr_cpu_cpp_builtins (struct cpp_reader *pfile)
argument 41 cpp_define (pfile, avr_current_arch->macro);
43 cpp_define (pfile, avr_extra_arch_macro);
45 cpp_define (pfile, "__AVR_HAVE_RAMPZ__");
47 cpp_define (pfile, "__AVR_HAVE_ELPM__");
49 cpp_define (pfile, "__AVR_HAVE_ELPMX__");
52 cpp_define (pfile, "__AVR_HAVE_MOVW__");
53 cpp_define (pfile, "__AVR_HAVE_LPMX__");
56 cpp_define (pfile, "__AVR_ASM_ONLY__");
59 cpp_define (pfile, "__AVR_ENHANCED_ [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libcpp/ |
H A D | init.c | 101 cpp_set_lang (cpp_reader *pfile, enum c_lang lang) argument 105 CPP_OPTION (pfile, lang) = lang; 107 CPP_OPTION (pfile, c99) = l->c99; 108 CPP_OPTION (pfile, cplusplus) = l->cplusplus; 109 CPP_OPTION (pfile, extended_numbers) = l->extended_numbers; 110 CPP_OPTION (pfile, extended_identifiers) = l->extended_identifiers; 111 CPP_OPTION (pfile, std) = l->std; 112 CPP_OPTION (pfile, trigraphs) = l->std; 113 CPP_OPTION (pfile, cplusplus_comments) = l->cplusplus_comments; 114 CPP_OPTION (pfile, digraph 143 cpp_reader *pfile; local 233 cpp_destroy(cpp_reader *pfile) argument 336 mark_named_operators(cpp_reader *pfile) argument 355 cpp_init_builtins(cpp_reader *pfile, int hosted) argument 399 sanity_checks(cpp_reader *pfile) argument 451 cpp_post_options(cpp_reader *pfile) argument 466 cpp_read_main_file(cpp_reader *pfile, const char *fname) argument 499 read_original_filename(cpp_reader *pfile) argument 530 read_original_directory(cpp_reader *pfile) argument 581 cpp_finish(cpp_reader *pfile, FILE *deps_stream) argument 613 post_options(cpp_reader *pfile) argument [all...] |
H A D | identifiers.c | 40 node = XOBNEW (&table->pfile->hash_ob, cpp_hashnode); 48 _cpp_init_hashtable (cpp_reader *pfile, hash_table *table) argument 54 pfile->our_hashtable = 1; 58 _obstack_begin (&pfile->hash_ob, 0, 0, 63 table->pfile = pfile; 64 pfile->hash_table = table; 67 _cpp_init_directives (pfile); 68 _cpp_init_internal_pragmas (pfile); 70 s = &pfile 80 _cpp_destroy_hashtable(cpp_reader *pfile) argument 92 cpp_lookup(cpp_reader *pfile, const unsigned char *str, unsigned int len) argument 100 cpp_defined(cpp_reader *pfile, const unsigned char *str, int len) argument 113 cpp_forall_identifiers(cpp_reader *pfile, cpp_cb cb, void *v) argument [all...] |
H A D | directives.c | 199 #define SEEN_EOL() (pfile->cur_token[-1].type == CPP_EOF) 203 skip_rest_of_line (cpp_reader *pfile) argument 206 while (pfile->context->prev) 207 _cpp_pop_context (pfile); 211 while (_cpp_lex_token (pfile)->type != CPP_EOF) 217 check_eol (cpp_reader *pfile) argument 219 if (! SEEN_EOL () && _cpp_lex_token (pfile)->type != CPP_EOF) 220 cpp_error (pfile, CPP_DL_PEDWARN, "extra tokens at end of #%s directive", 221 pfile->directive->name); 227 check_eol_return_comments (cpp_reader *pfile) argument 266 start_directive(cpp_reader *pfile) argument 279 end_directive(cpp_reader *pfile, int skip_line) argument 310 prepare_directive_trad(cpp_reader *pfile) argument 341 directive_diagnostics(cpp_reader *pfile, const directive *dir, int indented) argument 377 _cpp_handle_directive(cpp_reader *pfile, int indented) argument 490 run_directive(cpp_reader *pfile, int dir_no, const char *buf, size_t count) argument 516 lex_macro_node(cpp_reader *pfile) argument 552 do_define(cpp_reader *pfile) argument 571 do_undef(cpp_reader *pfile) argument 614 cpp_undef_all(cpp_reader *pfile) argument 624 glue_header_name(cpp_reader *pfile) argument 668 parse_include(cpp_reader *pfile, int *pangle_brackets, const cpp_token ***buf) argument 716 do_include_common(cpp_reader *pfile, enum include_type type) argument 766 do_include(cpp_reader *pfile) argument 772 do_import(cpp_reader *pfile) argument 778 do_include_next(cpp_reader *pfile) argument 798 read_flag(cpp_reader *pfile, unsigned int last) argument 842 do_line(cpp_reader *pfile) argument 898 do_linemarker(cpp_reader *pfile) argument 975 _cpp_do_file_change(cpp_reader *pfile, enum lc_reason reason, const char *to_file, unsigned int file_line, unsigned int sysp) argument 991 do_diagnostic(cpp_reader *pfile, int code, int print_dir) argument 1004 do_error(cpp_reader *pfile) argument 1010 do_warning(cpp_reader *pfile) argument 1018 do_ident(cpp_reader *pfile) argument 1048 insert_pragma_entry(cpp_reader *pfile, struct pragma_entry **chain, const cpp_hashnode *pragma, pragma_cb handler, bool allow_expansion, bool internal) argument 1082 register_pragma(cpp_reader *pfile, const char *space, const char *name, pragma_cb handler, bool allow_expansion, bool internal) argument 1131 cpp_register_pragma(cpp_reader *pfile, const char *space, const char *name, pragma_cb handler, bool allow_expansion) argument 1139 _cpp_init_internal_pragmas(cpp_reader *pfile) argument 1188 _cpp_save_pragma_names(cpp_reader *pfile) argument 1200 restore_registered_pragmas(cpp_reader *pfile, struct pragma_entry *pe, char **sd) argument 1217 _cpp_restore_pragma_names(cpp_reader *pfile, char **saved) argument 1233 do_pragma(cpp_reader *pfile) argument 1359 do_pragma_once(cpp_reader *pfile) argument 1371 do_pragma_poison(cpp_reader *pfile) argument 1409 do_pragma_system_header(cpp_reader *pfile) argument 1428 do_pragma_dependency(cpp_reader *pfile) argument 1456 get_token_no_padding(cpp_reader *pfile) argument 1469 get__Pragma_string(cpp_reader *pfile) argument 1489 destringize_and_run(cpp_reader *pfile, const cpp_string *in) argument 1548 _cpp_do__Pragma(cpp_reader *pfile) argument 1562 cpp_handle_deferred_pragma(cpp_reader *pfile, const cpp_string *s) argument 1591 do_ifdef(cpp_reader *pfile) argument 1612 do_ifndef(cpp_reader *pfile) argument 1638 do_if(cpp_reader *pfile) argument 1652 do_else(cpp_reader *pfile) argument 1685 do_elif(cpp_reader *pfile) argument 1720 do_endif(cpp_reader *pfile) argument 1751 push_conditional(cpp_reader *pfile, int skip, int type, const cpp_hashnode *cmacro) argument 1778 parse_answer(cpp_reader *pfile, struct answer **answerp, int type) argument 1854 parse_assertion(cpp_reader *pfile, struct answer **answerp, int type) argument 1913 _cpp_test_assertion(cpp_reader *pfile, unsigned int *value) argument 1936 do_assert(cpp_reader *pfile) argument 1981 do_unassert(cpp_reader *pfile) argument 2019 cpp_define(cpp_reader *pfile, const char *str) argument 2047 _cpp_define_builtin(cpp_reader *pfile, const char *str) argument 2058 cpp_undef(cpp_reader *pfile, const char *macro) argument 2069 cpp_assert(cpp_reader *pfile, const char *str) argument 2076 cpp_unassert(cpp_reader *pfile, const char *str) argument 2083 handle_assertion(cpp_reader *pfile, const char *str, int type) argument 2106 cpp_errors(cpp_reader *pfile) argument 2113 cpp_get_options(cpp_reader *pfile) argument 2120 cpp_get_callbacks(cpp_reader *pfile) argument 2127 cpp_set_callbacks(cpp_reader *pfile, cpp_callbacks *cb) argument 2134 cpp_get_deps(cpp_reader *pfile) argument 2145 cpp_push_buffer(cpp_reader *pfile, const uchar *buffer, size_t len, int from_stage3) argument 2167 _cpp_pop_buffer(cpp_reader *pfile) argument 2201 _cpp_init_directives(cpp_reader *pfile) argument [all...] |
H A D | errors.c | 38 print_location (cpp_reader *pfile, source_location line, unsigned int col) argument 47 map = linemap_lookup (pfile->line_table, line); 48 linemap_print_containing_files (pfile->line_table, map); 60 else if (CPP_OPTION (pfile, show_column) == 0) 80 _cpp_begin_message (cpp_reader *pfile, int code, argument 89 if (cpp_in_system_header (pfile) 90 && ! CPP_OPTION (pfile, warn_system_headers)) 95 if (CPP_OPTION (pfile, warnings_are_errors) 96 || (level == CPP_DL_PEDWARN && CPP_OPTION (pfile, pedantic_errors))) 98 if (CPP_OPTION (pfile, inhibit_error 136 cpp_error(cpp_reader * pfile, int level, const char *msgid, ...) argument 168 cpp_error_with_line(cpp_reader *pfile, int level, source_location src_loc, unsigned int column, const char *msgid, ...) argument 183 cpp_errno(cpp_reader *pfile, int level, const char *msgid) argument [all...] |
H A D | traditional.c | 99 check_output_buffer (cpp_reader *pfile, size_t n) argument 105 if (n > (size_t) (pfile->out.limit - pfile->out.cur)) 107 size_t size = pfile->out.cur - pfile->out.base; 110 pfile->out.base = XRESIZEVEC (unsigned char, pfile->out.base, new_size); 111 pfile->out.limit = pfile->out.base + new_size; 112 pfile 119 skip_macro_block_comment(cpp_reader *pfile) argument 148 copy_comment(cpp_reader *pfile, const uchar *cur, int in_define) argument 212 skip_whitespace(cpp_reader *pfile, const uchar *cur, int skip_comments) argument 244 lex_identifier(cpp_reader *pfile, const uchar *cur) argument 266 _cpp_overlay_buffer(cpp_reader *pfile, const uchar *start, size_t len) argument 283 _cpp_remove_overlay(cpp_reader *pfile) argument 298 _cpp_read_logical_line_trad(cpp_reader *pfile) argument 313 maybe_start_funlike(cpp_reader *pfile, cpp_hashnode *node, const uchar *start, struct fun_macro *macro) argument 343 _cpp_scan_out_logical_line(cpp_reader *pfile, cpp_macro *macro) argument 684 push_replacement_text(cpp_reader *pfile, cpp_hashnode *node) argument 713 recursive_macro(cpp_reader *pfile, cpp_hashnode *node) argument 818 replace_args_and_push(cpp_reader *pfile, struct fun_macro *fmacro) argument 882 scan_parameters(cpp_reader *pfile, cpp_macro *macro) argument 924 save_replacement_text(cpp_reader *pfile, cpp_macro *macro, unsigned int arg_index) argument 975 _cpp_create_trad_definition(cpp_reader *pfile, cpp_macro *macro) argument [all...] |
H A D | macro.c | 75 _cpp_warn_if_unused_macro (cpp_reader *pfile, cpp_hashnode *node, argument 83 && MAIN_FILE_P (linemap_lookup (pfile->line_table, macro->line))) 84 cpp_error_with_line (pfile, CPP_DL_WARNING, macro->line, 0, 94 new_string_token (cpp_reader *pfile, unsigned char *text, unsigned int len) argument 96 cpp_token *token = _cpp_temp_token (pfile); 170 _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node) argument 179 cpp_error (pfile, CPP_DL_ICE, "invalid built-in macro \"%s\"", 190 map = linemap_lookup (pfile->line_table, pfile->line_table->highest_line); 194 map = INCLUDED_FROM (pfile 304 builtin_macro(cpp_reader *pfile, cpp_hashnode *node) argument 373 stringify_arg(cpp_reader *pfile, macro_arg *arg) argument 460 paste_tokens(cpp_reader *pfile, const cpp_token **plhs, const cpp_token *rhs) argument 501 paste_all_tokens(cpp_reader *pfile, const cpp_token *lhs) argument 547 _cpp_arguments_ok(cpp_reader *pfile, cpp_macro *macro, const cpp_hashnode *node, unsigned int argc) argument 588 collect_args(cpp_reader *pfile, const cpp_hashnode *node) argument 724 funlike_invocation_p(cpp_reader *pfile, cpp_hashnode *node) argument 764 enter_macro_context(cpp_reader *pfile, cpp_hashnode *node) argument 823 replace_args(cpp_reader *pfile, cpp_hashnode *node, cpp_macro *macro, macro_arg *args) argument 955 padding_token(cpp_reader *pfile, const cpp_token *source) argument 971 next_context(cpp_reader *pfile) argument 989 push_ptoken_context(cpp_reader *pfile, cpp_hashnode *macro, _cpp_buff *buff, const cpp_token **first, unsigned int count) argument 1003 push_token_context(cpp_reader *pfile, cpp_hashnode *macro, const cpp_token *first, unsigned int count) argument 1017 _cpp_push_text_context(cpp_reader *pfile, cpp_hashnode *macro, const uchar *start, size_t len) argument 1037 expand_arg(cpp_reader *pfile, macro_arg *arg) argument 1082 _cpp_pop_context(cpp_reader *pfile) argument 1107 cpp_get_token(cpp_reader *pfile) argument 1184 cpp_sys_macro_p(cpp_reader *pfile) argument 1194 cpp_scan_nooutput(cpp_reader *pfile) argument 1217 _cpp_backup_tokens(cpp_reader *pfile, unsigned int count) argument 1249 warn_of_redefinition(cpp_reader *pfile, const cpp_hashnode *node, const cpp_macro *macro2) argument 1302 _cpp_save_parameter(cpp_reader *pfile, cpp_macro *macro, cpp_hashnode *node) argument 1336 parse_params(cpp_reader *pfile, cpp_macro *macro) argument 1418 alloc_expansion_token(cpp_reader *pfile, cpp_macro *macro) argument 1429 lex_expansion_token(cpp_reader *pfile, cpp_macro *macro) argument 1451 create_iso_definition(cpp_reader *pfile, cpp_macro *macro) argument 1598 _cpp_create_definition(cpp_reader *pfile, cpp_hashnode *node) argument 1683 check_trad_stringification(cpp_reader *pfile, const cpp_macro *macro, const cpp_string *string) argument 1728 cpp_macro_definition(cpp_reader *pfile, const cpp_hashnode *node) argument [all...] |
H A D | lex.c | 100 _cpp_clean_line (cpp_reader *pfile) argument 106 buffer = pfile->buffer; 153 if (CPP_OPTION (pfile, trigraphs)) 194 if (CPP_OPTION (pfile, trigraphs)) 224 warn_in_comment (cpp_reader *pfile, _cpp_line_note *note) argument 236 if (CPP_OPTION (pfile, trigraphs)) 252 _cpp_process_line_notes (cpp_reader *pfile, int in_comment) argument 254 cpp_buffer *buffer = pfile->buffer; 270 cpp_error_with_line (pfile, CPP_DL_WARNING, pfile 314 _cpp_skip_block_comment(cpp_reader *pfile) argument 372 skip_line_comment(cpp_reader *pfile) argument 386 skip_whitespace(cpp_reader *pfile, cppchar_t c) argument 419 name_p(cpp_reader *pfile, const cpp_string *string) argument 433 warn_about_normalization(cpp_reader *pfile, const cpp_token *token, const struct normalize_state *s) argument 458 forms_identifier_p(cpp_reader *pfile, int first, struct normalize_state *state) argument 495 lex_identifier(cpp_reader *pfile, const uchar *base, bool starts_ucn, struct normalize_state *nst) argument 556 lex_number(cpp_reader *pfile, cpp_string *number, struct normalize_state *nst) argument 588 create_literal(cpp_reader *pfile, cpp_token *token, const uchar *base, unsigned int len, enum cpp_ttype type) argument 608 lex_string(cpp_reader *pfile, cpp_token *token, const uchar *base) argument 655 save_comment(cpp_reader *pfile, cpp_token *token, const unsigned char *from, cppchar_t type) argument 724 _cpp_temp_token(cpp_reader *pfile) argument 744 _cpp_lex_token(cpp_reader *pfile) argument 806 _cpp_get_fresh_line(cpp_reader *pfile) argument 871 _cpp_lex_direct(cpp_reader *pfile) argument 1279 cpp_spell_token(cpp_reader *pfile, const cpp_token *token, unsigned char *buffer, bool forstring) argument 1343 cpp_token_as_text(cpp_reader *pfile, const cpp_token *token) argument 1446 cpp_avoid_paste(cpp_reader *pfile, const cpp_token *token1, const cpp_token *token2) argument 1503 cpp_output_line(cpp_reader *pfile, FILE *fp) argument 1557 _cpp_release_buff(cpp_reader *pfile, _cpp_buff *buff) argument 1569 _cpp_get_buff(cpp_reader *pfile, size_t min_size) argument 1598 _cpp_append_extend_buff(cpp_reader *pfile, _cpp_buff *buff, size_t min_extra) argument 1614 _cpp_extend_buff(cpp_reader *pfile, _cpp_buff **pbuff, size_t min_extra) argument 1640 _cpp_unaligned_alloc(cpp_reader *pfile, size_t len) argument 1668 _cpp_aligned_alloc(cpp_reader *pfile, size_t len) argument [all...] |
H A D | files.c | 152 static bool pch_open_file (cpp_reader *pfile, _cpp_file *file, 154 static bool find_file_in_dir (cpp_reader *pfile, _cpp_file *file, 156 static bool read_file_guts (cpp_reader *pfile, _cpp_file *file); 157 static bool read_file (cpp_reader *pfile, _cpp_file *file); 162 static void open_file_failed (cpp_reader *pfile, _cpp_file *file, int); 168 static void allocate_file_hash_entries (cpp_reader *pfile); 169 static struct file_hash_entry *new_file_hash_entry (cpp_reader *pfile); 175 static char *remap_filename (cpp_reader *pfile, _cpp_file *file); 256 pch_open_file (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) argument 266 if (file->name[0] == '\0' || !pfile 324 find_file_in_dir(cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) argument 365 search_path_exhausted(cpp_reader *pfile, const char *header, _cpp_file *file) argument 407 _cpp_find_file(cpp_reader *pfile, const char *fname, cpp_dir *start_dir, bool fake, int angle_brackets) argument 506 read_file_guts(cpp_reader *pfile, _cpp_file *file) argument 579 read_file(cpp_reader *pfile, _cpp_file *file) argument 605 should_stack_file(cpp_reader *pfile, _cpp_file *file, bool import) argument 712 _cpp_stack_file(cpp_reader *pfile, _cpp_file *file, bool import) argument 754 _cpp_mark_file_once_only(cpp_reader *pfile, _cpp_file *file) argument 764 search_path_head(cpp_reader *pfile, const char *fname, int angle_brackets, enum include_type type) argument 823 _cpp_stack_include(cpp_reader *pfile, const char *fname, int angle_brackets, enum include_type type) argument 850 open_file_failed(cpp_reader *pfile, _cpp_file *file, int angle_brackets) argument 882 make_cpp_file(cpp_reader *pfile, cpp_dir *dir, const char *fname) argument 913 make_cpp_dir(cpp_reader *pfile, const char *dir_name, int sysp) argument 947 allocate_file_hash_entries(cpp_reader *pfile) argument 957 new_file_hash_entry(cpp_reader *pfile) argument 969 cpp_included(cpp_reader *pfile, const char *fname) argument 1015 _cpp_init_files(cpp_reader *pfile) argument 1026 _cpp_cleanup_files(cpp_reader *pfile) argument 1034 _cpp_fake_include(cpp_reader *pfile, const char *fname) argument 1043 cpp_make_system_header(cpp_reader *pfile, int syshdr, int externc) argument 1061 cpp_change_file(cpp_reader *pfile, enum lc_reason reason, const char *new_name) argument 1100 _cpp_report_missing_guards(cpp_reader *pfile) argument 1111 _cpp_compare_file_date(cpp_reader *pfile, const char *fname, int angle_brackets) argument 1137 cpp_push_include(cpp_reader *pfile, const char *fname) argument 1145 _cpp_pop_file_buffer(cpp_reader *pfile, _cpp_file *file) argument 1169 cpp_set_include_chains(cpp_reader *pfile, cpp_dir *quote, cpp_dir *bracket, int quote_ignores_source_dir) argument 1300 remap_filename(cpp_reader *pfile, _cpp_file *file) argument 1336 validate_pch(cpp_reader *pfile, _cpp_file *file, const char *pchname) argument 1388 cpp_get_buffer(cpp_reader *pfile) argument 1452 _cpp_save_file_entries(cpp_reader *pfile, FILE *fp) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libcpp/ |
H A D | init.c | 105 cpp_set_lang (cpp_reader *pfile, enum c_lang lang) argument 109 CPP_OPTION (pfile, lang) = lang; 111 CPP_OPTION (pfile, c99) = l->c99; 112 CPP_OPTION (pfile, cplusplus) = l->cplusplus; 113 CPP_OPTION (pfile, extended_numbers) = l->extended_numbers; 114 CPP_OPTION (pfile, extended_identifiers) = l->extended_identifiers; 115 CPP_OPTION (pfile, std) = l->std; 116 CPP_OPTION (pfile, trigraphs) = l->std; 117 CPP_OPTION (pfile, cplusplus_comments) = l->cplusplus_comments; 118 CPP_OPTION (pfile, digraph 148 cpp_reader *pfile; local 242 cpp_set_line_map(cpp_reader *pfile, struct line_maps *line_table) argument 250 cpp_destroy(cpp_reader *pfile) argument 386 mark_named_operators(cpp_reader *pfile, int flags) argument 420 cpp_init_special_builtins(cpp_reader *pfile) argument 447 cpp_init_builtins(cpp_reader *pfile, int hosted) argument 478 sanity_checks(cpp_reader *pfile) argument 530 cpp_post_options(cpp_reader *pfile) argument 552 cpp_read_main_file(cpp_reader *pfile, const char *fname) argument 585 read_original_filename(cpp_reader *pfile) argument 616 read_original_directory(cpp_reader *pfile) argument 666 cpp_finish(cpp_reader *pfile, FILE *deps_stream) argument 695 post_options(cpp_reader *pfile) argument [all...] |
H A D | errors.c | 33 cpp_error (cpp_reader * pfile, int level, const char *msgid, ...) argument 41 if (CPP_OPTION (pfile, traditional)) 43 if (pfile->state.in_directive) 44 src_loc = pfile->directive_line; 46 src_loc = pfile->line_table->highest_line; 50 else if (pfile->cur_token == pfile->cur_run->base) 52 if (pfile->cur_run->prev != NULL) 53 src_loc = pfile->cur_run->prev->limit->src_loc; 59 src_loc = pfile 72 cpp_error_with_line(cpp_reader *pfile, int level, source_location src_loc, unsigned int column, const char *msgid, ...) argument 90 cpp_errno(cpp_reader *pfile, int level, const char *msgid) argument [all...] |
H A D | identifiers.c | 40 node = XOBNEW (&table->pfile->hash_ob, cpp_hashnode); 48 _cpp_init_hashtable (cpp_reader *pfile, hash_table *table) argument 54 pfile->our_hashtable = 1; 58 _obstack_begin (&pfile->hash_ob, 0, 0, 63 table->pfile = pfile; 64 pfile->hash_table = table; 67 _cpp_init_directives (pfile); 68 _cpp_init_internal_pragmas (pfile); 70 s = &pfile 80 _cpp_destroy_hashtable(cpp_reader *pfile) argument 92 cpp_lookup(cpp_reader *pfile, const unsigned char *str, unsigned int len) argument 100 cpp_defined(cpp_reader *pfile, const unsigned char *str, int len) argument 118 cpp_forall_identifiers(cpp_reader *pfile, cpp_cb cb, void *v) argument [all...] |
H A D | directives.c | 198 #define SEEN_EOL() (pfile->cur_token[-1].type == CPP_EOF) 202 skip_rest_of_line (cpp_reader *pfile) argument 205 while (pfile->context->prev) 206 _cpp_pop_context (pfile); 210 while (_cpp_lex_token (pfile)->type != CPP_EOF) 217 check_eol (cpp_reader *pfile, bool expand) argument 220 ? cpp_get_token (pfile) 221 : _cpp_lex_token (pfile))->type != CPP_EOF) 222 cpp_error (pfile, CPP_DL_PEDWARN, "extra tokens at end of #%s directive", 223 pfile 229 check_eol_return_comments(cpp_reader *pfile) argument 268 start_directive(cpp_reader *pfile) argument 281 end_directive(cpp_reader *pfile, int skip_line) argument 315 prepare_directive_trad(cpp_reader *pfile) argument 346 directive_diagnostics(cpp_reader *pfile, const directive *dir, int indented) argument 391 _cpp_handle_directive(cpp_reader *pfile, int indented) argument 509 run_directive(cpp_reader *pfile, int dir_no, const char *buf, size_t count) argument 532 lex_macro_node(cpp_reader *pfile, bool is_def_or_undef) argument 568 do_define(cpp_reader *pfile) argument 592 do_undef(cpp_reader *pfile) argument 638 cpp_undef_all(cpp_reader *pfile) argument 648 glue_header_name(cpp_reader *pfile) argument 694 parse_include(cpp_reader *pfile, int *pangle_brackets, const cpp_token ***buf, source_location *location) argument 748 do_include_common(cpp_reader *pfile, enum include_type type) argument 800 do_include(cpp_reader *pfile) argument 806 do_import(cpp_reader *pfile) argument 812 do_include_next(cpp_reader *pfile) argument 832 read_flag(cpp_reader *pfile, unsigned int last) argument 883 do_line(cpp_reader *pfile) argument 945 do_linemarker(cpp_reader *pfile) argument 1033 _cpp_do_file_change(cpp_reader *pfile, enum lc_reason reason, const char *to_file, linenum_type file_line, unsigned int sysp) argument 1049 do_diagnostic(cpp_reader *pfile, int code, int print_dir) argument 1068 do_error(cpp_reader *pfile) argument 1074 do_warning(cpp_reader *pfile) argument 1082 do_ident(cpp_reader *pfile) argument 1110 new_pragma_entry(cpp_reader *pfile, struct pragma_entry **chain) argument 1127 register_pragma_1(cpp_reader *pfile, const char *space, const char *name, bool allow_name_expansion) argument 1190 register_pragma_internal(cpp_reader *pfile, const char *space, const char *name, pragma_cb handler) argument 1206 cpp_register_pragma(cpp_reader *pfile, const char *space, const char *name, pragma_cb handler, bool allow_expansion) argument 1229 cpp_register_deferred_pragma(cpp_reader *pfile, const char *space, const char *name, unsigned int ident, bool allow_expansion, bool allow_name_expansion) argument 1246 _cpp_init_internal_pragmas(cpp_reader *pfile) argument 1296 _cpp_save_pragma_names(cpp_reader *pfile) argument 1308 restore_registered_pragmas(cpp_reader *pfile, struct pragma_entry *pe, char **sd) argument 1325 _cpp_restore_pragma_names(cpp_reader *pfile, char **saved) argument 1339 do_pragma(cpp_reader *pfile) argument 1422 do_pragma_once(cpp_reader *pfile) argument 1433 do_pragma_push_macro(cpp_reader *pfile) argument 1473 do_pragma_pop_macro(cpp_reader *pfile) argument 1524 do_pragma_poison(cpp_reader *pfile) argument 1562 do_pragma_system_header(cpp_reader *pfile) argument 1579 do_pragma_dependency(cpp_reader *pfile) argument 1608 get_token_no_padding(cpp_reader *pfile) argument 1621 get__Pragma_string(cpp_reader *pfile) argument 1652 destringize_and_run(cpp_reader *pfile, const cpp_string *in) argument 1769 _cpp_do__Pragma(cpp_reader *pfile) argument 1786 do_ifdef(cpp_reader *pfile) argument 1828 do_ifndef(cpp_reader *pfile) argument 1875 do_if(cpp_reader *pfile) argument 1889 do_else(cpp_reader *pfile) argument 1922 do_elif(cpp_reader *pfile) argument 1965 do_endif(cpp_reader *pfile) argument 1996 push_conditional(cpp_reader *pfile, int skip, int type, const cpp_hashnode *cmacro) argument 2024 parse_answer(cpp_reader *pfile, struct answer **answerp, int type, source_location pred_loc) argument 2102 parse_assertion(cpp_reader *pfile, struct answer **answerp, int type) argument 2162 _cpp_test_assertion(cpp_reader *pfile, unsigned int *value) argument 2185 do_assert(cpp_reader *pfile) argument 2230 do_unassert(cpp_reader *pfile) argument 2268 cpp_define(cpp_reader *pfile, const char *str) argument 2301 cpp_define_formatted(cpp_reader *pfile, const char *fmt, ...) argument 2317 _cpp_define_builtin(cpp_reader *pfile, const char *str) argument 2328 cpp_undef(cpp_reader *pfile, const char *macro) argument 2339 cpp_push_definition(cpp_reader *pfile, const char *str) argument 2351 cpp_pop_definition(cpp_reader *pfile, const char *str, cpp_macro *dfn) argument 2384 cpp_assert(cpp_reader *pfile, const char *str) argument 2391 cpp_unassert(cpp_reader *pfile, const char *str) argument 2398 handle_assertion(cpp_reader *pfile, const char *str, int type) argument 2421 cpp_get_options(cpp_reader *pfile) argument 2428 cpp_get_callbacks(cpp_reader *pfile) argument 2435 cpp_set_callbacks(cpp_reader *pfile, cpp_callbacks *cb) argument 2442 cpp_get_deps(cpp_reader *pfile) argument 2453 cpp_push_buffer(cpp_reader *pfile, const uchar *buffer, size_t len, int from_stage3) argument 2475 _cpp_pop_buffer(cpp_reader *pfile) argument 2509 _cpp_init_directives(cpp_reader *pfile) argument [all...] |
H A D | macro.c | 77 _cpp_warn_if_unused_macro (cpp_reader *pfile, cpp_hashnode *node, argument 85 && MAIN_FILE_P (linemap_lookup (pfile->line_table, macro->line))) 86 cpp_error_with_line (pfile, CPP_DL_WARNING, macro->line, 0, 96 new_string_token (cpp_reader *pfile, unsigned char *text, unsigned int len) argument 98 cpp_token *token = _cpp_temp_token (pfile); 172 _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node) argument 181 cpp_error (pfile, CPP_DL_ICE, "invalid built-in macro \"%s\"", 187 cpp_buffer *pbuffer = cpp_get_buffer (pfile); 206 unsigned char *buf = _cpp_unaligned_alloc (pfile, len + 2); 214 cpp_errno (pfile, CPP_DL_WARNIN 350 builtin_macro(cpp_reader *pfile, cpp_hashnode *node) argument 411 stringify_arg(cpp_reader *pfile, macro_arg *arg) argument 503 paste_tokens(cpp_reader *pfile, const cpp_token **plhs, const cpp_token *rhs) argument 566 paste_all_tokens(cpp_reader *pfile, const cpp_token *lhs) argument 604 _cpp_arguments_ok(cpp_reader *pfile, cpp_macro *macro, const cpp_hashnode *node, unsigned int argc) argument 647 collect_args(cpp_reader *pfile, const cpp_hashnode *node, _cpp_buff **pragma_buff) argument 830 funlike_invocation_p(cpp_reader *pfile, cpp_hashnode *node, _cpp_buff **pragma_buff) argument 887 enter_macro_context(cpp_reader *pfile, cpp_hashnode *node, const cpp_token *result) argument 988 replace_args(cpp_reader *pfile, cpp_hashnode *node, cpp_macro *macro, macro_arg *args) argument 1133 padding_token(cpp_reader *pfile, const cpp_token *source) argument 1149 next_context(cpp_reader *pfile) argument 1167 push_ptoken_context(cpp_reader *pfile, cpp_hashnode *macro, _cpp_buff *buff, const cpp_token **first, unsigned int count) argument 1181 _cpp_push_token_context(cpp_reader *pfile, cpp_hashnode *macro, const cpp_token *first, unsigned int count) argument 1195 _cpp_push_text_context(cpp_reader *pfile, cpp_hashnode *macro, const uchar *start, size_t len) argument 1215 expand_arg(cpp_reader *pfile, macro_arg *arg) argument 1260 _cpp_pop_context(cpp_reader *pfile) argument 1285 cpp_get_token(cpp_reader *pfile) argument 1405 cpp_get_token_with_location(cpp_reader *pfile, source_location *loc) argument 1423 cpp_sys_macro_p(cpp_reader *pfile) argument 1433 cpp_scan_nooutput(cpp_reader *pfile) argument 1455 _cpp_backup_tokens_direct(cpp_reader *pfile, unsigned int count) argument 1474 _cpp_backup_tokens(cpp_reader *pfile, unsigned int count) argument 1493 warn_of_redefinition(cpp_reader *pfile, const cpp_hashnode *node, const cpp_macro *macro2) argument 1555 _cpp_save_parameter(cpp_reader *pfile, cpp_macro *macro, cpp_hashnode *node) argument 1589 parse_params(cpp_reader *pfile, cpp_macro *macro) argument 1671 alloc_expansion_token(cpp_reader *pfile, cpp_macro *macro) argument 1682 lex_expansion_token(cpp_reader *pfile, cpp_macro *macro) argument 1706 create_iso_definition(cpp_reader *pfile, cpp_macro *macro) argument 1902 _cpp_create_definition(cpp_reader *pfile, cpp_hashnode *node) argument 1995 check_trad_stringification(cpp_reader *pfile, const cpp_macro *macro, const cpp_string *string) argument 2040 cpp_macro_definition(cpp_reader *pfile, const cpp_hashnode *node) argument [all...] |
H A D | directives-only.c | 38 _cpp_preprocess_dir_only (cpp_reader *pfile, argument 51 buffer = pfile->buffer; 57 loc = pfile->line_table->highest_line; 79 CPP_INCREMENT_LINE (pfile, 0); 94 if (!pfile->state.skipping && next_line != base) 100 _cpp_get_fresh_line (pfile); 105 _cpp_handle_directive (pfile, 0 /* ignore indented */); 109 line_table = pfile->line_table; 114 must use pfile->buffer, not buffer. */ 115 if (pfile [all...] |
H A D | traditional.c | 100 check_output_buffer (cpp_reader *pfile, size_t n) argument 106 if (n > (size_t) (pfile->out.limit - pfile->out.cur)) 108 size_t size = pfile->out.cur - pfile->out.base; 111 pfile->out.base = XRESIZEVEC (unsigned char, pfile->out.base, new_size); 112 pfile->out.limit = pfile->out.base + new_size; 113 pfile 120 skip_macro_block_comment(cpp_reader *pfile) argument 149 copy_comment(cpp_reader *pfile, const uchar *cur, int in_define) argument 213 skip_whitespace(cpp_reader *pfile, const uchar *cur, int skip_comments) argument 245 lex_identifier(cpp_reader *pfile, const uchar *cur) argument 267 _cpp_overlay_buffer(cpp_reader *pfile, const uchar *start, size_t len) argument 284 _cpp_remove_overlay(cpp_reader *pfile) argument 299 _cpp_read_logical_line_trad(cpp_reader *pfile) argument 314 maybe_start_funlike(cpp_reader *pfile, cpp_hashnode *node, const uchar *start, struct fun_macro *macro) argument 344 _cpp_scan_out_logical_line(cpp_reader *pfile, cpp_macro *macro) argument 690 push_replacement_text(cpp_reader *pfile, cpp_hashnode *node) argument 719 recursive_macro(cpp_reader *pfile, cpp_hashnode *node) argument 824 replace_args_and_push(cpp_reader *pfile, struct fun_macro *fmacro) argument 939 scan_parameters(cpp_reader *pfile, cpp_macro *macro) argument 981 save_replacement_text(cpp_reader *pfile, cpp_macro *macro, unsigned int arg_index) argument 1032 _cpp_create_trad_definition(cpp_reader *pfile, cpp_macro *macro) argument [all...] |
H A D | files.c | 171 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 file_hash_entry *new_file_hash_entry (cpp_reader *pfile); 194 static char *remap_filename (cpp_reader *pfile, _cpp_file *file); 291 pch_open_file (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) argument 301 if (file->name[0] == '\0' || !pfile 363 find_file_in_dir(cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) argument 423 search_path_exhausted(cpp_reader *pfile, const char *header, _cpp_file *file) argument 465 _cpp_find_file(cpp_reader *pfile, const char *fname, cpp_dir *start_dir, bool fake, int angle_brackets) argument 599 read_file_guts(cpp_reader *pfile, _cpp_file *file) argument 675 read_file(cpp_reader *pfile, _cpp_file *file) argument 701 should_stack_file(cpp_reader *pfile, _cpp_file *file, bool import) argument 809 _cpp_stack_file(cpp_reader *pfile, _cpp_file *file, bool import) argument 852 _cpp_mark_file_once_only(cpp_reader *pfile, _cpp_file *file) argument 862 search_path_head(cpp_reader *pfile, const char *fname, int angle_brackets, enum include_type type) argument 922 _cpp_stack_include(cpp_reader *pfile, const char *fname, int angle_brackets, enum include_type type) argument 950 open_file_failed(cpp_reader *pfile, _cpp_file *file, int angle_brackets) argument 995 make_cpp_file(cpp_reader *pfile, cpp_dir *dir, const char *fname) argument 1020 destroy_all_cpp_files(cpp_reader *pfile) argument 1039 make_cpp_dir(cpp_reader *pfile, const char *dir_name, int sysp) argument 1074 allocate_file_hash_entries(cpp_reader *pfile) argument 1084 new_file_hash_entry(cpp_reader *pfile) argument 1096 free_file_hash_entries(cpp_reader *pfile) argument 1111 cpp_included(cpp_reader *pfile, const char *fname) argument 1128 cpp_included_before(cpp_reader *pfile, const char *fname, source_location location) argument 1184 _cpp_init_files(cpp_reader *pfile) argument 1201 _cpp_cleanup_files(cpp_reader *pfile) argument 1214 cpp_clear_file_cache(cpp_reader *pfile) argument 1224 _cpp_fake_include(cpp_reader *pfile, const char *fname) argument 1233 cpp_make_system_header(cpp_reader *pfile, int syshdr, int externc) argument 1251 cpp_change_file(cpp_reader *pfile, enum lc_reason reason, const char *new_name) argument 1303 _cpp_report_missing_guards(cpp_reader *pfile) argument 1334 _cpp_compare_file_date(cpp_reader *pfile, const char *fname, int angle_brackets) argument 1360 cpp_push_include(cpp_reader *pfile, const char *fname) argument 1368 _cpp_pop_file_buffer(cpp_reader *pfile, _cpp_file *file) argument 1400 cpp_set_include_chains(cpp_reader *pfile, cpp_dir *quote, cpp_dir *bracket, int quote_ignores_source_dir) argument 1531 remap_filename(cpp_reader *pfile, _cpp_file *file) argument 1567 validate_pch(cpp_reader *pfile, _cpp_file *file, const char *pchname) argument 1619 cpp_get_buffer(cpp_reader *pfile) argument 1683 _cpp_save_file_entries(cpp_reader *pfile, FILE *fp) argument [all...] |
H A D | lex.c | 102 _cpp_clean_line (cpp_reader *pfile) argument 108 buffer = pfile->buffer; 167 if (CPP_OPTION (pfile, trigraphs)) 208 if (CPP_OPTION (pfile, trigraphs)) 238 warn_in_comment (cpp_reader *pfile, _cpp_line_note *note) argument 250 if (CPP_OPTION (pfile, trigraphs)) 266 _cpp_process_line_notes (cpp_reader *pfile, int in_comment) argument 268 cpp_buffer *buffer = pfile->buffer; 284 cpp_error_with_line (pfile, CPP_DL_WARNING, pfile 330 _cpp_skip_block_comment(cpp_reader *pfile) argument 388 skip_line_comment(cpp_reader *pfile) argument 402 skip_whitespace(cpp_reader *pfile, cppchar_t c) argument 435 name_p(cpp_reader *pfile, const cpp_string *string) argument 449 warn_about_normalization(cpp_reader *pfile, const cpp_token *token, const struct normalize_state *s) argument 474 forms_identifier_p(cpp_reader *pfile, int first, struct normalize_state *state) argument 511 lex_identifier_intern(cpp_reader *pfile, const uchar *base) argument 559 _cpp_lex_identifier(cpp_reader *pfile, const char *name) argument 568 lex_identifier(cpp_reader *pfile, const uchar *base, bool starts_ucn, struct normalize_state *nst) argument 635 lex_number(cpp_reader *pfile, cpp_string *number, struct normalize_state *nst) argument 667 create_literal(cpp_reader *pfile, cpp_token *token, const uchar *base, unsigned int len, enum cpp_ttype type) argument 683 bufring_append(cpp_reader *pfile, const uchar *base, size_t len, _cpp_buff **first_buff_p, _cpp_buff **last_buff_p) argument 717 lex_raw_string(cpp_reader *pfile, cpp_token *token, const uchar *base, const uchar *cur) argument 970 lex_string(cpp_reader *pfile, cpp_token *token, const uchar *base) argument 1046 cpp_get_comments(cpp_reader *pfile) argument 1053 store_comment(cpp_reader *pfile, cpp_token *token) argument 1090 save_comment(cpp_reader *pfile, cpp_token *token, const unsigned char *from, cppchar_t type) argument 1159 cpp_peek_token(cpp_reader *pfile, int index) argument 1205 _cpp_temp_token(cpp_reader *pfile) argument 1246 _cpp_lex_token(cpp_reader *pfile) argument 1313 _cpp_get_fresh_line(cpp_reader *pfile) argument 1375 _cpp_lex_direct(cpp_reader *pfile) argument 1805 cpp_spell_token(cpp_reader *pfile, const cpp_token *token, unsigned char *buffer, bool forstring) argument 1868 cpp_token_as_text(cpp_reader *pfile, const cpp_token *token) argument 1979 cpp_avoid_paste(cpp_reader *pfile, const cpp_token *token1, const cpp_token *token2) argument 2036 cpp_output_line(cpp_reader *pfile, FILE *fp) argument 2056 cpp_output_line_to_string(cpp_reader *pfile, const unsigned char *dir_name) argument 2135 _cpp_release_buff(cpp_reader *pfile, _cpp_buff *buff) argument 2147 _cpp_get_buff(cpp_reader *pfile, size_t min_size) argument 2176 _cpp_append_extend_buff(cpp_reader *pfile, _cpp_buff *buff, size_t min_extra) argument 2192 _cpp_extend_buff(cpp_reader *pfile, _cpp_buff **pbuff, size_t min_extra) argument 2218 _cpp_unaligned_alloc(cpp_reader *pfile, size_t len) argument 2246 _cpp_aligned_alloc(cpp_reader *pfile, size_t len) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20040304-1.c | 2 cpplib_macroExpand (char * pfile) argument 15 token = macarg (pfile, rest_args);
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20040304-1.c | 2 cpplib_macroExpand (char * pfile) argument 15 token = macarg (pfile, rest_args);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/ia64/ |
H A D | 20080802-1.c | 10 _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);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/sh/ |
H A D | sh-c.c | 53 sh_pr_interrupt (struct cpp_reader *pfile ATTRIBUTE_UNUSED) 59 sh_pr_trapa (struct cpp_reader *pfile ATTRIBUTE_UNUSED) 65 sh_pr_nosave_low_regs (struct cpp_reader *pfile ATTRIBUTE_UNUSED)
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/config/c4x/ |
H A D | c4x-c.c | 97 c4x_pr_CODE_SECTION (pfile) 98 cpp_reader *pfile ATTRIBUTE_UNUSED; 110 c4x_pr_DATA_SECTION (pfile) 111 cpp_reader *pfile ATTRIBUTE_UNUSED; 123 c4x_pr_FUNC_IS_PURE (pfile) 124 cpp_reader *pfile ATTRIBUTE_UNUSED; 134 c4x_pr_FUNC_NEVER_RETURNS (pfile) 135 cpp_reader *pfile ATTRIBUTE_UNUSED; 145 c4x_pr_INTERRUPT (pfile) 146 cpp_reader *pfile ATTRIBUTE_UNUSE [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/config/sh/ |
H A D | sh-c.c | 54 sh_pr_interrupt (struct cpp_reader *pfile ATTRIBUTE_UNUSED) 60 sh_pr_trapa (struct cpp_reader *pfile ATTRIBUTE_UNUSED) 66 sh_pr_nosave_low_regs (struct cpp_reader *pfile ATTRIBUTE_UNUSED)
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | scan-decls.c | 48 get_a_token (cpp_reader *pfile) argument 52 const cpp_token *result = cpp_get_token (pfile); 59 skip_to_closing_brace (cpp_reader *pfile) argument 64 enum cpp_ttype token = get_a_token (pfile)->type; 98 scan_decls (cpp_reader *pfile, int argc ATTRIBUTE_UNUSED, argument 106 token = get_a_token (pfile); 172 token = get_a_token (pfile); 193 token = get_a_token (pfile); 197 skip_to_closing_brace (pfile); 204 token = get_a_token (pfile); [all...] |