/external/elfutils/src/ |
D | ar.c | 513 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in do_oper_extract() local 515 if (strcmp (arhdr->ar_name, "/") == 0) in do_oper_extract() 518 index_size = arhdr->ar_size; in do_oper_extract() 521 if (strcmp (arhdr->ar_name, "//") == 0) in do_oper_extract() 526 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off); in do_oper_extract() 527 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_extract() 535 entry.key = arhdr->ar_name; in do_oper_extract() 548 printf ("\n<%s>\n\n", arhdr->ar_name); in do_oper_extract() 558 localtime (&arhdr->ar_date)); in do_oper_extract() 561 (arhdr->ar_mode & S_IRUSR) ? 'r' : '-', in do_oper_extract() [all …]
|
D | ranlib.c | 198 Elf_Arhdr *arhdr = elf_getarhdr (elf); in handle_file() local 199 assert (arhdr != NULL); in handle_file() 202 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file() 205 index_size = arhdr->ar_size; in handle_file() 209 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file() 210 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in handle_file()
|
D | nm.c | 454 Elf_Arhdr *arhdr = NULL; in handle_ar() local 464 || (arhdr = elf_getarhdr (subelf)) == NULL)) in handle_ar() 471 printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar() 489 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local 492 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar() 493 && strcmp (arhdr->ar_name, "//") != 0 in handle_ar() 494 && strcmp (arhdr->ar_name, "/SYM64/") != 0) in handle_ar() 497 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar() 500 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar() 505 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
|
D | objdump.c | 326 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local 329 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar() 330 && strcmp (arhdr->ar_name, "//") != 0) in handle_ar() 333 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar() 336 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar() 341 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
|
D | size.c | 380 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local 383 handle_elf (subelf, new_prefix, arhdr->ar_name); in handle_ar() 385 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
|
D | ldgeneric.c | 1826 Elf_Arhdr *arhdr = elf_getarhdr (arelf); in add_whole_archive() local 1829 if (arhdr == NULL) in add_whole_archive() 1834 assert (strcmp (arhdr->ar_name, "/") != 0); in add_whole_archive() 1835 assert (strcmp (arhdr->ar_name, "//") != 0); in add_whole_archive() 1837 newp = ld_new_inputfile (arhdr->ar_name, relocatable_file_type); in add_whole_archive() 1917 Elf_Arhdr *arhdr; in extract_from_archive() local 1929 arhdr = elf_getarhdr (arelf); in extract_from_archive() 1930 if (arhdr == NULL) in extract_from_archive() 1937 arhdr->ar_name), in extract_from_archive()
|
D | strip.c | 2256 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle_ar() local 2259 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL); in handle_ar() 2261 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL); in handle_ar()
|
D | elflint.c | 288 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in process_file() local 289 assert (arhdr != NULL); in process_file() 292 arhdr->ar_name, arhdr->ar_size, false); in process_file()
|
/external/elfutils/tests/ |
D | arls.c | 79 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in handle() local 80 if (arhdr == NULL) in handle() 100 arhdr->ar_name, (long int) arhdr->ar_date, (int) arhdr->ar_uid, in handle() 101 (int) arhdr->ar_gid, in handle() 102 (int) arhdr->ar_mode, (long long int) arhdr->ar_size); in handle()
|
D | saridx.c | 150 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in main() local 152 if (arhdr == NULL) in main() 174 t = arhdr->ar_date; in main() 183 arhdr->ar_name, in main() 185 (long int) arhdr->ar_uid, in main() 186 (long int) arhdr->ar_gid, in main() 187 arhdr->ar_mode, in main() 188 (long int) arhdr->ar_size, in main() 189 arhdr->ar_rawname); in main()
|
D | arsymtest.c | 88 Elf_Arhdr *arhdr; in main() local 105 arhdr = elf_getarhdr (subelf); in main() 106 if (arhdr == NULL) in main() 114 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name); in main()
|
D | arextract.c | 75 Elf_Arhdr *arhdr = elf_getarhdr (subelf); in main() local 77 if (arhdr == NULL) in main() 83 if (strcmp (arhdr->ar_name, argv[2]) == 0) in main() 106 todo = arhdr->ar_size; in main()
|