Home
last modified time | relevance | path

Searched refs:hashnode (Results 1 – 15 of 15) sorted by relevance

/openbsd-src/gnu/gcc/libcpp/include/
H A Dsymtab.h38 typedef struct ht_identifier *hashnode; typedef
48 hashnode *entries;
50 hashnode (*alloc_node) (hash_table *);
75 extern hashnode ht_lookup (hash_table *, const unsigned char *,
77 extern hashnode ht_lookup_with_hash (hash_table *, const unsigned char *,
86 typedef int (*ht_cb) (struct cpp_reader *, hashnode, const void *);
90 extern void ht_load (hash_table *ht, hashnode *entries,
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dstringpool.c49 static hashnode alloc_node PARAMS ((hash_table *));
50 static int mark_ident PARAMS ((struct cpp_reader *, hashnode, const PTR));
65 static hashnode
103 hashnode ht_node = ht_lookup (ident_hash,
119 hashnode ht_node = ht_lookup (ident_hash,
135 hashnode ht_node;
158 hashnode h;
H A Dhashtable.h42 typedef struct ht_identifier *hashnode; typedef
52 hashnode *entries;
54 hashnode (*alloc_node) PARAMS ((hash_table *));
75 extern hashnode ht_lookup PARAMS ((hash_table *, const unsigned char *,
81 typedef int (*ht_cb) PARAMS ((struct cpp_reader *, hashnode, const void *));
H A Dhashtable.c92 table->entries = (hashnode *) xcalloc (nslots, sizeof (hashnode));
116 hashnode
127 hashnode node;
184 hashnode *nentries, *p, *limit;
188 nentries = (hashnode *) xcalloc (size, sizeof (hashnode));
228 hashnode *p, *limit;
250 hashnode *p, *limit;
277 headers = table->nslots * sizeof (hashnode);
H A Dcpphash.c60 table->alloc_node = (hashnode (*) PARAMS ((hash_table *))) alloc_node;
H A Ddwarf2out.c3147 static hashnode indirect_string_alloc PARAMS ((hash_table *));
3149 hashnode, const PTR));
12692 static hashnode
12703 return (hashnode) node;
12712 hashnode h;
H A DChangeLog.32078 * cpphash.h (enum node_type, struct hashnode, _cpp_lookup
2080 * cpplib.h: ... here. Rename struct hashnode to struct
3184 (struct hashnode): Remove aschain, add pred.
3816 * cpphash.h (struct hashnode): Use struct hack for name
4949 static. Allocate the hashnode and its string in the same
5147 (union hashval): Move into struct hashnode.
5148 (struct hashnode): Pack tighter. Remove file, line, col
5164 _cpp_free_definition to clear out a hashnode.
5884 (struct hashnode): ... here. Also add 'disabled' flag.
7890 pointer, with 'macro', which points to a struct hashnode.
[all …]
H A DChangeLog.17698 `struct hashnode *aschain' member for #assert.
7714 delete_macro on the hashnode, or walk a predicate chain
H A DChangeLog.45224 hashnode definition and builtin handling.
H A DChangeLog.53009 * c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
H A DChangeLog.68496 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
/openbsd-src/gnu/gcc/gcc/
H A Dstringpool.c53 static hashnode alloc_node (hash_table *);
54 static int mark_ident (struct cpp_reader *, hashnode, const void *);
74 static hashnode
110 hashnode ht_node = ht_lookup (ident_hash, in get_identifier()
124 hashnode ht_node = ht_lookup (ident_hash, in get_identifier_with_length()
139 hashnode ht_node; in maybe_get_identifier()
160 mark_ident (struct cpp_reader *pfile ATTRIBUTE_UNUSED, hashnode h, in mark_ident()
/openbsd-src/gnu/gcc/libcpp/
H A Dsymtab.c68 table->entries = XCNEWVEC (hashnode, nslots); in ht_create()
93 hashnode
101 hashnode
109 hashnode node; in ht_lookup_with_hash()
181 hashnode *nentries, *p, *limit; in ht_expand()
185 nentries = XCNEWVEC (hashnode, size); in ht_expand()
223 hashnode *p, *limit; in ht_forall()
238 ht_load (hash_table *ht, hashnode *entries, in ht_load()
258 hashnode *p, *limit; in ht_dump_statistics()
285 headers = table->nslots * sizeof (hashnode); in ht_dump_statistics()
H A Didentifiers.c56 table->alloc_node = (hashnode (*) (hash_table *)) alloc_node; in _cpp_init_hashtable()
/openbsd-src/gnu/gcc/gcc/cp/
H A Dmangle.c2591 hashnode ht_node = ht_lookup (ident_hash, (const unsigned char *) name, in get_identifier_nocopy()