LibreOffice Module store (master) 1
|
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 *) |
Old OStorePageCache implementation.
(two-way association (sorted address array, LRU chain)). (external PageData representation).
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().
|
inline |
Definition at line 69 of file storbase.hxx.
References h.
Referenced by store::OStoreDirectoryPageObject::attrib(), store::OStoreDirectoryPageObject::dataLength(), store::OStoreBTreeNodeData::depth(), store::OStoreDirectoryDataBlock::directLink(), store::OStoreDirectoryDataBlock::doubleLink(), store::OStoreIndirectionPageData::guard(), store::OStorePageNameBlock::guard(), store::OStoreDirectoryDataBlock::guard(), store::OStoreBTreeNodeData::guard(), store::PageData::guard(), store::OStorePageManager::iget(), store::OStoreDirectory_Impl::iterate(), store::PageData::location(), store::OStorePageManager::namei(), store::OStorePageLink::operator=(), store::OStoreBTreeNodeData::OStoreBTreeNodeData(), store::OStoreDataPageData::OStoreDataPageData(), store::OStoreDirectoryPageData::OStoreDirectoryPageData(), store::OStoreIndirectionPageData::OStoreIndirectionPageData(), store::OStoreDirectoryDataBlock::singleLink(), store::OStoreDirectoryDataBlock::tripleLink(), store::OStoreIndirectionPageData::verify(), store::OStorePageNameBlock::verify(), store::OStoreDirectoryDataBlock::verify(), store::OStoreBTreeNodeData::verify(), store::PageData::verify(), and store::OStoreIndirectionPageObject::write().
|
inline |
Definition at line 66 of file storbase.hxx.
References h.
Referenced by store::OStoreBTreeNodeData::OStoreBTreeNodeData(), store::OStoreDataPageData::OStoreDataPageData(), store::OStoreDirectoryPageData::OStoreDirectoryPageData(), store::OStoreIndirectionPageData::OStoreIndirectionPageData(), and store::OStoreBTreeNodeData::usageCount().
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().
|
inline |
Definition at line 70 of file storbase.hxx.
References n.
Referenced by store::OStoreDirectoryPageObject::attrib(), store::OStoreDirectoryPageObject::dataLength(), store::OStoreBTreeNodeData::depth(), store::OStoreDirectoryDataBlock::directLink(), store::OStoreDirectoryDataBlock::doubleLink(), store::OStorePageManager::iget(), store::OStorePageManager::iterate(), store::OStoreDirectory_Impl::iterate(), store::OStorePageLink::location(), store::PageData::location(), store::OStorePageKey::operator<(), store::OStoreDirectoryPageObject::path(), store::OStoreIndirectionPageObject::read(), store::OStorePageManager::remove(), store::OStoreDirectoryDataBlock::singleLink(), store::OStoreDirectoryDataBlock::tripleLink(), store::OStoreIndirectionPageObject::truncate(), store::PageData::type(), and store::OStoreIndirectionPageObject::write().
|
inline |
Definition at line 67 of file storbase.hxx.
References n.
Referenced by store::OStoreDirectoryPageData::capacity(), store::OStoreBTreeNodeData::capacity(), store::OStoreDataPageData::capacity(), store::OStoreIndirectionPageData::capacity(), store::OStorePageBIOS::initialize_Impl(), store::PageData::size(), and store::OStoreBTreeNodeData::usage().
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().
|
inline |
Definition at line 92 of file stordir.hxx.
References store::OStoreObject::isKindOf(), and store::OStoreDirectory_Impl::m_nTypeId.
|
inline |
Definition at line 119 of file storlckb.hxx.
References store::OStoreObject::isKindOf(), and store::OStoreLockBytes::m_nTypeId.
|
inline |
Definition at line 144 of file storpage.hxx.
References store::OStoreObject::isKindOf(), and store::OStorePageManager::m_nTypeId.
store_handle_type *SAL_CALL store::query | ( | OStoreObject * | pHandle, |
store_handle_type * | |||
) |
Template helper function as dynamic_cast replacement.
Referenced by store_closeFile(), store_findFirst(), store_findNext(), store_flushFile(), store_openDirectory(), store_openStream(), store_readStream(), store_remove(), and store_writeStream().
|
constexpr |
|
constexpr |