LibreOffice Module store (master) 1
Classes | Functions
store Namespace Reference

Old OStorePageCache implementation. More...

Classes

struct  Entry
 
class  ILockBytes
 
struct  OStoreBTreeEntry
 
struct  OStoreBTreeNodeData
 
class  OStoreBTreeNodeObject
 
class  OStoreBTreeRootObject
 
struct  OStoreDataPageData
 
class  OStoreDataPageObject
 
class  OStoreDirectory
 
class  OStoreDirectory_Impl
 
struct  OStoreDirectoryDataBlock
 
struct  OStoreDirectoryPageData
 
class  OStoreDirectoryPageObject
 
class  OStoreFile
 
struct  OStoreIndirectionPageData
 
class  OStoreIndirectionPageObject
 
class  OStoreLockBytes
 
class  OStoreObject
 
class  OStorePageBIOS
 
struct  OStorePageDescriptor
 
struct  OStorePageGuard
 
struct  OStorePageKey
 
struct  OStorePageLink
 
class  OStorePageManager
 
struct  OStorePageNameBlock
 
class  OStorePageObject
 
class  OStoreStream
 
class  PageCache
 
struct  PageData
 
class  PageHolderObject
 
struct  SuperBlockPage
 

Functions

storeError FileLockBytes_createInstance (rtl::Reference< ILockBytes > &rxLockBytes, rtl_uString *pFilename, storeAccessMode eAccessMode)
 
storeError MemoryLockBytes_createInstance (rtl::Reference< ILockBytes > &rxLockBytes)
 
template<class store_handle_type >
store_handle_type *SAL_CALL query (OStoreObject *pHandle, store_handle_type *)
 Template helper function as dynamic_cast replacement. More...
 
sal_uInt16 htons (sal_uInt16 h)
 
sal_uInt16 ntohs (sal_uInt16 n)
 
sal_uInt32 htonl (sal_uInt32 h)
 
sal_uInt32 ntohl (sal_uInt32 n)
 
storeError PageCache_createInstance (rtl::Reference< store::PageCache > &rxCache, sal_uInt16 nPageSize)
 
constexpr sal_uInt32 STORE_MAGIC_DATAPAGE (0x94190310)
 
constexpr sal_uInt32 STORE_MAGIC_INDIRECTPAGE (0x89191107)
 
template<>
OStoreDirectory_Impl *SAL_CALL query (OStoreObject *pHandle, SAL_UNUSED_PARAMETER OStoreDirectory_Impl *)
 
template<>
OStoreLockBytes *SAL_CALL query (OStoreObject *pHandle, SAL_UNUSED_PARAMETER OStoreLockBytes *)
 
template<>
OStorePageManager *SAL_CALL query (OStoreObject *pHandle, SAL_UNUSED_PARAMETER OStorePageManager *)
 

Detailed Description

Old OStorePageCache implementation.

(two-way association (sorted address array, LRU chain)). (external PageData representation).

Function Documentation

◆ FileLockBytes_createInstance()

storeError store::FileLockBytes_createInstance ( rtl::Reference< ILockBytes > &  rxLockBytes,
rtl_uString *  pFilename,
storeAccessMode  eAccessMode 
)

Definition at line 837 of file lockbyte.cxx.

References ReadOnly, result, store_E_None, and store_E_OutOfMemory.

Referenced by store_openFile().

◆ htonl()

sal_uInt32 store::htonl ( sal_uInt32  h)
inline

◆ htons()

sal_uInt16 store::htons ( sal_uInt16  h)
inline

◆ MemoryLockBytes_createInstance()

storeError store::MemoryLockBytes_createInstance ( rtl::Reference< ILockBytes > &  rxLockBytes)

Definition at line 873 of file lockbyte.cxx.

References store_E_None, and store_E_OutOfMemory.

Referenced by store_createMemoryFile().

◆ ntohl()

sal_uInt32 store::ntohl ( sal_uInt32  n)
inline

◆ ntohs()

sal_uInt16 store::ntohs ( sal_uInt16  n)
inline

◆ PageCache_createInstance()

storeError store::PageCache_createInstance ( rtl::Reference< store::PageCache > &  rxCache,
sal_uInt16  nPageSize 
)

Definition at line 401 of file storcach.cxx.

References store_E_None, and store_E_OutOfMemory.

Referenced by store::OStorePageBIOS::initialize_Impl().

◆ query() [1/4]

template<>
OStoreDirectory_Impl *SAL_CALL store::query ( OStoreObject pHandle,
SAL_UNUSED_PARAMETER OStoreDirectory_Impl  
)
inline

◆ query() [2/4]

template<>
OStoreLockBytes *SAL_CALL store::query ( OStoreObject pHandle,
SAL_UNUSED_PARAMETER OStoreLockBytes  
)
inline

◆ query() [3/4]

template<>
OStorePageManager *SAL_CALL store::query ( OStoreObject pHandle,
SAL_UNUSED_PARAMETER OStorePageManager  
)
inline

◆ query() [4/4]

template<class store_handle_type >
store_handle_type *SAL_CALL store::query ( OStoreObject pHandle,
store_handle_type *   
)

◆ STORE_MAGIC_DATAPAGE()

constexpr sal_uInt32 store::STORE_MAGIC_DATAPAGE ( 0x94190310  )
constexpr

◆ STORE_MAGIC_INDIRECTPAGE()

constexpr sal_uInt32 store::STORE_MAGIC_INDIRECTPAGE ( 0x89191107  )
constexpr