Home
last modified time | relevance | path

Searched refs:CacheNode (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/lru/
H A Dcount_limit_lru.h28 struct CacheNode { struct
29 CacheNode(std::string key, const T& obj) : cacheKey(std::move(key)), cacheObj(obj) {} in CacheNode() function
39 …cheWithCountLimitLRU(const std::string& key, const T& cacheObj, std::list<CacheNode<T>>& cacheList, argument
40 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache,
44 … static T GetCacheObjWithCountLimitLRU(const std::string& key, std::list<CacheNode<T>>& cacheList,
45 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache);
48 …static void RemoveCacheObjFromCountLimitLRU(const std::string& key, std::list<CacheNode<T>>& cache…
49 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache);
H A Dcount_limit_lru.inl21 std::list<CacheNode<T>>& cacheList,
22 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache,
41 T CountLimitLRU::GetCacheObjWithCountLimitLRU(const std::string& key, std::list<CacheNode<T>>& cach…
42 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache)
54 void CountLimitLRU::RemoveCacheObjFromCountLimitLRU(const std::string& key, std::list<CacheNode<T>>…
55 std::unordered_map<std::string, typename std::list<CacheNode<T>>::iterator>& cache)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_cache.h92 …bool ProcessImageDataCacheInner(size_t dataSize, std::vector<CacheNode<RefPtr<NG::ImageData>>>& ne…
96 std::list<CacheNode<std::shared_ptr<CachedImage>>> cacheList_;
97 …std::unordered_map<std::string, std::list<CacheNode<std::shared_ptr<CachedImage>>>::iterator> imag…
100 std::list<CacheNode<RefPtr<NG::ImageData>>> dataCacheList_;
101 …std::unordered_map<std::string, std::list<CacheNode<RefPtr<NG::ImageData>>>::iterator> imageDataCa…
109 std::list<CacheNode<RefPtr<NG::ImageObject>>> cacheImgObjListNG_;
110 …std::unordered_map<std::string, std::list<CacheNode<RefPtr<NG::ImageObject>>>::iterator> imgObjCac…
111 std::list<CacheNode<RefPtr<ImageObject>>> cacheImgObjList_;
112 … std::unordered_map<std::string, std::list<CacheNode<RefPtr<ImageObject>>>::iterator> imgObjCache_;
H A Dimage_cache.cpp104 std::vector<CacheNode<RefPtr<NG::ImageData>>> needErase; in CacheImageData()
150 bool ImageCache::ProcessImageDataCacheInner(size_t dataSize, std::vector<CacheNode<RefPtr<NG::Image… in ProcessImageDataCacheInner()
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/include/
H A Dclouddisk_notify_utils.h41 static int32_t GetCacheNode(const string &cloudId, CacheNode &cacheNode);
42 static void PutCacheNode(const string &cloudId, const CacheNode &cacheNode);
44 …GetUriFromCache(const string &bundleName, const string &rootId, const CacheNode &cacheNode, string…
47 static list<pair<string, CacheNode>> cacheList_;
48 static unordered_map<string, list<pair<string, CacheNode>>::iterator> cacheMap_;
H A Dclouddisk_rdbstore.h54 const CacheNode &node = {}, const std::string &extAttrKey = "");
80 int32_t GetCurNode(const std::string &cloudId, CacheNode &curNode);
83 int32_t GetNotifyUri(const CacheNode &cacheNode, std::string &uri);
84 int32_t GetNotifyData(const CacheNode &cacheNode, NotifyData &notifyData);
H A Dclouddisk_db_const.h54 struct CacheNode { struct
H A Dclouddisk_notify_const.h67 CacheNode node;
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/
H A Dclouddisk_notify_utils_mock.cpp30 list<pair<string, CacheNode>> CloudDiskNotifyUtils::cacheList_;
31 unordered_map<string, list<pair<string, CacheNode>>::iterator> CloudDiskNotifyUtils::cacheMap_;
99 int32_t CloudDiskNotifyUtils::GetCacheNode(const string &cloudId, CacheNode &cacheNode) in GetCacheNode()
112 void CloudDiskNotifyUtils::PutCacheNode(const string &cloudId, const CacheNode &cacheNode) in PutCacheNode()
138 const CacheNode &cacheNode, in GetUriFromCache()
141 CacheNode tmpCacheNode; in GetUriFromCache()
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/src/
H A Dclouddisk_notify_utils.cpp29 list<pair<string, CacheNode>> CloudDiskNotifyUtils::cacheList_;
30 unordered_map<string, list<pair<string, CacheNode>>::iterator> CloudDiskNotifyUtils::cacheMap_;
118 int32_t CloudDiskNotifyUtils::GetCacheNode(const string &cloudId, CacheNode &cacheNode) in GetCacheNode()
131 void CloudDiskNotifyUtils::PutCacheNode(const string &cloudId, const CacheNode &cacheNode) in PutCacheNode()
157 const CacheNode &cacheNode, in GetUriFromCache()
160 CacheNode tmpCacheNode; in GetUriFromCache()
H A Dclouddisk_notify.cpp66 static int32_t GetTrashNotifyData(const CacheNode &cacheNode, const ParamServiceOther &paramOthers, in GetTrashNotifyData()
282 CacheNode curNode{paramService.cloudId}; in HandleUpdate()
392 CacheNode curNode{cloudId}; in GetDeleteNotifyData()
H A Dclouddisk_rdbstore.cpp984 const CacheNode &node, const std::string &extAttrKey) in GetXAttr()
1112 static void HandleRenameValue(ValuesBucket &rename, int32_t position, const CacheNode &oldNode, in HandleRenameValue()
1113 const CacheNode &newNode) in HandleRenameValue()
1155 CacheNode newNode = {.parentCloudId = newParentCloudId, .fileName = newFileName}; in Rename()
1156 CacheNode oldNode = {.parentCloudId = oldParentCloudId, .fileName = oldFileName}; in Rename()
1269 int32_t CloudDiskRdbStore::GetCurNode(const std::string &cloudId, CacheNode &curNode) in GetCurNode()
1365 int32_t CloudDiskRdbStore::GetNotifyUri(const CacheNode &cacheNode, std::string &uri) in GetNotifyUri()
1386 int32_t CloudDiskRdbStore::GetNotifyData(const CacheNode &cacheNode, NotifyData &notifyData) in GetNotifyData()
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/
H A Dclouddisk_notify_utils_test.cpp171 CacheNode cacheNode;
188 CacheNode cacheNode;
205 CacheNode cacheNode;
223 CacheNode cacheNode;
H A Dclouddisk_rdbstore_test.cpp657 CacheNode node;
966 CacheNode curNode;
983 CacheNode curNode;
1070 CacheNode cacheNode;
1087 CacheNode cacheNode;
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/
H A Dclouddisk_rdbstore_mock.cpp160 const CacheNode &node, const std::string &extAttrKey) in GetXAttr()
217 int32_t CloudDiskRdbStore::GetCurNode(const std::string &cloudId, CacheNode &curNode) in GetCurNode()
233 int32_t CloudDiskRdbStore::GetNotifyUri(const CacheNode &cacheNode, std::string &uri) in GetNotifyUri()
241 int32_t CloudDiskRdbStore::GetNotifyData(const CacheNode &cacheNode, NotifyData &notifyData) in GetNotifyData()
/ohos5.0/base/hiviewdfx/hiview/base/event_store/include/
H A Dsys_event_query_wrapper.h71 struct CacheNode { struct
84 std::unordered_map<K, CacheNode<K, V>> keyToIndex_; argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/resource/
H A Dresource_manager.h161 std::list<CacheNode<RefPtr<ResourceAdapter>>> cacheList_;
162 std::unordered_map<std::string, std::list<CacheNode<RefPtr<ResourceAdapter>>>::iterator> cache_;
/ohos5.0/foundation/filemanagement/dfs_service/test/fuzztest/clouddisknotify_fuzzer/
H A Dclouddisknotify_fuzzer.cpp42 CacheNode cacheNode; in TryNotifyServiceFuzzTest()
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dscene_impl.cpp1267 bool CacheNode(const char* const tname, const SCENE_NS::INode::Ptr& node, in CacheNode() function in __anon3577c0ce0110::SceneImpl
1309 if (CacheNode<SCENE_NS::IMaterial>("material", node, materials_, relmat) || in UpdateCachedReference()
1310 CacheNode<SCENE_NS::IMesh>("mesh", node, meshes_, relmesh) || in UpdateCachedReference()
1311 CacheNode<META_NS::IAnimation>("animation", node, animations_, relanim)) { in UpdateCachedReference()
1315 if (CacheNode<SCENE_NS::ICamera>("camera", node, cameras_, relnode)) { in UpdateCachedReference()
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/
H A Dfile_operations_cloud.cpp917 CacheNode newNode = {.parentCloudId = parentInode->cloudId, .fileName = inoPtr->fileName}; in GetLocation()
937 CacheNode newNode = {}; in GetExtAttr()