Home
last modified time | relevance | path

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

123

/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Dinternal.h158 cpp_hashnode *macro_node;
228 cpp_hashnode *macro;
288 cpp_hashnode *n_defined; /* defined operator */
289 cpp_hashnode *n_true; /* C++ keyword true */
290 cpp_hashnode *n_false; /* C++ keyword false */
291 cpp_hashnode *n__VA_ARGS__; /* C99 vararg macros */
292 cpp_hashnode *n__VA_OPT__; /* C++ vararg macros */
435 cpp_hashnode *top_most_macro_node;
473 const cpp_hashnode *mi_cmacro;
474 const cpp_hashnode *mi_ind_cmacro;
[all …]
H A Dpch.c25 static int write_macdef (cpp_reader *, cpp_hashnode *, void *);
26 static int save_idents (cpp_reader *, cpp_hashnode *, void *);
30 static int count_defs (cpp_reader *, cpp_hashnode *, void *);
32 static int collect_ht_nodes (cpp_reader *, cpp_hashnode *, void *);
33 static int write_defs (cpp_reader *, cpp_hashnode *, void *);
34 static int save_macros (cpp_reader *, cpp_hashnode *, void *);
50 write_macdef (cpp_reader *pfile, cpp_hashnode *hn, void *file_p) in write_macdef()
115 cpp_hashnode **defs;
125 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in save_idents()
222 count_defs (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in count_defs()
[all …]
H A Didentifiers.c37 cpp_hashnode *node; in alloc_node()
39 node = XOBNEW (&table->pfile->hash_ob, cpp_hashnode); in alloc_node()
40 memset (node, 0, sizeof (cpp_hashnode)); in alloc_node()
91 cpp_hashnode *
102 cpp_hashnode *node; in cpp_defined()
113 extern char proxy_assertion_broken[offsetof (struct cpp_hashnode, ident) == 0 ? 1 : -1];
H A Dmacro.c87 cpp_hashnode *canonical_node;
271 static int enter_macro_context (cpp_reader *, cpp_hashnode *,
273 static int builtin_macro (cpp_reader *, cpp_hashnode *,
275 static void push_ptoken_context (cpp_reader *, cpp_hashnode *, _cpp_buff *,
277 static void push_extended_tokens_context (cpp_reader *, cpp_hashnode *,
280 static _cpp_buff *collect_args (cpp_reader *, const cpp_hashnode *,
332 static void replace_args (cpp_reader *, cpp_hashnode *, cpp_macro *,
334 static _cpp_buff *funlike_invocation_p (cpp_reader *, cpp_hashnode *,
341 static bool warn_of_redefinition (cpp_reader *, cpp_hashnode *,
352 static cpp_hashnode* macro_of_context (cpp_context *context);
[all …]
H A Dtraditional.c57 cpp_hashnode *node;
87 static cpp_hashnode *lex_identifier (cpp_reader *, const uchar *);
90 static void push_replacement_text (cpp_reader *, cpp_hashnode *);
92 static bool recursive_macro (cpp_reader *, cpp_hashnode *);
94 static void maybe_start_funlike (cpp_reader *, cpp_hashnode *, const uchar *,
255 static cpp_hashnode *
260 cpp_hashnode *result; in lex_identifier()
325 fun_like_macro (cpp_hashnode *node) in fun_like_macro()
338 maybe_start_funlike (cpp_reader *pfile, cpp_hashnode *node, const uchar *start, in maybe_start_funlike()
517 cpp_hashnode *node; in _cpp_scan_out_logical_line()
[all …]
H A Ddirectives.c34 const cpp_hashnode *mi_cmacro;/* macro name for #ifndef around entire file */
45 const cpp_hashnode *pragma; /* Name and length. */
102 static void push_conditional (cpp_reader *, int, int, const cpp_hashnode *);
107 static cpp_hashnode *lex_macro_node (cpp_reader *, bool);
108 static int undefine_macros (cpp_reader *, cpp_hashnode *, void *);
111 const cpp_hashnode *);
129 static cpp_hashnode *parse_assertion (cpp_reader *, int, cpp_macro **);
130 static cpp_macro **find_answer (cpp_hashnode *, const cpp_macro *);
582 static cpp_hashnode *
596 cpp_hashnode *node = token->val.node.node; in lex_macro_node()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dinternal.h162 cpp_hashnode *macro_node;
232 cpp_hashnode *macro;
298 cpp_hashnode *n_defined; /* defined operator */
299 cpp_hashnode *n_true; /* C++ keyword true */
300 cpp_hashnode *n_false; /* C++ keyword false */
301 cpp_hashnode *n__VA_ARGS__; /* C99 vararg macros */
302 cpp_hashnode *n__VA_OPT__; /* C++ vararg macros */
308 cpp_hashnode *n_modules[M_HWM][2];
451 cpp_hashnode *top_most_macro_node;
489 const cpp_hashnode *mi_cmacro;
[all …]
H A Dpch.cc25 static int write_macdef (cpp_reader *, cpp_hashnode *, void *);
26 static int save_idents (cpp_reader *, cpp_hashnode *, void *);
30 static int count_defs (cpp_reader *, cpp_hashnode *, void *);
32 static int collect_ht_nodes (cpp_reader *, cpp_hashnode *, void *);
33 static int write_defs (cpp_reader *, cpp_hashnode *, void *);
34 static int save_macros (cpp_reader *, cpp_hashnode *, void *);
50 write_macdef (cpp_reader *pfile, cpp_hashnode *hn, void *file_p) in write_macdef()
115 cpp_hashnode **defs;
125 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in save_idents()
222 count_defs (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in count_defs()
[all …]
H A Didentifiers.cc37 cpp_hashnode *node; in alloc_node()
39 node = XOBNEW (&table->pfile->hash_ob, cpp_hashnode); in alloc_node()
40 memset (node, 0, sizeof (cpp_hashnode)); in alloc_node()
91 cpp_hashnode *
102 cpp_hashnode *node; in cpp_defined()
113 extern char proxy_assertion_broken[offsetof (struct cpp_hashnode, ident) == 0 ? 1 : -1];
H A Dmacro.cc87 cpp_hashnode *canonical_node;
281 static cpp_macro *get_deferred_or_lazy_macro (cpp_reader *, cpp_hashnode *,
283 static int enter_macro_context (cpp_reader *, cpp_hashnode *,
285 static int builtin_macro (cpp_reader *, cpp_hashnode *,
287 static void push_ptoken_context (cpp_reader *, cpp_hashnode *, _cpp_buff *,
289 static void push_extended_tokens_context (cpp_reader *, cpp_hashnode *,
292 static _cpp_buff *collect_args (cpp_reader *, const cpp_hashnode *,
345 static void replace_args (cpp_reader *, cpp_hashnode *, cpp_macro *,
347 static _cpp_buff *funlike_invocation_p (cpp_reader *, cpp_hashnode *,
363 static cpp_hashnode* macro_of_context (cpp_context *context);
[all …]
H A Dtraditional.cc57 cpp_hashnode *node;
87 static cpp_hashnode *lex_identifier (cpp_reader *, const uchar *);
90 static void push_replacement_text (cpp_reader *, cpp_hashnode *);
92 static bool recursive_macro (cpp_reader *, cpp_hashnode *);
94 static void maybe_start_funlike (cpp_reader *, cpp_hashnode *, const uchar *,
255 static cpp_hashnode *
260 cpp_hashnode *result; in lex_identifier()
329 fun_like_macro (cpp_hashnode *node) in fun_like_macro()
343 maybe_start_funlike (cpp_reader *pfile, cpp_hashnode *node, const uchar *start, in maybe_start_funlike()
522 cpp_hashnode *node; in _cpp_scan_out_logical_line()
[all …]
H A Ddirectives.cc34 const cpp_hashnode *mi_cmacro;/* macro name for #ifndef around entire file */
45 const cpp_hashnode *pragma; /* Name and length. */
108 static void push_conditional (cpp_reader *, int, int, const cpp_hashnode *);
113 static cpp_hashnode *lex_macro_node (cpp_reader *, bool);
114 static int undefine_macros (cpp_reader *, cpp_hashnode *, void *);
117 const cpp_hashnode *);
135 static cpp_hashnode *parse_assertion (cpp_reader *, int, cpp_macro **);
136 static cpp_macro **find_answer (cpp_hashnode *, const cpp_macro *);
598 static cpp_hashnode *
612 cpp_hashnode *node = token->val.node.node; in lex_macro_node()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libcpp/include/
H A Dcpplib.h34 typedef struct cpp_hashnode cpp_hashnode; typedef
221 cpp_hashnode *
231 cpp_hashnode *
237 cpp_hashnode *
686 void (*define) (cpp_reader *, location_t, cpp_hashnode *);
687 void (*undef) (cpp_reader *, location_t, cpp_hashnode *);
696 cpp_hashnode * (*macro_to_expand) (cpp_reader *, const cpp_token *);
709 void (*used_define) (cpp_reader *, location_t, cpp_hashnode *);
710 void (*used_undef) (cpp_reader *, location_t, cpp_hashnode *);
716 void (*used) (cpp_reader *, location_t, cpp_hashnode *);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/include/
H A Dcpplib.h34 typedef struct cpp_hashnode cpp_hashnode; typedef
218 cpp_hashnode *
228 cpp_hashnode *
234 cpp_hashnode *
645 void (*define) (cpp_reader *, location_t, cpp_hashnode *);
646 void (*undef) (cpp_reader *, location_t, cpp_hashnode *);
655 cpp_hashnode * (*macro_to_expand) (cpp_reader *, const cpp_token *);
668 void (*used_define) (cpp_reader *, location_t, cpp_hashnode *);
669 void (*used_undef) (cpp_reader *, location_t, cpp_hashnode *);
675 void (*used) (cpp_reader *, location_t, cpp_hashnode *);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-spellcheck.h30 struct edit_distance_traits<cpp_hashnode *>
32 static size_t get_length (cpp_hashnode *hashnode)
37 static const char *get_string (cpp_hashnode *hashnode)
46 class best_macro_match : public best_match<tree, cpp_hashnode *>
H A Dc-ppoutput.c59 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
72 static void cb_define (cpp_reader *, location_t, cpp_hashnode *);
73 static void cb_undef (cpp_reader *, location_t, cpp_hashnode *);
74 static void cb_used_define (cpp_reader *, location_t, cpp_hashnode *);
75 static void cb_used_undef (cpp_reader *, location_t, cpp_hashnode *);
500 cb_define (cpp_reader *pfile, location_t line, cpp_hashnode *node) in cb_define()
525 cpp_hashnode *node) in cb_undef()
534 cpp_hashnode *node) in cb_used_define()
549 cpp_hashnode *node) in cb_used_undef()
691 dump_macro (cpp_reader *pfile, cpp_hashnode *node, void *v ATTRIBUTE_UNUSED) in dump_macro()
H A Dc-spellcheck.cc46 should_suggest_as_macro_p (cpp_hashnode *hashnode) in should_suggest_as_macro_p()
65 find_closest_macro_cpp_cb (cpp_reader *, cpp_hashnode *hashnode, in find_closest_macro_cpp_cb()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-spellcheck.h30 struct edit_distance_traits<cpp_hashnode *>
32 static size_t get_length (cpp_hashnode *hashnode)
37 static const char *get_string (cpp_hashnode *hashnode)
46 class best_macro_match : public best_match<tree, cpp_hashnode *>
H A Dc-ppoutput.cc59 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
72 static void cb_define (cpp_reader *, location_t, cpp_hashnode *);
73 static void cb_undef (cpp_reader *, location_t, cpp_hashnode *);
74 static void cb_used_define (cpp_reader *, location_t, cpp_hashnode *);
75 static void cb_used_undef (cpp_reader *, location_t, cpp_hashnode *);
596 cb_define (cpp_reader *pfile, location_t line, cpp_hashnode *node) in cb_define()
619 cb_undef (cpp_reader *pfile, location_t line, cpp_hashnode *node) in cb_undef()
630 cpp_hashnode *node) in cb_used_define()
645 cpp_hashnode *node) in cb_used_undef()
787 dump_macro (cpp_reader *pfile, cpp_hashnode *node, void *v ATTRIBUTE_UNUSED) in dump_macro()
H A Dc-spellcheck.cc46 should_suggest_as_macro_p (cpp_hashnode *hashnode) in should_suggest_as_macro_p()
65 find_closest_macro_cpp_cb (cpp_reader *, cpp_hashnode *hashnode, in find_closest_macro_cpp_cb()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/spu/
H A Dspu-c.c32 static cpp_hashnode *
37 cpp_hashnode *ident = tok->val.node.node; in spu_categorize_keyword()
52 static cpp_hashnode *
55 cpp_hashnode *expand_this = tok->val.node.node; in spu_macro_to_expand()
56 cpp_hashnode *ident; in spu_macro_to_expand()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dcpp.cc141 static void cb_define (cpp_reader *, location_t, cpp_hashnode *);
142 static void cb_undef (cpp_reader *, location_t, cpp_hashnode *);
147 static void cb_used_define (cpp_reader *, location_t, cpp_hashnode *);
148 static void cb_used_undef (cpp_reader *, location_t, cpp_hashnode *);
155 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
752 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
979 cpp_hashnode *node ATTRIBUTE_UNUSED) in cb_define()
998 cpp_hashnode *node) in cb_undef()
1033 dump_macro (cpp_reader *pfile, cpp_hashnode *node, void *v ATTRIBUTE_UNUSED) in dump_macro()
1049 cpp_hashnode *node) in cb_used_define()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dcpp.c137 static void cb_define (cpp_reader *, location_t, cpp_hashnode *);
138 static void cb_undef (cpp_reader *, location_t, cpp_hashnode *);
143 static void cb_used_define (cpp_reader *, location_t, cpp_hashnode *);
144 static void cb_used_undef (cpp_reader *, location_t, cpp_hashnode *);
151 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
732 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
959 cpp_hashnode *node ATTRIBUTE_UNUSED) in cb_define()
978 cpp_hashnode *node) in cb_undef()
1013 dump_macro (cpp_reader *pfile, cpp_hashnode *node, void *v ATTRIBUTE_UNUSED) in dump_macro()
1029 cpp_hashnode *node) in cb_used_define()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Ds390-c.c155 static cpp_hashnode *
160 cpp_hashnode *ident = tok->val.node.node; in s390_categorize_keyword()
181 static cpp_hashnode *
184 cpp_hashnode *expand_this = tok->val.node.node; in s390_macro_to_expand()
185 cpp_hashnode *ident; in s390_macro_to_expand()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/
H A Ds390-c.cc155 static cpp_hashnode *
160 cpp_hashnode *ident = tok->val.node.node; in s390_categorize_keyword()
181 static cpp_hashnode *
184 cpp_hashnode *expand_this = tok->val.node.node; in s390_macro_to_expand()
185 cpp_hashnode *ident; in s390_macro_to_expand()

123