Home
last modified time | relevance | path

Searched refs:arf (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/cmd/sgs/size/common/
H A Dmain.c115 Elf *arf; in main() local
191 arf = 0; in main()
193 if ((arf = elf_begin(fd, cmd, arf)) == 0) { in main()
200 if (elf_kind(arf) == ELF_K_AR) { in main()
206 while ((elf = elf_begin(fd, cmd, arf)) != 0) { in main()
208 if (elf_kind(arf) == ELF_K_NONE) { in main()
221 if (elf_kind(arf) == ELF_K_NONE) { in main()
237 (void) elf_end(arf); in main()
/titanic_50/usr/src/cmd/sgs/dump/common/
H A Ddump.c1794 Elf *arf; in dump_ar_hdr() local
1802 while ((arf = elf_begin(fd, cmd, elf_file)) != 0) { in dump_ar_hdr()
1803 p_ar = elf_getarhdr(arf); in dump_ar_hdr()
1816 StringTableList, fd, arf, p_ar, filename); in dump_ar_hdr()
1817 cmd = elf_next(arf); in dump_ar_hdr()
1818 (void) elf_end(arf); in dump_ar_hdr()
1860 cmd = elf_next(arf); in dump_ar_hdr()
1861 (void) elf_end(arf); in dump_ar_hdr()
1880 Elf *arf; in dump_ar_files() local
1887 while ((arf = elf_begin(fd, cmd, elf_file)) != 0) { in dump_ar_files()
[all …]
/titanic_50/usr/src/cmd/sgs/nm/common/
H A Dnm.c598 Elf *arf; in print_ar_files() local
605 while ((arf = elf_begin(fd, cmd, elf_file)) != 0) { in print_ar_files()
606 p_ar = elf_getarhdr(arf); in print_ar_files()
613 cmd = elf_next(arf); in print_ar_files()
614 (void) elf_end(arf); in print_ar_files()
631 file_type = elf_kind(arf); in print_ar_files()
633 process(arf, p_ar->ar_name); in print_ar_files()
638 cmd = elf_next(arf); in print_ar_files()
639 (void) elf_end(arf); in print_ar_files()
644 cmd = elf_next(arf); in print_ar_files()
[all …]
/titanic_50/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c1362 Elf *arf; in process_archive() local
1365 while ((arf = elf_begin(c->obj->fd, cmd, c->obj->elf)) != 0) { in process_archive()
1366 p_ar = elf_getarhdr(arf); in process_archive()
1375 cmd = elf_next(arf); in process_archive()
1376 (void) elf_end(arf); in process_archive()
1379 if (elf_kind(arf) == ELF_K_ELF) { in process_archive()
1380 process(c, arf, p_ar->ar_name); in process_archive()
1382 cmd = elf_next(arf); in process_archive()
1383 (void) elf_end(arf); in process_archive()
1386 cmd = elf_next(arf); in process_archive()
[all …]
/titanic_50/usr/src/cmd/sgs/mcs/common/
H A Dfile.c76 Elf *arf = 0; in each_file() local
105 if ((arf = elf_begin(fd, cmd, NULL)) == NULL) { in each_file()
107 (void) elf_end(arf); in each_file()
112 if ((elf_kind(arf) == ELF_K_AR)) { in each_file()
122 (void) elf_end(arf); in each_file()
148 while ((elf = elf_begin(fd, cmd, arf)) != 0) { in each_file()
157 (void) elf_end(arf); in each_file()
183 (void) elf_end(arf); in each_file()
231 (void) elf_end(arf); in each_file()
/titanic_50/usr/src/cmd/sgs/ar/common/
H A Dinc.h97 Elf *arf; /* Elf descriptor for the archive */ member
H A Dfile.c165 cmd_info->arf = elf_begin(fd, cmd, (Elf *)0); in getaf()
167 if (elf_kind(cmd_info->arf) != ELF_K_AR) { in getaf()
316 Elf *arf = cmd_info->arf; in getfile() local
322 if ((elf = elf_begin(fd, ELF_C_READ, arf)) == 0) in getfile()
1327 (void) elf_end(cmd_info->arf); in writefile()