/external/elfutils/src/ |
D | ar.c | 495 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in do_oper_extract() local 497 if (strcmp (arhdr->ar_name, "/") == 0) in do_oper_extract() 500 index_size = arhdr->ar_size; in do_oper_extract() 503 if (strcmp (arhdr->ar_name, "//") == 0) in do_oper_extract() 508 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off); in do_oper_extract() 509 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_extract() 517 entry.key = arhdr->ar_name; in do_oper_extract() 530 printf ("\n<%s>\n\n", arhdr->ar_name); in do_oper_extract() 540 localtime (&arhdr->ar_date)); in do_oper_extract() 543 (arhdr->ar_mode & S_IRUSR) ? 'r' : '-', in do_oper_extract() [all …]
|
D | ranlib.c | 210 Elf_Arhdr *arhdr = elf_getarhdr (elf); in handle_file() local 211 assert (arhdr != NULL); in handle_file() 214 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file() 217 index_size = arhdr->ar_size; in handle_file() 221 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file() 222 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in handle_file()
|
D | nm.c | 439 Elf_Arhdr *arhdr = NULL; in handle_ar() local 449 || (arhdr = elf_getarhdr (subelf)) == NULL)) in handle_ar() 456 printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar() 474 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local 477 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar() 478 && strcmp (arhdr->ar_name, "//") != 0) in handle_ar() 481 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar() 484 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar() 489 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
|
D | objdump.c | 330 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local 333 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar() 334 && strcmp (arhdr->ar_name, "//") != 0) in handle_ar() 337 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar() 340 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar() 345 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
|
D | size.c | 382 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local 385 handle_elf (subelf, new_prefix, arhdr->ar_name); in handle_ar() 387 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
|
D | strip.c | 1790 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local 1793 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL); in handle_ar() 1795 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL); in handle_ar()
|
D | ldgeneric.c | 1836 Elf_Arhdr *arhdr = elf_getarhdr (arelf); in add_whole_archive() local 1839 if (arhdr == NULL) in add_whole_archive() 1844 assert (strcmp (arhdr->ar_name, "/") != 0); in add_whole_archive() 1845 assert (strcmp (arhdr->ar_name, "//") != 0); in add_whole_archive() 1847 newp = ld_new_inputfile (arhdr->ar_name, relocatable_file_type); in add_whole_archive() 1927 Elf_Arhdr *arhdr; in extract_from_archive() local 1939 arhdr = elf_getarhdr (arelf); in extract_from_archive() 1940 if (arhdr == NULL) in extract_from_archive() 1947 arhdr->ar_name), in extract_from_archive()
|
D | elflint.c | 293 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in process_file() local 294 assert (arhdr != NULL); in process_file() 297 arhdr->ar_name, arhdr->ar_size, false); in process_file()
|
/external/elfutils/tests/ |
D | arls.c | 59 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle() local 60 if (arhdr == NULL) in handle() 80 arhdr->ar_name, (long int) arhdr->ar_date, (int) arhdr->ar_uid, in handle() 81 (int) arhdr->ar_gid, in handle() 82 (int) arhdr->ar_mode, (long long int) arhdr->ar_size); in handle()
|
D | saridx.c | 158 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in main() local 160 if (arhdr == NULL) in main() 182 t = arhdr->ar_date; in main() 191 arhdr->ar_name, in main() 193 (long int) arhdr->ar_uid, in main() 194 (long int) arhdr->ar_gid, in main() 195 arhdr->ar_mode, in main() 196 (long int) arhdr->ar_size, in main() 197 arhdr->ar_rawname); in main()
|
D | arsymtest.c | 96 Elf_Arhdr *arhdr; in main() local 113 arhdr = elf_getarhdr (subelf); in main() 114 if (arhdr == NULL) in main() 122 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name); in main()
|
D | arextract.c | 83 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in main() local 85 if (arhdr == NULL) in main() 91 if (strcmp (arhdr->ar_name, argv[2]) == 0) in main() 114 todo = arhdr->ar_size; in main()
|