Home | History | Annotate | Download | only in Lib

Lines Matching defs:_fd

1391     _fd = -1
1412 if self._fd >= 0:
1416 os.close(self._fd)
1418 self._fd = -1
1514 self._fd = fd
1517 if self._fd >= 0 and self._closefd and not self.closed:
1535 (class_name, self._fd, self.mode, self._closefd))
1560 return os.read(self._fd, size)
1574 pos = os.lseek(self._fd, 0, SEEK_CUR)
1575 end = os.fstat(self._fd).st_size
1588 chunk = os.read(self._fd, n)
1617 return os.write(self._fd, b)
1635 return os.lseek(self._fd, pos, whence)
1642 return os.lseek(self._fd, 0, SEEK_CUR)
1654 os.ftruncate(self._fd, size)
1666 os.close(self._fd)
1695 return self._fd
1700 return os.isatty(self._fd)