/external/elfutils/src/ |
D | ar.c | 497 if (strcmp (arhdr->ar_name, "/") == 0) 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() 517 entry.key = arhdr->ar_name; in do_oper_extract() 530 printf ("\n<%s>\n\n", arhdr->ar_name); in do_oper_extract() 562 arhdr->ar_name); in do_oper_extract() 565 printf ("x - %s\n", arhdr->ar_name); in do_oper_extract() 571 puts (arhdr->ar_name); in do_oper_extract() 581 arhdr->ar_name, elf_errmsg (-1)); in do_oper_extract() 604 xfd = open (arhdr->ar_name, flags, 0600); in do_oper_extract() [all …]
|
D | arlib.c | 60 memcpy (ar_hdr.ar_name, "/ ", sizeof (ar_hdr.ar_name)); in arlib_init() 96 memcpy (ar_hdr.ar_name, "// ", sizeof (ar_hdr.ar_name)); in arlib_init()
|
D | ranlib.c | 214 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file() 221 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
|
D | arlib.h | 40 #define MAX_AR_NAME_LEN (sizeof (((struct ar_hdr *) NULL)->ar_name) - 1)
|
D | objdump.c | 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 | nm.c | 456 printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar() 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 | size.c | 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 | 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 | 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() 1947 arhdr->ar_name), in extract_from_archive()
|
D | elflint.c | 297 arhdr->ar_name, arhdr->ar_size, false); in process_file()
|
D | readelf.c | 6436 printf (gettext ("Archive member '%s' contains:\n"), h->ar_name); in dump_archive_index()
|
/external/elfutils/libelf/ |
D | elf_begin.c | 686 if (memcmp (hdr->ar_name, "// ", 16) == 0) in read_long_names() 793 *((char *) __mempcpy (elf->state.ar.raw_name, ar_hdr->ar_name, 16)) = '\0'; 799 if (ar_hdr->ar_name[0] == '/') 801 if (ar_hdr->ar_name[1] == ' ' 802 && memcmp (ar_hdr->ar_name, "/ ", 16) == 0) 804 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "/", 2); 805 else if (ar_hdr->ar_name[1] == '/' 806 && memcmp (ar_hdr->ar_name, "// ", 16) == 0) 808 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "//", 3); 809 else if (likely (isdigit (ar_hdr->ar_name[1]))) [all …]
|
D | elf_rand.c | 79 elf->state.ar.elf_ar_hdr.ar_name = NULL;
|
D | elf_getarhdr.c | 79 if (parent->state.ar.elf_ar_hdr.ar_name == NULL
|
D | elf_getarsym.c | 144 if (memcmp (index_hdr->ar_name, "/ ", 16) != 0)
|
D | libelf.h | 161 char *ar_name; /* Name of archive member. */ member
|
D | libelfP.h | 411 char ar_name[16]; /* NUL terminated ar_name of elf_ar_hdr. */ member
|
/external/elfutils/libdwfl/ |
D | offline.c | 193 if (!strcmp (h->ar_name, "/") || !strcmp (h->ar_name, "//")) in process_archive_member() 203 if (unlikely (asprintf (&member_name, "%s(%s)", file_name, h->ar_name) < 0)) in process_archive_member() 214 name = h->ar_name; in process_archive_member() 215 else if (unlikely (asprintf (&module_name, "%s:%s", name, h->ar_name) < 0)) in process_archive_member()
|
/external/elfutils/tests/ |
D | arls.c | 80 arhdr->ar_name, (long int) arhdr->ar_date, (int) arhdr->ar_uid, in handle()
|
D | arsymtest.c | 122 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name); in main()
|
D | arextract.c | 91 if (strcmp (arhdr->ar_name, argv[2]) == 0) in main()
|
D | saridx.c | 191 arhdr->ar_name, in main()
|
/external/valgrind/main/perf/ |
D | tinycc.c | 20098 char ar_name[16]; /* name of this member */ member 20161 char ar_name[17]; in tcc_load_archive() local 20180 memcpy(ar_name, hdr.ar_name, sizeof(hdr.ar_name)); in tcc_load_archive() 20181 for(i = sizeof(hdr.ar_name) - 1; i >= 0; i--) { in tcc_load_archive() 20182 if (ar_name[i] != ' ') in tcc_load_archive() 20185 ar_name[i + 1] = '\0'; in tcc_load_archive() 20190 if (!strcmp(ar_name, "/")) { in tcc_load_archive() 20194 } else if (!strcmp(ar_name, "//") || in tcc_load_archive() 20195 !strcmp(ar_name, "__.SYMDEF") || in tcc_load_archive() 20196 !strcmp(ar_name, "__.SYMDEF/") || in tcc_load_archive() [all …]
|