Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-spellcheck.cc46 should_suggest_as_macro_p (cpp_hashnode *hashnode) in should_suggest_as_macro_p() argument
48 if (!cpp_macro_p (hashnode)) in should_suggest_as_macro_p()
53 if (cpp_user_macro_p (hashnode) in should_suggest_as_macro_p()
54 && name_reserved_for_implementation_p ((const char *)hashnode->ident.str)) in should_suggest_as_macro_p()
65 find_closest_macro_cpp_cb (cpp_reader *, cpp_hashnode *hashnode, in find_closest_macro_cpp_cb() argument
68 if (!should_suggest_as_macro_p (hashnode)) in find_closest_macro_cpp_cb()
72 bmm->consider (hashnode); in find_closest_macro_cpp_cb()
H A Dc-spellcheck.h32 static size_t get_length (cpp_hashnode *hashnode)
34 return hashnode->ident.len;
37 static const char *get_string (cpp_hashnode *hashnode)
39 return (const char *)hashnode->ident.str;
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-spellcheck.cc46 should_suggest_as_macro_p (cpp_hashnode *hashnode) in should_suggest_as_macro_p() argument
48 if (!cpp_macro_p (hashnode)) in should_suggest_as_macro_p()
53 if (cpp_user_macro_p (hashnode) in should_suggest_as_macro_p()
54 && name_reserved_for_implementation_p ((const char *)hashnode->ident.str)) in should_suggest_as_macro_p()
65 find_closest_macro_cpp_cb (cpp_reader *, cpp_hashnode *hashnode, in find_closest_macro_cpp_cb() argument
68 if (!should_suggest_as_macro_p (hashnode)) in find_closest_macro_cpp_cb()
72 bmm->consider (hashnode); in find_closest_macro_cpp_cb()
H A Dc-spellcheck.h32 static size_t get_length (cpp_hashnode *hashnode)
34 return hashnode->ident.len;
37 static const char *get_string (cpp_hashnode *hashnode)
39 return (const char *)hashnode->ident.str;
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/include/
H A Dsymtab.h41 typedef struct ht_identifier *hashnode; typedef
51 hashnode *entries;
53 hashnode (*alloc_node) (cpp_hash_table *);
78 extern hashnode ht_lookup (cpp_hash_table *, const unsigned char *,
80 extern hashnode ht_lookup_with_hash (cpp_hash_table *, const unsigned char *,
89 typedef int (*ht_cb) (struct cpp_reader *, hashnode, const void *);
97 extern void ht_load (cpp_hash_table *ht, hashnode *entries,
/netbsd-src/external/gpl3/gcc/dist/libcpp/include/
H A Dsymtab.h41 typedef struct ht_identifier *hashnode; typedef
51 hashnode *entries;
53 hashnode (*alloc_node) (cpp_hash_table *);
78 extern hashnode ht_lookup (cpp_hash_table *, const unsigned char *,
80 extern hashnode ht_lookup_with_hash (cpp_hash_table *, const unsigned char *,
89 typedef int (*ht_cb) (struct cpp_reader *, hashnode, const void *);
97 extern void ht_load (cpp_hash_table *ht, hashnode *entries,
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dstringpool.cc35 static hashnode alloc_node (cpp_hash_table *);
36 static int mark_ident (struct cpp_reader *, hashnode, const void *);
60 static hashnode
95 hashnode ht_node = ht_lookup (ident_hash, in get_identifier()
109 hashnode ht_node = ht_lookup (ident_hash, in get_identifier_with_length()
124 hashnode ht_node; in maybe_get_identifier()
145 mark_ident (struct cpp_reader *pfile ATTRIBUTE_UNUSED, hashnode h, in mark_ident()
155 maybe_delete_ident (struct cpp_reader *pfile ATTRIBUTE_UNUSED, hashnode h, in maybe_delete_ident()
H A DChangeLog-20005230 hashnode definition and builtin handling.
17344 * cpphash.h (enum node_type, struct hashnode, _cpp_lookup
17346 * cpplib.h: ... here. Rename struct hashnode to struct
18450 (struct hashnode): Remove aschain, add pred.
19082 * cpphash.h (struct hashnode): Use struct hack for name
20215 static. Allocate the hashnode and its string in the same
20413 (union hashval): Move into struct hashnode.
20414 (struct hashnode): Pack tighter. Remove file, line, col
20430 _cpp_free_definition to clear out a hashnode.
21150 (struct hashnode): ... here. Also add 'disabled' flag.
[all …]
H A DChangeLog-1998379 `struct hashnode *aschain' member for #assert.
395 delete_macro on the hashnode, or walk a predicate chain
H A DChangeLog-20018496 * cpplib.c (struct pragma_entry): Store the name as a hashnode.
22216 * c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
H A DChangeLog-200327888 hashnode's value to another hashtable, then clear the original.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dstringpool.c35 static hashnode alloc_node (cpp_hash_table *);
36 static int mark_ident (struct cpp_reader *, hashnode, const void *);
60 static hashnode
95 hashnode ht_node = ht_lookup (ident_hash, in get_identifier()
109 hashnode ht_node = ht_lookup (ident_hash, in get_identifier_with_length()
124 hashnode ht_node; in maybe_get_identifier()
145 mark_ident (struct cpp_reader *pfile ATTRIBUTE_UNUSED, hashnode h, in mark_ident()
155 maybe_delete_ident (struct cpp_reader *pfile ATTRIBUTE_UNUSED, hashnode h, in maybe_delete_ident()
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dsymtab.cc37 #define DELETED ((hashnode) -1)
68 table->entries = XCNEWVEC (hashnode, nslots); in ht_create()
90 hashnode
98 hashnode
107 hashnode node; in ht_lookup_with_hash()
184 hashnode *nentries, *p, *limit; in ht_expand()
188 nentries = XCNEWVEC (hashnode, size); in ht_expand()
226 hashnode *p, *limit; in ht_forall()
244 hashnode *p, *limit; in ht_purge()
259 ht_load (cpp_hash_table *ht, hashnode *entries, in ht_load()
[all …]
H A Didentifiers.cc30 static hashnode alloc_node (cpp_hash_table *);
34 static hashnode
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Dsymtab.c37 #define DELETED ((hashnode) -1)
68 table->entries = XCNEWVEC (hashnode, nslots); in ht_create()
90 hashnode
98 hashnode
107 hashnode node; in ht_lookup_with_hash()
184 hashnode *nentries, *p, *limit; in ht_expand()
188 nentries = XCNEWVEC (hashnode, size); in ht_expand()
226 hashnode *p, *limit; in ht_forall()
244 hashnode *p, *limit; in ht_purge()
259 ht_load (cpp_hash_table *ht, hashnode *entries, in ht_load()
[all …]
H A Didentifiers.c30 static hashnode alloc_node (cpp_hash_table *);
34 static hashnode
/netbsd-src/sys/net/lagg/
H A Dif_lagg.c810 const struct sysctlnode **rnode, *hashnode; in lagg_setup_sysctls() local
825 error = sysctl_createv(slog, 0, rnode, &hashnode, in lagg_setup_sysctls()
832 error = sysctl_createv(slog, 0, &hashnode, NULL, in lagg_setup_sysctls()
839 error = sysctl_createv(slog, 0, &hashnode, NULL, in lagg_setup_sysctls()
846 error = sysctl_createv(slog, 0, &hashnode, NULL, in lagg_setup_sysctls()
853 error = sysctl_createv(slog, 0, &hashnode, NULL, in lagg_setup_sysctls()
860 error = sysctl_createv(slog, 0, &hashnode, NULL, in lagg_setup_sysctls()