/freebsd-11-stable/contrib/gcclibs/libcpp/include/ |
H A D | cpplib.h | 35 typedef struct cpp_reader cpp_reader; typedef in typeref:struct:cpp_reader 258 /* This structure is nested inside struct cpp_reader, and 459 typedef const char *(*missing_header_cb)(cpp_reader *, const char *header, cpp_dir **); 465 void (*line_change) (cpp_reader *, const cpp_token *, int); 471 void (*file_change) (cpp_reader *, const struct line_map *); 473 void (*dir_change) (cpp_reader *, const char *); 474 void (*include) (cpp_reader *, unsigned int, const unsigned char *, 476 void (*define) (cpp_reader *, unsigned int, cpp_hashnode *); 477 void (*undef) (cpp_reader *, unsigne [all...] |
H A D | symtab.h | 59 struct cpp_reader *pfile; 86 typedef int (*ht_cb) (struct cpp_reader *, hashnode, const void *);
|
/freebsd-11-stable/contrib/gcclibs/libcpp/ |
H A D | internal.h | 105 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); 312 /* A cpp_reader encapsulates the "state" of a pre-processor run. 314 tokens. Usually, there is only one cpp_reader object active. */ 315 struct cpp_reader struct 493 static inline int cpp_in_system_header (cpp_reader *); [all...] |
H A D | identifiers.c | 48 _cpp_init_hashtable (cpp_reader *pfile, hash_table *table) 80 _cpp_destroy_hashtable (cpp_reader *pfile) 92 cpp_lookup (cpp_reader *pfile, const unsigned char *str, unsigned int len) 100 cpp_defined (cpp_reader *pfile, const unsigned char *str, int len) 113 cpp_forall_identifiers (cpp_reader *pfile, cpp_cb cb, void *v)
|
H A D | directives.c | 42 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 *); 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 D | init.c | 30 static void mark_named_operators (cpp_reader *); 31 static void read_original_filename (cpp_reader *); 32 static void read_original_directory (cpp_reader *); 33 static void post_options (cpp_reader *); 99 cpp_set_lang (cpp_reader *pfile, enum c_lang lang) 136 /* Initialize a cpp_reader structure. */ 137 cpp_reader * 141 cpp_reader *pfile; 146 pfile = XCNEW (cpp_reader); 235 cpp_destroy (cpp_reader *pfil [all...] |
H A D | errors.c | 31 static void print_location (cpp_reader *, source_location, unsigned int); 38 print_location (cpp_reader *pfile, source_location line, unsigned int col) 80 _cpp_begin_message (cpp_reader *pfile, int code, 136 cpp_error (cpp_reader * pfile, int level, const char *msgid, ...) 181 cpp_error_with_line (cpp_reader *pfile, int level, 196 cpp_errno (cpp_reader *pfile, int level, const char *msgid)
|
H A D | files.c | 153 static bool pch_open_file (cpp_reader *pfile, _cpp_file *file, 155 static bool find_file_in_dir (cpp_reader *pfile, _cpp_file *file, 157 static bool read_file_guts (cpp_reader *pfile, _cpp_file *file); 158 static bool read_file (cpp_reader *pfile, _cpp_file *file); 159 static bool should_stack_file (cpp_reader *, _cpp_file *file, bool import); 160 static struct cpp_dir *search_path_head (cpp_reader *, const char *fname, 163 static void open_file_failed (cpp_reader *pfile, _cpp_file *file, int); 166 static _cpp_file *make_cpp_file (cpp_reader *, cpp_dir *, const char *fname); 168 static cpp_dir *make_cpp_dir (cpp_reader *, const char *dir_name, int sysp); 169 static void allocate_file_hash_entries (cpp_reader *pfil [all...] |
H A D | macro.c | 44 static int enter_macro_context (cpp_reader *, cpp_hashnode *); 45 static int builtin_macro (cpp_reader *, cpp_hashnode *); 46 static void push_ptoken_context (cpp_reader *, cpp_hashnode *, _cpp_buff *, 48 static _cpp_buff *collect_args (cpp_reader *, const cpp_hashnode *); 49 static cpp_context *next_context (cpp_reader *); 50 static const cpp_token *padding_token (cpp_reader *, const cpp_token *); 51 static void expand_arg (cpp_reader *, macro_arg *); 52 static const cpp_token *new_string_token (cpp_reader *, uchar *, unsigned int); 53 static const cpp_token *stringify_arg (cpp_reader *, macro_arg *); 54 static void paste_all_tokens (cpp_reader *, cons [all...] |
H A D | pch.c | 26 static int write_macdef (cpp_reader *, cpp_hashnode *, void *); 27 static int save_idents (cpp_reader *, cpp_hashnode *, void *); 31 static int count_defs (cpp_reader *, cpp_hashnode *, void *); 33 static int collect_ht_nodes (cpp_reader *, cpp_hashnode *, void *); 34 static int write_defs (cpp_reader *, cpp_hashnode *, void *); 35 static int save_macros (cpp_reader *, cpp_hashnode *, void *); 49 write_macdef (cpp_reader *pfile, cpp_hashnode *hn, void *file_p) 123 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) 187 /* Save the current definitions of the cpp_reader for dependency 193 cpp_save_state (cpp_reader * [all...] |
H A D | lex.c | 54 static int skip_line_comment (cpp_reader *); 55 static void skip_whitespace (cpp_reader *, cppchar_t); 56 static void lex_string (cpp_reader *, cpp_token *, const uchar *); 57 static void save_comment (cpp_reader *, cpp_token *, const uchar *, cppchar_t); 58 static void create_literal (cpp_reader *, cpp_token *, const uchar *, 60 static bool warn_in_comment (cpp_reader *, _cpp_line_note *); 61 static int name_p (cpp_reader *, const cpp_string *); 100 _cpp_clean_line (cpp_reader *pfile) 236 warn_in_comment (cpp_reader *pfile, _cpp_line_note *note) 264 _cpp_process_line_notes (cpp_reader *pfil [all...] |
H A D | makedepend.c | 129 static cpp_reader * 132 cpp_reader *reader; 164 cpp_reader *reader = reader_init (&line_table);
|
H A D | traditional.c | 82 static const uchar *skip_whitespace (cpp_reader *, const uchar *, int); 83 static cpp_hashnode *lex_identifier (cpp_reader *, const uchar *); 84 static const uchar *copy_comment (cpp_reader *, const uchar *, int); 85 static void check_output_buffer (cpp_reader *, size_t); 86 static void push_replacement_text (cpp_reader *, cpp_hashnode *); 87 static bool scan_parameters (cpp_reader *, cpp_macro *); 88 static bool recursive_macro (cpp_reader *, cpp_hashnode *); 89 static void save_replacement_text (cpp_reader *, cpp_macro *, unsigned int); 90 static void maybe_start_funlike (cpp_reader *, cpp_hashnode *, const uchar *, 93 static void replace_args_and_push (cpp_reader *, struc [all...] |
H A D | expr.c | 46 static cpp_num num_unary_op (cpp_reader *, cpp_num, enum cpp_ttype); 47 static cpp_num num_binary_op (cpp_reader *, cpp_num, cpp_num, enum cpp_ttype); 49 static cpp_num num_bitwise_op (cpp_reader *, cpp_num, cpp_num, enum cpp_ttype); 50 static cpp_num num_inequality_op (cpp_reader *, cpp_num, cpp_num, 52 static cpp_num num_equality_op (cpp_reader *, cpp_num, cpp_num, 54 static cpp_num num_mul (cpp_reader *, cpp_num, cpp_num); 55 static cpp_num num_div_op (cpp_reader *, cpp_num, cpp_num, enum cpp_ttype); 60 static cpp_num parse_defined (cpp_reader *); 61 static cpp_num eval_token (cpp_reader *, const cpp_token *); 62 static struct op *reduce (cpp_reader *, struc [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | c-incpath.h | 20 extern void register_include_chains (cpp_reader *, const char *,
|
H A D | c-ppoutput.c | 43 static void scan_translation_unit (cpp_reader *); 45 static void scan_translation_unit_directives_only (cpp_reader *); 46 static void scan_translation_unit_trad (cpp_reader *); 48 static int dump_macro (cpp_reader *, cpp_hashnode *, void *); 55 static void cb_line_change (cpp_reader *, const cpp_token *, int); 56 static void cb_define (cpp_reader *, source_location, cpp_hashnode *); 57 static void cb_undef (cpp_reader *, source_location, cpp_hashnode *); 58 static void cb_include (cpp_reader *, source_location, const unsigned char *, 60 static void cb_ident (cpp_reader *, source_location, const cpp_string *); 61 static void cb_def_pragma (cpp_reader *, source_locatio [all...] |
H A D | c-pragma.h | 56 extern struct cpp_reader* parse_in; 84 typedef void (*pragma_handler)(struct cpp_reader *);
|
H A D | coretypes.h | 53 Note that the cpp_reader typedef remains part of cpplib.h. */ 55 struct cpp_reader;
|
H A D | scan-decls.c | 28 static void skip_to_closing_brace (cpp_reader *); 29 static const cpp_token *get_a_token (cpp_reader *); 48 get_a_token (cpp_reader *pfile) 59 skip_to_closing_brace (cpp_reader *pfile) 98 scan_decls (cpp_reader *pfile, int argc ATTRIBUTE_UNUSED,
|
H A D | stringpool.c | 54 static int mark_ident (struct cpp_reader *, hashnode, const void *); 161 mark_ident (struct cpp_reader *pfile ATTRIBUTE_UNUSED, hashnode h,
|
H A D | scan.h | 59 extern int scan_decls (struct cpp_reader *, int, char **);
|
/freebsd-11-stable/contrib/gcc/config/ |
H A D | darwin-protos.h | 67 extern void darwin_pragma_ignore (struct cpp_reader *); 68 extern void darwin_pragma_options (struct cpp_reader *); 69 extern void darwin_pragma_unused (struct cpp_reader *); 70 extern void darwin_pragma_ms_struct (struct cpp_reader *); 89 extern void darwin_cpp_builtins (struct cpp_reader *);
|
/freebsd-11-stable/contrib/gcc/config/ia64/ |
H A D | ia64-c.c | 36 ia64_hpux_handle_builtin_pragma (cpp_reader *pfile ATTRIBUTE_UNUSED)
|
/freebsd-11-stable/contrib/gcc/cp/ |
H A D | lex.c | 45 static void handle_pragma_vtable (cpp_reader *); 46 static void handle_pragma_unit (cpp_reader *); 47 static void handle_pragma_interface (cpp_reader *); 48 static void handle_pragma_implementation (cpp_reader *); 49 static void handle_pragma_java_exceptions (cpp_reader *); 483 handle_pragma_vtable (cpp_reader* dfile ATTRIBUTE_UNUSED ) 490 handle_pragma_unit (cpp_reader* dfile ATTRIBUTE_UNUSED ) 497 handle_pragma_interface (cpp_reader* dfile ATTRIBUTE_UNUSED ) 537 handle_pragma_implementation (cpp_reader* dfile ATTRIBUTE_UNUSED ) 586 handle_pragma_java_exceptions (cpp_reader* dfil [all...] |
/freebsd-11-stable/contrib/gcc/config/arm/ |
H A D | arm-protos.h | 187 extern void arm_pr_long_calls (struct cpp_reader *); 188 extern void arm_pr_no_long_calls (struct cpp_reader *); 189 extern void arm_pr_long_calls_off (struct cpp_reader *);
|