Lines Matching refs:ifd
632 int efd, ifd, ofd, ofd0, tfd;
639 if ((ifd = open(src, O_RDONLY)) == -1)
642 if (fstat(ifd, &sb) == -1)
653 if (ac_detect_ar(ifd)) {
654 ac_create_ar(ecp, ifd, ofd);
659 if (lseek(ifd, 0, SEEK_SET) < 0)
685 create_elf_from_binary(ecp, ifd, src);
687 create_elf_from_ihex(ecp, ifd);
689 create_elf_from_srec(ecp, ifd);
695 close(ifd);
696 if ((ifd = open(elftemp, O_RDONLY)) == -1)
704 if ((ecp->ein = elf_begin(ifd, ELF_C_READ, NULL)) == NULL)
821 close(ifd);