Home
last modified time | relevance | path

Searched refs:_PyVerify_fd (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Include/
Dfileobject.h79 int _PyVerify_fd(int fd);
82 #define _PyVerify_fd(fd) (_get_osfhandle(fd) >= 0) macro
84 #define _PyVerify_fd(A) (1) /* dummy */ macro
/external/python/cpython2/Modules/_io/
Dfileio.c85 if (_PyVerify_fd(fd)) { in internal_close()
175 if (!_PyVerify_fd(fd)) { in check_fd()
514 if (_PyVerify_fd(self->fd)) { in fileio_readinto()
583 if (!_PyVerify_fd(self->fd)) in fileio_readall()
680 if (_PyVerify_fd(self->fd)) { in fileio_read()
722 if (_PyVerify_fd(self->fd)) { in fileio_write()
788 if (_PyVerify_fd(fd)) { in portable_lseek()
/external/python/cpython2/PC/
Dmsvcrtmodule.c144 if (!_PyVerify_fd(fd)) in msvcrt_get_osfhandle()
/external/python/cpython2/Modules/
Dposixmodule.c576 _PyVerify_fd(int fd) in _PyVerify_fd() function
616 if (!_PyVerify_fd(fd1)) in _PyVerify_fd_dup2()
866 if (!_PyVerify_fd(fd)) in posix_fildes()
6656 if (!_PyVerify_fd(fd)) in posix_close_()
6680 if (_PyVerify_fd(i)) in posix_closerange()
6697 if (!_PyVerify_fd(fd)) in posix_dup()
6765 if (!_PyVerify_fd(fd)) in posix_lseek()
6803 if (!_PyVerify_fd(fd)) { in posix_read()
6833 if (!_PyVerify_fd(fd)) { in posix_write()
6870 if (!_PyVerify_fd(fd)) in posix_fstat()
[all …]
Dsignalmodule.c418 if (fd != -1 && (!_PyVerify_fd(fd) || fstat(fd, &buf) != 0)) { in signal_set_wakeup_fd()
Dmmapmodule.c1304 if (_PyVerify_fd(fileno) == 0) { in new_mmap_object()