Lines Matching refs:nOffset

58 storeError ILockBytes::readPageAt (PageHolder & rPage, sal_uInt32 nOffset)  in readPageAt()  argument
60 OSL_PRECOND(!(nOffset == STORE_PAGE_NULL), "store::ILockBytes::readPageAt(): invalid Offset"); in readPageAt()
61 if (nOffset == STORE_PAGE_NULL) in readPageAt()
64 return readPageAt_Impl (rPage, nOffset); in readPageAt()
67 storeError ILockBytes::writePageAt (PageHolder const & rPage, sal_uInt32 nOffset) in writePageAt() argument
76 OSL_PRECOND(!(nOffset != offset), "store::ILockBytes::writePageAt(): inconsistent Offset"); in writePageAt()
77 if (nOffset != offset) in writePageAt()
80 OSL_PRECOND(!(nOffset == STORE_PAGE_NULL), "store::ILockBytes::writePageAt(): invalid Offset"); in writePageAt()
81 if (nOffset == STORE_PAGE_NULL) in writePageAt()
84 return writePageAt_Impl (rPage, nOffset); in writePageAt()
87 storeError ILockBytes::readAt (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes) in readAt() argument
98 OSL_PRECOND(!(nOffset == STORE_PAGE_NULL), "store::ILockBytes::readAt(): invalid Offset"); in readAt()
99 if (nOffset == STORE_PAGE_NULL) in readAt()
102 sal_uInt64 const src_size = nOffset + nBytes; in readAt()
106 return readAt_Impl (nOffset, dst_lo, (dst_hi - dst_lo)); in readAt()
109 storeError ILockBytes::writeAt (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes) in writeAt() argument
120 OSL_PRECOND(!(nOffset == STORE_PAGE_NULL), "store::ILockBytes::writeAt(): invalid Offset"); in writeAt()
121 if (nOffset == STORE_PAGE_NULL) in writeAt()
124 sal_uInt64 const dst_size = nOffset + nBytes; in writeAt()
128 return writeAt_Impl (nOffset, src_lo, (src_hi - src_lo)); in writeAt()
303 virtual storeError readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset);
304 virtual storeError writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset);
306 virtual storeError readAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes);
307 virtual storeError writeAt_Impl (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes);
389 storeError FileLockBytes::readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset) in readPageAt_Impl() argument
403 return readAt_Impl (nOffset, pagedata, pagedata->size()); in readPageAt_Impl()
406 storeError FileLockBytes::writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset) in writePageAt_Impl() argument
410 return writeAt_Impl (nOffset, pagedata, pagedata->size()); in writePageAt_Impl()
413 storeError FileLockBytes::readAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes) in readAt_Impl() argument
416 oslFileError result = osl_readFileAt (m_hFile, nOffset, pBuffer, nBytes, &nDone); in readAt_Impl()
424 storeError FileLockBytes::writeAt_Impl (sal_uInt32 nOffset, void const * pBuffer, sal_uInt32 nBytes) in writeAt_Impl() argument
427 oslFileError result = osl_writeFileAt (m_hFile, nOffset, pBuffer, nBytes, &nDone); in writeAt_Impl()
433 sal_uInt64 const uSize = nOffset + nBytes; in writeAt_Impl()
542 virtual storeError readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset);
543 virtual storeError writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset);
545 virtual storeError readAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes);
546 virtual storeError writeAt_Impl (sal_uInt32 nOffset, const void * pBuffer, sal_uInt32 nBytes);
616 storeError MappedLockBytes::readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset) in readPageAt_Impl() argument
618 sal_uInt8 * src_lo = m_pData + nOffset; in readPageAt_Impl()
637 storeError MappedLockBytes::readAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes) in readAt_Impl() argument
639 sal_uInt8 const * src_lo = m_pData + nOffset; in readAt_Impl()
694 virtual storeError readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset);
695 virtual storeError writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset);
697 virtual storeError readAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes);
698 virtual storeError writeAt_Impl (sal_uInt32 nOffset, const void * pBuffer, sal_uInt32 nBytes);
758 storeError MemoryLockBytes::readPageAt_Impl (PageHolder & rPage, sal_uInt32 nOffset) in readPageAt_Impl() argument
772 return readAt_Impl (nOffset, pagedata, pagedata->size()); in readPageAt_Impl()
775 storeError MemoryLockBytes::writePageAt_Impl (PageHolder const & rPage, sal_uInt32 nOffset) in writePageAt_Impl() argument
779 return writeAt_Impl (nOffset, pagedata, pagedata->size()); in writePageAt_Impl()
782 storeError MemoryLockBytes::readAt_Impl (sal_uInt32 nOffset, void * pBuffer, sal_uInt32 nBytes) in readAt_Impl() argument
784 sal_uInt8 const * src_lo = m_pData + nOffset; in readAt_Impl()
796 storeError MemoryLockBytes::writeAt_Impl (sal_uInt32 nOffset, const void * pBuffer, sal_uInt32 nByt… in writeAt_Impl() argument
798 sal_uInt64 const dst_size = nOffset + nBytes; in writeAt_Impl()
808 sal_uInt8 * dst_lo = m_pData + nOffset; in writeAt_Impl()