Home
last modified time | relevance | path

Searched refs:target_ (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/gn/src/gn/
Drust_values_generator.cc25 : target_(target), in RustValuesGenerator()
34 if (target_->output_type() == Target::SOURCE_SET) in Run()
38 if (target_->output_type() != Target::EXECUTABLE && in Run()
39 target_->output_type() != Target::SHARED_LIBRARY && in Run()
40 target_->output_type() != Target::RUST_LIBRARY && in Run()
41 target_->output_type() != Target::RUST_PROC_MACRO && in Run()
42 target_->output_type() != Target::STATIC_LIBRARY && in Run()
43 target_->output_type() != Target::LOADABLE_MODULE) { in Run()
48 target_->output_type())) + in Run()
72 target_->rust_values().crate_name() = target_->label().name(); in FillCrateName()
[all …]
Dninja_action_target_writer.cc39 for (const auto& pair : target_->GetDeps(Target::DEPS_LINKED)) { in Run()
51 target_->output_type() == Target::ACTION ? 1u : target_->sources().size(); in Run()
59 if (target_->output_type() == Target::ACTION_FOREACH) { in Run()
63 DCHECK(target_->output_type() == Target::ACTION); in Run()
69 settings_, target_->action_values().outputs(), &output_files); in Run()
80 if (target_->action_values().has_depfile()) { in Run()
86 if (target_->action_values().pool().ptr) { in Run()
88 out_ << target_->action_values().pool().ptr->GetNinjaName( in Run()
100 for (const auto& dep : target_->data_deps()) in Run()
111 std::string target_label = target_->label().GetUserVisibleName(true); in WriteRuleDefinition()
[all …]
Dninja_c_binary_target_writer.cc129 std::vector<ModuleDep> module_dep_info = GetModuleDepsInformation(target_); in Run()
133 size_t num_stamp_uses = target_->sources().size(); in Run()
195 if (!target_->source_types_used().SwiftSourceUsed()) { in Run()
207 if (target_->output_type() == Target::SOURCE_SET) { in Run()
213 AddSourceSetFiles(target_, &computed_obj); in Run()
225 const SubstitutionBits& subst = target_->toolchain()->substitution_bits(); in WriteCompilerVars()
232 if (target_->source_types_used().Get(SourceFile::SOURCE_CPP) || in WriteCompilerVars()
233 target_->source_types_used().Get(SourceFile::SOURCE_MODULEMAP)) { in WriteCompilerVars()
248 if (target_->toolchain()->substitution_bits().used.count( in WriteModuleDepsSubstitution()
273 if (!target_->config_values().has_precompiled_headers()) in WritePCHCommands()
[all …]
Dninja_target_writer.cc37 target_(target), in NinjaTargetWriter()
133 out_, SubstitutionWriter::GetTargetSubstitution(target_, type), opts); in WriteEscapedSubstitution()
203 target_, &ConfigValues::defines, in WriteCCompilerVars()
210 const Tool* tool = target_->toolchain()->GetTool(CTool::kCToolLink); in WriteCCompilerVars()
219 kRecursiveWriterSkipDuplicates, target_, &ConfigValues::framework_dirs, in WriteCCompilerVars()
235 kRecursiveWriterSkipDuplicates, target_, &ConfigValues::include_dirs, in WriteCCompilerVars()
241 target_->config_values().has_precompiled_headers(); in WriteCCompilerVars()
246 ? target_->source_types_used().Get(SourceFile::SOURCE_S) in WriteCCompilerVars()
248 WriteOneFlag(kRecursiveWriterKeepDuplicates, target_, in WriteCCompilerVars()
254 ? (target_->source_types_used().Get(SourceFile::SOURCE_C) || in WriteCCompilerVars()
[all …]
Ddesc_builder.cc321 : BaseDescBuilder(what, all, tree, blame), target_(target) {} in TargetDescBuilder()
325 bool is_binary_output = target_->IsBinary(); in BuildDescription()
330 base::Value(Target::GetStringForOutputType(target_->output_type()))); in BuildDescription()
334 target_->label().GetToolchainLabel().GetUserVisibleName(false))); in BuildDescription()
337 if (target_->source_types_used().RustSourceUsed()) { in BuildDescription()
341 RenderValue(target_->rust_values().crate_root())); in BuildDescription()
345 base::Value(target_->rust_values().crate_name())); in BuildDescription()
349 if (target_->source_types_used().SwiftSourceUsed()) { in BuildDescription()
353 RenderValue(target_->swift_values().bridge_header())); in BuildDescription()
357 base::Value(target_->swift_values().module_name())); in BuildDescription()
[all …]
Dbinary_target_generator.cc32 target_->set_output_type(output_type_); in DoRun()
70 if (target_->source_types_used().RustSourceUsed()) { in DoRun()
71 RustValuesGenerator rustgen(target_, scope_, function_call_, err_); in DoRun()
77 if (target_->source_types_used().SwiftSourceUsed()) { in DoRun()
78 SwiftValuesGenerator swiftgen(target_, scope_, err_); in DoRun()
85 ConfigValuesGenerator gen(&target_->config_values(), scope_, in DoRun()
94 for (std::size_t i = 0; i < target_->sources().size(); ++i) { in FillSources()
95 const auto& source = target_->sources()[i]; in FillSources()
121 Target::GetStringForOutputType(target_->output_type()) + in FillSources()
125 target_->source_types_used().Set(source_type); in FillSources()
[all …]
Dninja_create_bundle_target_writer.cc76 if (!EnsureAllToolsAvailable(target_)) in Run()
92 for (const auto& pair : target_->data_deps()) in Run()
103 target_->bundle_data().GetBundleRootDirOutput(settings_))); in Run()
104 out_ << ": phony " << target_->dependency_output_file().value(); in Run()
109 if (target_->bundle_data().code_signing_script().is_null()) in WriteCodeSigningRuleDefinition()
112 std::string target_label = target_->label().GetUserVisibleName(true); in WriteCodeSigningRuleDefinition()
121 path_output_.WriteFile(out_, target_->bundle_data().code_signing_script()); in WriteCodeSigningRuleDefinition()
123 const SubstitutionList& args = target_->bundle_data().code_signing_args(); in WriteCodeSigningRuleDefinition()
142 for (const BundleFileRule& file_rule : target_->bundle_data().file_rules()) in WriteCopyBundleDataSteps()
159 settings_, target_, target_->bundle_data(), source_file, in WriteCopyBundleFileRuleSteps()
[all …]
Dninja_generated_file_target_writer.cc34 for (const auto& pair : target_->GetDeps(Target::DEPS_LINKED)) { in Run()
42 const LabelTargetVector& data_deps = target_->data_deps(); in Run()
55 if (target_->contents().type() == Value::NONE) { in GenerateFile()
58 CHECK(target_->action_values().outputs().list().size() == 1U); in GenerateFile()
59 contents = Value(target_->action_values().outputs().list()[0].origin(), in GenerateFile()
62 if (!target_->GetMetadata(target_->data_keys(), target_->walk_keys(), in GenerateFile()
63 target_->rebase(), /*deps_only = */ true, in GenerateFile()
69 contents = target_->contents(); in GenerateFile()
73 target_->action_values().GetOutputsAsSourceFiles(target_, in GenerateFile()
84 ConvertValueToOutput(settings_, contents, target_->output_conversion(), out, in GenerateFile()
Dninja_copy_target_writer.cc25 const Tool* copy_tool = target_->toolchain()->GetTool(GeneralTool::kGeneralToolCopy); in Run()
30 target_->toolchain()->label().GetUserVisibleName(false) + in Run()
31 "\n used by target " + target_->label().GetUserVisibleName(false) + in Run()
36 const Tool* stamp_tool = target_->toolchain()->GetTool(GeneralTool::kGeneralToolStamp); in Run()
41 target_->toolchain()->label().GetUserVisibleName(false) + in Run()
42 "\n used by target " + target_->label().GetUserVisibleName(false) + in Run()
62 CHECK(target_->action_values().outputs().list().size() == 1); in WriteCopyRules()
64 target_->action_values().outputs(); in WriteCopyRules()
72 size_t num_stamp_uses = target_->sources().size(); in WriteCopyRules()
77 for (const auto& dep : target_->data_deps()) in WriteCopyRules()
[all …]
Daction_target_generator.cc30 target_->set_output_type(output_type_); in DoRun()
34 if (output_type_ == Target::ACTION_FOREACH && target_->sources().empty()) { in DoRun()
74 ConfigValuesGenerator gen(&target_->config_values(), scope_, in DoRun()
86 target_->action_values().args().required_types(); in DoRun()
89 if (target_->action_values().uses_rsp_file() && !has_rsp_file_name) { in DoRun()
97 if (!target_->action_values().uses_rsp_file() && has_rsp_file_name) { in DoRun()
122 target_->action_values().set_script(script_file); in FillScript()
131 if (!target_->action_values().args().Parse(*value, err_)) in FillScriptArgs()
134 target_->action_values().args().required_types(), in FillScriptArgs()
146 if (!target_->action_values().rsp_file_contents().Parse(*value, err_)) in FillResponseFileContents()
[all …]
Dtarget_generator.cc37 : target_(target), in TargetGenerator()
64 if (!Visibility::FillItemVisibility(target_, scope_, err_)) in Run()
185 target_->sources() = std::move(dest_sources); in FillSources()
195 target_->set_all_headers_public(false); in FillPublic()
201 target_->public_headers() = std::move(dest_public); in FillPublic()
206 return FillGenericConfigs(variables::kConfigs, &target_->configs()); in FillConfigs()
211 &target_->all_dependent_configs())) in FillDependentConfigs()
215 &target_->public_configs())) in FillDependentConfigs()
229 std::vector<std::string>& output_list = target_->data(); in FillData()
257 if (!FillGenericDeps(variables::kDeps, &target_->private_deps())) in FillDependencies()
[all …]
Dninja_binary_target_writer.cc43 if (target_->source_types_used().RustSourceUsed()) { in Run()
44 NinjaRustBinaryTargetWriter writer(target_, out_); in Run()
49 NinjaCBinaryTargetWriter writer(target_, out_); in Run()
55 CHECK(target_->toolchain()) << "Toolchain not set on target " in WriteInputsStampAndGetDep()
56 << target_->label().GetUserVisibleName(true); in WriteInputsStampAndGetDep()
59 for (ConfigValuesIterator iter(target_); !iter.done(); iter.Next()) { in WriteInputsStampAndGetDep()
86 GetBuildDirForTargetAsOutputFile(target_, BuildDirType::OBJ); in WriteInputsStampAndGetDep()
87 stamp_file.value().append(target_->label().name()); in WriteInputsStampAndGetDep()
130 for (const auto& pair : target_->GetDeps(Target::DEPS_LINKED)) { in GetClassifiedDeps()
135 for (auto* inherited_target : target_->inherited_libraries().GetOrdered()) { in GetClassifiedDeps()
[all …]
Dcreate_bundle_target_generator.cc30 target_->set_output_type(Target::CREATE_BUNDLE); in DoRun()
32 BundleData& bundle_data = target_->bundle_data(); in DoRun()
134 target_->bundle_data().xcode_extra_attributes() = in FillXcodeExtraAttributes()
147 target_->bundle_data().product_type().assign(value->string_value()); in FillProductType()
170 target_->bundle_data().set_partial_info_plist(path); in FillPartialInfoPlist()
183 target_->bundle_data().xcode_test_application_name().assign( in FillXcodeTestApplicationName()
201 target_->bundle_data().set_code_signing_script(script_file); in FillCodeSigningScript()
210 if (target_->bundle_data().code_signing_script().is_null()) { in FillCodeSigningSources()
224 target_->bundle_data().code_signing_sources() = std::move(script_sources); in FillCodeSigningSources()
233 if (target_->bundle_data().code_signing_script().is_null()) { in FillCodeSigningOutputs()
[all …]
Dgenerated_file_target_generator.cc25 target_->set_output_type(output_type_); in DoRun()
29 if (target_->action_values().outputs().list().size() != 1) { in DoRun()
65 target_->set_contents(*value); in FillContents()
88 target_->set_output_conversion(Value(function_call_, "")); in FillOutputConversion()
95 target_->set_output_conversion(*value); in FillOutputConversion()
117 target_->set_rebase(dir); in FillRebase()
134 target_->data_keys().push_back(v.string_value()); in FillDataKeys()
151 target_->walk_keys().push_back(""); in FillWalkKeys()
162 target_->walk_keys().push_back(v.string_value()); in FillWalkKeys()
Dconfig_values_extractors.h33 explicit ConfigValuesIterator(const Target* target) : target_(target) { in ConfigValuesIterator()
41 return cur_index_ >= static_cast<int>(target_->configs().size()); in done()
46 return target_->config_values(); in cur()
47 return target_->configs()[cur_index_].ptr->resolved_values(); in cur()
55 return target_->configs()[cur_index_].origin; in origin()
65 return target_->configs()[cur_index_].ptr; in GetCurrentConfig()
69 const Target* target_;
Dninja_rust_binary_target_writer.cc112 DCHECK(target_->output_type() != Target::SOURCE_SET); in Run()
114 size_t num_stamp_uses = target_->sources().size(); in Run()
169 for (ConfigValuesIterator iter(target_); !iter.done(); iter.Next()) { in Run()
184 target_->rust_transitive_inherited_libs().GetOrderedAndPublicFlag()) { in Run()
201 target_, tool_, tool_->outputs(), &tool_outputs); in Run()
202 WriteCompilerBuildLine({target_->rust_values().crate_root()}, in Run()
216 const SubstitutionBits& subst = target_->toolchain()->substitution_bits(); in WriteCompilerVars()
219 WriteCrateVars(target_, tool_, opts, out_); in WriteCompilerVars()
233 for (const auto& source : target_->sources()) { in AppendSourcesAndInputsToImplicitDeps()
236 for (const auto& data : target_->config_values().inputs()) { in AppendSourcesAndInputsToImplicitDeps()
[all …]
Dswift_values_generator.cc18 : target_(target), scope_(scope), err_(err) {} in SwiftValuesGenerator()
43 target_->swift_values().bridge_header() = std::move(dest); in FillBridgeHeader()
51 target_->swift_values().module_name() = target_->label().name(); in FillModuleName()
58 target_->swift_values().module_name() = std::move(value->string_value()); in FillModuleName()
Dbundle_file_rule.cc37 : target_(bundle_data_target), sources_(sources), pattern_(pattern) { in BundleFileRule()
39 DCHECK(!target_ || target_->output_type() == Target::BUNDLE_DATA); in BundleFileRule()
86 target_, target_->settings(), source_file, subrange.type, in ApplyPatternToSource()
Dbundle_data_target_generator.cc24 target_->set_output_type(Target::BUNDLE_DATA); in DoRun()
31 if (target_->sources().empty()) { in DoRun()
37 if (target_->action_values().outputs().list().size() != 1) { in DoRun()
53 SubstitutionList& outputs = target_->action_values().outputs(); in FillOutputs()
Dcopy_target_generator.cc22 target_->set_output_type(Target::COPY_FILES); in DoRun()
29 if (target_->sources().empty()) { in DoRun()
35 if (target_->action_values().outputs().list().size() != 1) { in DoRun()
/third_party/boost/libs/asio/include/boost/asio/
Dbind_executor.hpp166 target_(executor_arg_t(), executor_, BOOST_ASIO_MOVE_CAST(U)(u)) in executor_binder_base()
171 T target_; member in boost::asio::detail::executor_binder_base
181 target_(BOOST_ASIO_MOVE_CAST(U)(u)) in executor_binder_base()
186 T target_; member in boost::asio::detail::executor_binder_base
380 return this->target_; in get()
386 return this->target_; in get()
407 return this->target_(BOOST_ASIO_MOVE_CAST(Args)(args)...); in operator ()()
415 return this->target_(BOOST_ASIO_MOVE_CAST(Args)(args)...); in operator ()()
422 return this->target_(); in operator ()()
427 return this->target_(); in operator ()()
[all …]
/third_party/boost/boost/asio/
Dbind_executor.hpp166 target_(executor_arg_t(), executor_, BOOST_ASIO_MOVE_CAST(U)(u)) in executor_binder_base()
171 T target_; member in boost::asio::detail::executor_binder_base
181 target_(BOOST_ASIO_MOVE_CAST(U)(u)) in executor_binder_base()
186 T target_; member in boost::asio::detail::executor_binder_base
380 return this->target_; in get()
386 return this->target_; in get()
407 return this->target_(BOOST_ASIO_MOVE_CAST(Args)(args)...); in operator ()()
415 return this->target_(BOOST_ASIO_MOVE_CAST(Args)(args)...); in operator ()()
422 return this->target_(); in operator ()()
427 return this->target_(); in operator ()()
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc139 StringOutputStream::StringOutputStream(std::string* target) : target_(target) {} in StringOutputStream()
142 GOOGLE_CHECK(target_ != NULL); in Next()
143 int old_size = target_->size(); in Next()
146 if (old_size < target_->capacity()) { in Next()
149 STLStringResizeUninitialized(target_, target_->capacity()); in Next()
162 target_, in Next()
167 *data = mutable_string_data(target_) + old_size; in Next()
168 *size = target_->size() - old_size; in Next()
174 GOOGLE_CHECK(target_ != NULL); in BackUp()
175 GOOGLE_CHECK_LE(count, target_->size()); in BackUp()
[all …]
/third_party/grpc/src/core/lib/security/security_connector/fake/
Dfake_security_connector.cc56 target_(gpr_strdup(target)), in grpc_fake_channel_security_connector()
73 gpr_free(target_); in ~grpc_fake_channel_security_connector()
87 c = strcmp(target_, other->target_); in cmp()
115 grpc_core::SplitHostPort(target_, &target_hostname, &target_ignored_port); in check_call_host()
131 target_); in check_call_host()
142 char* target() const { return target_; } in target()
184 if (!fake_check_target(target_, lbs_and_backends[1])) { in fake_secure_name_check()
186 target_, lbs_and_backends[1]); in fake_secure_name_check()
191 if (!fake_check_target(target_, lbs_and_backends[0])) { in fake_secure_name_check()
193 target_, lbs_and_backends[0]); in fake_secure_name_check()
[all …]
/third_party/boost/boost/iostreams/filter/
Dnewline.hpp310 : detail::newline_base(0), target_(target), open_(false) in newline_checker()
347 (target_ & newline::final_newline) != 0 && in get()
352 if ( (target_ & newline::platform_mask) != 0 && in get()
353 (source() & ~target_ & newline::platform_mask) != 0 ) in get()
391 if ( (target_ & newline::platform_mask) != 0 && in put()
392 (source() & ~target_ & newline::platform_mask) != 0 ) in put()
416 if ( (target_ & final_newline) != 0 && in close()
432 int target_; // Represents expected input. member in boost::iostreams::newline_checker

1234