Home
last modified time | relevance | path

Searched refs:nodeList_ (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/include/
H A Dlru_cache.h74 nodeList_.erase(it); in Delete()
82 nodeList_.clear(); in Clear()
97 nodeList_.emplace_front(node); in AddNode()
98 cache_[node.key] = nodeList_.begin(); in AddNode()
105 nodeList_.erase(it); in MoveNodeToHead()
106 nodeList_.emplace_front(key, value); in MoveNodeToHead()
107 cache_[key] = nodeList_.begin(); in MoveNodeToHead()
112 if (nodeList_.empty()) { in EraseTailNode()
115 Node node = nodeList_.back(); in EraseTailNode()
116 nodeList_.pop_back(); in EraseTailNode()
[all …]
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/
H A Dlru_cache.cpp58 nodeList_.emplace_front(node); in AddNode()
59 cache_[node.key] = nodeList_.begin(); in AddNode()
67 nodeList_.erase(it); in MoveNodeToHead()
68 nodeList_.emplace_front(key, value); in MoveNodeToHead()
69 cache_[key] = nodeList_.begin(); in MoveNodeToHead()
74 if (nodeList_.empty()) { in EraseTailNode()
77 Node node = nodeList_.back(); in EraseTailNode()
78 nodeList_.pop_back(); in EraseTailNode()
131 if (other.nodeList_.empty()) { in MergeOtherCache()
134 reverseList = other.nodeList_; in MergeOtherCache()
[all …]
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/
H A Dlru_cache_disk_handler.cpp54 nodeList_.emplace_front(node); in AddNode()
55 cache_[node.key] = nodeList_.begin(); in AddNode()
63 nodeList_.erase(it); in MoveNodeToHead()
64 nodeList_.emplace_front(key, value); in MoveNodeToHead()
65 cache_[key] = nodeList_.begin(); in MoveNodeToHead()
70 if (nodeList_.empty()) { in EraseTailNode()
73 Node node = nodeList_.back(); in EraseTailNode()
74 nodeList_.pop_back(); in EraseTailNode()
127 if (other.nodeList_.empty()) { in MergeOtherCache()
130 reverseList = other.nodeList_; in MergeOtherCache()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dlazy_for_each_builder.cpp150 return nodeList_; in OnDataBulkDeleted()
169 nodeList_.emplace_back(key, child.second); in OnDataBulkDeleted()
178 nodeList_.emplace_back(key, child.second); in OnDataBulkDeleted()
195 return nodeList_; in OnDataBulkDeleted()
218 return nodeList_; in OnDataBulkChanged()
221 return nodeList_; in OnDataBulkChanged()
229 nodeList_.emplace_back(child.first, child.second); in OnDataBulkChanged()
240 return nodeList_; in OnDataBulkChanged()
303 for (const auto& item : nodeList_) { in GetAllItems()
337 return std::pair(initialIndex, nodeList_); in OnDatasetChange()
[all …]
H A Dlazy_for_each_builder.h526 nodeList_.clear(); in clearDeletedNodes()
637 std::list<std::pair<std::string, RefPtr<UINode>>> nodeList_; variable
/ohos5.0/base/startup/init/services/param/watcher/proxy/
H A Dwatcher_manager.cpp660 node->AddToList(&nodeList_); in AddNode()
668 node->RemoveFromList(&nodeList_); in RemoveNode()
675 return WatcherNode::GetFromList(&nodeList_, nodeId); in GetNode()
681 return WatcherNode::GetNextFromList(&nodeList_, 0); in GetNextNodeSafe()
683 return WatcherNode::GetNextFromList(&nodeList_, node->GetNodeId()); in GetNextNodeSafe()
689 return WatcherNode::GetNextFromList(&nodeList_, 0); in GetNextNode()
691 return node->GetNext(&nodeList_); in GetNextNode()
698 WatcherNodePtr node = WatcherNode::GetNextFromList(&nodeList_, 0); in TraversalNode()
700 WatcherNodePtr next = node->GetNext(&nodeList_); in TraversalNode()
711 WatcherNodePtr node = WatcherNode::GetNextFromList(&nodeList_, 0); in TraversalNodeSafe()
[all …]
H A Dwatcher_manager.h190 OH_ListInit(&nodeList_); in ParamWatcherList()
196 return nodeList_.next == &nodeList_; in Empty()
210 ListHead nodeList_ {};
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/include/
H A Dlru_cache.h64 std::list<Node> nodeList_; variable
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/
H A Dlru_cache_disk_handler.h70 std::list<Node> nodeList_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/syntax/
H A Dlazy_for_each_builder_syntax_test_ng.cpp926 EXPECT_EQ(lazyForEachBuilder->nodeList_.size(), 0);
933 EXPECT_NE(lazyForEachBuilder->nodeList_.size(), 0);