Home
last modified time | relevance | path

Searched refs:bitmask_words (Results 1 – 4 of 4) sorted by relevance

/external/elfutils/libelf/
Dgnuhash_xlate.h53 Elf32_Word bitmask_words = encode ? src32[2] : dest32[2]; in elf_cvt_gnuhash() local
58 for (unsigned int cnt = 0; cnt < bitmask_words; ++cnt) in elf_cvt_gnuhash()
67 src32 = (const Elf32_Word *) &src64[bitmask_words]; in elf_cvt_gnuhash()
68 dest32 = (Elf32_Word *) &dest64[bitmask_words]; in elf_cvt_gnuhash()
/external/elfutils/src/
Delflint.c2148 Elf32_Word bitmask_words = ((Elf32_Word *) data->d_buf)[2]; in check_gnu_hash() local
2150 if (bitmask_words == 0 || !powerof2 (bitmask_words)) in check_gnu_hash()
2154 idx, section_name (ebl, idx), bitmask_words); in check_gnu_hash()
2158 size_t bitmask_idxmask = bitmask_words - 1; in check_gnu_hash()
2160 bitmask_words *= 2; in check_gnu_hash()
2165 uint64_t used_buf = (4ULL + bitmask_words + nbuckets) * sizeof (Elf32_Word); in check_gnu_hash()
2183 size_t maxidx = shdr->sh_size / sizeof (Elf32_Word) - (4 + bitmask_words in check_gnu_hash()
2197 collected = { .p32 = xcalloc (bitmask_words, sizeof (Elf32_Word)) }; in check_gnu_hash()
2202 for (cnt = 4 + bitmask_words; cnt < 4 + bitmask_words + nbuckets; ++cnt) in check_gnu_hash()
2213 idx, section_name (ebl, idx), cnt - (4 + bitmask_words)); in check_gnu_hash()
[all …]
Dreadelf.c3389 Elf32_Word bitmask_words = ((Elf32_Word *) data->d_buf)[2]; in handle_gnu_hash() local
3391 bitmask_words *= 2; in handle_gnu_hash()
3393 if (bitmask_words == 0) in handle_gnu_hash()
3400 uint64_t used_buf = (4ULL + bitmask_words + nbucket) * sizeof (Elf32_Word); in handle_gnu_hash()
3408 Elf32_Word *bucket = &((Elf32_Word *) data->d_buf)[4 + bitmask_words]; in handle_gnu_hash()
3409 Elf32_Word *chain = &((Elf32_Word *) data->d_buf)[4 + bitmask_words in handle_gnu_hash()
3432 for (Elf32_Word cnt = 0; cnt < bitmask_words; ++cnt) in handle_gnu_hash()
3448 bitmask_words * sizeof (Elf32_Word), in handle_gnu_hash()
3450 / (uint_fast32_t) (bitmask_words in handle_gnu_hash()
DChangeLog1816 bitmask_words is not zero.
1909 (check_gnu_hash): Make sure maskidx is smaller than bitmask_words.