/third_party/gn/src/gn/ |
D | rust_values_generator.cc | 25 : 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 …]
|
D | ninja_action_target_writer.cc | 39 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 …]
|
D | ninja_c_binary_target_writer.cc | 129 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 …]
|
D | ninja_target_writer.cc | 37 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 …]
|
D | desc_builder.cc | 321 : 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 …]
|
D | binary_target_generator.cc | 32 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 …]
|
D | ninja_create_bundle_target_writer.cc | 76 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 …]
|
D | target_generator.cc | 40 : target_(target), in TargetGenerator() 67 if (!Visibility::FillItemVisibility(target_, scope_, err_)) in Run() 194 target_->sources() = std::move(dest_sources); in FillSources() 204 target_->set_all_headers_public(false); in FillPublic() 210 target_->public_headers() = std::move(dest_public); in FillPublic() 215 return FillGenericConfigs(variables::kConfigs, &target_->configs()); in FillConfigs() 220 &target_->all_dependent_configs())) in FillDependentConfigs() 224 &target_->public_configs())) in FillDependentConfigs() 238 std::vector<std::string>& output_list = target_->data(); in FillData() 266 if (!FillGenericDepsWithWholeArchive(variables::kDeps, &target_->private_deps(), in FillDependencies() [all …]
|
D | ninja_generated_file_target_writer.cc | 34 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()
|
D | action_target_generator.cc | 30 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 …]
|
D | ninja_copy_target_writer.cc | 25 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 …]
|
D | ninja_binary_target_writer.cc | 43 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 …]
|
D | create_bundle_target_generator.cc | 30 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 …]
|
D | generated_file_target_generator.cc | 25 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()
|
D | config_values_extractors.h | 33 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_;
|
D | ninja_rust_binary_target_writer.cc | 112 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 …]
|
D | swift_values_generator.cc | 18 : 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()
|
D | copy_target_generator.cc | 29 target_->set_copy_linkable_file(value->boolean_value()); in FillCopyLinkableFile() 34 target_->set_output_type(Target::COPY_FILES); in DoRun() 41 if (target_->sources().empty()) { in DoRun() 47 if (target_->action_values().outputs().list().size() != 1) { in DoRun()
|
D | bundle_file_rule.cc | 37 : 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()
|
D | bundle_data_target_generator.cc | 24 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()
|
D | ninja_group_target_writer.cc | 24 for (const auto& pair : target_->GetDeps(Target::DEPS_LINKED)) { in Run() 32 const LabelTargetVector& data_deps = target_->data_deps(); in Run()
|
/third_party/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 139 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/node/deps/v8/src/debug/wasm/gdb-server/ |
D | gdb-server-thread.cc | 35 return !!target_; in StartAndInitialize() 42 target_ = nullptr; in CleanupThread() 75 target_ = std::make_unique<Target>(gdb_server_); in Run() 81 while (!target_->IsTerminated()) { in Run() 92 target_->Run(&session); in Run() 106 if (target_) { in Stop() 107 target_->Terminate(); in Stop()
|
/third_party/node/deps/v8/src/utils/ |
D | bit-vector.h | 34 DCHECK(!target_->is_inline()); 35 current_value_ = target_->data_.ptr_[current_index_]; 57 DCHECK_EQ(target_, other.target_); 68 : target_(target), in Iterator() 76 : target_(target), in Iterator() 83 bool Done() const { return current_index_ >= target_->data_length_; } in Done() 85 const BitVector* target_; variable
|
/third_party/node/src/ |
D | node_util.cc | 214 target_.Reset(realm->isolate(), target); in WeakReference() 216 target_.SetWeak(); in WeakReference() 223 if (target_.IsEmpty()) { in PrepareForSerialization() 238 Local<Object> target = target_.Get(context->GetIsolate()); in PrepareForSerialization() 241 target_.Reset(); in PrepareForSerialization() 281 if (!weak_ref->target_.IsEmpty()) in Get() 282 args.GetReturnValue().Set(weak_ref->target_.Get(isolate)); in Get() 288 if (weak_ref->target_.IsEmpty()) return; in IncRef() 289 if (weak_ref->reference_count_ == 1) weak_ref->target_.ClearWeak(); in IncRef() 298 if (weak_ref->target_.IsEmpty()) return; in DecRef() [all …]
|