| /NextBSD/contrib/gcclibs/libcpp/ |
| HD | 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) in write_macdef() 113 cpp_hashnode **defs; 123 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in save_idents() 210 count_defs (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in count_defs() [all …]
|
| HD | identifiers.c | 31 static cpp_hashnode *alloc_node (hash_table *); 35 static cpp_hashnode * 38 cpp_hashnode *node; in alloc_node() 40 node = XOBNEW (&table->pfile->hash_ob, cpp_hashnode); in alloc_node() 41 memset (node, 0, sizeof (cpp_hashnode)); in alloc_node() 91 cpp_hashnode * 102 cpp_hashnode *node; in cpp_defined()
|
| HD | internal.h | 170 cpp_hashnode *macro; 233 cpp_hashnode *n_defined; /* defined operator */ 234 cpp_hashnode *n_true; /* C++ keyword true */ 235 cpp_hashnode *n_false; /* C++ keyword false */ 236 cpp_hashnode *n__VA_ARGS__; /* C99 vararg macros */ 376 const cpp_hashnode *mi_cmacro; 377 const cpp_hashnode *mi_ind_cmacro; 507 extern void _cpp_free_definition (cpp_hashnode *); 508 extern bool _cpp_create_definition (cpp_reader *, cpp_hashnode *); 510 extern void _cpp_push_text_context (cpp_reader *, cpp_hashnode *, [all …]
|
| HD | 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 *); 56 static void replace_args (cpp_reader *, cpp_hashnode *, cpp_macro *, 58 static _cpp_buff *funlike_invocation_p (cpp_reader *, cpp_hashnode *); 65 static bool warn_of_redefinition (cpp_reader *, const cpp_hashnode *, 74 _cpp_warn_if_unused_macro (cpp_reader *pfile, cpp_hashnode *node, in _cpp_warn_if_unused_macro() 114 _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node) in _cpp_builtin_macro_text() 290 builtin_macro (cpp_reader *pfile, cpp_hashnode *node) in builtin_macro() [all …]
|
| HD | directives.c | 35 const cpp_hashnode *mi_cmacro;/* macro name for #ifndef around entire file */ 46 const cpp_hashnode *pragma; /* Name and length. */ 101 static void push_conditional (cpp_reader *, int, int, const cpp_hashnode *); 105 static cpp_hashnode *lex_macro_node (cpp_reader *); 106 static int undefine_macros (cpp_reader *, cpp_hashnode *, void *); 109 const cpp_hashnode *); 123 static cpp_hashnode *parse_assertion (cpp_reader *, struct answer **, int); 124 static struct answer ** find_answer (cpp_hashnode *, const struct answer *); 511 static cpp_hashnode * 525 cpp_hashnode *node = token->val.node; in lex_macro_node() [all …]
|
| HD | traditional.c | 57 cpp_hashnode *node; 83 static cpp_hashnode *lex_identifier (cpp_reader *, const uchar *); 86 static void push_replacement_text (cpp_reader *, cpp_hashnode *); 88 static bool recursive_macro (cpp_reader *, cpp_hashnode *); 90 static void maybe_start_funlike (cpp_reader *, cpp_hashnode *, const uchar *, 243 static cpp_hashnode * 248 cpp_hashnode *result; in lex_identifier() 256 result = (cpp_hashnode *) ht_lookup (pfile->hash_table, pfile->out.cur, in lex_identifier() 313 maybe_start_funlike (cpp_reader *pfile, cpp_hashnode *node, const uchar *start, struct fun_macro *m… in maybe_start_funlike() 470 cpp_hashnode *node; in _cpp_scan_out_logical_line() [all …]
|
| HD | init.c | 348 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len); in mark_named_operators() 369 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len); in cpp_init_special_builtins()
|
| HD | lex.c | 506 static cpp_hashnode * 510 cpp_hashnode *result; in lex_identifier() 541 result = (cpp_hashnode *) in lex_identifier()
|
| HD | charset.c | 1530 cpp_hashnode *
|
| HD | files.c | 78 const cpp_hashnode *cmacro;
|
| HD | expr.c | 527 cpp_hashnode *node = 0; in parse_defined()
|
| HD | ChangeLog | 837 (struct cpp_hashnode): Don't skip fields of 'value' when marking.
|
| /NextBSD/contrib/gcclibs/libcpp/include/ |
| HD | cpplib.h | 40 typedef struct cpp_hashnode cpp_hashnode; typedef 200 cpp_hashnode * 476 void (*define) (cpp_reader *, unsigned int, cpp_hashnode *); 477 void (*undef) (cpp_reader *, unsigned int, cpp_hashnode *); 570 #define CPP_HASHNODE(HNODE) ((cpp_hashnode *) (HNODE)) 608 struct cpp_hashnode GTY(()) 696 const cpp_hashnode *); 831 extern cpp_hashnode *cpp_lookup (cpp_reader *, const unsigned char *, 834 typedef int (*cpp_cb) (cpp_reader *, cpp_hashnode *, void *);
|
| HD | cpp-id-data.h | 40 cpp_hashnode ** GTY ((nested_ptr (union tree_node,
|
| /NextBSD/contrib/gcc/ |
| HD | c-ppoutput.c | 48 static int dump_macro (cpp_reader *, cpp_hashnode *, void *); 56 static void cb_define (cpp_reader *, source_location, cpp_hashnode *); 57 static void cb_undef (cpp_reader *, source_location, cpp_hashnode *); 339 cb_define (cpp_reader *pfile, source_location line, cpp_hashnode *node) in cb_define() 358 cpp_hashnode *node) in cb_undef() 457 dump_macro (cpp_reader *pfile, cpp_hashnode *node, void *v ATTRIBUTE_UNUSED) in dump_macro()
|
| HD | c-lex.c | 75 static void cb_define (cpp_reader *, unsigned int, cpp_hashnode *); 76 static void cb_undef (cpp_reader *, unsigned int, cpp_hashnode *); 309 cb_define (cpp_reader *pfile, source_location loc, cpp_hashnode *node) in cb_define() 319 cpp_hashnode *node) in cb_undef()
|
| HD | c-common.h | 182 struct cpp_hashnode node;
|
| HD | ChangeLog-2000 | 5260 (struct cpp_hashnode): Change type of name. Remove union members 13733 (struct cpp_hashnode): Add code slot to value union. 14668 field, a cpp_hashnode *. All references to val.name updated 14917 (struct cpp_hashnode): Remove disabled field. 17213 potential_control_macro to a cpp_hashnode *. Add skipping flag. 17215 cpp_hashnode * and shorten name to cmacro. 17227 was_skipping. Change control_macro to a cpp_hashnode * and 17229 (parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *. 17347 cpp_hashnode and give it a typedef. Rename _cpp_lookup to 28915 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
|
| HD | ChangeLog-2001 | 22422 (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME, 22931 (cpp_hashnode): Rename length len. 30688 (struct cpp_hashnode): Remove fe_value.
|
| HD | ChangeLog-2002 | 1087 * cpplib.h (struct cpp_hashnode): Split a non-portably-signed field 1201 * cpplib.h (struct cpp_hashnode): Change field directive_index from 1250 (struct cpp_hashnode): Give _cpp_hashnode_value tag to value union.
|
| HD | ChangeLog-2003 | 36300 * cpplib.h (struct cpp_hashnode): Use gengtype to mark.
|