/third_party/protobuf/src/google/protobuf/io/ |
D | printer.cc | 186 void Printer::Indent() { indent_ += " "; } in Indent() 189 if (indent_.empty()) { in Outdent() 194 indent_.resize(indent_.size() - 2); in Outdent() 213 CopyToBuffer(indent_.data(), indent_.size()); in WriteRaw() 219 substitutions_[*i].first += indent_.size(); in WriteRaw() 220 substitutions_[*i].second += indent_.size(); in WriteRaw() 272 CopyToBuffer(indent_.data(), indent_.size()); in IndentIfAtStart()
|
D | printer.h | 347 std::string indent_; variable
|
/third_party/node/src/ |
D | json_utils.h | 31 inline void indent() { indent_ += 2; } in indent() 32 inline void deindent() { indent_ -= 2; } in deindent() 35 for (int i = 0; i < indent_; i++) out_ << ' '; in advance() 93 if (indent_ == 0) { in json_objectend() 149 out_ << Reindent(json.as_string, indent_); in write_value() 164 int indent_ = 0; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
D | disassemble.cpp | 54 indent_(spvIsInBitfield(SPV_BINARY_TO_TEXT_OPTION_INDENT, options) in Disassembler() 121 const int indent_; // How much to indent. 0 means don't indent member in __anon01f5ec6e0111::Disassembler 169 stream_ << std::string(indent_, ' '); in HandleInstruction() 176 stream_ << std::string(indent_, ' '); in HandleInstruction() 182 stream_ << std::string(indent_, ' '); in HandleInstruction() 188 stream_ << std::string(indent_, ' '); in HandleInstruction() 195 if (indent_) in HandleInstruction() 196 stream_ << std::setw(std::max(0, indent_ - 3 - int(id_name.size()))); in HandleInstruction() 201 stream_ << std::string(indent_, ' '); in HandleInstruction()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
D | disassemble.cpp | 54 indent_(spvIsInBitfield(SPV_BINARY_TO_TEXT_OPTION_INDENT, options) in Disassembler() 121 const int indent_; // How much to indent. 0 means don't indent member in __anone4026d020111::Disassembler 169 stream_ << std::string(indent_, ' '); in HandleInstruction() 176 stream_ << std::string(indent_, ' '); in HandleInstruction() 182 stream_ << std::string(indent_, ' '); in HandleInstruction() 188 stream_ << std::string(indent_, ' '); in HandleInstruction() 195 if (indent_) in HandleInstruction() 196 stream_ << std::setw(std::max(0, indent_ - 3 - int(id_name.size()))); in HandleInstruction() 201 stream_ << std::string(indent_, ' '); in HandleInstruction()
|
/third_party/spirv-tools/source/ |
D | disassemble.cpp | 209 indent_(spvIsInBitfield(SPV_BINARY_TO_TEXT_OPTION_INDENT, options) in InstructionDisassembler() 252 if (indent_) in EmitInstruction() 253 stream_ << std::setw(std::max(0, indent_ - 3 - int(id_name.size()))); in EmitInstruction() 258 stream_ << std::string(indent_, ' '); in EmitInstruction() 296 stream_ << std::string(indent_, ' '); in EmitSectionComment() 302 stream_ << std::string(indent_, ' '); in EmitSectionComment() 308 stream_ << std::string(indent_, ' '); in EmitSectionComment() 314 stream_ << std::string(indent_, ' '); in EmitSectionComment()
|
D | disassemble.h | 89 const int indent_; // How much to indent. 0 means don't indent variable
|
/third_party/gn/src/gn/ |
D | xml_element_writer.cc | 33 indent_(indent), in XmlElementWriter() 48 out_ << std::string(indent_, ' '); in ~XmlElementWriter() 67 return std::make_unique<XmlElementWriter>(out_, tag, attributes, indent_ + 2); in SubElement()
|
D | xml_element_writer.h | 80 int indent_; variable 100 indent_(indent), in XmlElementWriter() 116 out_, tag, attribute_name, attribute_value_writer, indent_ + 2); in SubElement()
|
/third_party/node/deps/v8/src/ast/ |
D | prettyprinter.h | 143 void inc_indent() { indent_++; } in inc_indent() 144 void dec_indent() { indent_--; } in dec_indent() 151 int indent_; variable
|
D | prettyprinter.cc | 758 : output_(nullptr), size_(0), pos_(0), indent_(0) { in AstPrinter() 763 DCHECK_EQ(indent_, 0); in ~AstPrinter() 769 for (int i = 0; i < indent_; i++) { in PrintIndented()
|
/third_party/node/deps/v8/src/json/ |
D | json-stringifier.cc | 106 V8_INLINE void Indent() { indent_++; } in Indent() 107 V8_INLINE void Unindent() { indent_--; } in Unindent() 133 int indent_; member in v8::internal::JsonStringifier 220 indent_(0), in JsonStringifier() 1081 for (int i = 0; i < indent_; i++) builder_.AppendCString(gap_); in NewLineOutline()
|
/third_party/node/deps/v8/src/compiler/ |
D | graph-visualizer.cc | 445 visualizer->indent_++; in Tag() 449 visualizer_->indent_--; in ~Tag() 452 DCHECK_LE(0, visualizer_->indent_); in ~Tag() 461 int indent_; member in v8::internal::compiler::GraphC1Visualizer 467 for (int i = 0; i < indent_; i++) { in PrintIndent() 474 : os_(os), indent_(0), zone_(zone) {} in GraphC1Visualizer()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 725 std::string indent_(*target, pos, in ~MemoryOutputStream() local 728 if (indent_.empty()) { in ~MemoryOutputStream() 736 if (data_[i] == '\n') indent_size += indent_.size(); in ~MemoryOutputStream() 748 memcpy(target_ptr, indent_.data(), indent_.size()); in ~MemoryOutputStream() 749 target_ptr += indent_.size(); in ~MemoryOutputStream()
|