/external/linux-kselftest/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 51 ELF(Word) nbucket, nchain; 156 vdso_info.nbucket = hash[0]; in vdso_init_from_sysinfo_ehdr() 159 vdso_info.chain = &hash[vdso_info.nbucket + 2]; in vdso_init_from_sysinfo_ehdr() 210 ELF(Word) chain = vdso_info.bucket[elf_hash(name) % vdso_info.nbucket]; in vdso_sym()
|
/external/ltp/libs/libltpvdso/ |
D | parse_vdso.c | 49 ELF(Word) nbucket, nchain; 182 vdso_info.nbucket = get_hash_val(hash, 0); in vdso_init_from_sysinfo_ehdr() 185 vdso_info.chain = get_hash_ptr(hash, vdso_info.nbucket + 2); in vdso_init_from_sysinfo_ehdr() 237 elf_hash((const void*)name) % vdso_info.nbucket); in vdso_sym()
|
/external/llvm/include/llvm/Object/ |
D | ELFTypes.h | 526 Elf_Word nbucket; 530 return ArrayRef<Elf_Word>(&nbucket + 2, &nbucket + 2 + nbucket); 534 return ArrayRef<Elf_Word>(&nbucket + 2 + nbucket, 535 &nbucket + 2 + nbucket + nchain);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELFTypes.h | 511 Elf_Word nbucket; 515 return ArrayRef<Elf_Word>(&nbucket + 2, &nbucket + 2 + nbucket); 519 return ArrayRef<Elf_Word>(&nbucket + 2 + nbucket, 520 &nbucket + 2 + nbucket + nchain);
|
/external/elfutils/src/ |
D | elfcmp.c | 842 const size_t nbucket = hash1[0]; \ in hash_content_equivalent() 844 if (data1->d_size != (2 + nbucket + nchain) * sizeof hash1[0] \ in hash_content_equivalent() 845 || hash2[0] != nbucket || hash2[1] != nchain) \ in hash_content_equivalent() 849 const Hash_Word *const chain1 = &bucket1[nbucket]; \ in hash_content_equivalent() 851 const Hash_Word *const chain2 = &bucket2[nbucket]; \ in hash_content_equivalent() 857 for (size_t i = 0; i < nbucket; ++i) \ in hash_content_equivalent()
|
D | strip.c | 2285 Elf32_Word nbucket = bucket[0]; in handle_elf() local 2286 uint64_t used_buf = ((2ULL + nchain + nbucket) in handle_elf() 2294 Elf32_Word *chain = bucket + nbucket; in handle_elf() 2297 size_t n_size = ((2 + symd->d_size / elsize + nbucket) in handle_elf() 2305 (symd->d_size / elsize + nbucket) in handle_elf() 2317 elf_assert (name != NULL && nbucket != 0); in handle_elf() 2318 size_t hidx = elf_hash (name) % nbucket; in handle_elf() 2344 Elf64_Xword nbucket = bucket[0]; in handle_elf() local 2348 && maxwords - 2 >= nbucket in handle_elf() 2349 && maxwords - 2 - nbucket >= nchain); in handle_elf() [all …]
|
D | elflint.c | 2026 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; in check_sysv_hash() local 2029 if (shdr->sh_size < (2ULL + nbucket + nchain) * sizeof (Elf32_Word)) in check_sysv_hash() 2034 (long int) ((2 + nbucket + nchain) * sizeof (Elf32_Word))); in check_sysv_hash() 2054 for (cnt = 2; cnt < 2 + nbucket; ++cnt) in check_sysv_hash() 2064 for (; cnt < 2 + nbucket + nchain; ++cnt) in check_sysv_hash() 2071 idx, section_name (ebl, idx), cnt - 2 - nbucket); in check_sysv_hash() 2080 Elf64_Xword nbucket = ((Elf64_Xword *) data->d_buf)[0]; in check_sysv_hash64() local 2085 || maxwords - 2 < nbucket in check_sysv_hash64() 2086 || maxwords - 2 - nbucket < nchain) in check_sysv_hash64() 2091 (long int) ((2 + nbucket + nchain) * sizeof (Elf64_Xword))); in check_sysv_hash64() [all …]
|
D | unstrip.c | 514 const size_t nbucket = old_hash[0]; \ in adjust_relocs() 517 const Hash_Word *const old_chain = &old_bucket[nbucket]; \ in adjust_relocs() 518 if (onent != 2 + nbucket + nchain) \ in adjust_relocs() 521 const size_t nent = 2 + nbucket + nsym; \ in adjust_relocs() 524 Hash_Word *const new_chain = &new_bucket[nbucket]; \ in adjust_relocs() 526 new_hash[0] = nbucket; \ in adjust_relocs() 528 for (size_t i = 0; i < nbucket; ++i) \ in adjust_relocs()
|
D | readelf.c | 3235 uint_fast32_t maxlength, Elf32_Word nbucket, in print_hash_info() argument 3240 for (Elf32_Word cnt = 0; cnt < nbucket; ++cnt) in print_hash_info() 3258 nbucket), in print_hash_info() 3261 (int) nbucket, in print_hash_info() 3271 if (likely (nbucket > 0)) in print_hash_info() 3279 counts[0], (counts[0] * 100.0) / nbucket); in print_hash_info() 3287 (int) cnt, counts[cnt], (counts[cnt] * 100.0) / nbucket, in print_hash_info() 3302 (double) nzero_counts / (double) nbucket); in print_hash_info() 3329 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; in handle_sysv_hash() local 3332 uint64_t used_buf = (2ULL + nchain + nbucket) * sizeof (Elf32_Word); in handle_sysv_hash() [all …]
|
/external/f2fs-tools/fsck/ |
D | dir.c | 113 unsigned int nbucket, nblock; in find_in_level() local 127 nbucket = dir_buckets(level, dir_level); in find_in_level() 130 bidx = dir_block_index(level, dir_level, le32_to_cpu(namehash) % nbucket); in find_in_level() 226 int nbucket, nblock, bidx, block; in f2fs_add_link() local 261 nbucket = dir_buckets(level, dir_level); in f2fs_add_link() 263 bidx = dir_block_index(level, dir_level, le32_to_cpu(dentry_hash) % nbucket); in f2fs_add_link()
|
D | fsck.c | 1556 unsigned int nbucket, nblock; in f2fs_check_dirent_position() local 1562 nbucket = dir_buckets(level, dir_level); in f2fs_check_dirent_position() 1566 le32_to_cpu(dentry->hash_code) % nbucket); in f2fs_check_dirent_position()
|
/external/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 1813 W.printNumber("Num Buckets", HashTable->nbucket); in printHashTable() 3070 size_t NBucket = HashTable->nbucket; in printHashHistogram()
|