Searched refs:AsTarget (Results 1 – 16 of 16) sorted by relevance
/third_party/gn/src/gn/ |
D | functions_target_rust_unittest.cc | 32 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 …]
|
D | analyzer.cc | 247 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 …]
|
D | item.cc | 35 Target* Item::AsTarget() { in AsTarget() function in Item 38 const Target* Item::AsTarget() const { in AsTarget() function in Item 51 if (AsTarget()) in GetItemTypeName()
|
D | item.h | 53 virtual Target* AsTarget(); 54 virtual const Target* AsTarget() const;
|
D | builder_record.cc | 37 return !!item->AsTarget(); in IsItemOfType() 52 if (item->AsTarget()) in TypeOfItem()
|
D | builder.cc | 165 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()
|
D | function_get_target_outputs.cc | 96 const Target* as_target = item->AsTarget();
|
D | test_with_scope.cc | 62 CHECK(items_[i]->AsTarget() != nullptr) in ExecuteSnippet() 64 items_[i]->AsTarget()->SetToolchain(&toolchain_); in ExecuteSnippet()
|
D | loader_unittest.cc | 280 EXPECT_TRUE(items[0]->AsTarget()); in TEST_F() 331 EXPECT_TRUE(items[0]->AsTarget()); in TEST_F()
|
D | target.h | 77 Target* AsTarget() override; 78 const Target* AsTarget() const override;
|
D | commands.cc | 114 else if (const Target* as_target = item->AsTarget()) in ResolveStringFromCommandLineInput() 501 const Target* target = item->AsTarget(); in ResolveTargetFromCommandLineString()
|
D | ohos_components_checker.cc | 400 if (checkType_ <= CheckType::NONE || item == nullptr || item->AsTarget() == nullptr || in CheckInnerApiNotLib() 405 Target::OutputType type = item->AsTarget()->output_type(); in CheckInnerApiNotLib()
|
D | runtime_deps.cc | 167 const Target* target = item ? item->AsTarget() : nullptr; in CollectRuntimeDepsFromFlag()
|
D | target.cc | 441 Target* Target::AsTarget() { in AsTarget() function in Target 445 const Target* Target::AsTarget() const { in AsTarget() function in Target
|
D | command_gen.cc | 87 const Target* target = item->AsTarget(); in ItemResolvedAndGeneratedCallback()
|
D | xcode_writer.cc | 619 if (!item->AsConfig() && !item->AsTarget() && !item->AsToolchain()) in AddSourcesFromBuilder()
|