Home
last modified time | relevance | path

Searched refs:root_nodes (Results 1 – 3 of 3) sorted by relevance

/third_party/ninja/src/
Dgraph_test.cc208 vector<Node*> root_nodes = state_.RootNodes(&err); in TEST_F() local
209 EXPECT_EQ(4u, root_nodes.size()); in TEST_F()
210 for (size_t i = 0; i < root_nodes.size(); ++i) { in TEST_F()
211 string name = root_nodes[i]->path(); in TEST_F()
470 vector<Node*> root_nodes = state_.RootNodes(&err); in TEST_F() local
471 EXPECT_EQ(4u, root_nodes.size()); in TEST_F()
472 EXPECT_EQ(root_nodes[0]->path(), "out/out1"); in TEST_F()
473 EXPECT_EQ(root_nodes[1]->path(), "out/out2/out3/out4"); in TEST_F()
474 EXPECT_EQ(root_nodes[2]->path(), "out3"); in TEST_F()
475 EXPECT_EQ(root_nodes[3]->path(), "out4/foo"); in TEST_F()
[all …]
Dstate.cc163 vector<Node*> root_nodes; in RootNodes() local
170 root_nodes.push_back(*out); in RootNodes()
174 if (!edges_.empty() && root_nodes.empty()) in RootNodes()
177 return root_nodes; in RootNodes()
Dninja.cc555 vector<Node*> root_nodes = state_.RootNodes(&err); in ToolTargets() local
557 return ToolTargetsList(root_nodes, depth, 0); in ToolTargets()