Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dprinter.cc136 indent_ += " "; in Indent()
140 if (indent_.empty()) { in Outdent()
145 indent_.resize(indent_.size() - 2); in Outdent()
164 WriteRaw(indent_.data(), indent_.size()); in WriteRaw()
Dprinter.h121 string indent_; variable
/external/chromium_org/third_party/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/chromium/chrome/browser/bookmarks/
Dbookmark_html_writer.cc164 indent_.resize(indent_.size() + kIndentSize, ' '); in IncrementIndent()
169 DCHECK(!indent_.empty()); in DecrementIndent()
170 indent_.resize(indent_.size() - kIndentSize, ' '); in DecrementIndent()
215 return Write(indent_); in WriteIndent()
362 std::string indent_; member in __anonbbddfe600111::Writer
/external/v8/src/
Dprettyprinter.h109 void inc_indent() { indent_++; } in inc_indent()
110 void dec_indent() { indent_--; } in dec_indent()
112 int indent_; variable
Dhydrogen.h1314 tracer->indent_++; in Tag()
1318 tracer_->indent_--; in ~Tag()
1321 ASSERT(tracer_->indent_ >= 0); in ~Tag()
1331 : filename_(filename), trace_(&string_allocator_), indent_(0) { in HTracer()
1365 for (int i = 0; i < indent_; i++) { in PrintIndent()
1373 int indent_; variable
Dprettyprinter.cc639 AstPrinter::AstPrinter() : indent_(0) { in AstPrinter()
644 ASSERT(indent_ == 0); in ~AstPrinter()
649 for (int i = 0; i < indent_; i++) { in PrintIndented()
/external/chromium_org/v8/src/
Dprettyprinter.h111 void inc_indent() { indent_++; } in inc_indent()
112 void dec_indent() { indent_--; } in dec_indent()
114 int indent_; variable
Dprettyprinter.cc660 AstPrinter::AstPrinter(Isolate* isolate) : PrettyPrinter(isolate), indent_(0) { in AstPrinter()
665 ASSERT(indent_ == 0); in ~AstPrinter()
670 for (int i = 0; i < indent_; i++) { in PrintIndented()
Dhydrogen.h2539 : trace_(&string_allocator_), indent_(0) { in HTracer()
2564 tracer->indent_++; in Tag()
2568 tracer_->indent_--; in ~Tag()
2571 ASSERT(tracer_->indent_ >= 0); in ~Tag()
2610 for (int i = 0; i < indent_; i++) { in PrintIndent()
2618 int indent_; variable
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_html_writer.cc178 indent_.resize(indent_.size() + kIndentSize, ' '); in IncrementIndent()
183 DCHECK(!indent_.empty()); in DecrementIndent()
184 indent_.resize(indent_.size() - kIndentSize, ' '); in DecrementIndent()
232 return Write(indent_); in WriteIndent()
380 std::string indent_; member in __anon0d9f78070111::Writer
/external/protobuf/src/google/protobuf/
Dtext_format.cc656 indent_(""), in TextGenerator()
658 indent_.resize(initial_indent_level_ * 2, ' '); in TextGenerator()
673 indent_ += " "; in Indent()
679 if (indent_.empty() || in Outdent()
680 indent_.size() < initial_indent_level_ * 2) { in Outdent()
685 indent_.resize(indent_.size() - 2); in Outdent()
734 Write(indent_.data(), indent_.size()); in Write()
762 string indent_; member in google::protobuf::TextFormat::Printer::TextGenerator
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dtext_format.cc922 indent_(""), in TextGenerator()
924 indent_.resize(initial_indent_level_ * 2, ' '); in TextGenerator()
939 indent_ += " "; in Indent()
945 if (indent_.empty() || in Outdent()
946 indent_.size() < initial_indent_level_ * 2) { in Outdent()
951 indent_.resize(indent_.size() - 2); in Outdent()
1000 Write(indent_.data(), indent_.size()); in Write()
1028 string indent_; member in google::protobuf::TextFormat::Printer::TextGenerator
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc506 string indent_(*target, pos, target->find_first_not_of(" \t", pos) - pos); in ~MemoryOutputStream() local
508 if (indent_.empty()) { in ~MemoryOutputStream()
515 if (data_[i] == '\n') indent_size += indent_.size(); in ~MemoryOutputStream()
526 memcpy(target_ptr, indent_.data(), indent_.size()); in ~MemoryOutputStream()
527 target_ptr += indent_.size(); in ~MemoryOutputStream()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc525 string indent_(*target, pos, target->find_first_not_of(" \t", pos) - pos); in ~MemoryOutputStream() local
527 if (indent_.empty()) { in ~MemoryOutputStream()
534 if (data_[i] == '\n') indent_size += indent_.size(); in ~MemoryOutputStream()
545 memcpy(target_ptr, indent_.data(), indent_.size()); in ~MemoryOutputStream()
546 target_ptr += indent_.size(); in ~MemoryOutputStream()