/external/python/cpython3/Python/ |
D | hashtable.c | 124 size += ht->nbuckets * sizeof(_Py_hashtable_entry_t *); in _Py_hashtable_size() 135 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_get_entry_generic() 157 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_get_entry_ptr() 177 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_steal() 200 if ((float)ht->nentries / (float)ht->nbuckets < HASHTABLE_LOW) { in _Py_hashtable_steal() 233 if ((float)ht->nentries / (float)ht->nbuckets > HASHTABLE_HIGH) { in _Py_hashtable_set() 241 size_t index = entry->key_hash & (ht->nbuckets - 1); in _Py_hashtable_set() 265 for (size_t hv = 0; hv < ht->nbuckets; hv++) { in _Py_hashtable_foreach() 283 if (new_size == ht->nbuckets) { in hashtable_rehash() 295 for (size_t bucket = 0; bucket < ht->nbuckets; bucket++) { in hashtable_rehash() [all …]
|
/external/adhd/cras/src/common/ |
D | cras_metrics.c | 24 int nbuckets) in cras_metrics_log_histogram() argument 30 CMetricsLibrarySendToUMA(handle, name, sample, min, max, nbuckets); in cras_metrics_log_histogram() 49 int nbuckets) in cras_metrics_log_histogram() argument
|
D | cras_metrics.h | 14 int nbuckets);
|
/external/mesa3d/src/util/ |
D | format_srgb.py | 89 nbuckets = numexp << mantissa_msb 102 for bucket in range(0, nbuckets): 129 for j in range(0, nbuckets, 4):
|
/external/flac/src/flac/ |
D | analyze.c | 43 uint32_t nbuckets; member 151 for(i = 0; i < stats.nbuckets; i++) { in flac__analyze_frame() 175 stats->nbuckets = 0; in init_stats() 190 for(i = 0; i < stats->nbuckets; i++) { in update_stats() 197 i = stats->nbuckets; in update_stats() 200 stats->nbuckets++; in update_stats() 230 for(i = 0; i < stats->nbuckets; i++) { in dump_stats()
|
/external/python/cpython3/Modules/ |
D | _testinternalcapi.c | 146 assert(table->nbuckets > 0); in test_hashtable() 159 assert(table->nbuckets > table->nentries); in test_hashtable() 191 assert(table->nbuckets > 0); in test_hashtable()
|
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
D | gnuhash.test | 290 ## Case B: the 'nbuckets' field is set so that the table goes past the end of the file. 291 …RUN: yaml2obj --docnum=1 -DBITS=64 -DMACHINE=EM_X86_64 -D NBUCKETS=4294967295 %s -o %t.err.nbuckets 292 # RUN: llvm-readobj --gnu-hash-table %t.err.nbuckets 2>&1 | \ 293 # RUN: FileCheck %s -DFILE=%t.err.nbuckets -DMASKWORDS=2 -DNBUCKETS=4294967295 --check-prefix=ERR 294 # RUN: llvm-readelf --gnu-hash-table %t.err.nbuckets 2>&1 | \ 295 # RUN: FileCheck %s -DFILE=%t.err.nbuckets -DMASKWORDS=2 -DNBUCKETS=4294967295 --check-prefix=ERR 307 # RUN: llvm-readelf --gnu-hash-table --elf-hash-histogram %t.err.nbuckets 2>&1 | \ 308 # RUN: FileCheck %s -DFILE=%t.err.nbuckets -DMASKWORDS=2 -DNBUCKETS=4294967295 --check-prefix=ERR…
|
D | hash-symbols.test | 476 ## Case B: the 'nbuckets' field is set so that the table goes past the end of the file. 477 # RUN: yaml2obj --docnum=8 -D NBUCKETS=4294967295 %s -o %t.err.nbuckets 478 # RUN: llvm-readelf --hash-symbols %t.err.nbuckets 2>&1 | \ 479 # RUN: FileCheck %s -DFILE=%t.err.nbuckets --check-prefix=ERR4
|
D | hash-histogram.test | 270 ## Case B: the 'nbuckets' field is set so that the GNU hash table goes past the end of the file.
|
/external/elfutils/libdwfl/ |
D | dwfl_module_getdwarf.c | 732 Elf32_Word nbuckets; in translate_offs() member 743 Elf32_Word nbuckets = header->nbuckets; in translate_offs() local 753 if (nbuckets > SIZE_MAX / sizeof (Elf32_Word)) in translate_offs() 758 nbuckets * sizeof (Elf32_Word), in translate_offs() 760 if (data != NULL && symndx < nbuckets) in translate_offs() 764 for (Elf32_Word bucket = 0; bucket < nbuckets; ++bucket) in translate_offs() 769 + nbuckets * sizeof (Elf32_Word)); in translate_offs()
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.h | 141 mDNSs32 nbuckets; // buckets allocated member
|
D | dnsextd.c | 809 int i, bucket, newnbuckets = d->nbuckets * 2; in RehashTable() 816 for (i = 0; i < d->nbuckets; i++) in RehashTable() 828 d->nbuckets = newnbuckets; in RehashTable() 846 for (i = 0; i < d->nbuckets; i++) in PrintLeaseTable() 1144 d->nbuckets = LEASETABLE_INIT_NBUCKETS; in InitLeaseTable() 1347 for (i = 0; i < d->nbuckets; i++) in DeleteRecords() 1400 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable() 1443 if (d->nelems > d->nbuckets) in UpdateLeaseTable() 1446 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable()
|
/external/kernel-headers/original/uapi/linux/ |
D | bcache.h | 188 __le64 nbuckets; /* device size */ member 248 __u64 nbuckets; /* device size */ member
|
/external/python/cpython3/Include/internal/ |
D | pycore_hashtable.h | 62 size_t nbuckets; member
|
/external/adhd/cras/src/server/ |
D | cras_server_metrics.c | 463 int nbuckets, ...) in log_histogram_each_level() argument 469 va_start(valist, nbuckets); in log_histogram_each_level() 483 nbuckets); in log_histogram_each_level()
|
/external/llvm/include/llvm/Object/ |
D | ELFTypes.h | 543 Elf_Word nbuckets; 555 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | ELFTypes.h | 526 Elf_Word nbuckets; 538 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELFTypes.h | 528 Elf_Word nbuckets; 540 reinterpret_cast<const Elf_Word *>(filter().end()), nbuckets);
|
/external/adhd/cras/src/tests/ |
D | server_metrics_unittest.cc | 372 int nbuckets) {} in cras_metrics_log_histogram() argument
|
D | audio_thread_unittest_obsolete.cc | 1981 int nbuckets) { in cras_metrics_log_histogram() argument
|
/external/llvm-project/llvm/lib/InterfaceStub/ |
D | ELFObjHandler.cpp | 448 if (Table.nbuckets == 0) in getDynSymtabSize()
|
/external/elfutils/src/ |
D | elflint.c | 2146 Elf32_Word nbuckets = ((Elf32_Word *) data->d_buf)[0]; in check_gnu_hash() local 2165 uint64_t used_buf = (4ULL + bitmask_words + nbuckets) * sizeof (Elf32_Word); in check_gnu_hash() 2184 + nbuckets); in check_gnu_hash() 2202 for (cnt = 4 + bitmask_words; cnt < 4 + bitmask_words + nbuckets; ++cnt) in check_gnu_hash() 2221 + nbuckets in check_gnu_hash()
|
/external/llvm-project/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 2746 if (TableOffset + 16 + (uint64_t)GnuHashTable->nbuckets * 4 + in checkGNUHashTable() 2820 W.printNumber("Num Buckets", GnuHashTable->nbuckets); in printGnuHashTable() 4180 for (uint32_t Buc = 0; Buc < GnuHash.nbuckets; Buc++) { in printGnuHashTableSymbols() 4915 size_t NBucket = GnuHashTable.nbuckets; in printGnuHashHistogram()
|
/external/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 1824 W.printNumber("Num Buckets", GnuHashTable->nbuckets); in printGnuHashTable() 3114 size_t NBucket = GnuHashTable->nbuckets; in printHashHistogram()
|