Home
last modified time | relevance | path

Searched refs:subelf (Results 1 – 9 of 9) sorted by relevance

/external/elfutils/tests/
Darextract.c32 Elf *subelf; in main() local
68 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in main()
71 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in main()
84 offset = elf_getbase (subelf); in main()
128 if (elf_end (subelf) != 0 || elf_end (elf) != 0) in main()
142 cmd = elf_next (subelf); in main()
143 if (elf_end (subelf) != 0) in main()
Dsaridx.c138 Elf *subelf; in main() local
143 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in main()
146 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in main()
154 switch (elf_kind (subelf)) in main()
188 if (elf_kind (subelf) == ELF_K_ELF) in main()
193 if (gelf_getehdr (subelf, &ehdr) == NULL) in main()
221 cmd = elf_next (subelf); in main()
222 if (elf_end (subelf) != 0) in main()
Darsymtest.c83 Elf *subelf; in main() local
93 subelf = elf_begin (fd, ELF_C_READ, elf); in main()
94 if (subelf == NULL) in main()
101 arhdr = elf_getarhdr (subelf); in main()
113 if (elf_end (subelf) != 0) in main()
/external/elfutils/src/
Dsize.c369 Elf *subelf; in handle_ar() local
386 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in handle_ar()
389 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar()
391 if (elf_kind (subelf) == ELF_K_ELF) in handle_ar()
392 handle_elf (subelf, new_prefix, arhdr->ar_name); in handle_ar()
393 else if (elf_kind (subelf) == ELF_K_AR) in handle_ar()
394 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
398 cmd = elf_next (subelf); in handle_ar()
399 if (elf_end (subelf) != 0) in handle_ar()
Dnm.c425 Elf *subelf; in handle_ar() local
456 || (subelf = elf_begin (fd, cmd, elf)) == NULL in handle_ar()
457 || (arhdr = elf_getarhdr (subelf)) == NULL)) in handle_ar()
479 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in handle_ar()
482 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar()
488 if (elf_kind (subelf) == ELF_K_ELF) in handle_ar()
489 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar()
491 else if (elf_kind (subelf) == ELF_K_AR) in handle_ar()
492 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
503 cmd = elf_next (subelf); in handle_ar()
[all …]
Dstrip.c1736 Elf *subelf; in handle_ar() local
1739 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in handle_ar()
1742 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar()
1744 if (elf_kind (subelf) == ELF_K_ELF) in handle_ar()
1745 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL); in handle_ar()
1746 else if (elf_kind (subelf) == ELF_K_AR) in handle_ar()
1747 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL); in handle_ar()
1750 cmd = elf_next (subelf); in handle_ar()
1751 if (unlikely (elf_end (subelf) != 0)) in handle_ar()
Dld.c1031 Elf *subelf; in determine_output_format() local
1034 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in determine_output_format()
1036 cmd = elf_next (subelf); in determine_output_format()
1038 if (try (subelf) != 0) in determine_output_format()
Delflint.c267 Elf *subelf; in process_file() local
287 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in process_file()
289 kind = elf_kind (subelf); in process_file()
294 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in process_file()
297 process_file (fd, subelf, new_prefix, new_suffix, in process_file()
302 cmd = elf_next (subelf); in process_file()
303 if (elf_end (subelf) != 0) in process_file()
Dreadelf.c403 Elf *subelf; in process_file() local
419 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in process_file()
421 kind = elf_kind (subelf); in process_file()
426 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in process_file()
429 process_file (fd, subelf, new_prefix, arhdr->ar_name, false); in process_file()
433 cmd = elf_next (subelf); in process_file()
434 if (elf_end (subelf) != 0) in process_file()