Lines Matching refs:FileHandle_Impl

69 struct FileHandle_Impl  struct
96 explicit FileHandle_Impl (int fd, char const * path = "<anon>"); argument
97 ~FileHandle_Impl();
186 FileHandle_Impl::Allocator &
187 FileHandle_Impl::Allocator::get() in get()
193 FileHandle_Impl::Allocator::Allocator() in Allocator()
197 size_t const pagesize = FileHandle_Impl::getpagesize(); in Allocator()
206 FileHandle_Impl::Allocator::~Allocator() in ~Allocator()
211 void FileHandle_Impl::Allocator::allocate (sal_uInt8 ** ppBuffer, size_t * pnSize) in allocate()
217 void FileHandle_Impl::Allocator::deallocate (sal_uInt8 * pBuffer) in deallocate()
223 FileHandle_Impl::Guard::Guard(pthread_mutex_t * pMutex) in Guard()
229 FileHandle_Impl::Guard::~Guard() in ~Guard()
235 FileHandle_Impl::FileHandle_Impl (int fd, char const * path) in FileHandle_Impl() function in FileHandle_Impl
253 FileHandle_Impl::~FileHandle_Impl() in ~FileHandle_Impl()
260 void* FileHandle_Impl::operator new (size_t n) in operator new()
264 void FileHandle_Impl::operator delete (void * p, size_t) in operator delete()
269 size_t FileHandle_Impl::getpagesize() in getpagesize()
278 sal_uInt64 FileHandle_Impl::getPos() const in getPos()
283 oslFileError FileHandle_Impl::setPos (sal_uInt64 uPos) in setPos()
290 sal_uInt64 FileHandle_Impl::getSize() const in getSize()
296 oslFileError FileHandle_Impl::setSize (sal_uInt64 uSize) in setSize()
337 oslFileError FileHandle_Impl::readAt ( in readAt()
386 oslFileError FileHandle_Impl::writeAt ( in writeAt()
429 oslFileError FileHandle_Impl::readFileAt ( in readFileAt()
500 oslFileError FileHandle_Impl::writeFileAt ( in writeFileAt()
570 oslFileError FileHandle_Impl::readLineAt ( in readLineAt()
686 oslFileError FileHandle_Impl::writeSequence_Impl ( in writeSequence_Impl()
711 oslFileError FileHandle_Impl::syncFile() in syncFile()
739 FileHandle_Impl * pImpl = new FileHandle_Impl (fd); in osl_createFileHandleFromFD()
744 pImpl->m_state |= FileHandle_Impl::STATE_WRITEABLE; in osl_createFileHandleFromFD()
748 pImpl->m_state &= ~FileHandle_Impl::STATE_SEEKABLE; in osl_createFileHandleFromFD()
944 FileHandle_Impl * pImpl = new FileHandle_Impl (fd, buffer); in osl_openFile()
952 pImpl->m_state |= FileHandle_Impl::STATE_WRITEABLE; in osl_openFile()
969 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_closeFile()
1001 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_syncFile()
1006 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_syncFile()
1030 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_mapFile()
1054 size_t const nPageSize = FileHandle_Impl::getpagesize(); in osl_mapFile()
1133 FileHandle_Impl * pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_readLine()
1140 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readLine()
1158 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_readFile()
1169 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readFile()
1187 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_writeFile()
1191 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_WRITEABLE)) in osl_writeFile()
1200 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_writeFile()
1219 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_readFileAt()
1223 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_SEEKABLE)) in osl_readFileAt()
1237 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readFileAt()
1252 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_writeFileAt()
1256 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_SEEKABLE)) in osl_writeFileAt()
1258 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_WRITEABLE)) in osl_writeFileAt()
1272 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_writeFileAt()
1282 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_isEndOfFile()
1287 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_isEndOfFile()
1298 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_getFilePos()
1303 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_getFilePos()
1314 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_setFilePos()
1324 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_setFilePos()
1361 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_getFileSize()
1366 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_getFileSize()
1377 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_setFileSize()
1381 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_WRITEABLE)) in osl_setFileSize()