Lines Matching refs:nOffset

188     void offset (sal_uInt32 nOffset) { m_aDescr.m_nAddr = nOffset; }  in offset()
539 storeError loadAt (PageHolder & rPage, sal_uInt32 nOffset) in loadAt() argument
542 (void)nOffset; // NYI in loadAt()
545 storeError saveAt (PageHolder const & rPage, sal_uInt32 nOffset) in saveAt() argument
548 (void)nOffset; // NYI in saveAt()
553 storeError save (PageHolder & rxPage, sal_uInt32 nOffset) in save() argument
558 return saveAt (rxPage, nOffset); in save()
561 storeError lookupAt (PageHolder & rPage, sal_uInt32 nOffset) in lookupAt() argument
564 (void)nOffset; // NYI in lookupAt()
567 storeError replaceAt (PageHolder const & rPage, sal_uInt32 nOffset) in replaceAt() argument
570 (void)nOffset; // NYI in replaceAt()
642 storeError loadAt (sal_uInt32 nOffset, TestBIOS & rBIOS) in loadAt() argument
644 storeError result = rBIOS.lookupAt (m_xPage, nOffset); // cache lookup in loadAt()
647 result = rBIOS.loadAt (m_xPage, nOffset); in loadAt()
655 result = rBIOS.replaceAt (m_xPage, nOffset); // cache insert in loadAt()
659 storeError saveAt (sal_uInt32 nOffset, TestBIOS & rBIOS) in saveAt() argument
663 m_xPage->m_aDescr.m_nAddr = store::htonl(nOffset); // m_xPage->location (nOffset); in saveAt()
669 result = rBIOS.saveAt (m_xPage, nOffset); in saveAt()
673 return rBIOS.replaceAt (m_xPage, nOffset); // cache update in saveAt()
682 storeError saveAt (sal_uInt32 nOffset, TestBIOS & rBIOS) in saveAt() argument
684 m_xPage->offset(nOffset); in saveAt()
690 result = rBIOS.saveAt (m_xPage, nOffset); in saveAt()
694 return rBIOS.replaceAt (m_xPage, nOffset); in saveAt()
732 BIOS::load (PageObject & rPage, sal_uInt32 nOffset)
734 result = m_xCache->readPageAt (rPage.get(), nOffset);
737 result = m_xLockBytes->readPageAt (rPage.get(), nOffset);
745 result = m_xCache->writePageAt (rPage.get(), nOffset);
749 BIOS::save (PageObject & rPage, sal_uInt32 nOffset)
752 result = m_xLockBytes->writePageAt (rPage.get(), nOffset);
756 return m_xCache->writePageAt (rPage.get(), nOffset);
794 storeError readPageAt (PageObject & rPage, sal_uInt32 nOffset);
795 storeError writePageAt (PageObject const & rPage, sal_uInt32 nOffset);
809 storeError readPageAt (PageHolder & rPage, sal_uInt32 nOffset) in readPageAt() argument
811 return readPageAt_Impl (rPage, nOffset); in readPageAt()
813 storeError writePageAt (PageHolder const & rPage, sal_uInt32 nOffset) in writePageAt() argument
822 OSL_PRECOND(!(nOffset != offset), "inconsistent Offset"); in writePageAt()
823 if (nOffset != offset) in writePageAt()
826 … OSL_PRECOND(!(nOffset == STORE_PAGE_NULL), "store::IPageAccess::writePageAt(): invalid Offset"); in writePageAt()
827 if (nOffset == STORE_PAGE_NULL) in writePageAt()
830 return writePageAt_Impl (rPage, nOffset); in writePageAt()
833 storeError peekAt (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes) in peekAt() argument
844 sal_uInt64 const dst_size = nOffset + nBytes; in peekAt()
848 return peekAt_Impl (nOffset, dst_lo, (dst_hi - dst_lo)); in peekAt()
851 storeError pokeAt (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes) in pokeAt() argument
862 sal_uInt64 const dst_size = nOffset + nBytes; in pokeAt()
866 return pokeAt_Impl (nOffset, src_lo, (src_hi - src_lo)); in pokeAt()
881 virtual storeError readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset) = 0;
882 virtual storeError writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset) = 0;
884 virtual storeError peekAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes) = 0;
885 … virtual storeError pokeAt_Impl (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes) = 0;
1032 virtual storeError readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset);
1033 virtual storeError writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset);
1036 virtual storeError peekAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes);
1037 virtual storeError pokeAt_Impl (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes);
1063 storeError FilePageAccess::readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset) in readPageAt_Impl() argument
1070 return peekAt (nOffset, rPage.get(), 0/*size*/); in readPageAt_Impl()
1072 storeError FilePageAccess::writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset) in writePageAt_Impl() argument
1074 return pokeAt (nOffset, rPage.get(), 0/*size*/); in writePageAt_Impl()
1076 storeError FilePageAccess::peekAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes) in peekAt_Impl() argument
1079 oslFileError result = osl_readFileAt (m_hFile, nOffset, pBuffer, nBytes, &nDone); in peekAt_Impl()
1086 storeError FilePageAccess::pokeAt_Impl (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes) in pokeAt_Impl() argument
1089 oslFileError result = osl_writeFileAt (m_hFile, nOffset, pBuffer, nBytes, &nDone); in pokeAt_Impl()
1201 virtual storeError readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset);
1202 virtual storeError writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset);
1206 virtual storeError peekAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes);
1207 virtual storeError pokeAt_Impl (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes);
1236 storeError MemoryPageAccess::readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset) in readPageAt_Impl() argument
1239 PageHolder page (reinterpret_cast< PageData* >(m_pData + nOffset)); in readPageAt_Impl()
1243 storeError MemoryPageAccess::writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset) in writePageAt_Impl() argument
1254 OSL_ASSERT(nOffset == offset); in writePageAt_Impl()
1258 return pokeAt (nOffset, pagedata, pagedata->size()); in writePageAt_Impl()
1260 storeError MemoryPageAccess::peekAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes) in peekAt_Impl() argument
1272 sal_uInt8 const * src_lo = m_pData + nOffset; in peekAt_Impl()
1284 storeError MemoryPageAccess::pokeAt_Impl (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nByt… in pokeAt_Impl() argument
1295 sal_uInt64 const uSize = nOffset + nBytes; in pokeAt_Impl()
1308 sal_uInt8 * dst_lo = m_pData + nOffset; in pokeAt_Impl()
1362 virtual storeError writePageAt (PageHolder const & rPage, sal_uInt32 nOffset);
1365 virtual storeError pokeAt_Impl (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes);