Home
last modified time | relevance | path

Searched +defs:hash +defs:table +defs:c (Results 1 – 25 of 36) sorted by relevance

12

/openbsd-src/sbin/unwind/libunbound/util/storage/
H A Dlruhash.c67 struct lruhash* table = (struct lruhash*)calloc(1, in lruhash_create() local
99 bin_delete(struct lruhash* table, struct lruhash_bin* bin) in bin_delete()
118 bin_split(struct lruhash* table, struct lruhash_bin* newa, in bin_split()
154 lruhash_delete(struct lruhash* table) in lruhash_delete()
183 reclaim_space(struct lruhash* table, struct lruhash_entry** list) in reclaim_space()
219 bin_find_entry(struct lruhash* table, in bin_find_entry()
220 struct lruhash_bin* bin, hashvalue_type hash, void* key, size_t* collisions) in bin_find_entry()
222 size_t c = 0; in bin_find_entry() local
236 table_grow(struct lruhash* table) in table_grow()
271 lru_front(struct lruhash* table, struct lruhash_entry* entry) in lru_front()
[all …]
/openbsd-src/usr.sbin/unbound/util/storage/
H A Dlruhash.c67 struct lruhash* table = (struct lruhash*)calloc(1, in lruhash_create() local
99 bin_delete(struct lruhash* table, struct lruhash_bin* bin) in bin_delete()
118 bin_split(struct lruhash* table, struct lruhash_bin* newa, in bin_split()
154 lruhash_delete(struct lruhash* table) in lruhash_delete()
183 reclaim_space(struct lruhash* table, struct lruhash_entry** list) in reclaim_space()
219 bin_find_entry(struct lruhash* table, in bin_find_entry()
220 struct lruhash_bin* bin, hashvalue_type hash, void* key, size_t* collisions) in bin_find_entry()
222 size_t c = 0; in bin_find_entry() local
236 table_grow(struct lruhash* table) in table_grow()
271 lru_front(struct lruhash* table, struct lruhash_entry* entry) in lru_front()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gas/
H A Dhash.c49 unsigned long hash; member
58 struct hash_entry **table; member
108 hash_die (struct hash_control *table) in hash_die()
129 hash_lookup (struct hash_control *table, const char *key, in hash_lookup()
132 register unsigned long hash; in hash_lookup() local
135 register unsigned int c; in hash_lookup() local
204 hash_insert (struct hash_control *table, const char *key, PTR value) in hash_insert()
208 unsigned long hash; in hash_insert() local
234 hash_jam (struct hash_control *table, const char *key, PTR value) in hash_jam()
238 unsigned long hash; in hash_jam() local
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/
H A Dhash.c45 unsigned long hash; member
54 struct hash_entry **table; member
138 hash_die (struct hash_control *table) in hash_die()
154 hash_lookup (struct hash_control *table, const char *key, size_t len, in hash_lookup()
157 unsigned long hash; in hash_lookup() local
159 unsigned int c; in hash_lookup() local
226 hash_insert (struct hash_control *table, const char *key, PTR value) in hash_insert()
230 unsigned long hash; in hash_insert() local
256 hash_jam (struct hash_control *table, const char *key, PTR value) in hash_jam()
260 unsigned long hash; in hash_jam() local
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dhashtable.c67 #define HASHSTEP(r, c) ((r) * 67 + ((c) - 113)); argument
83 hash_table *table; local
100 ht_destroy (table) in ht_destroy() argument
117 ht_lookup (table, str, len, insert) in ht_lookup() argument
123 unsigned int hash = calc_hash (str, len); local
181 ht_expand (table) in ht_expand() argument
196 unsigned int index, hash, hash2; local
223 ht_forall (table, cb, v) in ht_forall() argument
244 ht_dump_statistics (table) in ht_dump_statistics() argument
H A Dcse.c536 static struct table_elt *table[HASH_SIZE]; variable
1372 remove_from_table (elt, hash) in remove_from_table() argument
1457 lookup (x, hash, mode) in lookup() argument
1476 lookup_for_remove (x, hash, mode) in lookup_for_remove() argument
1566 insert (x, classp, hash, mode) in insert() argument
1771 unsigned int hash; local
1869 unsigned int hash = HASH (x, GET_MODE (x)); local
2052 unsigned hash; local
2102 unsigned hash; in invalidate_for_call() local
2230 unsigned hash = 0; local
[all …]
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dhash.c303 bfd_hash_table_init_n (table, newfunc, size) in bfd_hash_table_init_n() argument
336 bfd_hash_table_init (table, newfunc) in bfd_hash_table_init() argument
348 bfd_hash_table_free (table) in bfd_hash_table_free() argument
358 bfd_hash_lookup (table, string, create, copy) in bfd_hash_lookup() argument
365 register unsigned long hash; local
366 register unsigned int c; local
424 bfd_hash_replace (table, old, nw) in bfd_hash_replace() argument
450 bfd_hash_newfunc (entry, table, string) in bfd_hash_newfunc() argument
464 bfd_hash_allocate (table, size) in bfd_hash_allocate() argument
479 bfd_hash_traverse (table, func, info) in bfd_hash_traverse() argument
[all …]
H A Dmerge.c59 struct bfd_hash_table table; member
103 struct bfd_hash_table *table, const char *string) in sec_merge_hash_newfunc()
134 sec_merge_hash_lookup (struct sec_merge_hash *table, const char *string, in sec_merge_hash_lookup()
138 register unsigned long hash; in sec_merge_hash_lookup() local
139 register unsigned int c; in sec_merge_hash_lookup() local
241 struct sec_merge_hash *table; in sec_merge_init() local
H A Dlinker.c438 struct bfd_hash_table *table, in _bfd_link_hash_newfunc()
469 (struct bfd_link_hash_table *table, in _bfd_link_hash_table_init()
488 bfd_link_hash_lookup (struct bfd_link_hash_table *table, in bfd_link_hash_lookup()
604 (struct bfd_link_hash_table *table, in bfd_link_hash_traverse()
616 bfd_link_add_undef (struct bfd_link_hash_table *table, in bfd_link_add_undef()
631 struct bfd_hash_table *table, in _bfd_generic_link_hash_newfunc()
680 _bfd_generic_link_hash_table_free (struct bfd_link_hash_table *hash) in _bfd_generic_link_hash_table_free()
824 struct bfd_hash_table table; member
831 struct bfd_hash_table *table, in archive_hash_newfunc()
860 (struct archive_hash_table *table, in archive_hash_table_init()
[all …]
H A Decoff.c1875 size_t c; local
1994 int c; local
2872 char c; local
2955 unsigned int hash; local
3075 unsigned int hash, rehash, srch; local
3233 unsigned int hash, rehash; local
3404 ecoff_link_hash_newfunc (entry, table, string) in ecoff_link_hash_newfunc() argument
3460 #define ecoff_link_hash_lookup(table, string, create, copy, follow) \ argument
3466 #define ecoff_link_hash_traverse(table, func, info) \ argument
3551 unsigned int hash, rehash; local
H A Dvms-misc.c183 _bfd_vms_hash_newfunc (entry, table, string) in _bfd_vms_hash_newfunc() argument
979 register unsigned char c; local
980 register int hash = 0; local
H A Dxcofflink.c277 char *c; local
442 xcoff_link_hash_newfunc (entry, table, string) in xcoff_link_hash_newfunc() argument
520 _bfd_xcoff_bfd_link_hash_table_free (hash) in _bfd_xcoff_bfd_link_hash_table_free() argument
2087 unsigned int c; local
2641 unsigned int c; local
4194 bfd_boolean copy, hash; local
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dhash.c307 bfd_hash_table_init_n (struct bfd_hash_table *table, in bfd_hash_table_init_n()
340 bfd_hash_table_init (struct bfd_hash_table *table, in bfd_hash_table_init()
353 bfd_hash_table_free (struct bfd_hash_table *table) in bfd_hash_table_free()
362 bfd_hash_lookup (struct bfd_hash_table *table, in bfd_hash_lookup()
368 unsigned long hash; in bfd_hash_lookup() local
369 unsigned int c; in bfd_hash_lookup() local
426 bfd_hash_replace (struct bfd_hash_table *table, in bfd_hash_replace()
451 bfd_hash_allocate (struct bfd_hash_table *table, in bfd_hash_allocate()
466 struct bfd_hash_table *table, in bfd_hash_newfunc()
477 bfd_hash_traverse (struct bfd_hash_table *table, in bfd_hash_traverse()
[all …]
H A Dmerge.c60 struct bfd_hash_table table; member
104 struct bfd_hash_table *table, const char *string) in sec_merge_hash_newfunc()
133 sec_merge_hash_lookup (struct sec_merge_hash *table, const char *string, in sec_merge_hash_lookup()
137 register unsigned long hash; in sec_merge_hash_lookup() local
138 register unsigned int c; in sec_merge_hash_lookup() local
239 struct sec_merge_hash *table; in sec_merge_init() local
H A Dlinker.c438 struct bfd_hash_table *table, in _bfd_link_hash_newfunc()
471 (struct bfd_link_hash_table *table, in _bfd_link_hash_table_init()
491 bfd_link_hash_lookup (struct bfd_link_hash_table *table, in bfd_link_hash_lookup()
607 (struct bfd_link_hash_table *table, in bfd_link_hash_traverse()
619 bfd_link_add_undef (struct bfd_link_hash_table *table, in bfd_link_add_undef()
638 bfd_link_repair_undef_list (struct bfd_link_hash_table *table) in bfd_link_repair_undef_list()
673 struct bfd_hash_table *table, in _bfd_generic_link_hash_newfunc()
723 _bfd_generic_link_hash_table_free (struct bfd_link_hash_table *hash) in _bfd_generic_link_hash_table_free()
867 struct bfd_hash_table table; member
874 struct bfd_hash_table *table, in archive_hash_newfunc()
[all …]
H A Dvms-misc.c135 struct bfd_hash_table *table, in _bfd_vms_hash_newfunc()
856 unsigned char c; in hash_string() local
857 int hash = 0; in hash_string() local
H A Decoff.c1753 size_t c; in _bfd_ecoff_bfd_copy_private_bfd_data() local
1869 int c; in _bfd_ecoff_sizeof_headers() local
2738 char c; in _bfd_ecoff_write_object_contents() local
2820 unsigned int hash; in ecoff_armap_hash() local
2937 unsigned int hash, rehash, srch; in _bfd_ecoff_slurp_armap() local
3090 unsigned int hash, rehash; in _bfd_ecoff_write_armap() local
3246 struct bfd_hash_table *table, in ecoff_link_hash_newfunc()
3300 #define ecoff_link_hash_lookup(table, string, create, copy, follow) \ argument
3306 #define ecoff_link_hash_traverse(table, func, info) \ argument
3760 unsigned int hash, rehash; in ecoff_link_add_archive_symbols() local
/openbsd-src/usr.bin/openssl/
H A Dpasswd.c50 int table; member
250 char *c = (strchr(passwd, '\n')); in passwd_main() local
438 char *passwd, BIO * out, int quiet, int table, int reverse, in do_passwd()
441 char *hash = NULL; in do_passwd() local
/openbsd-src/usr.bin/dig/lib/isc/
H A Dsymtab.c41 eltlist_t * table; member
107 hash(const char *key, int case_sensitive) { in hash() function
110 int c; in hash() local
/openbsd-src/usr.sbin/unbound/validator/
H A Dval_nsec3.c263 size_t nsec3_hash_to_b32(uint8_t* hash, size_t hashlen, uint8_t* zone, in nsec3_hash_to_b32() argument
515 int c = query_dname_compare(h1->dname, h2->dname); in nsec3_hash_cmp() local
596 nsec3_calc_hash(struct regional * region,sldns_buffer * buf,struct nsec3_cached_hash * c) nsec3_calc_hash() argument
635 nsec3_calc_b32(struct regional * region,sldns_buffer * buf,struct nsec3_cached_hash * c) nsec3_calc_b32() argument
654 nsec3_hash_name(rbtree_type * table,struct regional * region,sldns_buffer * buf,struct ub_packed_rrset_key * nsec3,int rr,uint8_t * dname,size_t dname_len,struct nsec3_cached_hash ** hash) nsec3_hash_name() argument
656 nsec3_hash_name(rbtree_type * table,struct regional * region,sldns_buffer * buf,struct ub_packed_rrset_key * nsec3,int rr,uint8_t * dname,size_t dname_len,struct nsec3_cached_hash ** hash) nsec3_hash_name() argument
658 struct nsec3_cached_hash* c; nsec3_hash_name() local
728 nsec3_hash_matches_owner(struct nsec3_filter * flt,struct nsec3_cached_hash * hash,struct ub_packed_rrset_key * s) nsec3_hash_matches_owner() argument
770 struct nsec3_cached_hash* hash = NULL; find_matching_nsec3() local
810 nsec3_covers(uint8_t * zone,struct nsec3_cached_hash * hash,struct ub_packed_rrset_key * rrset,int rr,sldns_buffer * buf) nsec3_covers() argument
880 struct nsec3_cached_hash* hash = NULL; find_covering_nsec3() local
[all...]
/openbsd-src/sbin/unwind/libunbound/validator/
H A Dval_nsec3.c263 size_t nsec3_hash_to_b32(uint8_t* hash, size_t hashlen, uint8_t* zone, in nsec3_hash_to_b32() argument
515 int c = query_dname_compare(h1->dname, h2->dname); in nsec3_hash_cmp() local
596 nsec3_calc_hash(struct regional * region,sldns_buffer * buf,struct nsec3_cached_hash * c) nsec3_calc_hash() argument
635 nsec3_calc_b32(struct regional * region,sldns_buffer * buf,struct nsec3_cached_hash * c) nsec3_calc_b32() argument
654 nsec3_hash_name(rbtree_type * table,struct regional * region,sldns_buffer * buf,struct ub_packed_rrset_key * nsec3,int rr,uint8_t * dname,size_t dname_len,struct nsec3_cached_hash ** hash) nsec3_hash_name() argument
656 nsec3_hash_name(rbtree_type * table,struct regional * region,sldns_buffer * buf,struct ub_packed_rrset_key * nsec3,int rr,uint8_t * dname,size_t dname_len,struct nsec3_cached_hash ** hash) nsec3_hash_name() argument
658 struct nsec3_cached_hash* c; nsec3_hash_name() local
728 nsec3_hash_matches_owner(struct nsec3_filter * flt,struct nsec3_cached_hash * hash,struct ub_packed_rrset_key * s) nsec3_hash_matches_owner() argument
770 struct nsec3_cached_hash* hash = NULL; find_matching_nsec3() local
810 nsec3_covers(uint8_t * zone,struct nsec3_cached_hash * hash,struct ub_packed_rrset_key * rrset,int rr,sldns_buffer * buf) nsec3_covers() argument
880 struct nsec3_cached_hash* hash = NULL; find_covering_nsec3() local
[all...]
/openbsd-src/usr.sbin/relayd/
H A Drelayd.c121 int c; in main() local
517 purge_table(struct relayd *env, struct tablelist *head, struct table *table) in purge_table() argument
1046 struct table *table; host_find() local
1059 struct table *table; table_find() local
1138 struct table *table; host_findbyname() local
1151 struct table *table; table_findbyname() local
1162 struct table *table; table_findbyconf() local
1222 pkey_find(struct relayd * env,char * hash) pkey_find() argument
1233 pkey_add(struct relayd * env,EVP_PKEY * pkey,char * hash) pkey_add() argument
1533 char c; canonicalize_host() local
[all...]
/openbsd-src/gnu/lib/libiberty/src/
H A Dregex.c212 # define ISASCII(c) 1 argument
214 # define ISASCII(c) isascii(c) argument
218 # define ISBLANK(c) (ISASCII (c) && isblank (c)) argument
220 # define ISBLANK(c) ((c) == ' ' || (c) == '\t') argument
223 # define ISGRAPH(c) (ISASCII (c) && isgraph (c)) argument
225 # define ISGRAPH(c) (ISASCII (c) && isprint (c) && !isspace (c)) argument
229 # define ISPRINT(c) (ISASCII (c) && isprint (c)) argument
230 # define ISDIGIT(c) (ISASCII (c) && isdigit (c)) argument
231 # define ISALNUM(c) (ISASCII (c) && isalnum (c)) argument
232 # define ISALPHA(c) (ISASCII (c) && isalpha (c)) argument
[all …]
/openbsd-src/gnu/llvm/lld/COFF/
H A DWriter.cpp88 DebugDirectoryChunk(const COFFLinkerContext &c, in DebugDirectoryChunk()
101 Chunk *c = record.second; in writeTo() local
146 CVDebugRecordChunk(const COFFLinkerContext &c) : ctx(c) {} in CVDebugRecordChunk()
172 ExtendedDllCharacteristicsChunk(uint32_t c) : characteristics(c) {} in ExtendedDllCharacteristicsChunk()
190 int c = name.compare(other.name); in operator <() local
202 Writer(COFFLinkerContext &c) in Writer()
325 void OutputSection::addChunk(Chunk *c) { in addChunk()
329 void OutputSection::insertChunkAtStart(Chunk *c) { in insertChunkAtStart()
333 void OutputSection::setPermissions(uint32_t c) { in setPermissions()
404 Chunk *c; in getThunk() local
[all …]
/openbsd-src/gnu/usr.bin/binutils/include/
H A Dbfdlink.h147 } c; member
157 struct bfd_hash_table table; member
335 struct bfd_link_hash_table *hash; member

12