Home
last modified time | relevance | path

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

/external/elfutils/src/
Dar.c515 if (strcmp (arhdr->ar_name, "/") == 0) 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()
535 entry.key = arhdr->ar_name; in do_oper_extract()
548 printf ("\n<%s>\n\n", arhdr->ar_name); in do_oper_extract()
580 arhdr->ar_name); in do_oper_extract()
583 printf ("x - %s\n", arhdr->ar_name); in do_oper_extract()
589 puts (arhdr->ar_name); in do_oper_extract()
599 arhdr->ar_name, elf_errmsg (-1)); in do_oper_extract()
622 xfd = open (arhdr->ar_name, flags, 0600); in do_oper_extract()
[all …]
Darlib.c53 memcpy (ar_hdr.ar_name, "/ ", sizeof (ar_hdr.ar_name)); in arlib_init()
90 memcpy (ar_hdr.ar_name, "// ", sizeof (ar_hdr.ar_name)); in arlib_init()
Dobjdump.c329 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()
Dranlib.c202 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file()
209 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
Dnm.c471 printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar()
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()
Darlib.h42 #define MAX_AR_NAME_LEN (sizeof (((struct ar_hdr *) NULL)->ar_name) - 1)
Dsize.c383 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()
Dstrip.c2259 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()
Dldgeneric.c1834 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()
1937 arhdr->ar_name), in extract_from_archive()
Delflint.c292 arhdr->ar_name, arhdr->ar_size, false); in process_file()
Dreadelf.c9734 printf (gettext ("Archive member '%s' contains:\n"), h->ar_name); in dump_archive_index()
/external/elfutils/libelf/
Delf_begin.c708 if (memcmp (hdr->ar_name, "// ", 16) == 0) in read_long_names()
822 *((char *) mempcpy (elf->state.ar.raw_name, ar_hdr->ar_name, 16)) = '\0'; in __libelf_next_arhdr_wrlock()
828 if (ar_hdr->ar_name[0] == '/') in __libelf_next_arhdr_wrlock()
830 if (ar_hdr->ar_name[1] == ' ' in __libelf_next_arhdr_wrlock()
831 && memcmp (ar_hdr->ar_name, "/ ", 16) == 0) in __libelf_next_arhdr_wrlock()
833 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "/", 2); in __libelf_next_arhdr_wrlock()
834 else if (ar_hdr->ar_name[1] == 'S' in __libelf_next_arhdr_wrlock()
835 && memcmp (ar_hdr->ar_name, "/SYM64/ ", 16) == 0) in __libelf_next_arhdr_wrlock()
837 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "/SYM64/", 8); in __libelf_next_arhdr_wrlock()
838 else if (ar_hdr->ar_name[1] == '/' in __libelf_next_arhdr_wrlock()
[all …]
Delf_rand.c56 elf->state.ar.elf_ar_hdr.ar_name = NULL; in elf_rand()
Delf_getarhdr.c57 if (parent->state.ar.elf_ar_hdr.ar_name == NULL in elf_getarhdr()
Delf_next.c67 parent->state.ar.elf_ar_hdr.ar_name = NULL; in elf_next()
Delf_getarsym.c154 if (memcmp (index_hdr->ar_name, "/ ", 16) == 0) in elf_getarsym()
156 else if (memcmp (index_hdr->ar_name, "/SYM64/ ", 16) == 0) in elf_getarsym()
Dlibelf.h170 char *ar_name; /* Name of archive member. */ member
DlibelfP.h397 char ar_name[16]; /* NUL terminated ar_name of elf_ar_hdr. */ member
/external/elfutils/libdwfl/
Doffline.c174 if (!strcmp (h->ar_name, "/") || !strcmp (h->ar_name, "//") in process_archive_member()
175 || !strcmp (h->ar_name, "/SYM64/")) in process_archive_member()
185 if (unlikely (asprintf (&member_name, "%s(%s)", file_name, h->ar_name) < 0)) in process_archive_member()
196 name = h->ar_name; in process_archive_member()
197 else if (unlikely (asprintf (&module_name, "%s:%s", name, h->ar_name) < 0)) in process_archive_member()
Dopen.c138 elf->state.ar.elf_ar_hdr.ar_name = "libdwfl is faking you out"; in __libdw_open_file()
/external/elfutils/tests/
Darls.c100 arhdr->ar_name, (long int) arhdr->ar_date, (int) arhdr->ar_uid, in handle()
Darsymtest.c114 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name); in main()
Darextract.c83 if (strcmp (arhdr->ar_name, argv[2]) == 0) in main()
Dsaridx.c183 arhdr->ar_name, in main()
/external/valgrind/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 …]