Home
last modified time | relevance | path

Searched refs:nbuckets (Results 1 – 25 of 41) sorted by relevance

12

/netbsd/libexec/ld.elf_so/
H A Dheaders.c169 uint32_t nbuckets, nchains; in _rtld_digest_dynamic() local
174 nbuckets = UINT32_MAX; in _rtld_digest_dynamic()
176 nbuckets = hashtab[0]; in _rtld_digest_dynamic()
177 obj->nbuckets = nbuckets; in _rtld_digest_dynamic()
180 obj->chains = obj->buckets + obj->nbuckets; in _rtld_digest_dynamic()
192 fast_divide32_prepare(obj->nbuckets, in _rtld_digest_dynamic()
202 uint32_t nbuckets, symndx; in _rtld_digest_dynamic() local
209 nbuckets = UINT32_MAX; in _rtld_digest_dynamic()
211 nbuckets = hashtab[0]; in _rtld_digest_dynamic()
212 obj->nbuckets_gnu = nbuckets; in _rtld_digest_dynamic()
[all …]
H A Dreloc.c183 if (obj->nbuckets == UINT32_MAX) { in _rtld_relocate_objects()
H A Drtld.h243 uint32_t nbuckets; /* Number of buckets */ member
H A Dsymbol.c334 for (symnum = obj->buckets[fast_remainder32(hash, obj->nbuckets, in _rtld_symlook_obj_sysv()
/netbsd/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dhash.c66 hash_def_hash(int nbuckets, void *arg) in hash_def_hash() argument
69 return (data % nbuckets); in hash_def_hash()
80 hash_name(int nbuckets, const char *name) in hash_name() argument
94 return (h % nbuckets); in hash_name()
98 hash_new(int nbuckets, int (*hashfn)(int, void *), int (*cmp)(void *, void *)) in hash_new() argument
103 hash->h_buckets = xcalloc(sizeof (list_t *) * nbuckets); in hash_new()
104 hash->h_nbuckets = nbuckets; in hash_new()
H A Dtdata.c60 tdesc_layouthash(int nbuckets, void *node) in tdesc_layouthash() argument
112 return (hash_name(nbuckets, name)); in tdesc_layouthash()
114 return (h % nbuckets); in tdesc_layouthash()
134 tdesc_idhash(int nbuckets, void *data) in tdesc_idhash() argument
138 return (tdp->t_id % nbuckets); in tdesc_idhash()
153 tdesc_namehash(int nbuckets, void *data) in tdesc_namehash() argument
170 return (h % nbuckets); in tdesc_namehash()
H A Dalist.c61 alist_hash(int nbuckets, void *arg) in alist_hash() argument
66 return (num % nbuckets); in alist_hash()
78 alist_xnew(int nbuckets, void (*namefree)(void *), in alist_xnew() argument
85 alist->al_elements = hash_new(nbuckets, hashfn, cmpfn); in alist_xnew()
H A Diidesc.c63 iidesc_hash(int nbuckets, void *arg) in iidesc_hash() argument
69 return (hash_name(nbuckets, ii->ii_name)); in iidesc_hash()
/netbsd/external/gpl3/gcc.old/dist/libobjc/
H A Dsarray.c35 int nbuckets = 0; /* !T:MUTEX */ variable
184 nbuckets += 1; in sarray_at_put()
196 nbuckets += 1; in sarray_at_put()
254 nbuckets += 1; in sarray_new()
425 nbuckets -= 1; in sarray_free()
437 nbuckets -= 1; in sarray_free()
455 nbuckets -= 1; in sarray_free()
H A Dsendmsg.c947 printf ("buckets: %d = %ld bytes\n", nbuckets, in __objc_print_dtable_stats()
948 (long) ((size_t) nbuckets * sizeof (struct sbucket))); in __objc_print_dtable_stats()
949 total += nbuckets * sizeof (struct sbucket); in __objc_print_dtable_stats()
/netbsd/external/gpl3/gcc/dist/libobjc/
H A Dsarray.c35 int nbuckets = 0; /* !T:MUTEX */ variable
184 nbuckets += 1; in sarray_at_put()
196 nbuckets += 1; in sarray_at_put()
254 nbuckets += 1; in sarray_new()
425 nbuckets -= 1; in sarray_free()
437 nbuckets -= 1; in sarray_free()
455 nbuckets -= 1; in sarray_free()
H A Dsendmsg.c947 printf ("buckets: %d = %ld bytes\n", nbuckets, in __objc_print_dtable_stats()
948 (long) ((size_t) nbuckets * sizeof (struct sbucket))); in __objc_print_dtable_stats()
949 total += nbuckets * sizeof (struct sbucket); in __objc_print_dtable_stats()
/netbsd/external/gpl3/gdb/dist/gdb/
H A Ddictionary.c136 int nbuckets; member
143 int nbuckets; member
188 #define DICT_HASHED_NBUCKETS(d) (d)->data.hashed.nbuckets
362 int nbuckets = DICT_HASHTABLE_SIZE (nsyms); in dict_create_hashed() local
363 DICT_HASHED_NBUCKETS (retval) = nbuckets; in dict_create_hashed()
364 struct symbol **buckets = XOBNEWVEC (obstack, struct symbol *, nbuckets); in dict_create_hashed()
365 memset (buckets, 0, nbuckets * sizeof (struct symbol *)); in dict_create_hashed()
560 int nbuckets = DICT_HASHED_NBUCKETS (dict); in iterator_hashed_advance() local
563 for (i = DICT_ITERATOR_INDEX (iterator) + 1; i < nbuckets; ++i) in iterator_hashed_advance()
/netbsd/external/gpl3/gdb.old/dist/gdb/
H A Ddictionary.c136 int nbuckets; member
143 int nbuckets; member
188 #define DICT_HASHED_NBUCKETS(d) (d)->data.hashed.nbuckets
362 int nbuckets = DICT_HASHTABLE_SIZE (nsyms); in dict_create_hashed() local
363 DICT_HASHED_NBUCKETS (retval) = nbuckets; in dict_create_hashed()
364 struct symbol **buckets = XOBNEWVEC (obstack, struct symbol *, nbuckets); in dict_create_hashed()
365 memset (buckets, 0, nbuckets * sizeof (struct symbol *)); in dict_create_hashed()
560 int nbuckets = DICT_HASHED_NBUCKETS (dict); in iterator_hashed_advance() local
563 for (i = DICT_ITERATOR_INDEX (iterator) + 1; i < nbuckets; ++i) in iterator_hashed_advance()
/netbsd/external/gpl2/xcvs/dist/diff/
H A Dio.c53 static int nbuckets; variable
281 bucket = &buckets[h % nbuckets];
697 nbuckets = primes[i];
699 buckets = (int *) xmalloc ((nbuckets + 1) * sizeof (*buckets));
700 bzero (buckets++, (nbuckets + 1) * sizeof (*buckets));
/netbsd/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_strtab.c69 uint_t nbuckets = _dtrace_strbuckets; in dt_strtab_create() local
77 sp->str_hash = calloc(nbuckets, sizeof (dt_strhash_t *)); in dt_strtab_create()
82 sp->str_hashsz = nbuckets; in dt_strtab_create()
/netbsd/external/gpl2/diffutils/dist/src/
H A Dio.c58 static size_t nbuckets; variable
388 bucket = &buckets[h % nbuckets]; in find_and_hash_each_line()
842 nbuckets = ((size_t) 1 << i) - prime_offset[i]; in read_files()
843 if (PTRDIFF_MAX / sizeof *buckets <= nbuckets) in read_files()
845 buckets = zalloc ((nbuckets + 1) * sizeof *buckets); in read_files()
/netbsd/external/bsd/elftoolchain/dist/libelf/
H A Dlibelf_convert.m4776 uint32_t n, nbuckets, nchains, maskwords, shift2, symndx, t32;
784 READ_WORD(src, nbuckets);
792 SWAP_WORD(nbuckets);
799 sz = nbuckets * sizeof(uint32_t) + maskwords * sizeof(uint64_t);
804 gh->gh_nbuckets = nbuckets;
826 for (n = 0; n < nbuckets; n++) {
833 dst += nbuckets * sizeof(uint32_t);
863 uint32_t maskwords, n, nbuckets, nchains, t0, t1, t2, t3, t32;
871 t0 = nbuckets = gh->gh_nbuckets;
909 for (n = 0; n < nbuckets; n++) {
/netbsd/lib/libc/db/hash/
H A Dhash.c344 int nbuckets; in init_htab() local
357 nbuckets = 1 << l2; in init_htab()
368 hashp->MAX_BUCKET = hashp->LOW_MASK = nbuckets - 1; in init_htab()
369 hashp->HIGH_MASK = (nbuckets << 1) - 1; in init_htab()
374 nsegs = (nbuckets - 1) / hashp->SGSIZE + 1; in init_htab()
/netbsd/external/gpl3/gcc.old/dist/libobjc/objc-private/
H A Dsarray.h42 extern int nbuckets; /* for stats */
/netbsd/external/gpl3/gcc/dist/libobjc/objc-private/
H A Dsarray.h42 extern int nbuckets; /* for stats */
/netbsd/external/mpl/bind/dist/lib/dns/
H A Dadb.c600 while (nbuckets[i] != 0 && adb->nentries >= nbuckets[i]) { in grow_entries()
603 if (nbuckets[i] != 0) { in grow_entries()
604 n = nbuckets[i]; in grow_entries()
765 while (nbuckets[i] != 0 && adb->nnames >= nbuckets[i]) { in grow_names()
768 if (nbuckets[i] != 0) { in grow_names()
769 n = nbuckets[i]; in grow_names()
2598 adb->nentries = nbuckets[0]; in dns_adb_create()
2616 adb->nnames = nbuckets[0]; in dns_adb_create()
2633 nbuckets[11]); in dns_adb_create()
2634 adb->nentries = nbuckets[11]; in dns_adb_create()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DELFTypes.h555 Elf_Word nbuckets;
567 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
/netbsd/external/gpl3/gdb/dist/binutils/
H A DChangeLog831 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
863 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
884 and nbuckets.
961 * readelf.c (nbuckets): New.
/netbsd/external/gpl3/gdb.old/dist/binutils/
H A DChangeLog831 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
863 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
884 and nbuckets.
961 * readelf.c (nbuckets): New.

12