Lines Matching refs:m_descriptor
74 m_descriptor (kInvalidDescriptor), in File()
83 m_descriptor (kInvalidDescriptor), in File()
110 return m_descriptor; in GetDescriptor()
126 m_descriptor = fd; in SetDescriptor()
143 m_stream = ::fdopen (m_descriptor, mode); in GetStream()
170 m_descriptor = ::fcntl(rhs.GetDescriptor(), F_DUPFD); in Duplicate()
239 m_descriptor = ::open(path, oflag, mode); in Open()
240 } while (m_descriptor < 0 && errno == EINTR); in Open()
266 if (::close (m_descriptor) != 0) in Close()
270 m_descriptor = kInvalidDescriptor; in Close()
327 result = ::lseek (m_descriptor, offset, SEEK_SET); in SeekFromStart()
362 result = ::lseek (m_descriptor, offset, SEEK_CUR); in SeekFromCurrent()
397 result = ::lseek (m_descriptor, offset, SEEK_END); in SeekFromEnd()
458 err = ::fsync (m_descriptor); in Sync()
480 bytes_read = ::read (m_descriptor, buf, num_bytes); in Read()
523 bytes_written = ::write (m_descriptor, buf, num_bytes); in Write()
654 bytes_written = ::pwrite (m_descriptor, buf, num_bytes, offset); in Write()