/external/linux-kselftest/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 73 ELF(Word) nbucket, nchain; 178 vdso_info.nbucket = hash[0]; in vdso_init_from_sysinfo_ehdr() 181 vdso_info.chain = &hash[vdso_info.nbucket + 2]; in vdso_init_from_sysinfo_ehdr() 232 ELF(Word) chain = vdso_info.bucket[elf_hash(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/syslinux/com32/lib/sys/module/ |
D | common.c | 461 Elf_Word nbucket = *cr_word++; in module_find_symbol_sysv() local 465 Elf_Word *chn = cr_word + nbucket; in module_find_symbol_sysv() 488 Elf_Word nbucket = *cr_word++; in module_find_symbol_gnu() local 503 cr_word += nbucket; in module_find_symbol_gnu() 518 rem = h % nbucket; in module_find_symbol_gnu()
|
/external/elfutils/src/ |
D | strip.c | 1571 Elf32_Word nbucket = bucket[0]; in handle_elf() local 1572 uint64_t used_buf = ((2ULL + nchain + nbucket) in handle_elf() 1580 Elf32_Word *chain = bucket + nbucket; in handle_elf() 1583 size_t n_size = ((2 + symd->d_size / elsize + nbucket) in handle_elf() 1591 (symd->d_size / elsize + nbucket) in handle_elf() 1603 elf_assert (name != NULL && nbucket != 0); in handle_elf() 1604 size_t hidx = elf_hash (name) % nbucket; in handle_elf() 1631 Elf64_Xword nbucket = bucket[0]; in handle_elf() local 1635 && maxwords - 2 >= nbucket in handle_elf() 1636 && maxwords - 2 - nbucket >= nchain); in handle_elf() [all …]
|
D | elfcmp.c | 841 const size_t nbucket = hash1[0]; \ in hash_content_equivalent() 843 if (data1->d_size != (2 + nbucket + nchain) * sizeof hash1[0] \ in hash_content_equivalent() 844 || hash2[0] != nbucket || hash2[1] != nchain) \ in hash_content_equivalent() 848 const Hash_Word *const chain1 = &bucket1[nbucket]; \ in hash_content_equivalent() 850 const Hash_Word *const chain2 = &bucket2[nbucket]; \ in hash_content_equivalent() 856 for (size_t i = 0; i < nbucket; ++i) \ in hash_content_equivalent()
|
D | elflint.c | 2005 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; in check_sysv_hash() local 2008 if (shdr->sh_size < (2 + nbucket + nchain) * shdr->sh_entsize) in check_sysv_hash() 2012 (long int) ((2 + nbucket + nchain) * shdr->sh_entsize)); in check_sysv_hash() 2030 for (cnt = 2; cnt < 2 + nbucket; ++cnt) in check_sysv_hash() 2040 for (; cnt < 2 + nbucket + nchain; ++cnt) in check_sysv_hash() 2047 idx, section_name (ebl, idx), cnt - 2 - nbucket); in check_sysv_hash() 2056 Elf64_Xword nbucket = ((Elf64_Xword *) data->d_buf)[0]; in check_sysv_hash64() local 2059 if (shdr->sh_size < (2 + nbucket + nchain) * shdr->sh_entsize) in check_sysv_hash64() 2063 (long int) ((2 + nbucket + nchain) * shdr->sh_entsize)); in check_sysv_hash64() 2081 for (cnt = 2; cnt < 2 + nbucket; ++cnt) in check_sysv_hash64() [all …]
|
D | readelf.c | 3004 uint_fast32_t maxlength, Elf32_Word nbucket, in print_hash_info() argument 3009 for (Elf32_Word cnt = 0; cnt < nbucket; ++cnt) in print_hash_info() 3027 nbucket), in print_hash_info() 3030 (int) nbucket, in print_hash_info() 3040 if (likely (nbucket > 0)) in print_hash_info() 3048 counts[0], (counts[0] * 100.0) / nbucket); in print_hash_info() 3056 (int) cnt, counts[cnt], (counts[cnt] * 100.0) / nbucket, in print_hash_info() 3071 (double) nzero_counts / (double) nbucket); in print_hash_info() 3098 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; in handle_sysv_hash() local 3101 uint64_t used_buf = (2ULL + nchain + nbucket) * sizeof (Elf32_Word); in handle_sysv_hash() [all …]
|
D | unstrip.c | 486 const size_t nbucket = old_hash[0]; \ in adjust_relocs() 489 const Hash_Word *const old_chain = &old_bucket[nbucket]; \ in adjust_relocs() 490 assert (onent == 2 + nbucket + nchain); \ in adjust_relocs() 492 const size_t nent = 2 + nbucket + nsym; \ in adjust_relocs() 495 Hash_Word *const new_chain = &new_bucket[nbucket]; \ in adjust_relocs() 497 new_hash[0] = nbucket; \ in adjust_relocs() 499 for (size_t i = 0; i < nbucket; ++i) \ in adjust_relocs()
|
D | ldgeneric.c | 4043 size_t nbucket = 0; in create_hash() local 4053 nbucket = 1; in create_hash() 4055 nbucket = optimal_bucket_size (hashcodes, nsym_dyn, ld_state.optlevel); in create_hash() 4068 hashdata->d_size = (2 + nsym_dyn + nbucket) * sizeof (Elf32_Word); in create_hash() 4074 ((Elf32_Word *) hashdata->d_buf)[0] = nbucket; in create_hash() 4077 chain = &((Elf32_Word *) hashdata->d_buf)[2 + nbucket]; in create_hash() 4083 size_t hashidx = hashcodes[dynidx] % nbucket; in create_hash()
|
/external/f2fs-tools/fsck/ |
D | dir.c | 112 unsigned int nbucket, nblock; in find_in_level() local 125 nbucket = dir_buckets(level, dir_level); in find_in_level() 128 bidx = dir_block_index(level, dir_level, le32_to_cpu(namehash) % nbucket); in find_in_level() 207 int nbucket, nblock, bidx, block; in f2fs_add_link() local 240 nbucket = dir_buckets(level, dir_level); in f2fs_add_link() 242 bidx = dir_block_index(level, dir_level, le32_to_cpu(dentry_hash) % nbucket); in f2fs_add_link()
|
D | fsck.c | 1203 unsigned int nbucket, nblock; in f2fs_check_dirent_position() local 1209 nbucket = dir_buckets(level, dir_level); in f2fs_check_dirent_position() 1213 le32_to_cpu(namehash) % 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()
|