Searched refs:elf_fd (Results 1 – 4 of 4) sorted by relevance
/build/tools/soslim/ |
D | main.c | 40 int elf_fd = -1, newelf_fd = -1; in main() local 84 elf_fd = open(infile, O_RDONLY); in main() 85 FAILIF(elf_fd < 0, "open(%s): %s (%d)\n", in main() 90 elf = elf_begin(elf_fd, ELF_C_READ, NULL); in main() 116 FAILIF(close(elf_fd) < 0, "Could not close file %s: %s (%d)!\n", in main() 121 int elf_fd = -1; in main() local 126 elf_fd = open(infile, ((outfile == NULL && dry_run == 0) ? O_RDWR : O_RDONLY)); in main() 127 FAILIF(elf_fd < 0, "open(%s): %s (%d)\n", in main() 132 elf = elf_begin(elf_fd, in main() 161 FAILIF(fstat (elf_fd, &st) != 0, in main() [all …]
|
/build/tools/apriori/ |
D | source.h | 63 int elf_fd; member
|
D | apriori.c | 609 source->elf_fd = -1; in init_source() 611 source->elf_fd = in init_source() 613 FAILIF(source->elf_fd < 0, "open(%s): %s (%d)\n", in init_source() 618 FAILIF(fstat(source->elf_fd, &source->elf_file_info) < 0, in init_source() 621 source->elf_fd, in init_source() 631 elf_begin(source->elf_fd, in init_source() 762 FAILIF(close(source->elf_fd) < 0, "Could not close file %s: %s (%d)!\n", in destroy_source()
|
/build/tools/lsd/ |
D | lsd.c | 40 int elf_fd; member 133 source->elf_fd = -1; in init_source() 136 source->elf_fd = open(full_path, O_RDONLY); in init_source() 137 FAILIF(source->elf_fd < 0, "open(%s): %s (%d)\n", in init_source() 142 source->elf = elf_begin(source->elf_fd, ELF_C_READ, NULL); in init_source() 278 FAILIF(close(source->elf_fd) < 0, "Could not close file %s: %s (%d)!\n", in destroy_source()
|