Home
last modified time | relevance | path

Searched refs:cpp_hashnode (Results 1 – 25 of 33) sorted by relevance

12

/openbsd/gnu/gcc/libcpp/
H A Dpch.c27 static int save_idents (cpp_reader *, cpp_hashnode *, void *);
31 static int count_defs (cpp_reader *, cpp_hashnode *, void *);
34 static int write_defs (cpp_reader *, cpp_hashnode *, void *);
113 cpp_hashnode **defs;
291 cpp_hashnode *x = *(cpp_hashnode **) px; in comp_hashnodes()
292 cpp_hashnode *y = *(cpp_hashnode **) py; in comp_hashnodes()
313 ss->defs = XNEWVEC (cpp_hashnode *, ss->n_defs); in cpp_write_pch_deps()
373 cpp_hashnode **defs;
431 cpp_hashnode *h; in cpp_valid_state()
498 nl.defs = XNEWVEC (cpp_hashnode *, nl.asize); in cpp_valid_state()
[all …]
H A Didentifiers.c31 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()
H A Dinternal.h170 cpp_hashnode *macro;
228 cpp_hashnode *n_defined; /* defined operator */
229 cpp_hashnode *n_true; /* C++ keyword true */
230 cpp_hashnode *n_false; /* C++ keyword false */
231 cpp_hashnode *n__VA_ARGS__; /* C99 vararg macros */
367 const cpp_hashnode *mi_cmacro;
368 const cpp_hashnode *mi_ind_cmacro;
496 extern void _cpp_free_definition (cpp_hashnode *);
497 extern bool _cpp_create_definition (cpp_reader *, cpp_hashnode *);
499 extern void _cpp_push_text_context (cpp_reader *, cpp_hashnode *,
[all …]
H A Dmacro.c44 static int builtin_macro (cpp_reader *, cpp_hashnode *);
282 builtin_macro (cpp_reader *pfile, cpp_hashnode *node) in builtin_macro()
1083 cpp_hashnode *node; in cpp_get_token()
1156 cpp_hashnode *node = pfile->context->macro; in cpp_sys_macro_p()
1261 _cpp_free_definition (cpp_hashnode *h) in _cpp_free_definition()
1284 < (macro->paramc + 1) * sizeof (cpp_hashnode *)) in _cpp_save_parameter()
1440 cpp_hashnode **params = in create_iso_definition()
1444 sizeof (cpp_hashnode *) * macro->paramc); in create_iso_definition()
1613 struct cpp_hashnode *node = macro->params[i]; in _cpp_create_definition()
1678 const cpp_hashnode *node = macro->params[i]; in check_trad_stringification()
[all …]
H A Ddirectives.c506 static cpp_hashnode *
1059 const cpp_hashnode *node; in register_pragma_1()
1362 cpp_hashnode *hp; in do_pragma_poison()
1628 const cpp_hashnode *node = 0; in do_ifndef()
1765 const cpp_hashnode *cmacro) in push_conditional()
1866 static cpp_hashnode *
1869 cpp_hashnode *result = 0; in parse_assertion()
1929 cpp_hashnode *node; in _cpp_test_assertion()
1952 cpp_hashnode *node; in do_assert()
1996 cpp_hashnode *node; in do_unassert()
[all …]
H A Dtraditional.c57 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 *);
243 static cpp_hashnode *
248 cpp_hashnode *result; in lex_identifier()
470 cpp_hashnode *node; in _cpp_scan_out_logical_line()
684 push_replacement_text (cpp_reader *pfile, cpp_hashnode *node) in push_replacement_text()
713 recursive_macro (cpp_reader *pfile, cpp_hashnode *node) in recursive_macro()
793 cpp_hashnode *param; in _cpp_copy_replacement_text()
[all …]
H A Dinit.c343 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len); in mark_named_operators()
370 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len); in cpp_init_builtins()
H A Dlex.c494 static cpp_hashnode *
498 cpp_hashnode *result; in lex_identifier()
529 result = (cpp_hashnode *) in lex_identifier()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dcpphash.c31 static cpp_hashnode *alloc_node PARAMS ((hash_table *));
35 static cpp_hashnode *
39 cpp_hashnode *node;
41 node = (cpp_hashnode *) obstack_alloc (&table->pfile->hash_ob,
42 sizeof (cpp_hashnode));
43 memset ((PTR) node, 0, sizeof (cpp_hashnode));
93 cpp_hashnode *
110 cpp_hashnode *node;
H A Dcpphash.h75 cpp_hashnode **params;
206 cpp_hashnode *macro;
257 cpp_hashnode *n_defined; /* defined operator */
258 cpp_hashnode *n_true; /* C++ keyword true */
259 cpp_hashnode *n_false; /* C++ keyword false */
260 cpp_hashnode *n__VA_ARGS__; /* C99 vararg macros */
373 const cpp_hashnode *mi_cmacro;
374 const cpp_hashnode *mi_ind_cmacro;
505 cpp_hashnode *));
507 const cpp_hashnode *,
[all …]
H A Dcpplib.h42 typedef struct cpp_hashnode cpp_hashnode; typedef
185 cpp_hashnode *node; /* An identifier. */
420 void (*define) PARAMS ((cpp_reader *, unsigned int, cpp_hashnode *));
421 void (*undef) PARAMS ((cpp_reader *, unsigned int, cpp_hashnode *));
473 #define CPP_HASHNODE(HNODE) ((cpp_hashnode *) (HNODE))
481 struct cpp_hashnode struct
580 const cpp_hashnode *));
711 extern cpp_hashnode *cpp_lookup PARAMS ((cpp_reader *,
715 typedef int (*cpp_cb) PARAMS ((cpp_reader *, cpp_hashnode *, void *));
H A Dcppmacro.c82 cpp_hashnode *node;
131 cpp_hashnode *node;
265 cpp_hashnode *node;
706 cpp_hashnode *node;
748 cpp_hashnode *node;
809 cpp_hashnode *node;
979 cpp_hashnode *macro;
997 cpp_hashnode *macro;
1295 cpp_hashnode *h; in _cpp_free_definition()
1309 cpp_hashnode *node;
[all …]
H A Dcpplib.c108 const cpp_hashnode *));
481 static cpp_hashnode *
1037 const cpp_hashnode *node;
1157 cpp_hashnode *hp;
1629 static cpp_hashnode *
1635 cpp_hashnode *result = 0;
1666 cpp_hashnode *node; in find_answer()
1699 cpp_hashnode *node;
1723 cpp_hashnode *node;
1756 cpp_hashnode *node;
[all …]
H A Dcpptrad.c57 cpp_hashnode *node;
93 static bool recursive_macro PARAMS ((cpp_reader *, cpp_hashnode *));
96 static void maybe_start_funlike PARAMS ((cpp_reader *, cpp_hashnode *,
301 static cpp_hashnode *
308 cpp_hashnode *result;
396 cpp_hashnode *node;
569 cpp_hashnode *node;
786 cpp_hashnode *node;
811 cpp_hashnode *node;
894 cpp_hashnode *param;
[all …]
H A Dcppmain.c36 static int dump_macro PARAMS ((cpp_reader *, cpp_hashnode *, void *));
46 static void cb_define PARAMS ((cpp_reader *, unsigned int, cpp_hashnode *));
47 static void cb_undef PARAMS ((cpp_reader *, unsigned int, cpp_hashnode *));
329 cpp_hashnode *node;
349 cpp_hashnode *node;
419 cpp_hashnode *node;
H A Dc-lex.c90 cpp_hashnode *));
92 cpp_hashnode *));
345 cpp_hashnode *node;
356 cpp_hashnode *node;
H A Dcpplex.c72 static cpp_hashnode *parse_identifier PARAMS ((cpp_reader *));
438 static cpp_hashnode *
442 cpp_hashnode *result;
457 result = (cpp_hashnode *)
464 result = (cpp_hashnode *)
H A Dcppfiles.c88 const cpp_hashnode *cmacro; /* macro, if any, preventing reinclusion. */
114 #define NEVER_REREAD ((const cpp_hashnode *) -1)
H A Dcppinit.c712 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len);
732 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len);
H A Dc-common.h180 struct cpp_hashnode GTY ((skip (""))) node;
/openbsd/gnu/gcc/libcpp/include/
H A Dcpplib.h40 typedef struct cpp_hashnode cpp_hashnode; typedef
200 cpp_hashnode *
468 void (*define) (cpp_reader *, unsigned int, cpp_hashnode *);
469 void (*undef) (cpp_reader *, unsigned int, cpp_hashnode *);
561 #define CPP_HASHNODE(HNODE) ((cpp_hashnode *) (HNODE))
599 struct cpp_hashnode GTY(())
683 const cpp_hashnode *);
818 extern cpp_hashnode *cpp_lookup (cpp_reader *, const unsigned char *,
821 typedef int (*cpp_cb) (cpp_reader *, cpp_hashnode *, void *);
H A Dcpp-id-data.h40 cpp_hashnode ** GTY ((nested_ptr (union tree_node,
/openbsd/gnu/gcc/gcc/
H A Dc-ppoutput.c46 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
54 static void cb_define (cpp_reader *, source_location, cpp_hashnode *);
55 static void cb_undef (cpp_reader *, source_location, cpp_hashnode *);
314 cb_define (cpp_reader *pfile, source_location line, cpp_hashnode *node) in cb_define()
333 cpp_hashnode *node) in cb_undef()
432 dump_macro (cpp_reader *pfile, cpp_hashnode *node, void *v ATTRIBUTE_UNUSED) in dump_macro()
H A Dc-lex.c75 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()
H A Dc-common.h174 struct cpp_hashnode node;

12