Lines Matching refs:m_hFile
66 HANDLE m_hFile; member
220 : m_hFile (hFile), in FileHandle_Impl()
279 if (!::SetFilePointerEx(m_hFile, nDstPos, 0, FILE_BEGIN)) in setSize()
282 if (!::SetEndOfFile(m_hFile)) in setSize()
287 if (!::SetFilePointerEx(m_hFile, nDstPos, 0, FILE_BEGIN)) in setSize()
310 if (!::SetFilePointerEx(m_hFile, liOffset, 0, FILE_BEGIN)) in readAt()
316 if (!::ReadFile(m_hFile, pBuffer, nBytesRequested, &dwDone, 0)) in readAt()
341 if (!::SetFilePointerEx (m_hFile, liOffset, 0, FILE_BEGIN)) in writeAt()
347 if (!::WriteFile(m_hFile, pBuffer, nBytesToWrite, &dwDone, 0)) in writeAt()
372 if (!::ReadFile(m_hFile, pBuffer, nBytesRequested, &dwDone, 0)) in readFileAt()
446 if (!::WriteFile(m_hFile, pBuffer, nBytesToWrite, &dwDone, 0)) in writeFileAt()
750 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile)) in osl_syncFile()
759 if (!FlushFileBuffers(pImpl->m_hFile)) in osl_syncFile()
770 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile)) in osl_closeFile()
779 (void)::CloseHandle(pImpl->m_hFile); in osl_closeFile()
781 else if (!::CloseHandle(pImpl->m_hFile)) in osl_closeFile()
816 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile) || (0 == ppAddr)) in osl_mapFile()
832 …FileMapping aMap( ::CreateFileMapping (pImpl->m_hFile, NULL, SEC_COMMIT | PAGE_READONLY, 0, 0, NUL… in osl_mapFile()
894 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile) || (0 == ppSequence)) in osl_readLine()
916 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile) || (0 == pBuffer) || (0 == pBytesRead)) in osl_readFile()
938 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile) || (0 == pBuffer) || (0 == pBytesWritten)) in osl_writeFile()
961 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile) || (0 == pBuffer) || (0 == pBytesRead)) in osl_readFileAt()
987 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile) || (0 == pBuffer) || (0 == pBytesWritten)) in osl_writeFileAt()
1008 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile) || (0 == pIsEOF)) in osl_isEndOfFile()
1021 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile) || (0 == pPos)) in osl_getFilePos()
1034 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile)) in osl_setFilePos()
1079 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile) || (0 == pSize)) in osl_getFileSize()
1093 if ((0 == pImpl) || !IsValidHandle(pImpl->m_hFile)) in osl_setFileSize()