/external/elfutils/src/ |
D | ar.c | 515 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 …]
|
D | arlib.c | 53 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()
|
D | objdump.c | 329 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()
|
D | ranlib.c | 202 if (strcmp (arhdr->ar_name, "/") == 0) in handle_file() 209 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
|
D | nm.c | 471 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()
|
D | arlib.h | 42 #define MAX_AR_NAME_LEN (sizeof (((struct ar_hdr *) NULL)->ar_name) - 1)
|
D | size.c | 383 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()
|
D | strip.c | 2259 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()
|
D | ldgeneric.c | 1834 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()
|
D | elflint.c | 292 arhdr->ar_name, arhdr->ar_size, false); in process_file()
|
D | readelf.c | 9734 printf (gettext ("Archive member '%s' contains:\n"), h->ar_name); in dump_archive_index()
|
/external/elfutils/libelf/ |
D | elf_begin.c | 708 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 …]
|
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 | 170 char *ar_name; /* Name of archive member. */ member
|
D | libelfP.h | 397 char ar_name[16]; /* NUL terminated ar_name of elf_ar_hdr. */ member
|
/external/elfutils/libdwfl/ |
D | offline.c | 174 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()
|
D | open.c | 138 elf->state.ar.elf_ar_hdr.ar_name = "libdwfl is faking you out"; in __libdw_open_file()
|
/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()
|
/external/valgrind/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 …]
|