/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/lru/ |
H A D | count_limit_lru.h | 28 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 D | count_limit_lru.inl | 21 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 D | image_cache.h | 92 …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 D | image_cache.cpp | 104 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 D | clouddisk_notify_utils.h | 41 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 D | clouddisk_rdbstore.h | 54 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 ¬ifyData);
|
H A D | clouddisk_db_const.h | 54 struct CacheNode { struct
|
H A D | clouddisk_notify_const.h | 67 CacheNode node;
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/ |
H A D | clouddisk_notify_utils_mock.cpp | 30 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 D | clouddisk_notify_utils.cpp | 29 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 D | clouddisk_notify.cpp | 66 static int32_t GetTrashNotifyData(const CacheNode &cacheNode, const ParamServiceOther ¶mOthers, in GetTrashNotifyData() 282 CacheNode curNode{paramService.cloudId}; in HandleUpdate() 392 CacheNode curNode{cloudId}; in GetDeleteNotifyData()
|
H A D | clouddisk_rdbstore.cpp | 984 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 ¬ifyData) in GetNotifyData()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/ |
H A D | clouddisk_notify_utils_test.cpp | 171 CacheNode cacheNode; 188 CacheNode cacheNode; 205 CacheNode cacheNode; 223 CacheNode cacheNode;
|
H A D | clouddisk_rdbstore_test.cpp | 657 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 D | clouddisk_rdbstore_mock.cpp | 160 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 ¬ifyData) in GetNotifyData()
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/include/ |
H A D | sys_event_query_wrapper.h | 71 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 D | resource_manager.h | 161 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 D | clouddisknotify_fuzzer.cpp | 42 CacheNode cacheNode; in TryNotifyServiceFuzzTest()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_impl.cpp | 1267 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 D | file_operations_cloud.cpp | 917 CacheNode newNode = {.parentCloudId = parentInode->cloudId, .fileName = inoPtr->fileName}; in GetLocation() 937 CacheNode newNode = {}; in GetExtAttr()
|