/external/tensorflow/tensorflow/core/lib/strings/ |
D | proto_text_util.h | 45 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, in OpenNestedMessage() 47 if (!short_debug_) StrAppend(&indent_, " "); in OpenNestedMessage() 53 if (!short_debug_) indent_.resize(indent_.size() - 2); in CloseNestedMessage() 54 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, "}"); in CloseNestedMessage() 104 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, in AppendFieldAndValue() 112 string indent_; variable
|
/external/bcc/src/cc/frontends/b/ |
D | printer.cc | 25 fprintf(out_, "%*s", indent_, ""); in print_indent() 32 ++indent_; in visit_block_stmt_node() 38 --indent_; in visit_block_stmt_node() 40 fprintf(out_, "%*s}", indent_, ""); in visit_block_stmt_node() 171 ++indent_; in visit_method_call_expr_node() 177 --indent_; in visit_method_call_expr_node() 178 fprintf(out_, "%*s}", indent_, ""); in visit_method_call_expr_node() 228 ++indent_; in visit_struct_decl_stmt_node() 234 --indent_; in visit_struct_decl_stmt_node() 235 fprintf(out_, "%*s}", indent_, ""); in visit_struct_decl_stmt_node()
|
D | printer.h | 28 explicit Printer(FILE* out) : out_(out), indent_(0) {} in Printer() 38 int indent_;
|
D | codegen_llvm.h | 114 int indent_; variable
|
D | codegen_llvm.cc | 97 : out_(stdout), mod_(mod), indent_(0), tmp_reg_index_(0), scopes_(scopes), in CodegenLLVM() 1032 ++indent_; in visit_struct_decl_stmt_node()
|
/external/protobuf/src/google/protobuf/io/ |
D | printer.cc | 292 indent_ += " "; in Indent() 296 if (indent_.empty()) { in Outdent() 301 indent_.resize(indent_.size() - 2); in Outdent() 320 WriteRaw(indent_.data(), indent_.size()); in WriteRaw()
|
D | printer.h | 303 string indent_; variable
|
/external/flatbuffers/src/ |
D | idl_gen_grpc.cpp | 129 FlatBufPrinter(std::string *str) : str_(str), escape_char_('$'), indent_(0) {} in FlatBufPrinter() 156 str_->insert(str_->end(), indent_ * 2, ' '); in Print() 170 void Indent() { indent_++; } in Indent() 173 indent_--; in Outdent() 174 FLATBUFFERS_ASSERT(indent_ >= 0); in Outdent() 180 int indent_; member in flatbuffers::FlatBufPrinter
|
/external/v8/src/ast/ |
D | prettyprinter.h | 118 void inc_indent() { indent_++; } in inc_indent() 119 void dec_indent() { indent_--; } in dec_indent() 126 int indent_; variable
|
D | prettyprinter.cc | 697 : output_(nullptr), size_(0), pos_(0), indent_(0) { in AstPrinter() 702 DCHECK_EQ(indent_, 0); in ~AstPrinter() 708 for (int i = 0; i < indent_; i++) { in PrintIndented()
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | disassemble.cpp | 52 indent_(spvIsInBitfield(SPV_BINARY_TO_TEXT_OPTION_INDENT, options) in Disassembler() 118 const int indent_; // How much to indent. 0 means don't indent member in __anone1d590aa0111::Disassembler 164 if (indent_) in HandleInstruction() 165 stream_ << std::setw(std::max(0, indent_ - 3 - int(id_name.size()))); in HandleInstruction() 170 stream_ << std::string(indent_, ' '); in HandleInstruction()
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | disassemble.cpp | 52 indent_(spvIsInBitfield(SPV_BINARY_TO_TEXT_OPTION_INDENT, options) in Disassembler() 118 const int indent_; // How much to indent. 0 means don't indent member in __anon56cff7640111::Disassembler 164 if (indent_) in HandleInstruction() 165 stream_ << std::setw(std::max(0, indent_ - 3 - int(id_name.size()))); in HandleInstruction() 170 stream_ << std::string(indent_, ' '); in HandleInstruction()
|
/external/v8/src/torque/ |
D | implementation-visitor.h | 32 : FileVisitor(global_context), indent_(0), next_temp_(0) {} in ImplementationVisitor() 158 visitor->indent_++; in new_lines_() 161 visitor_->indent_--; in ~ScopedIndent() 262 size_t indent_; variable
|
D | implementation-visitor.cc | 1093 for (size_t i = 0; i <= indent_; ++i) { in GenerateIndent()
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 1118 indent_(""), in TextGenerator() 1120 indent_.resize(initial_indent_level_ * 2, ' '); in TextGenerator() 1135 indent_ += " "; in Indent() 1141 if (indent_.empty() || in Outdent() 1142 indent_.size() < initial_indent_level_ * 2) { in Outdent() 1147 indent_.resize(indent_.size() - 2); in Outdent() 1196 Write(indent_.data(), indent_.size()); in Write() 1224 string indent_; member in google::protobuf::TextFormat::Printer::TextGenerator
|
/external/v8/src/compiler/ |
D | graph-visualizer.cc | 442 visualizer->indent_++; in Tag() 446 visualizer_->indent_--; in ~Tag() 449 DCHECK_LE(0, visualizer_->indent_); in ~Tag() 458 int indent_; member in v8::internal::compiler::GraphC1Visualizer 466 for (int i = 0; i < indent_; i++) { in PrintIndent() 473 : os_(os), indent_(0), zone_(zone) {} in GraphC1Visualizer()
|
/external/v8/src/ |
D | json-stringifier.cc | 99 V8_INLINE void Indent() { indent_++; } in Indent() 100 V8_INLINE void Unindent() { indent_--; } in Unindent() 118 int indent_; member in v8::internal::BASE_EMBEDDED 199 : isolate_(isolate), builder_(isolate), gap_(nullptr), indent_(0) { in JsonStringifier() 808 for (int i = 0; i < indent_; i++) builder_.AppendCString(gap_); in NewLine()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 659 string indent_(*target, pos, target->find_first_not_of(" \t", pos) - pos); in ~MemoryOutputStream() local 661 if (indent_.empty()) { in ~MemoryOutputStream() 668 if (data_[i] == '\n') indent_size += indent_.size(); in ~MemoryOutputStream() 679 memcpy(target_ptr, indent_.data(), indent_.size()); in ~MemoryOutputStream() 680 target_ptr += indent_.size(); in ~MemoryOutputStream()
|