Lines Matching defs:c_
21 c_(setup_.settings(), Label(SourceDir("//c/"), "c")),
25 c_.set_output_type(Target::SOURCE_SET);
31 c_.SetToolchain(setup_.toolchain(), &err);
35 b_.public_deps().push_back(LabelTargetPair(&c_));
40 c_.visibility().SetPublic();
44 c_.OnResolved(&err);
50 targets_.push_back(&c_);
63 Target c_;
82 p.private_deps().push_back(LabelTargetPair(&c_));
106 EXPECT_TRUE(checker->IsDependencyOf(&c_, &a_, &chain, &is_permitted));
108 EXPECT_EQ(HeaderChecker::ChainLink(&c_, true), chain[0]);
116 EXPECT_FALSE(checker->IsDependencyOf(&a_, &c_, &chain, &is_permitted));
123 EXPECT_EQ(&c_, b_.public_deps()[0].ptr); // Validate it's the right one.
125 EXPECT_TRUE(checker->IsDependencyOf(&c_, &a_, &chain, &is_permitted));
127 EXPECT_EQ(HeaderChecker::ChainLink(&c_, false), chain[0]);
136 EXPECT_TRUE(checker->IsDependencyOf(&c_, &p, &chain, &is_permitted));
138 EXPECT_EQ(HeaderChecker::ChainLink(&c_, false), chain[0]);
156 c_.set_all_headers_public(true);
161 c_.sources().push_back(c_private);
162 c_.public_headers().push_back(c_public);
163 c_.set_all_headers_public(false);
224 c_.public_deps().push_back(LabelTargetPair(&d_));
233 EXPECT_EQ(HeaderChecker::ChainLink(&c_, true), chain[1]);