Home
last modified time | relevance | path

Searched refs:CacheUser (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/test/unittest/common/
H A Dcache_manager_tdd_test.cpp54 …uintptr_t localizationPos = CacheManager::GetInstance().GetCacheBufAddress(CacheUser::USER_LOCALIZ…
55 …size_t localizationBufSize = CacheManager::GetInstance().GetCacheBufLength(CacheUser::USER_LOCALIZ…
96 …uintptr_t bufferPos = CacheManager::GetInstance().GetCacheBufAddress(CacheUser::USER_LOCALIZATION);
97 size_t bufSize = CacheManager::GetInstance().GetCacheBufLength(CacheUser::USER_LOCALIZATION);
132 … uintptr_t localPos = CacheManager::GetInstance().GetCacheBufAddress(CacheUser::USER_LOCALIZATION);
133 … size_t localBufSize = CacheManager::GetInstance().GetCacheBufLength(CacheUser::USER_LOCALIZATION);
163 …uintptr_t bufStartPos = CacheManager::GetInstance().GetCacheBufAddress(CacheUser::USER_LOCALIZATIO…
164 size_t bufLength = CacheManager::GetInstance().GetCacheBufLength(CacheUser::USER_LOCALIZATION);
193 size_t bufLength = CacheManager::GetInstance().GetCacheBufLength(CacheUser::USER_LOCALIZATION);
205 EXPECT_TRUE(CacheManager::GetInstance().IsCacheOverflow(CacheUser::USER_LOCALIZATION));
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/
H A Dcache_manager.h54 uintptr_t GetCacheBufAddress(CacheUser user) const;
56 size_t GetCacheBufLength(CacheUser user) const;
57 bool IsCacheAvailable(CacheUser user) const;
58 bool IsCacheOverflow(CacheUser user) const;
84 bool IsEnvReady(CacheUser user) const;
H A Dcache_manager.cpp150 bool CacheManager::IsEnvReady(CacheUser user) const in IsEnvReady()
158 uintptr_t CacheManager::GetCacheBufAddress(CacheUser user) const in GetCacheBufAddress()
166 size_t CacheManager::GetCacheBufLength(CacheUser user) const in GetCacheBufLength()
174 bool CacheManager::IsCacheOverflow(CacheUser user) const in IsCacheOverflow()
204 if (IsCacheOverflow(CacheUser(i))) { in IsWholeCacheHealthy()
H A Dcache_config.h46 enum CacheUser : uint8_t { enum
57 CacheUser cacheUser_;
62 CacheUnit(CacheUser user, uint8_t length) : cacheUser_(user), minLength_(length) {} in CacheUnit()