/external/libwebm/common/ |
D | indent.cc | 17 Indent::Indent(int indent) : indent_(indent), indent_str_() { Update(); } in Indent() 20 indent_ += indent; in Adjust() 21 if (indent_ < 0) in Adjust() 22 indent_ = 0; in Adjust() 27 void Indent::Update() { indent_str_ = std::string(indent_, ' '); } in Update()
|
D | indent.h | 40 int indent_; variable
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | proto_text_util.h | 46 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, in OpenNestedMessage() 48 if (!short_debug_) StrAppend(&indent_, " "); in OpenNestedMessage() 54 if (!short_debug_) indent_.resize(indent_.size() - 2); in CloseNestedMessage() 55 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, "}"); in CloseNestedMessage() 105 absl::StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, in AppendFieldAndValue() 113 string indent_; variable
|
/external/protobuf/src/google/protobuf/io/ |
D | printer.cc | 185 void Printer::Indent() { indent_ += " "; } in Indent() 188 if (indent_.empty()) { in Outdent() 193 indent_.resize(indent_.size() - 2); in Outdent() 212 CopyToBuffer(indent_.data(), indent_.size()); in WriteRaw() 218 substitutions_[*i].first += indent_.size(); in WriteRaw() 219 substitutions_[*i].second += indent_.size(); in WriteRaw() 271 CopyToBuffer(indent_.data(), indent_.size()); in IndentIfAtStart()
|
D | printer.h | 346 std::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/tflite-support/tensorflow_lite_support/codegen/ |
D | utils.cc | 49 CodeWriter::CodeWriter(ErrorReporter* err) : indent_(0), err_(err) {} in CodeWriter() 72 void CodeWriter::Indent() { indent_++; } in Indent() 74 void CodeWriter::Outdent() { indent_--; } in Outdent() 78 res.reserve(indent_str_.size() * indent_); in GenerateIndent() 79 for (int i = 0; i < indent_; i++) { in GenerateIndent() 160 indent_ = 0; in Clear()
|
D | utils.h | 107 int indent_; variable
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/json/ |
D | json_writer.cc | 51 explicit JsonWriter(int indent) : indent_(indent) {} in JsonWriter() 70 int indent_; member in grpc_core::__anon206dd4880111::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()
|
/external/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 __anonc69a88420111::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()
|
/external/deqp-deps/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 __anon707ed5080111::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()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/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 __anona619db950111::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()
|
/external/flatbuffers/src/ |
D | idl_gen_grpc.cpp | 131 FlatBufPrinter(std::string *str) : str_(str), escape_char_('$'), indent_(0) {} in FlatBufPrinter() 158 str_->insert(str_->end(), indent_ * 2, ' '); in Print() 172 void Indent() { indent_++; } in Indent() 175 indent_--; in Outdent() 176 FLATBUFFERS_ASSERT(indent_ >= 0); in Outdent() 182 int indent_; member in flatbuffers::FlatBufPrinter
|
/external/ruy/ruy/ |
D | trace.h | 100 entry.indent = indent_; in Write() 109 indent_++; in EnterScope() 112 indent_--; in LeaveScope() 121 int indent_ = 0; variable
|
/external/llvm-project/flang/include/flang/Parser/ |
D | dump-parse-tree.h | 719 ++indent_; in NODE() 728 --indent_; in Post() 829 if (emptyline_ && indent_ > 0) { in IndentEmptyLine() 830 for (int i{0}; i < indent_; ++i) { in IndentEmptyLine() 861 int indent_{0};
|
/external/llvm-project/flang/lib/Parser/ |
D | unparse.cpp | 71 (*preStatement_)(x.source, out_, indent_); in Before() 2546 void Done() const { CHECK(indent_ == 0); } in WALK_NESTED_ENUM() 2556 void Indent() { indent_ += indentationAmount_; } in Indent() 2558 CHECK(indent_ >= indentationAmount_); in Outdent() 2559 indent_ -= indentationAmount_; in Outdent() 2627 int indent_{0}; member in Fortran::parser::UnparseVisitor 2642 int sav = indent_; in Put() 2644 indent_ = 0; in Put() 2650 for (int j{0}; j < indent_; ++j) { in Put() 2653 column_ = indent_ + 2; in Put() [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 734 std::string indent_(*target, pos, in ~MemoryOutputStream() local 737 if (indent_.empty()) { in ~MemoryOutputStream() 745 if (data_[i] == '\n') indent_size += indent_.size(); in ~MemoryOutputStream() 757 memcpy(target_ptr, indent_.data(), indent_.size()); in ~MemoryOutputStream() 758 target_ptr += indent_.size(); in ~MemoryOutputStream()
|