Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/gcclibs/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()
390 cpp_hashnode **defs;
449 cpp_hashnode *h; in cpp_valid_state()
516 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;
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;
508 extern void _cpp_free_definition (cpp_hashnode *);
509 extern bool _cpp_create_definition (cpp_reader *, cpp_hashnode *);
511 extern void _cpp_push_text_context (cpp_reader *, cpp_hashnode *,
[all …]
H A Dmacro.c45 static int builtin_macro (cpp_reader *, cpp_hashnode *);
290 builtin_macro (cpp_reader *pfile, cpp_hashnode *node) in builtin_macro()
1100 cpp_hashnode *node; in cpp_get_token()
1173 cpp_hashnode *node = pfile->context->macro; in cpp_sys_macro_p()
1278 _cpp_free_definition (cpp_hashnode *h) in _cpp_free_definition()
1301 < (macro->paramc + 1) * sizeof (cpp_hashnode *)) in _cpp_save_parameter()
1459 cpp_hashnode **params = in create_iso_definition()
1463 sizeof (cpp_hashnode *) * macro->paramc); in create_iso_definition()
1626 struct cpp_hashnode *node = macro->params[i]; in _cpp_create_definition()
1691 const cpp_hashnode *node = macro->params[i]; in check_trad_stringification()
[all …]
H A Ddirectives.c511 static cpp_hashnode *
1068 const cpp_hashnode *node; in register_pragma_1()
1384 cpp_hashnode *hp; in do_pragma_poison()
1650 const cpp_hashnode *node = 0; in do_ifndef()
1787 const cpp_hashnode *cmacro) in push_conditional()
1888 static cpp_hashnode *
1891 cpp_hashnode *result = 0; in parse_assertion()
1951 cpp_hashnode *node; in _cpp_test_assertion()
1974 cpp_hashnode *node; in do_assert()
2018 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.c348 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()
H A Dlex.c506 static cpp_hashnode *
510 cpp_hashnode *result; in lex_identifier()
541 result = (cpp_hashnode *) in lex_identifier()
H A Dcharset.c1530 cpp_hashnode *
H A Dfiles.c78 const cpp_hashnode *cmacro;
H A Dexpr.c527 cpp_hashnode *node = 0; in parse_defined()
H A DChangeLog837 (struct cpp_hashnode): Don't skip fields of 'value' when marking.
/freebsd-12.1/contrib/gcclibs/libcpp/include/
H A Dcpplib.h40 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 *);
H A Dcpp-id-data.h40 cpp_hashnode ** GTY ((nested_ptr (union tree_node,
/freebsd-12.1/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) 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()
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.h182 struct cpp_hashnode node;
H A DChangeLog-20005260 (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,
H A DChangeLog-200122422 (cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
22931 (cpp_hashnode): Rename length len.
30688 (struct cpp_hashnode): Remove fe_value.
H A DChangeLog-20021087 * 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.
H A DChangeLog-200336300 * cpplib.h (struct cpp_hashnode): Use gengtype to mark.