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()
660 if (zipfile(fbuf, ifd)) in def_position_tests()
663 if (is_crash_dump(fbuf, ifd)) in def_position_tests()
1900 if (ifd != -1) { in fd_cleanup()
1901 (void) close(ifd); in fd_cleanup()
1902 ifd = -1; in fd_cleanup()