Home
last modified time | relevance | path

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

/external/elfutils/src/
Dar.c500 if (strcmp (arhdr->ar_name, "/") == 0) in do_oper_extract()
506 if (strcmp (arhdr->ar_name, "//") == 0) in do_oper_extract()
511 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off); in do_oper_extract()
520 entry.key = arhdr->ar_name; in do_oper_extract()
533 printf ("\n<%s>\n\n", arhdr->ar_name); in do_oper_extract()
571 arhdr->ar_name); in do_oper_extract()
574 printf ("x - %s\n", arhdr->ar_name); in do_oper_extract()
580 puts (arhdr->ar_name); in do_oper_extract()
590 arhdr->ar_name, elf_errmsg (-1)); in do_oper_extract()
613 xfd = open (arhdr->ar_name, flags, 0600); in do_oper_extract()
[all …]
Darlib.c54 memcpy (ar_hdr.ar_name, "/ ", sizeof (ar_hdr.ar_name)); in arlib_init()
91 memcpy (ar_hdr.ar_name, "// ", sizeof (ar_hdr.ar_name)); in arlib_init()
Dobjdump.c317 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar()
318 && strcmp (arhdr->ar_name, "//") != 0) in handle_ar()
321 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar()
324 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
329 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dranlib.c186 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file()
193 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
Dnm.c457 printf (gettext ("%s in %s\n"), arsym->as_name, arhdr->ar_name); in handle_ar()
478 if (strcmp (arhdr->ar_name, "/") != 0 in handle_ar()
479 && strcmp (arhdr->ar_name, "//") != 0 in handle_ar()
480 && strcmp (arhdr->ar_name, "/SYM64/") != 0) in handle_ar()
483 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
486 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
491 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.c366 handle_elf (subelf, new_prefix, arhdr->ar_name); in handle_ar()
368 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
Dstrip.c2726 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL); in handle_ar()
2728 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL); in handle_ar()
Delflint.c278 arhdr->ar_name, arhdr->ar_size, false); in process_file()
Dreadelf.c12626 printf (gettext ("Archive member '%s' contains:\n"), h->ar_name); in dump_archive_index()
/external/elfutils/libelf/
Delf_begin.c751 if (memcmp (hdr->ar_name, "// ", 16) == 0) in read_long_names()
869 *((char *) mempcpy (elf->state.ar.raw_name, ar_hdr->ar_name, 16)) = '\0'; in __libelf_next_arhdr_wrlock()
875 if (ar_hdr->ar_name[0] == '/') in __libelf_next_arhdr_wrlock()
877 if (ar_hdr->ar_name[1] == ' ' in __libelf_next_arhdr_wrlock()
878 && memcmp (ar_hdr->ar_name, "/ ", 16) == 0) in __libelf_next_arhdr_wrlock()
880 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "/", 2); in __libelf_next_arhdr_wrlock()
881 else if (ar_hdr->ar_name[1] == 'S' in __libelf_next_arhdr_wrlock()
882 && memcmp (ar_hdr->ar_name, "/SYM64/ ", 16) == 0) in __libelf_next_arhdr_wrlock()
884 elf_ar_hdr->ar_name = memcpy (elf->state.ar.ar_name, "/SYM64/", 8); in __libelf_next_arhdr_wrlock()
885 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.h196 char *ar_name; /* Name of archive member. */ member
DlibelfP.h400 char ar_name[16]; /* NUL terminated ar_name of elf_ar_hdr. */ member
/external/elfutils/libdwfl/
Doffline.c181 if (!strcmp (h->ar_name, "/") || !strcmp (h->ar_name, "//") in process_archive_member()
182 || !strcmp (h->ar_name, "/SYM64/")) in process_archive_member()
192 if (unlikely (asprintf (&member_name, "%s(%s)", file_name, h->ar_name) < 0)) in process_archive_member()
203 name = h->ar_name; in process_archive_member()
204 else if (unlikely (asprintf (&module_name, "%s:%s", name, h->ar_name) < 0)) in process_archive_member()
Dopen.c143 elf->state.ar.elf_ar_hdr.ar_name = "libdwfl is faking you out"; in libdw_open_elf()
/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()