Home
last modified time | relevance | path

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

/third_party/ninja/src/
Dgraph_test.cc210 vector<Node*> root_nodes = state_.RootNodes(&err); in TEST_F() local
211 EXPECT_EQ(4u, root_nodes.size()); in TEST_F()
212 for (size_t i = 0; i < root_nodes.size(); ++i) { in TEST_F()
213 string name = root_nodes[i]->path(); in TEST_F()
505 vector<Node*> root_nodes = state_.RootNodes(&err); in TEST_F() local
506 EXPECT_EQ(4u, root_nodes.size()); in TEST_F()
507 EXPECT_EQ(root_nodes[0]->path(), "out/out1"); in TEST_F()
508 EXPECT_EQ(root_nodes[1]->path(), "out/out2/out3/out4"); in TEST_F()
509 EXPECT_EQ(root_nodes[2]->path(), "out3"); in TEST_F()
510 EXPECT_EQ(root_nodes[3]->path(), "out4/foo"); in TEST_F()
[all …]
Dstate.cc161 vector<Node*> root_nodes; in RootNodes() local
168 root_nodes.push_back(*out); in RootNodes()
172 if (!edges_.empty() && root_nodes.empty()) in RootNodes()
175 return root_nodes; in RootNodes()
Dninja.cc621 vector<Node*> root_nodes = state_.RootNodes(&err); in ToolTargets() local
623 return ToolTargetsList(root_nodes, depth, 0); in ToolTargets()