Home
last modified time | relevance | path

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

12

/dflybsd-src/contrib/gcc-8.0/libcpp/
H A Dinternal.h149 cpp_hashnode *macro_node;
219 cpp_hashnode *macro;
281 cpp_hashnode *n_defined; /* defined operator */
282 cpp_hashnode *n_true; /* C++ keyword true */
283 cpp_hashnode *n_false; /* C++ keyword false */
284 cpp_hashnode *n__VA_ARGS__; /* C99 vararg macros */
285 cpp_hashnode *n__VA_OPT__; /* C++ vararg macros */
286 cpp_hashnode *n__has_include__; /* __has_include__ operator */
287 cpp_hashnode *n__has_include_next__; /* __has_include_next__ operator */
428 cpp_hashnode *top_most_macro_node;
[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()
118 cpp_hashnode **defs;
128 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in save_idents()
225 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()
92 cpp_hashnode *
103 cpp_hashnode *node; in cpp_defined()
114 extern char proxy_assertion_broken[offsetof (struct cpp_hashnode, ident) == 0 ? 1 : -1];
H A Dmacro.c87 cpp_hashnode *canonical_node;
245 static int enter_macro_context (cpp_reader *, cpp_hashnode *,
247 static int builtin_macro (cpp_reader *, cpp_hashnode *,
249 static void push_ptoken_context (cpp_reader *, cpp_hashnode *, _cpp_buff *,
251 static void push_extended_tokens_context (cpp_reader *, cpp_hashnode *,
254 static _cpp_buff *collect_args (cpp_reader *, const cpp_hashnode *,
307 static void replace_args (cpp_reader *, cpp_hashnode *, cpp_macro *,
309 static _cpp_buff *funlike_invocation_p (cpp_reader *, cpp_hashnode *,
317 static bool warn_of_redefinition (cpp_reader *, cpp_hashnode *,
328 static cpp_hashnode* macro_of_context (cpp_context *context);
[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 *);
106 static cpp_hashnode *lex_macro_node (cpp_reader *, bool);
107 static int undefine_macros (cpp_reader *, cpp_hashnode *, void *);
110 const cpp_hashnode *);
128 static cpp_hashnode *parse_assertion (cpp_reader *, struct answer **, int);
129 static struct answer ** find_answer (cpp_hashnode *, const struct answer *);
588 static cpp_hashnode *
602 cpp_hashnode *node = token->val.node.node; in lex_macro_node()
[all …]
H A Dtraditional.c57 cpp_hashnode *node;
88 static cpp_hashnode *lex_identifier (cpp_reader *, const uchar *);
91 static void push_replacement_text (cpp_reader *, cpp_hashnode *);
93 static bool recursive_macro (cpp_reader *, cpp_hashnode *);
95 static void maybe_start_funlike (cpp_reader *, cpp_hashnode *, const uchar *,
256 static cpp_hashnode *
261 cpp_hashnode *result; in lex_identifier()
326 fun_like_macro (cpp_hashnode *node) in fun_like_macro()
337 maybe_start_funlike (cpp_reader *pfile, cpp_hashnode *node, const uchar *start, in maybe_start_funlike()
516 cpp_hashnode *node; in _cpp_scan_out_logical_line()
[all …]
/dflybsd-src/contrib/gcc-4.7/libcpp/
H A Dinternal.h148 cpp_hashnode *macro_node;
218 cpp_hashnode *macro;
277 cpp_hashnode *n_defined; /* defined operator */
278 cpp_hashnode *n_true; /* C++ keyword true */
279 cpp_hashnode *n_false; /* C++ keyword false */
280 cpp_hashnode *n__VA_ARGS__; /* C99 vararg macros */
448 const cpp_hashnode *mi_cmacro;
449 const cpp_hashnode *mi_ind_cmacro;
602 extern void _cpp_free_definition (cpp_hashnode *);
603 extern bool _cpp_create_definition (cpp_reader *, cpp_hashnode *);
[all …]
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 *);
51 write_macdef (cpp_reader *pfile, cpp_hashnode *hn, void *file_p) in write_macdef()
117 cpp_hashnode **defs;
127 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in save_idents()
214 count_defs (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p) in count_defs()
[all …]
H A Didentifiers.c38 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()
113 extern char proxy_assertion_broken[offsetof (struct cpp_hashnode, ident) == 0 ? 1 : -1];
H A Dmacro.c87 static int enter_macro_context (cpp_reader *, cpp_hashnode *,
89 static int builtin_macro (cpp_reader *, cpp_hashnode *);
90 static void push_ptoken_context (cpp_reader *, cpp_hashnode *, _cpp_buff *,
92 static void push_extended_tokens_context (cpp_reader *, cpp_hashnode *,
95 static _cpp_buff *collect_args (cpp_reader *, const cpp_hashnode *,
147 static void replace_args (cpp_reader *, cpp_hashnode *, cpp_macro *,
149 static _cpp_buff *funlike_invocation_p (cpp_reader *, cpp_hashnode *,
157 static bool warn_of_redefinition (cpp_reader *, cpp_hashnode *,
178 _cpp_warn_if_unused_macro (cpp_reader *pfile, cpp_hashnode *node, in _cpp_warn_if_unused_macro()
218 _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node) in _cpp_builtin_macro_text()
[all …]
H A Ddirectives.c36 const cpp_hashnode *mi_cmacro;/* macro name for #ifndef around entire file */
47 const cpp_hashnode *pragma; /* Name and length. */
104 static void push_conditional (cpp_reader *, int, int, const cpp_hashnode *);
108 static cpp_hashnode *lex_macro_node (cpp_reader *, bool);
109 static int undefine_macros (cpp_reader *, cpp_hashnode *, void *);
112 const cpp_hashnode *);
126 static cpp_hashnode *parse_assertion (cpp_reader *, struct answer **, int);
127 static struct answer ** find_answer (cpp_hashnode *, const struct answer *);
532 static cpp_hashnode *
546 cpp_hashnode *node = token->val.node.node; in lex_macro_node()
[all …]
H A Dtraditional.c58 cpp_hashnode *node;
84 static cpp_hashnode *lex_identifier (cpp_reader *, const uchar *);
87 static void push_replacement_text (cpp_reader *, cpp_hashnode *);
89 static bool recursive_macro (cpp_reader *, cpp_hashnode *);
91 static void maybe_start_funlike (cpp_reader *, cpp_hashnode *, const uchar *,
244 static cpp_hashnode *
249 cpp_hashnode *result; in lex_identifier()
314 maybe_start_funlike (cpp_reader *pfile, cpp_hashnode *node, const uchar *start, struct fun_macro *m… in maybe_start_funlike()
476 cpp_hashnode *node; in _cpp_scan_out_logical_line()
690 push_replacement_text (cpp_reader *pfile, cpp_hashnode *node) in push_replacement_text()
[all …]
/dflybsd-src/contrib/gcc-8.0/libcpp/include/
H A Dcpplib.h34 typedef struct cpp_hashnode cpp_hashnode; typedef
217 cpp_hashnode *
227 cpp_hashnode *
233 cpp_hashnode *
576 void (*define) (cpp_reader *, source_location, cpp_hashnode *);
577 void (*undef) (cpp_reader *, source_location, cpp_hashnode *);
586 cpp_hashnode * (*macro_to_expand) (cpp_reader *, const cpp_token *);
596 void (*used_define) (cpp_reader *, source_location, cpp_hashnode *);
597 void (*used_undef) (cpp_reader *, source_location, cpp_hashnode *);
603 void (*used) (cpp_reader *, source_location, cpp_hashnode *);
[all …]
H A Dcpp-id-data.h39 cpp_hashnode ** GTY ((nested_ptr (union tree_node,
H A Dline-map.h438 struct cpp_hashnode;
447 struct cpp_hashnode * GTY ((nested_ptr (union tree_node,
637 inline cpp_hashnode *
/dflybsd-src/contrib/gcc-4.7/libcpp/include/
H A Dcpplib.h36 typedef struct cpp_hashnode cpp_hashnode; typedef
214 cpp_hashnode *
513 void (*define) (cpp_reader *, source_location, cpp_hashnode *);
514 void (*undef) (cpp_reader *, source_location, cpp_hashnode *);
523 cpp_hashnode * (*macro_to_expand) (cpp_reader *, const cpp_token *);
533 void (*used_define) (cpp_reader *, source_location, cpp_hashnode *);
534 void (*used_undef) (cpp_reader *, source_location, cpp_hashnode *);
540 void (*used) (cpp_reader *, source_location, cpp_hashnode *);
543 bool (*user_builtin_macro) (cpp_reader *, cpp_hashnode *);
639 #define CPP_HASHNODE(HNODE) ((cpp_hashnode *) (HNODE))
[all …]
H A Dcpp-id-data.h38 cpp_hashnode ** GTY ((nested_ptr (union tree_node,
H A Dline-map.h94 struct cpp_hashnode;
107 struct cpp_hashnode * GTY ((nested_ptr (union tree_node,
/dflybsd-src/contrib/gcc-8.0/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 *, source_location, cpp_hashnode *);
73 static void cb_undef (cpp_reader *, source_location, cpp_hashnode *);
74 static void cb_used_define (cpp_reader *, source_location, cpp_hashnode *);
75 static void cb_used_undef (cpp_reader *, source_location, cpp_hashnode *);
499 cb_define (cpp_reader *pfile, source_location line, cpp_hashnode *node) in cb_define()
524 cpp_hashnode *node) in cb_undef()
533 cpp_hashnode *node) in cb_used_define()
547 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()
H A Dc-ada-spec.c73 cpp_hashnode *param = macro->params[i]; in macro_length()
171 count_ada_macro (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *node, in count_ada_macro()
191 cpp_hashnode *node, void *macros) in store_ada_macro()
200 ((cpp_hashnode **) macros)[store_ada_macro_index++] = node; in store_ada_macro()
211 typedef const cpp_hashnode *const_hnode; in compare_macro()
225 cpp_hashnode **macros; in dump_ada_macros()
234 macros = XALLOCAVEC (cpp_hashnode *, max_ada_macros); in dump_ada_macros()
236 qsort (macros, max_ada_macros, sizeof (cpp_hashnode *), compare_macro); in dump_ada_macros()
240 cpp_hashnode *node = macros[j]; in dump_ada_macros()
259 cpp_hashnode *param = macro->params[i]; in dump_ada_macros()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/c-family/
H A Dc-ppoutput.c59 static int dump_macro (cpp_reader *, cpp_hashnode *, void *);
72 static void cb_define (cpp_reader *, source_location, cpp_hashnode *);
73 static void cb_undef (cpp_reader *, source_location, cpp_hashnode *);
74 static void cb_used_define (cpp_reader *, source_location, cpp_hashnode *);
75 static void cb_used_undef (cpp_reader *, source_location, cpp_hashnode *);
455 cb_define (cpp_reader *pfile, source_location line, cpp_hashnode *node) in cb_define()
479 cpp_hashnode *node) in cb_undef()
488 cpp_hashnode *node) in cb_used_define()
502 cpp_hashnode *node) in cb_used_undef()
643 dump_macro (cpp_reader *pfile, cpp_hashnode *node, void *v ATTRIBUTE_UNUSED) in dump_macro()
H A Dc-ada-spec.c83 cpp_hashnode *param = macro->params[i]; in macro_length()
128 print_ada_macros (pretty_printer *pp, cpp_hashnode **macros, int max_ada_macros) in print_ada_macros()
134 cpp_hashnode *node = macros [j]; in print_ada_macros()
153 cpp_hashnode *param = macro->params[i]; in print_ada_macros()
191 cpp_hashnode *param = in print_ada_macros()
433 count_ada_macro (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *node, in count_ada_macro()
455 cpp_hashnode *node, void *macros) in store_ada_macro()
463 ((cpp_hashnode **) macros)[store_ada_macro_index++] = node; in store_ada_macro()
474 typedef const cpp_hashnode *const_hnode; in compare_macro()
487 cpp_hashnode **macros; in dump_ada_macros()
[all …]
H A Dc-lex.c61 static void cb_define (cpp_reader *, unsigned int, cpp_hashnode *);
62 static void cb_undef (cpp_reader *, unsigned int, cpp_hashnode *);
270 cb_define (cpp_reader *pfile, source_location loc, cpp_hashnode *node) in cb_define()
280 cpp_hashnode *node) in cb_undef()

12