Home
last modified time | relevance | path

Searched refs:indent_ (Results 1 – 16 of 16) sorted by relevance

/third_party/boost/tools/build/src/util/
Dlogger.py9 self.indent_ = ''
13 self.do_log (self.indent_)
20 self.indent_ += ' '
23 if self.on () and len (self.indent_) > 4:
24 self.indent_ = self.indent_ [-4:]
/third_party/node/src/
Djson_utils.h23 inline void indent() { indent_ += 2; } in indent()
24 inline void deindent() { indent_ -= 2; } in deindent()
27 for (int i = 0; i < indent_; i++) out_ << ' '; in advance()
85 if (indent_ == 0) { in json_objectend()
142 out_ << Reindent(json.as_string, indent_); in write_value()
153 int indent_ = 0; variable
/third_party/protobuf/src/google/protobuf/io/
Dprinter.cc186 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()
Dprinter.h347 std::string indent_; variable
/third_party/grpc/src/core/lib/json/
Djson_writer.cc51 explicit JsonWriter(int indent) : indent_(indent) {} in JsonWriter()
70 int indent_; member in grpc_core::__anon305d6b050111::JsonWriter
106 unsigned spaces = static_cast<unsigned>(depth_ * indent_); in OutputIndent()
107 if (indent_ == 0) return; in OutputIndent()
124 if (indent_ == 0 || depth_ == 0) return; in ValueEnd()
128 if (indent_ == 0) return; in ValueEnd()
251 if (indent_ && !container_empty_) OutputChar('\n'); in ContainerEnds()
/third_party/spirv-tools/source/
Ddisassemble.cpp54 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 __anoncf5cb9800111::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/
Ddisassemble.cpp54 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 __anon0622af550111::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/swiftshader/third_party/SPIRV-Tools/source/
Ddisassemble.cpp54 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 __anon955f17c10111::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/gn/src/gn/
Dxml_element_writer.cc33 indent_(indent), in XmlElementWriter()
48 out_ << std::string(indent_, ' '); in ~XmlElementWriter()
67 return std::make_unique<XmlElementWriter>(out_, tag, attributes, indent_ + 2); in SubElement()
Dxml_element_writer.h80 int indent_; variable
100 indent_(indent), in XmlElementWriter()
116 out_, tag, attribute_name, attribute_value_writer, indent_ + 2); in SubElement()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Ddisassemble.cpp50 indent_(spvIsInBitfield(SPV_BINARY_TO_TEXT_OPTION_INDENT, options) in Disassembler()
116 const int indent_; // How much to indent. 0 means don't indent member in __anonf126510a0111::Disassembler
162 if (indent_) in HandleInstruction()
163 stream_ << std::setw(std::max(0, indent_ - 3 - int(id_name.size()))); in HandleInstruction()
168 stream_ << std::string(indent_, ' '); in HandleInstruction()
/third_party/flatbuffers/src/
Didl_gen_grpc.cpp151 indent_(0), in FlatBufPrinter()
180 str_->insert(str_->end(), indent_ * indentation_size_, indentation_type_); in Print()
199 void Indent() { indent_++; } in Indent()
202 indent_--; in Outdent()
203 FLATBUFFERS_ASSERT(indent_ >= 0); in Outdent()
209 int indent_; member in flatbuffers::FlatBufPrinter
/third_party/boost/tools/build/src/build/
Dtargets.py101 self.indent_ = ""
240 self.indent_ += " "
243 self.indent_ = self.indent_[0:-4]
250 print self.indent_ + message
/third_party/boost/tools/quickbook/src/
Dpost_process.cpp246 tidy_grammar(tidy_compiler& state_, int indent_, bool is_html_) in tidy_grammar()
247 : state(state_), indent(indent_), is_html(is_html_) in tidy_grammar()
Dmain_grammar.cpp62 char mark_, unsigned int indent_, unsigned int indent2_) in list_stack_item()
64 , indent(indent_) in list_stack_item()
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc725 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()