Lines Matching refs:ifd
142 static int ifd = -1; variable
161 static void ar_coff_or_aout(int ifd);
452 ifd = -1; in type()
518 ifd = open64(file, O_RDONLY); in type()
519 if (ifd < 0) { in type()
530 (void) close(ifd); in type()
531 ifd = -1; in type()
534 if ((fbsz = read(ifd, fbuf, FBSZ)) == -1) { in type()
537 (void) close(ifd); in type()
538 ifd = -1; in type()
551 if ((mread = pread(ifd, (void*)magicbuf, (size_t)maxmagicoffset, in type()
658 if (zipfile(fbuf, ifd)) in def_position_tests()
661 if (is_crash_dump(fbuf, ifd)) in def_position_tests()
1892 if (ifd != -1) { in fd_cleanup()
1893 (void) close(ifd); in fd_cleanup()
1894 ifd = -1; in fd_cleanup()