/third_party/gn/src/gn/ |
D | ninja_create_bundle_target_writer.cc | 99 out_ << "build "; in Run() 101 out_, in Run() 104 out_ << ": phony " << target_->dependency_output_file().value(); in Run() 105 out_ << std::endl; in Run() 117 out_ << "rule " << custom_rule_name << std::endl; in WriteCodeSigningRuleDefinition() 118 out_ << " command = "; in WriteCodeSigningRuleDefinition() 119 path_output_.WriteFile(out_, settings_->build_settings()->python_path()); in WriteCodeSigningRuleDefinition() 120 out_ << " "; in WriteCodeSigningRuleDefinition() 121 path_output_.WriteFile(out_, target_->bundle_data().code_signing_script()); in WriteCodeSigningRuleDefinition() 128 out_ << " "; in WriteCodeSigningRuleDefinition() [all …]
|
D | ninja_action_target_writer.cc | 54 out_ << std::endl; in Run() 67 out_ << "build"; in Run() 70 path_output_.WriteFiles(out_, output_files); in Run() 72 out_ << ": " << custom_rule_name; in Run() 76 out_ << " |"; in Run() 77 path_output_.WriteFiles(out_, input_deps); in Run() 79 out_ << std::endl; in Run() 87 out_ << " pool = "; in Run() 88 out_ << target_->action_values().pool().ptr->GetNinjaName( in Run() 90 out_ << std::endl; in Run() [all …]
|
D | ninja_target_writer.cc | 38 out_(out), in NinjaTargetWriter() 131 out_ << type->ninja_name << " = "; in WriteEscapedSubstitution() 133 out_, SubstitutionWriter::GetTargetSubstitution(target_, type), opts); in WriteEscapedSubstitution() 134 out_ << std::endl; in WriteEscapedSubstitution() 191 out_ << std::endl; in WriteSharedVars() 200 out_ << " "; in WriteCCompilerVars() 201 out_ << CSubstitutionDefines.ninja_name << " ="; in WriteCCompilerVars() 204 DefineWriter(), out_); in WriteCCompilerVars() 205 out_ << std::endl; in WriteCCompilerVars() 213 out_ << " "; in WriteCCompilerVars() [all …]
|
D | ninja_c_binary_target_writer.cc | 253 out_ << substitution->ninja_name << " = -Xclang "; in WriteModuleDepsSubstitution() 254 EscapeStringToStream(out_, "-fmodules-embed-all-files", options); in WriteModuleDepsSubstitution() 258 out_ << " "; in WriteModuleDepsSubstitution() 259 EscapeStringToStream(out_, "-fmodule-file=", options); in WriteModuleDepsSubstitution() 260 path_output_.WriteFile(out_, module_dep.pcm); in WriteModuleDepsSubstitution() 264 out_ << std::endl; in WriteModuleDepsSubstitution() 356 out_ << " " << flag_type->ninja_name << " ="; in WriteGCCPCHCommand() 365 out_); in WriteGCCPCHCommand() 369 opts, out_); in WriteGCCPCHCommand() 373 opts, out_); in WriteGCCPCHCommand() [all …]
|
D | ninja_rust_binary_target_writer.cc | 219 WriteCrateVars(target_, tool_, opts, out_); in WriteCompilerVars() 242 out_ << " sources ="; in WriteSourcesAndInputs() 244 out_ << " "; in WriteSourcesAndInputs() 245 path_output_.WriteFile(out_, in WriteSourcesAndInputs() 249 out_ << " "; in WriteSourcesAndInputs() 250 path_output_.WriteFile(out_, OutputFile(settings_->build_settings(), data)); in WriteSourcesAndInputs() 252 out_ << std::endl; in WriteSourcesAndInputs() 264 out_ << " --extern "; in WriteExternsAndDeps() 265 out_ << crate_name; in WriteExternsAndDeps() 266 out_ << "="; in WriteExternsAndDeps() [all …]
|
D | ninja_toolchain_writer.cc | 35 out_(out), in NinjaToolchainWriter() 53 out_ << std::endl; in Run() 56 out_ << pair.second; in Run() 83 out_ << "rule " << rule_prefix << tool->name() << std::endl; in WriteToolRule() 101 out_ << kIndent << "deps = gcc" << std::endl; in WriteToolRule() 105 out_ << kIndent << "deps = msvc" << std::endl; in WriteToolRule() 109 out_ << kIndent << "deps = gcc" << std::endl; in WriteToolRule() 116 out_ << kIndent << "pool = " << pool_name << std::endl; in WriteToolRule() 120 out_ << kIndent << "restat = 1" << std::endl; in WriteToolRule() 128 out_ << kIndent << name << " = "; in WriteRulePattern() [all …]
|
D | ninja_binary_target_writer.cc | 44 NinjaRustBinaryTargetWriter writer(target_, out_); in Run() 49 NinjaCBinaryTargetWriter writer(target_, out_); in Run() 90 out_ << "build "; in WriteInputsStampAndGetDep() 91 path_output_.WriteFile(out_, stamp_file); in WriteInputsStampAndGetDep() 92 out_ << ": " << GetNinjaRulePrefixForToolchain(settings_) in WriteInputsStampAndGetDep() 97 out_ << " "; in WriteInputsStampAndGetDep() 98 path_output_.WriteFile(out_, *input); in WriteInputsStampAndGetDep() 101 out_ << std::endl; in WriteInputsStampAndGetDep() 283 out_ << "build"; in WriteCompilerBuildLine() 284 path_output_.WriteFiles(out_, outputs); in WriteCompilerBuildLine() [all …]
|
D | xml_element_writer.cc | 31 : out_(out), in XmlElementWriter() 45 out_ << " />" << std::endl; in ~XmlElementWriter() 48 out_ << std::string(indent_, ' '); in ~XmlElementWriter() 49 out_ << "</" << tag_ << '>' << std::endl; in ~XmlElementWriter() 55 out_ << content; in Text() 67 return std::make_unique<XmlElementWriter>(out_, tag, attributes, indent_ + 2); in SubElement() 72 out_ << '>'; in StartContent() 76 out_ << std::endl; in StartContent() 81 return out_; in StartContent()
|
D | ninja_copy_target_writer.cc | 56 out_ << std::endl; in Run() 113 out_ << "build "; in WriteCopyRules() 114 path_output_.WriteFile(out_, output_file); in WriteCopyRules() 115 out_ << ": " << tool_name << " "; in WriteCopyRules() 116 path_output_.WriteFile(out_, input_file); in WriteCopyRules() 118 out_ << " ||"; in WriteCopyRules() 119 path_output_.WriteFiles(out_, input_deps); in WriteCopyRules() 120 path_output_.WriteFiles(out_, data_outs); in WriteCopyRules() 122 out_ << std::endl; in WriteCopyRules()
|
D | ninja_build_writer.cc | 208 out_(out), in NinjaBuildWriter() 290 out_ << "ninja_required_version = " in WriteNinjaRules() 292 out_ << "rule gn\n"; in WriteNinjaRules() 293 out_ << " command = " << GetSelfInvocationCommand(build_settings_) << "\n"; in WriteNinjaRules() 295 out_ << " pool = console\n"; in WriteNinjaRules() 296 out_ << " description = Regenerating ninja files\n\n"; in WriteNinjaRules() 299 out_ << "build build.ninja: gn\n" in WriteNinjaRules() 338 out_ << std::endl; in WriteNinjaRules() 372 out_ << "pool " << name << std::endl in WriteAllPools() 408 out_ << "subninja "; in WriteSubninjas() [all …]
|
D | json_project_writer.cc | 219 SimpleJSONWriter(StringOutputBuffer& out) : out_(out) { in SimpleJSONWriter() 220 out_ << "{" LINE_ENDING; in SimpleJSONWriter() 232 out_ << LINE_ENDING; in Close() 234 out_ << "}" LINE_ENDING; in Close() 242 out_ << comma_; in AddString() 252 out_ << comma_; in BeginList() 260 out_ << comma_; in AddListItem() 261 out_ << Escape(item); in AddListItem() 267 out_ << " ]"; in EndList() 275 out_ << comma_; in BeginDict() [all …]
|
/third_party/node/src/ |
D | json_utils.h | 28 : out_(out), compact_(compact) {} in JSONWriter() 35 for (int i = 0; i < indent_; i++) out_ << ' '; in advance() 39 out_ << ' '; in write_one_space() 43 out_ << '\n'; in write_new_line() 48 if (state_ == kAfterValue) out_ << ','; in json_start() 51 out_ << '{'; in json_start() 60 out_ << '}'; in json_end() 65 if (state_ == kAfterValue) out_ << ','; in json_objectstart() 69 out_ << ':'; in json_objectstart() 71 out_ << '{'; in json_objectstart() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | binary_writer.cc | 33 out_.reserve(builder->total_size()); in WriteBuilder() 43 out_.push_back(spv::MagicNumber); in WriteHeader() 44 out_.push_back(0x00010300); // Version 1.3 in WriteHeader() 45 out_.push_back(kGeneratorId); in WriteHeader() 46 out_.push_back(bound); in WriteHeader() 47 out_.push_back(0); in WriteHeader() 51 out_.push_back(inst.word_length() << 16 | in process_instruction() 61 out_.push_back(0); in process_op() 63 uint8_t* ptr = reinterpret_cast<uint8_t*>(out_.data() + (out_.size() - 1)); in process_op() 66 out_.push_back(op.to_i()); in process_op() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/tools/cfg/ |
D | bin_to_dot.cpp | 35 : name_mapper_(std::move(name_mapper)), out_(*out) {} in DotConverter() 39 out_ << "digraph {\n"; in Begin() 41 out_ << "legend_merge_src [shape=plaintext, label=\"\"];\n" in Begin() 51 void End() const { out_ << "}\n"; } in End() 79 std::ostream& out_; member in __anon05a92a960111::DotConverter 132 out_ << current_block_id_; in FlushBlock() 134 out_ << " [label=\"" << name_mapper_(current_block_id_) << "\nFn " in FlushBlock() 137 out_ << " [label=\"" << name_mapper_(current_block_id_) << "\"];\n"; in FlushBlock() 141 out_ << current_block_id_ << " -> " << successor << ";\n"; in FlushBlock() 145 out_ << current_block_id_ << " -> " << merge_ << " [" << kMergeStyle in FlushBlock() [all …]
|
/third_party/spirv-tools/tools/cfg/ |
D | bin_to_dot.cpp | 35 : name_mapper_(std::move(name_mapper)), out_(*out) {} in DotConverter() 39 out_ << "digraph {\n"; in Begin() 41 out_ << "legend_merge_src [shape=plaintext, label=\"\"];\n" in Begin() 51 void End() const { out_ << "}\n"; } in End() 79 std::ostream& out_; member in __anon75c593a10111::DotConverter 132 out_ << current_block_id_; in FlushBlock() 134 out_ << " [label=\"" << name_mapper_(current_block_id_) << "\nFn " in FlushBlock() 137 out_ << " [label=\"" << name_mapper_(current_block_id_) << "\"];\n"; in FlushBlock() 141 out_ << current_block_id_ << " -> " << successor << ";\n"; in FlushBlock() 145 out_ << current_block_id_ << " -> " << merge_ << " [" << kMergeStyle in FlushBlock() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/cfg/ |
D | bin_to_dot.cpp | 35 : name_mapper_(std::move(name_mapper)), out_(*out) {} in DotConverter() 39 out_ << "digraph {\n"; in Begin() 41 out_ << "legend_merge_src [shape=plaintext, label=\"\"];\n" in Begin() 51 void End() const { out_ << "}\n"; } in End() 79 std::ostream& out_; member in __anon6e7a35020111::DotConverter 132 out_ << current_block_id_; in FlushBlock() 134 out_ << " [label=\"" << name_mapper_(current_block_id_) << "\nFn " in FlushBlock() 137 out_ << " [label=\"" << name_mapper_(current_block_id_) << "\"];\n"; in FlushBlock() 141 out_ << current_block_id_ << " -> " << successor << ";\n"; in FlushBlock() 145 out_ << current_block_id_ << " -> " << merge_ << " [" << kMergeStyle in FlushBlock() [all …]
|
/third_party/node/deps/v8/src/bigint/ |
D | tostring.cc | 128 out_(out_end_), in ToStringFormatter() 139 *(--out_) = '0'; in Classic() 143 out_ = BasecaseLast(digits_[0], out_); in Classic() 155 out_ = DivideByMagic<10>(rest, dividend, out_); in Classic() 160 out_ = BasecaseMiddle(chunk, out_); in Classic() 169 out_ = BasecaseLast(rest[0], out_); in Classic() 212 char* out_; member in v8::bigint::__anone97fd02d0111::ToStringFormatter 229 DCHECK(out_ >= out_start_); in Finish() 230 DCHECK(out_ < out_end_); // At least one character was written. in Finish() 231 while (out_ < out_end_ && *out_ == '0') out_++; in Finish() [all …]
|
/third_party/benchmark/src/ |
D | log.h | 29 LogType(std::ostream* out) : out_(out) {} in LogType() 30 std::ostream* out_; variable 45 if (log.out_) { 46 *log.out_ << value; 52 if (log.out_) { 53 *log.out_ << m;
|
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
D | json.cc | 107 JSONEncoder(C* out, Status* status) : out_(out), status_(status) { in JSONEncoder() 116 state_.top().StartElement(out_); in HandleMapBegin() 132 state_.top().StartElement(out_); in HandleArrayBegin() 148 state_.top().StartElement(out_); in HandleString16() 169 PrintHex(ch, out_); in HandleString16() 178 state_.top().StartElement(out_); in HandleString8() 200 PrintHex(static_cast<uint16_t>(c), out_); in HandleString8() 254 PrintHex(static_cast<uint16_t>(codepoint), out_); in HandleString8() 260 PrintHex(static_cast<uint16_t>((codepoint >> 10) + 0xd800), out_); in HandleString8() 263 PrintHex(static_cast<uint16_t>((codepoint & 0x3ff) + 0xdc00), out_); in HandleString8() [all …]
|
D | cbor.cc | 380 : out_(out), status_(status) { in CBOREncoder() 388 envelopes_.back().EncodeStart(out_); in HandleMapBegin() 389 out_->push_back(kInitialByteIndefiniteLengthMap); in HandleMapBegin() 395 out_->push_back(kStopByte); in HandleMapEnd() 397 if (!envelopes_.back().EncodeStop(out_)) { in HandleMapEnd() 399 Status(Error::CBOR_ENVELOPE_SIZE_LIMIT_EXCEEDED, out_->size())); in HandleMapEnd() 409 envelopes_.back().EncodeStart(out_); in HandleArrayBegin() 410 out_->push_back(kInitialByteIndefiniteLengthArray); in HandleArrayBegin() 416 out_->push_back(kStopByte); in HandleArrayEnd() 418 if (!envelopes_.back().EncodeStop(out_)) { in HandleArrayEnd() [all …]
|
/third_party/node/tools/inspector_protocol/encoding/ |
D | encoding.cc | 516 CBOREncoder(C* out, Status* status) : out_(out), status_(status) { in CBOREncoder() 524 envelopes_.back().EncodeStart(out_); in HandleMapBegin() 525 out_->push_back(kInitialByteIndefiniteLengthMap); in HandleMapBegin() 531 out_->push_back(kStopByte); in HandleMapEnd() 533 if (!envelopes_.back().EncodeStop(out_)) { in HandleMapEnd() 535 Status(Error::CBOR_ENVELOPE_SIZE_LIMIT_EXCEEDED, out_->size())); in HandleMapEnd() 545 envelopes_.back().EncodeStart(out_); in HandleArrayBegin() 546 out_->push_back(kInitialByteIndefiniteLengthArray); in HandleArrayBegin() 552 out_->push_back(kStopByte); in HandleArrayEnd() 554 if (!envelopes_.back().EncodeStop(out_)) { in HandleArrayEnd() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | fail_stream.h | 35 : status_ptr_(status_ptr), out_(out) {} in FailStream() 61 *out_ << val; 67 std::ostream* out_; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
D | disassemble.cpp | 59 out_(print_ ? out_stream() : out_stream(text_)), in Disassembler() 60 stream_(out_.get()), in Disassembler() 95 if (color_) out_.get() << spvtools::clr::reset{print_}; in ResetColor() 99 if (color_) out_.get() << spvtools::clr::grey{print_}; in SetGrey() 103 if (color_) out_.get() << spvtools::clr::blue{print_}; in SetBlue() 107 if (color_) out_.get() << spvtools::clr::yellow{print_}; in SetYellow() 111 if (color_) out_.get() << spvtools::clr::red{print_}; in SetRed() 115 if (color_) out_.get() << spvtools::clr::green{print_}; in SetGreen() 125 out_stream out_; // The Output stream. Either to text_ or standard output. member in __anon01f5ec6e0111::Disassembler
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
D | disassemble.cpp | 59 out_(print_ ? out_stream() : out_stream(text_)), in Disassembler() 60 stream_(out_.get()), in Disassembler() 95 if (color_) out_.get() << spvtools::clr::reset{print_}; in ResetColor() 99 if (color_) out_.get() << spvtools::clr::grey{print_}; in SetGrey() 103 if (color_) out_.get() << spvtools::clr::blue{print_}; in SetBlue() 107 if (color_) out_.get() << spvtools::clr::yellow{print_}; in SetYellow() 111 if (color_) out_.get() << spvtools::clr::red{print_}; in SetRed() 115 if (color_) out_.get() << spvtools::clr::green{print_}; in SetGreen() 125 out_stream out_; // The Output stream. Either to text_ or standard output. member in __anone4026d020111::Disassembler
|
/third_party/node/tools/inspector_protocol/lib/ |
D | encoding_cpp.template | 524 CBOREncoder(C* out, Status* status) : out_(out), status_(status) { 532 envelopes_.back().EncodeStart(out_); 533 out_->push_back(kInitialByteIndefiniteLengthMap); 539 out_->push_back(kStopByte); 541 if (!envelopes_.back().EncodeStop(out_)) { 543 Status(Error::CBOR_ENVELOPE_SIZE_LIMIT_EXCEEDED, out_->size())); 553 envelopes_.back().EncodeStart(out_); 554 out_->push_back(kInitialByteIndefiniteLengthArray); 560 out_->push_back(kStopByte); 562 if (!envelopes_.back().EncodeStop(out_)) { [all …]
|