Lines Matching refs:FileHandle_Impl
69 struct FileHandle_Impl struct
96 explicit FileHandle_Impl (int fd, char const * path = "<anon>"); argument
97 ~FileHandle_Impl();
184 FileHandle_Impl::Allocator &
185 FileHandle_Impl::Allocator::get() in get()
191 FileHandle_Impl::Allocator::Allocator() in Allocator()
195 size_t const pagesize = FileHandle_Impl::getpagesize(); in Allocator()
204 FileHandle_Impl::Allocator::~Allocator() in ~Allocator()
209 void FileHandle_Impl::Allocator::allocate (sal_uInt8 ** ppBuffer, size_t * pnSize) in allocate()
215 void FileHandle_Impl::Allocator::deallocate (sal_uInt8 * pBuffer) in deallocate()
221 FileHandle_Impl::Guard::Guard(pthread_mutex_t * pMutex) in Guard()
227 FileHandle_Impl::Guard::~Guard() in ~Guard()
233 FileHandle_Impl::FileHandle_Impl (int fd, char const * path) in FileHandle_Impl() function in FileHandle_Impl
251 FileHandle_Impl::~FileHandle_Impl() in ~FileHandle_Impl()
258 void* FileHandle_Impl::operator new (size_t n) in operator new()
262 void FileHandle_Impl::operator delete (void * p, size_t) in operator delete()
267 size_t FileHandle_Impl::getpagesize() in getpagesize()
276 sal_uInt64 FileHandle_Impl::getPos() const in getPos()
281 oslFileError FileHandle_Impl::setPos (sal_uInt64 uPos) in setPos()
288 sal_uInt64 FileHandle_Impl::getSize() const in getSize()
294 oslFileError FileHandle_Impl::setSize (sal_uInt64 uSize) in setSize()
335 oslFileError FileHandle_Impl::readAt ( in readAt()
384 oslFileError FileHandle_Impl::writeAt ( in writeAt()
427 oslFileError FileHandle_Impl::readFileAt ( in readFileAt()
498 oslFileError FileHandle_Impl::writeFileAt ( in writeFileAt()
568 oslFileError FileHandle_Impl::readLineAt ( in readLineAt()
684 oslFileError FileHandle_Impl::writeSequence_Impl ( in writeSequence_Impl()
709 oslFileError FileHandle_Impl::syncFile() in syncFile()
737 FileHandle_Impl * pImpl = new FileHandle_Impl (fd); in osl_createFileHandleFromFD()
742 pImpl->m_state |= FileHandle_Impl::STATE_WRITEABLE; in osl_createFileHandleFromFD()
746 pImpl->m_state &= ~FileHandle_Impl::STATE_SEEKABLE; in osl_createFileHandleFromFD()
942 FileHandle_Impl * pImpl = new FileHandle_Impl (fd, buffer); in osl_openFile()
950 pImpl->m_state |= FileHandle_Impl::STATE_WRITEABLE; in osl_openFile()
967 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_closeFile()
999 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_syncFile()
1004 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_syncFile()
1028 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_mapFile()
1052 size_t const nPageSize = FileHandle_Impl::getpagesize(); in osl_mapFile()
1131 FileHandle_Impl * pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_readLine()
1138 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readLine()
1156 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_readFile()
1167 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readFile()
1185 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_writeFile()
1189 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_WRITEABLE)) in osl_writeFile()
1198 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_writeFile()
1217 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_readFileAt()
1221 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_SEEKABLE)) in osl_readFileAt()
1235 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_readFileAt()
1250 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_writeFileAt()
1254 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_SEEKABLE)) in osl_writeFileAt()
1256 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_WRITEABLE)) in osl_writeFileAt()
1270 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_writeFileAt()
1280 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_isEndOfFile()
1285 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_isEndOfFile()
1296 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_getFilePos()
1301 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_getFilePos()
1312 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_setFilePos()
1322 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_setFilePos()
1359 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_getFileSize()
1364 FileHandle_Impl::Guard lock (&(pImpl->m_mutex)); in osl_getFileSize()
1375 FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle); in osl_setFileSize()
1379 if (0 == (pImpl->m_state & FileHandle_Impl::STATE_WRITEABLE)) in osl_setFileSize()