Searched refs:nbucket (Results 1 - 6 of 6) sorted by relevance
/external/elfutils/src/ |
H A D | elfcmp.c | 683 const size_t nbucket = hash1[0]; \ 685 if (data1->d_size != (2 + nbucket + nchain) * sizeof hash1[0] \ 686 || hash2[0] != nbucket || hash2[1] != nchain) \ 690 const Hash_Word *const chain1 = &bucket1[nbucket]; \ 692 const Hash_Word *const chain2 = &bucket2[nbucket]; \ 698 for (size_t i = 0; i < nbucket; ++i) \
|
H A D | strip.c | 1421 Elf32_Word nbucket = bucket[0]; local 1423 Elf32_Word *chain = bucket + nbucket; 1426 hashd->d_size = ((2 + symd->d_size / elsize + nbucket) 1432 (symd->d_size / elsize + nbucket) 1445 size_t hidx = elf_hash (name) % nbucket; 1475 Elf64_Xword nbucket = bucket[0]; local 1477 Elf64_Xword *chain = bucket + nbucket; 1480 hashd->d_size = ((2 + symd->d_size / elsize + nbucket) 1486 (symd->d_size / elsize + nbucket) 1499 size_t hidx = elf_hash (name) % nbucket; [all...] |
H A D | elflint.c | 1914 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; local 1917 if (shdr->sh_size < (2 + nbucket + nchain) * shdr->sh_entsize) 1921 (long int) ((2 + nbucket + nchain) * shdr->sh_entsize)); 1937 for (cnt = 2; cnt < 2 + nbucket; ++cnt) 1943 for (; cnt < 2 + nbucket + nchain; ++cnt) 1947 idx, section_name (ebl, idx), cnt - 2 - nbucket); 1955 Elf64_Xword nbucket = ((Elf64_Xword *) data->d_buf)[0]; local 1958 if (shdr->sh_size < (2 + nbucket + nchain) * shdr->sh_entsize) 1962 (long int) ((2 + nbucket + nchain) * shdr->sh_entsize)); 1978 for (cnt = 2; cnt < 2 + nbucket; 2265 Elf32_Word nbucket = hasharr[0]; local 2282 Elf64_Xword nbucket = hasharr[0]; local [all...] |
H A D | readelf.c | 2465 uint_fast32_t maxlength, Elf32_Word nbucket, 2470 for (Elf32_Word cnt = 0; cnt < nbucket; ++cnt) 2478 nbucket), 2481 (int) nbucket, 2493 if (likely (nbucket > 0)) 2500 counts[0], (counts[0] * 100.0) / nbucket); 2508 (int) cnt, counts[cnt], (counts[cnt] * 100.0) / nbucket, 2523 (double) nzero_counts / (double) nbucket); 2542 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; local 2545 Elf32_Word *chain = &((Elf32_Word *) data->d_buf)[2 + nbucket]; 2464 print_hash_info(Ebl *ebl, Elf_Scn *scn, GElf_Shdr *shdr, size_t shstrndx, uint_fast32_t maxlength, Elf32_Word nbucket, uint_fast32_t nsyms, uint32_t *lengths, const char *extrastr) argument 2584 Elf64_Xword nbucket = ((Elf64_Xword *) data->d_buf)[0]; local 2625 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; local [all...] |
H A D | unstrip.c | 448 const size_t nbucket = old_hash[0]; \ 451 const Hash_Word *const old_chain = &old_bucket[nbucket]; \ 452 assert (onent == 2 + nbucket + nchain); \ 454 const size_t nent = 2 + nbucket + nsym; \ 457 Hash_Word *const new_chain = &new_bucket[nbucket]; \ 459 new_hash[0] = nbucket; \ 461 for (size_t i = 0; i < nbucket; ++i) \
|
H A D | ldgeneric.c | 4053 size_t nbucket = 0; local 4063 nbucket = 1; 4065 nbucket = optimal_bucket_size (hashcodes, nsym_dyn, ld_state.optlevel); 4078 hashdata->d_size = (2 + nsym_dyn + nbucket) * sizeof (Elf32_Word); 4084 ((Elf32_Word *) hashdata->d_buf)[0] = nbucket; 4087 chain = &((Elf32_Word *) hashdata->d_buf)[2 + nbucket]; 4093 size_t hashidx = hashcodes[dynidx] % nbucket;
|
Completed in 333 milliseconds