Searched refs:subelf (Results 1 - 12 of 12) sorted by relevance

/external/elfutils/tests/
H A Darls.c55 Elf *subelf = NULL; local
57 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
59 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
64 elf_end (subelf);
70 off_t off = elf_getaroff (subelf);
84 cmd = elf_next (subelf);
85 elf_end (subelf);
H A Darextract.c44 Elf *subelf; local
80 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
83 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
96 offset = elf_getbase (subelf);
140 if (elf_end (subelf) != 0 || elf_end (elf) != 0)
154 cmd = elf_next (subelf);
155 if (elf_end (subelf) != 0)
H A Darsymtest.c95 Elf *subelf; local
105 subelf = elf_begin (fd, ELF_C_READ, elf);
106 if (subelf == NULL)
113 arhdr = elf_getarhdr (subelf);
125 if (elf_end (subelf) != 0)
H A Dsaridx.c150 Elf *subelf; local
155 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
158 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
166 switch (elf_kind (subelf))
200 if (elf_kind (subelf) == ELF_K_ELF)
205 if (gelf_getehdr (subelf, &ehdr) == NULL)
233 cmd = elf_next (subelf);
234 if (elf_end (subelf) != 0)
/external/elfutils/src/
H A Dar.c492 Elf *subelf; local
493 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
495 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
499 index_off = elf_getaroff (subelf);
577 char *data = elf_rawfile (subelf, &nleft);
735 cmd = elf_next (subelf);
736 if (elf_end (subelf) != 0)
927 Elf *subelf; local
928 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
930 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
1129 Elf *subelf; local
[all...]
H A Dsize.c377 Elf *subelf; local
379 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
382 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
384 if (elf_kind (subelf) == ELF_K_ELF)
385 handle_elf (subelf, new_prefix, arhdr->ar_name);
386 else if (likely (elf_kind (subelf) == ELF_K_AR))
387 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name);
391 cmd = elf_next (subelf);
392 if (unlikely (elf_end (subelf) != 0))
H A Dnm.c417 Elf *subelf; local
448 || (subelf = elf_begin (fd, cmd, elf)) == NULL
449 || (arhdr = elf_getarhdr (subelf)) == NULL))
471 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
474 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
480 if (elf_kind (subelf) == ELF_K_ELF)
481 result |= handle_elf (subelf, new_prefix, arhdr->ar_name,
483 else if (elf_kind (subelf) == ELF_K_AR)
484 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name,
495 cmd = elf_next (subelf);
[all...]
H A Dobjdump.c311 Elf *subelf; local
327 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
330 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
336 if (elf_kind (subelf) == ELF_K_ELF)
337 result |= handle_elf (subelf, new_prefix, arhdr->ar_name,
339 else if (elf_kind (subelf) == ELF_K_AR)
340 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name,
351 cmd = elf_next (subelf);
352 if (elf_end (subelf) != 0)
H A Dstrip.c1784 Elf *subelf; local
1787 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
1790 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
1792 if (elf_kind (subelf) == ELF_K_ELF)
1793 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL);
1794 else if (elf_kind (subelf) == ELF_K_AR)
1795 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL);
1798 cmd = elf_next (subelf);
1799 if (unlikely (elf_end (subelf) != 0))
H A Dld.c1123 Elf *subelf; local
1126 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
1128 cmd = elf_next (subelf);
1130 if (try (subelf) != 0)
H A Delflint.c266 Elf *subelf; local
286 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
288 kind = elf_kind (subelf);
293 Elf_Arhdr *arhdr = elf_getarhdr (subelf);
296 process_file (fd, subelf, new_prefix, new_suffix,
301 cmd = elf_next (subelf);
302 if (elf_end (subelf) != 0)
H A Dreadelf.c6423 Elf *subelf; local
6425 || unlikely ((subelf = elf_begin (-1, ELF_C_READ_MMAP, elf))
6434 const Elf_Arhdr *h = elf_getarhdr (subelf);
6438 elf_end (subelf);

Completed in 134 milliseconds