/external/elfutils/src/ |
D | ar.c | 500 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 …]
|
D | arlib.c | 54 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()
|
D | objdump.c | 317 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()
|
D | ranlib.c | 186 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file() 193 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
|
D | nm.c | 457 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()
|
D | arlib.h | 42 #define MAX_AR_NAME_LEN (sizeof (((struct ar_hdr *) NULL)->ar_name) - 1)
|
D | size.c | 366 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()
|
D | strip.c | 2726 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()
|
D | elflint.c | 278 arhdr->ar_name, arhdr->ar_size, false); in process_file()
|
D | readelf.c | 12626 printf (gettext ("Archive member '%s' contains:\n"), h->ar_name); in dump_archive_index()
|
/external/elfutils/libelf/ |
D | elf_begin.c | 751 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 …]
|
D | elf_rand.c | 56 elf->state.ar.elf_ar_hdr.ar_name = NULL; in elf_rand()
|
D | elf_getarhdr.c | 57 if (parent->state.ar.elf_ar_hdr.ar_name == NULL in elf_getarhdr()
|
D | elf_next.c | 67 parent->state.ar.elf_ar_hdr.ar_name = NULL; in elf_next()
|
D | elf_getarsym.c | 154 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()
|
D | libelf.h | 196 char *ar_name; /* Name of archive member. */ member
|
D | libelfP.h | 400 char ar_name[16]; /* NUL terminated ar_name of elf_ar_hdr. */ member
|
/external/elfutils/libdwfl/ |
D | offline.c | 181 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()
|
D | open.c | 143 elf->state.ar.elf_ar_hdr.ar_name = "libdwfl is faking you out"; in libdw_open_elf()
|
/external/elfutils/tests/ |
D | arls.c | 100 arhdr->ar_name, (long int) arhdr->ar_date, (int) arhdr->ar_uid, in handle()
|
D | arsymtest.c | 114 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name); in main()
|
D | arextract.c | 83 if (strcmp (arhdr->ar_name, argv[2]) == 0) in main()
|
D | saridx.c | 183 arhdr->ar_name, in main()
|