Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dprinter.cc146 indent_ += " "; in Indent()
150 if (indent_.empty()) { in Outdent()
155 indent_.resize(indent_.size() - 2); in Outdent()
174 WriteRaw(indent_.data(), indent_.size()); in WriteRaw()
Dprinter.h125 string indent_; variable
/external/v8/src/ast/
Dprettyprinter.h135 void inc_indent() { indent_++; } in inc_indent()
136 void dec_indent() { indent_--; } in dec_indent()
138 int indent_; variable
Dprettyprinter.cc1166 AstPrinter::AstPrinter(Isolate* isolate) : PrettyPrinter(isolate), indent_(0) {} in AstPrinter()
1170 DCHECK(indent_ == 0); in ~AstPrinter()
1175 for (int i = 0; i < indent_; i++) { in PrintIndented()
/external/v8/src/
Djson-stringifier.h98 INLINE(void Indent() { indent_++; });
99 INLINE(void Unindent() { indent_--; });
117 int indent_; variable
Djson-stringifier.cc85 : isolate_(isolate), builder_(isolate), gap_(nullptr), indent_(0) { in JsonStringifier()
687 for (int i = 0; i < indent_; i++) builder_.AppendCString(gap_); in NewLine()
/external/v8/src/compiler/
Dgraph-visualizer.cc268 visualizer->indent_++; in Tag()
272 visualizer_->indent_--; in ~Tag()
275 DCHECK(visualizer_->indent_ >= 0); in ~Tag()
284 int indent_; member in v8::internal::compiler::GraphC1Visualizer
292 for (int i = 0; i < indent_; i++) { in PrintIndent()
299 : os_(os), indent_(0), zone_(zone) {} in GraphC1Visualizer()
/external/protobuf/src/google/protobuf/
Dtext_format.cc1027 indent_(""), in TextGenerator()
1029 indent_.resize(initial_indent_level_ * 2, ' '); in TextGenerator()
1044 indent_ += " "; in Indent()
1050 if (indent_.empty() || in Outdent()
1051 indent_.size() < initial_indent_level_ * 2) { in Outdent()
1056 indent_.resize(indent_.size() - 2); in Outdent()
1105 Write(indent_.data(), indent_.size()); in Write()
1133 string indent_; member in google::protobuf::TextFormat::Printer::TextGenerator
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc542 string indent_(*target, pos, target->find_first_not_of(" \t", pos) - pos); in ~MemoryOutputStream() local
544 if (indent_.empty()) { in ~MemoryOutputStream()
551 if (data_[i] == '\n') indent_size += indent_.size(); in ~MemoryOutputStream()
562 memcpy(target_ptr, indent_.data(), indent_.size()); in ~MemoryOutputStream()
563 target_ptr += indent_.size(); in ~MemoryOutputStream()
/external/v8/src/crankshaft/
Dhydrogen.h2995 : trace_(&string_allocator_), indent_(0) { in HTracer()
3020 tracer->indent_++; in Tag()
3024 tracer_->indent_--; in ~Tag()
3027 DCHECK(tracer_->indent_ >= 0); in ~Tag()
3066 for (int i = 0; i < indent_; i++) { in PrintIndent()
3074 int indent_; variable