Searched refs:cpp_hashnode (Results 1 - 15 of 15) sorted by relevance

/freebsd-10-stable/contrib/gcclibs/libcpp/
H A Didentifiers.c31 static cpp_hashnode *alloc_node (hash_table *);
35 static cpp_hashnode *
38 cpp_hashnode *node;
40 node = XOBNEW (&table->pfile->hash_ob, cpp_hashnode);
41 memset (node, 0, sizeof (cpp_hashnode));
91 cpp_hashnode *
102 cpp_hashnode *node;
116 first in cpp_hashnode. */
H A Dpch.c26 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)
113 cpp_hashnode **defs;
123 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p)
210 count_defs (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *h
[all...]
H A Dinternal.h170 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...]
H A Dmacro.c44 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,
114 _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node)
290 builtin_macro (cpp_reader *pfile, cpp_hashnode *nod
[all...]
H A Ddirectives.c35 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 *nod
[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 *);
90 static void maybe_start_funlike (cpp_reader *, cpp_hashnode *, const uchar *,
243 static cpp_hashnode *
248 cpp_hashnode *result;
256 result = (cpp_hashnode *) ht_lookup (pfile->hash_table, pfile->out.cur,
313 maybe_start_funlike (cpp_reader *pfile, cpp_hashnode *node, const uchar *start, struct fun_macro *macro)
470 cpp_hashnode *nod
[all...]
H A Dinit.c348 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len);
369 cpp_hashnode *hp = cpp_lookup (pfile, b->name, b->len);
H A Dlex.c506 static cpp_hashnode *
510 cpp_hashnode *result;
541 result = (cpp_hashnode *)
H A Dexpr.c527 cpp_hashnode *node = 0;
H A Dfiles.c78 const cpp_hashnode *cmacro;
/freebsd-10-stable/contrib/gcclibs/libcpp/include/
H A Dcpp-id-data.h40 cpp_hashnode ** GTY ((nested_ptr (union tree_node,
H A Dcpplib.h40 typedef struct cpp_hashnode cpp_hashnode; typedef in typeref:struct:cpp_hashnode
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(()) function
696 const cpp_hashnode *);
831 extern cpp_hashnode *cpp_lookup (cpp_reader *, const unsigned char *,
834 typedef int (*cpp_cb) (cpp_reader *, cpp_hashnode *, voi
[all...]
/freebsd-10-stable/contrib/gcc/
H A Dc-ppoutput.c48 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)
358 cpp_hashnode *node)
457 dump_macro (cpp_reader *pfile, cpp_hashnode *node, void *v ATTRIBUTE_UNUSED)
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 *);
310 cb_define (cpp_reader *pfile, source_location loc, cpp_hashnode *node)
320 cpp_hashnode *node)
H A Dc-common.h182 struct cpp_hashnode node;

Completed in 100 milliseconds