Lines Matching refs:ifd
141 static int ifd = -1; variable
160 static void ar_coff_or_aout(int ifd);
451 ifd = -1; in type()
517 ifd = open64(file, O_RDONLY); in type()
518 if (ifd < 0) { in type()
529 (void) close(ifd); in type()
530 ifd = -1; in type()
533 if ((fbsz = read(ifd, fbuf, FBSZ)) == -1) { in type()
536 (void) close(ifd); in type()
537 ifd = -1; in type()
550 if ((mread = pread(ifd, (void*)magicbuf, (size_t)maxmagicoffset, in type()
657 if (zipfile(fbuf, ifd)) in def_position_tests()
660 if (is_crash_dump(fbuf, ifd)) in def_position_tests()
1807 if (ifd != -1) { in fd_cleanup()
1808 (void) close(ifd); in fd_cleanup()
1809 ifd = -1; in fd_cleanup()