Home
last modified time | relevance | path

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

/external/chromium_org/tools/gn/
Dheader_checker_unittest.cc98 EXPECT_EQ(HeaderChecker::ChainLink(&b_, true), chain[0]); in TEST_F()
99 EXPECT_EQ(HeaderChecker::ChainLink(&a_, true), chain[1]); in TEST_F()
108 EXPECT_EQ(HeaderChecker::ChainLink(&c_, true), chain[0]); in TEST_F()
109 EXPECT_EQ(HeaderChecker::ChainLink(&b_, true), chain[1]); in TEST_F()
110 EXPECT_EQ(HeaderChecker::ChainLink(&a_, true), chain[2]); in TEST_F()
127 EXPECT_EQ(HeaderChecker::ChainLink(&c_, false), chain[0]); in TEST_F()
128 EXPECT_EQ(HeaderChecker::ChainLink(&p, true), chain[1]); in TEST_F()
129 EXPECT_EQ(HeaderChecker::ChainLink(&a_, true), chain[2]); in TEST_F()
138 EXPECT_EQ(HeaderChecker::ChainLink(&c_, false), chain[0]); in TEST_F()
139 EXPECT_EQ(HeaderChecker::ChainLink(&p, true), chain[1]); in TEST_F()
[all …]
Dheader_checker.h34 struct ChainLink { struct
35 ChainLink() : target(NULL), is_public(false) {} in ChainLink() argument
36 ChainLink(const Target* t, bool p) : target(t), is_public(p) {} in ChainLink() argument
44 bool operator==(const ChainLink& other) const { argument
48 typedef std::vector<ChainLink> Chain;
Dheader_checker.cc482 std::map<const Target*, ChainLink> breadcrumbs; in IsDependencyOf()
483 std::queue<ChainLink> work_queue; in IsDependencyOf()
484 work_queue.push(ChainLink(search_from, true)); in IsDependencyOf()
488 ChainLink cur_link = work_queue.front(); in IsDependencyOf()
500 chain->push_back(ChainLink(search_from, true)); in IsDependencyOf()
509 work_queue.push(ChainLink(public_deps[i].ptr, true)); in IsDependencyOf()
522 work_queue.push(ChainLink(private_deps[i].ptr, false)); in IsDependencyOf()