Home
last modified time | relevance | path

Searched refs:NodeExists (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/net/spdy/
Dspdy_priority_forest_test.cc15 EXPECT_FALSE(forest.NodeExists(1)); in TEST()
19 ASSERT_TRUE(forest.NodeExists(1)); in TEST()
21 EXPECT_FALSE(forest.NodeExists(5)); in TEST()
26 EXPECT_TRUE(forest.NodeExists(1)); in TEST()
27 ASSERT_TRUE(forest.NodeExists(5)); in TEST()
29 EXPECT_FALSE(forest.NodeExists(13)); in TEST()
33 EXPECT_TRUE(forest.NodeExists(1)); in TEST()
34 EXPECT_TRUE(forest.NodeExists(5)); in TEST()
35 ASSERT_TRUE(forest.NodeExists(13)); in TEST()
41 EXPECT_TRUE(forest.NodeExists(1)); in TEST()
[all …]
Dspdy_priority_forest.h41 bool NodeExists(NodeId node_id) const;
162 bool SpdyPriorityForest<NodeId, Priority>::NodeExists(NodeId node_id) const { in NodeExists() function
169 if (NodeExists(node_id)) { in AddRootNode()
181 if (NodeExists(node_id) || !NodeExists(parent_id)) { in AddNonRootNode()
199 if (!NodeExists(node_id)) { in RemoveNode()
207 DCHECK(NodeExists(node.depends_on.parent_id)); in RemoveNode()
215 DCHECK(NodeExists(node.child)); in RemoveNode()
278 if (!NodeExists(node_id)) { in SetPriority()
285 DCHECK(NodeExists(node->depends_on.parent_id)); in SetPriority()
298 if (!NodeExists(node_id) || !NodeExists(parent_id)) { in SetParent()
[all …]