Home
last modified time | relevance | path

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

/third_party/gn/src/gn/
Dheader_checker_unittest.cc82 TEST_F(HeaderCheckerTest, IsDependencyOf) { in TEST_F() argument
101 EXPECT_FALSE(checker->IsDependencyOf(&a_, &a_, &chain, &is_permitted)); in TEST_F()
106 EXPECT_TRUE(checker->IsDependencyOf(&b_, &a_, &chain, &is_permitted)); in TEST_F()
116 EXPECT_TRUE(checker->IsDependencyOf(&c_, &a_, &chain, &is_permitted)); in TEST_F()
126 EXPECT_FALSE(checker->IsDependencyOf(&a_, &c_, &chain, &is_permitted)); in TEST_F()
135 EXPECT_TRUE(checker->IsDependencyOf(&c_, &a_, &chain, &is_permitted)); in TEST_F()
146 EXPECT_TRUE(checker->IsDependencyOf(&c_, &p, &chain, &is_permitted)); in TEST_F()
263 EXPECT_TRUE(checker->IsDependencyOf(&d_, &a_, &chain, &is_permitted)); in TEST_F()
276 EXPECT_TRUE(checker->IsDependencyOf(&d_, &a_, &chain, &is_permitted)); in TEST_F()
Dheader_checker.h73 FRIEND_TEST_ALL_PREFIXES(HeaderCheckerTest, IsDependencyOf);
155 bool IsDependencyOf(const Target* search_for,
162 bool IsDependencyOf(const Target* search_for,
Dheader_checker.cc420 IsDependencyOf(to_target, from_target, &chain, &is_permitted_chain)) { in CheckInclude()
497 bool HeaderChecker::IsDependencyOf(const Target* search_for, in IsDependencyOf() function in HeaderChecker
508 if (IsDependencyOf(search_for, search_from, true, chain)) { in IsDependencyOf()
514 if (IsDependencyOf(search_for, search_from, false, chain)) { in IsDependencyOf()
523 bool HeaderChecker::IsDependencyOf(const Target* search_for, in IsDependencyOf() function in HeaderChecker