Home
last modified time | relevance | path

Searched refs:AsTarget (Results 1 – 16 of 16) sorted by relevance

/third_party/gn/src/gn/
Dfunctions_target_rust_unittest.cc32 ASSERT_EQ(item_collector.back()->AsTarget()->rust_values().crate_name(), in TEST_F()
43 ASSERT_EQ(item_collector.back()->AsTarget()->rust_values().crate_name(), in TEST_F()
45 << item_collector.back()->AsTarget()->rust_values().crate_name(); in TEST_F()
67 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
81 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
93 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
105 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
117 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
140 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
162 ASSERT_EQ(item_collector.back()->AsTarget()->rust_values().crate_type(), in TEST_F()
[all …]
Danalyzer.cc247 if (item->AsTarget()) { in Analyzer()
249 item->AsTarget()->GetDeps(Target::DEPS_ALL)) in Analyzer()
252 for (const auto& dep_config_pair : item->AsTarget()->configs()) in Analyzer()
255 dep_map_.insert(std::make_pair(item->AsTarget()->toolchain(), item)); in Analyzer()
257 if (item->AsTarget()->output_type() == Target::ACTION || in Analyzer()
258 item->AsTarget()->output_type() == Target::ACTION_FOREACH) { in Analyzer()
260 item->AsTarget()->action_values().pool(); in Analyzer()
317 if (affected_item->AsTarget()) in Analyze()
318 affected_targets.insert(affected_item->AsTarget()); in Analyze()
328 if (item->AsTarget() && dep_map_.find(item) == dep_map_.end()) in Analyze()
[all …]
Ditem.cc35 Target* Item::AsTarget() { in AsTarget() function in Item
38 const Target* Item::AsTarget() const { in AsTarget() function in Item
51 if (AsTarget()) in GetItemTypeName()
Ditem.h53 virtual Target* AsTarget();
54 virtual const Target* AsTarget() const;
Dbuilder_record.cc37 return !!item->AsTarget(); in IsItemOfType()
52 if (item->AsTarget()) in TypeOfItem()
Dbuilder.cc165 result.push_back(record.item()->AsTarget()); in GetAllResolvedTargets()
248 Target* target = record->item()->AsTarget(); in TargetDefined()
496 Target* target = record->item()->AsTarget(); in ResolveItem()
546 cur.ptr = record->item()->AsTarget(); in ResolveDeps()
Dfunction_get_target_outputs.cc96 const Target* as_target = item->AsTarget();
Dtest_with_scope.cc62 CHECK(items_[i]->AsTarget() != nullptr) in ExecuteSnippet()
64 items_[i]->AsTarget()->SetToolchain(&toolchain_); in ExecuteSnippet()
Dloader_unittest.cc280 EXPECT_TRUE(items[0]->AsTarget()); in TEST_F()
331 EXPECT_TRUE(items[0]->AsTarget()); in TEST_F()
Dtarget.h77 Target* AsTarget() override;
78 const Target* AsTarget() const override;
Dcommands.cc114 else if (const Target* as_target = item->AsTarget()) in ResolveStringFromCommandLineInput()
501 const Target* target = item->AsTarget(); in ResolveTargetFromCommandLineString()
Dohos_components_checker.cc400 if (checkType_ <= CheckType::NONE || item == nullptr || item->AsTarget() == nullptr || in CheckInnerApiNotLib()
405 Target::OutputType type = item->AsTarget()->output_type(); in CheckInnerApiNotLib()
Druntime_deps.cc167 const Target* target = item ? item->AsTarget() : nullptr; in CollectRuntimeDepsFromFlag()
Dtarget.cc441 Target* Target::AsTarget() { in AsTarget() function in Target
445 const Target* Target::AsTarget() const { in AsTarget() function in Target
Dcommand_gen.cc87 const Target* target = item->AsTarget(); in ItemResolvedAndGeneratedCallback()
Dxcode_writer.cc619 if (!item->AsConfig() && !item->AsTarget() && !item->AsToolchain()) in AddSourcesFromBuilder()