Home
last modified time | relevance | path

Searched refs:ar_name (Results 1 – 23 of 23) sorted by relevance

/external/elfutils/src/
Dar.c497 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 …]
Darlib.c60 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()
Dranlib.c214 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file()
221 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
Darlib.h40 #define MAX_AR_NAME_LEN (sizeof (((struct ar_hdr *) NULL)->ar_name) - 1)
Dobjdump.c333 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()
Dnm.c456 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()
Dsize.c385 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()
Dstrip.c1793 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()
Dldgeneric.c1844 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()
Delflint.c297 arhdr->ar_name, arhdr->ar_size, false); in process_file()
Dreadelf.c6436 printf (gettext ("Archive member '%s' contains:\n"), h->ar_name); in dump_archive_index()
/external/elfutils/libelf/
Delf_begin.c686 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 …]
Delf_rand.c79 elf->state.ar.elf_ar_hdr.ar_name = NULL;
Delf_getarhdr.c79 if (parent->state.ar.elf_ar_hdr.ar_name == NULL
Delf_getarsym.c144 if (memcmp (index_hdr->ar_name, "/ ", 16) != 0)
Dlibelf.h161 char *ar_name; /* Name of archive member. */ member
DlibelfP.h411 char ar_name[16]; /* NUL terminated ar_name of elf_ar_hdr. */ member
/external/elfutils/libdwfl/
Doffline.c193 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/
Darls.c80 arhdr->ar_name, (long int) arhdr->ar_date, (int) arhdr->ar_uid, in handle()
Darsymtest.c122 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name); in main()
Darextract.c91 if (strcmp (arhdr->ar_name, argv[2]) == 0) in main()
Dsaridx.c191 arhdr->ar_name, in main()
/external/valgrind/main/perf/
Dtinycc.c20098 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 …]