Lines Matching refs:m_nSize
294 sal_uInt32 m_nSize; member in store::FileLockBytes
338 : m_hFile (rFile.m_handle), m_nSize (SAL_MAX_UINT32), m_xAllocator() in FileLockBytes()
376 storeError result = initSize_Impl (m_nSize); in initialize_Impl()
435 if (uSize > m_nSize) in writeAt_Impl()
436 m_nSize = sal::static_int_cast<sal_uInt32>(uSize); in writeAt_Impl()
442 rnSize = m_nSize; in getSize_Impl()
452 m_nSize = nSize; in setSize_Impl()
475 sal_uInt32 m_nSize; member
477 FileMapping() : m_pAddr(0), m_nSize(0) {} in FileMapping()
481 return ((m_pAddr != rhs.m_pAddr) || (m_nSize != rhs.m_nSize)); in operator !=()
495 m_nSize = sal::static_int_cast<sal_uInt32>(uSize); in initialize()
498 …return osl_mapFile (hFile, reinterpret_cast<void**>(&m_pAddr), m_nSize, 0, osl_File_MapFlag_Random… in initialize()
515 unmapFile (rMapping.m_pAddr, rMapping.m_nSize); in operator ()()
516 rMapping.m_pAddr = 0, rMapping.m_nSize = 0; in operator ()()
530 sal_uInt32 m_nSize; member in store::MappedLockBytes
577 : m_pData (rMapping.m_pAddr), m_nSize (rMapping.m_nSize), m_nPageSize(0) in MappedLockBytes()
583 FileMapping::unmapFile (m_pData, m_nSize); in ~MappedLockBytes()
605 OSL_PRECOND((m_pData <= pPage) && (pPage < m_pData + m_nSize), "contract violation"); in deallocate_Impl()
619 if ((m_pData > src_lo) || (src_lo >= m_pData + m_nSize)) in readPageAt_Impl()
623 if ((m_pData > src_hi) || (src_hi > m_pData + m_nSize)) in readPageAt_Impl()
640 if ((m_pData > src_lo) || (src_lo >= m_pData + m_nSize)) in readAt_Impl()
644 if ((m_pData > src_hi) || (src_hi > m_pData + m_nSize)) in readAt_Impl()
658 rnSize = m_nSize; in getSize_Impl()
687 sal_uInt32 m_nSize; member in store::MemoryLockBytes
729 : m_pData (0), m_nSize (0), m_xAllocator() in MemoryLockBytes()
785 if ((m_pData > src_lo) || (src_lo >= m_pData + m_nSize)) in readAt_Impl()
789 if ((m_pData > src_hi) || (src_hi > m_pData + m_nSize)) in readAt_Impl()
800 if (dst_size > m_nSize) in writeAt_Impl()
806 OSL_POSTCOND(dst_size <= m_nSize, "store::MemoryLockBytes::setSize_Impl() contract violation"); in writeAt_Impl()
809 if (dst_lo >= m_pData + m_nSize) in writeAt_Impl()
813 if (dst_hi > m_pData + m_nSize) in writeAt_Impl()
822 rnSize = m_nSize; in getSize_Impl()
828 if (nSize != m_nSize) in setSize_Impl()
833 if (nSize > m_nSize) in setSize_Impl()
834 memset (pData + m_nSize, 0, sal::static_int_cast<size_t>(nSize - m_nSize)); in setSize_Impl()
841 m_pData = pData, m_nSize = nSize; in setSize_Impl()