HomeSort by relevance Sort by last modified time
    Searched defs:phnum (Results 1 - 18 of 18) sorted by null

  /external/elfutils/0.153/libelf/
gelf_getphdr.c 103 size_t phnum; local
106 || __elf_getphdrnum_rdlock (elf, &phnum) != 0
107 || (size_t) ndx >= phnum))
145 size_t phnum; local
148 || __elf_getphdrnum_rdlock (elf, &phnum) != 0
149 || (size_t) ndx >= phnum))
gelf_update_phdr.c 104 size_t phnum; local
107 || __elf_getphdrnum_rdlock (elf, &phnum) != 0
108 || (size_t) ndx >= phnum))
141 size_t phnum; local
144 || __elf_getphdrnum_rdlock (elf, &phnum) != 0
145 || (size_t) ndx >= phnum))
elf32_getphdr.c 97 size_t phnum; local
98 if (__elf_getphdrnum_rdlock (elf, &phnum) != 0)
100 if (phnum == 0)
106 size_t size = phnum * sizeof (ElfW2(LIBELFBITS,Phdr));
163 for (size_t cnt = 0; cnt < phnum; ++cnt)
210 for (size_t cnt = 0; cnt < phnum; ++cnt)
elf32_updatenull.c 167 size_t phnum; local
168 if (unlikely (__elf_getphdrnum_rdlock (elf, &phnum) != 0))
177 + elf_typesize (LIBELFBITS, ELF_T_PHDR, phnum));
186 size += elf_typesize (LIBELFBITS, ELF_T_PHDR, phnum);
elf32_updatefile.c 168 size_t phnum; local
169 if (unlikely (__elf_getphdrnum_rdlock (elf, &phnum) != 0))
202 sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum, 1);
207 sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum);
221 + elf_typesize (LIBELFBITS, ELF_T_PHDR, phnum));
569 size_t phnum; local
570 if (unlikely (__elf_getphdrnum_rdlock (elf, &phnum) != 0))
602 malloc (sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum);
611 sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum, 1);
618 size_t phdr_size = sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum;
    [all...]
  /external/chromium_org/components/nacl/loader/nonsfi/
elf_loader.cc 119 ElfW(Addr) GetLoadSize(const ElfW(Phdr)* phdrs, int phnum) {
123 for (int i = 0; i < phnum; ++i) {
145 int phnum, member in namespace:nacl::nonsfi::__anon11239
147 ElfW(Addr) size = GetLoadSize(phdrs, phnum);
154 for (int i = 0; i < phnum; ++i) {
179 const ElfW(Phdr)* phdrs, int phnum, ElfW(Addr) load_bias, member in namespace:nacl::nonsfi::__anon11239
181 for (int i = 0; i < phnum; ++i) {
  /external/elfutils/0.153/libdwfl/
dwfl_module_build_id.c 110 size_t phnum; local
112 || unlikely (elf_getphdrnum (elf, &phnum) != 0))
117 for (size_t i = 0; result == 0 && i < phnum; ++i)
dwfl_report_elf.c 193 size_t phnum; local
194 if (unlikely (elf_getphdrnum (elf, &phnum) != 0))
196 for (size_t i = 0; i < phnum; ++i)
213 for (size_t i = phnum; i-- > 0;)
elf-from-memory.c 133 uint_fast16_t phnum; local
148 phnum = ehdr.e32.e_phnum;
150 if (phentsize != sizeof (Elf32_Phdr) || phnum == 0)
160 phnum = ehdr.e64.e_phnum;
162 if (phentsize != sizeof (Elf64_Phdr) || phnum == 0)
176 xlatefrom.d_size = phnum * phentsize;
178 if ((size_t) nread >= phoff + phnum * phentsize)
185 if (initial_bufsize < phnum * phentsize)
187 unsigned char *newbuf = realloc (buffer, phnum * phentsize);
196 phnum * phentsize, phnum * phentsize)
    [all...]
core-file.c 144 dwfl_report_core_segments (Dwfl *dwfl, Elf *elf, size_t phnum, GElf_Phdr *notes)
154 for (size_t ndx = 0; result >= 0 && ndx < phnum; ++ndx)
408 size_t phnum; local
409 if (unlikely (elf_getphdrnum (elf, &phnum) != 0))
417 int ndx = dwfl_report_core_segments (dwfl, elf, phnum, &notes_phdr);
439 while (ndx < (int) phnum);
dwfl_module_getdwarf.c 134 size_t phnum; local
135 if (unlikely (elf_getphdrnum (file->elf, &phnum) != 0))
139 for (size_t i = 0; i < phnum; ++i)
367 uint_fast16_t phnum; local
374 phnum = ehdr.e32.e_phnum;
382 phnum = ehdr.e64.e_phnum;
390 + phnum * phentsize
422 src.d_size = phnum * phentsize;
428 Elf32_Phdr p32[phnum];
429 Elf64_Phdr p64[phnum];
655 size_t phnum; local
    [all...]
dwfl_segment_report_module.c 185 uint_fast16_t phnum; local
209 phnum = ehdr.e32.e_phnum;
222 phnum = ehdr.e64.e_phnum;
237 if (phnum == 0)
241 xlatefrom.d_size = phnum * phentsize;
253 Elf32_Phdr p32[phnum];
254 Elf64_Phdr p64[phnum];
398 && likely (filesz_offset >= phoff + phnum * phentsize))
421 for (uint_fast16_t i = 0; i < phnum; ++i)
433 for (uint_fast16_t i = 0; i < phnum; ++i
    [all...]
link_map.c 644 GElf_Xword phnum = 0;
657 phnum = val; \
716 if (phdr != 0 && phnum != 0)
724 .d_size = phnum * phent,
728 phdr, phnum * phent, memory_callback_arg))
734 char data[phnum * phent];
740 .d_size = phnum * phent,
751 Elf32_Phdr p32[phnum];
752 Elf64_Phdr p64[phnum];
756 for (size_t i = 0; i < phnum; ++i
640 GElf_Xword phnum = 0; local
    [all...]
  /external/elfutils/0.153/libdw/
dwarf_getcfi_elf.c 211 size_t phnum; local
212 if (unlikely (elf_getphdrnum (elf, &phnum) != 0))
215 for (size_t i = 0; i < phnum; ++i)
  /bionic/linker/
linker.h 120 size_t phnum; member in struct:soinfo
  /external/elfutils/0.153/src/
unstrip.c 978 uint_fast16_t phnum;
982 phnum = ehdr.e32.e_phnum;
987 phnum = ehdr.e64.e_phnum;
991 size_t phsize = gelf_fsize (main, ELF_T_PHDR, phnum, EV_CURRENT);
976 uint_fast16_t phnum; local
    [all...]
elflint.c 349 static unsigned int phnum; variable
469 phnum = ehdr->e_phnum;
473 might contain the phnum count. */
483 phnum = shdr->sh_info;
501 else if (ehdr->e_phoff + phnum * ehdr->e_phentsize > size)
518 else if (ehdr->e_phoff + phnum * ehdr->e_phentsize > size)
828 for (pcnt = 0; pcnt < phnum; ++pcnt)
835 if (pcnt == phnum)
983 for (unsigned int pcnt = 0; pcnt < phnum; ++pcnt)
    [all...]
readelf.c 217 static size_t phnum; variable
646 if (unlikely (elf_getphdrnum (ebl->elf, &phnum) < 0))
989 for (size_t cnt = 0; cnt < phnum; ++cnt)
1045 for (size_t cnt = 0; cnt < phnum; ++cnt)
    [all...]

Completed in 3051 milliseconds