/external/flatbuffers/src/ |
D | idl_gen_php.cpp | 29 const std::string Indent = " "; variable 121 code += Indent + "const "; in EnumMember() 138 code += Indent + "/**\n"; in NewRootTypeFromBuffer() 139 code += Indent + " * @param ByteBuffer $bb\n"; in NewRootTypeFromBuffer() 140 code += Indent + " * @return " + struct_def.name + "\n"; in NewRootTypeFromBuffer() 141 code += Indent + " */\n"; in NewRootTypeFromBuffer() 142 code += Indent + "public static function getRootAs"; in NewRootTypeFromBuffer() 145 code += Indent + "{\n"; in NewRootTypeFromBuffer() 147 code += Indent + Indent + "$obj = new " + struct_def.name + "();\n"; in NewRootTypeFromBuffer() 148 code += Indent + Indent; in NewRootTypeFromBuffer() [all …]
|
D | idl_gen_python.cpp | 40 const std::string Indent = " "; variable 45 return "\n" + Indent + Indent + in OffsetPrefix() 49 "))\n" + Indent + Indent + "if o != 0:\n"; in OffsetPrefix() 56 code += Indent + "__slots__ = ['_tab']"; in BeginClass() 69 code += Indent; in EnumMember() 86 code += Indent + "@classmethod\n"; in NewRootTypeFromBuffer() 87 code += Indent + "def GetRootAs"; in NewRootTypeFromBuffer() 91 code += Indent + Indent; in NewRootTypeFromBuffer() 94 code += Indent + Indent + "x = " + struct_def.name + "()\n"; in NewRootTypeFromBuffer() 95 code += Indent + Indent + "x.Init(buf, n + offset)\n"; in NewRootTypeFromBuffer() [all …]
|
/external/llvm/lib/TableGen/ |
D | StringMatcher.cpp | 47 std::string Indent(IndentCount*2+4, ' '); in EmitStringMatcherForChar() local 58 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; in EmitStringMatcherForChar() 63 OS << Indent << Split.first << "\n"; in EmitStringMatcherForChar() 86 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" in EmitStringMatcherForChar() 88 OS << Indent << " break;\n"; in EmitStringMatcherForChar() 92 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo in EmitStringMatcherForChar() 95 OS << Indent << " break;\n"; in EmitStringMatcherForChar() 103 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; in EmitStringMatcherForChar() 104 OS << Indent << "default: break;\n"; in EmitStringMatcherForChar() 109 OS << Indent << "case '" << LI->first << "':\t // " in EmitStringMatcherForChar() [all …]
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | StringMatcher.cpp | 47 std::string Indent(IndentCount*2+4, ' '); in EmitStringMatcherForChar() local 58 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; in EmitStringMatcherForChar() 63 OS << Indent << Split.first << "\n"; in EmitStringMatcherForChar() 86 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" in EmitStringMatcherForChar() 88 OS << Indent << " break;\n"; in EmitStringMatcherForChar() 92 OS << Indent << "if (" << StrVariableName << ".substr(" << CharNo << ", " in EmitStringMatcherForChar() 95 OS << Indent << " break;\n"; in EmitStringMatcherForChar() 103 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; in EmitStringMatcherForChar() 104 OS << Indent << "default: break;\n"; in EmitStringMatcherForChar() 109 OS << Indent << "case '" << LI->first << "':\t // " in EmitStringMatcherForChar() [all …]
|
D | DAGISelMatcherEmitter.cpp | 54 unsigned EmitMatcherList(const Matcher *N, unsigned Indent, 61 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 138 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcher() argument 140 OS.PadToColumn(Indent*2); in EmitMatcher() 157 OS.PadToColumn(Indent*2) << "/*Scope*/ "; in EmitMatcher() 159 OS.PadToColumn(Indent*2); in EmitMatcher() 176 ChildSize = EmitMatcherList(SM->getChild(i), Indent+1, in EmitMatcher() 198 OS.PadToColumn(Indent*2) << "0, "; in EmitMatcher() 311 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx+VBRSize+IdxSize, in EmitMatcher() 318 OS.PadToColumn(Indent*2); in EmitMatcher() [all …]
|
/external/flatbuffers/grpc/src/compiler/ |
D | go_generator.cc | 78 printer->Indent(); in GenerateImports() 109 printer->Indent(); in GenerateServerMethod() 114 printer->Indent(); in GenerateServerMethod() 120 printer->Indent(); in GenerateServerMethod() 131 printer->Indent(); in GenerateServerMethod() 147 printer->Indent(); in GenerateServerMethod() 162 printer->Indent(); in GenerateServerMethod() 169 printer->Indent(); in GenerateServerMethod() 176 printer->Indent(); in GenerateServerMethod() 185 printer->Indent(); in GenerateServerMethod() [all …]
|
D | cpp_generator.cc | 176 printer->Indent(); in PrintHeaderClientMethodInterfaces() 189 printer->Indent(); in PrintHeaderClientMethodInterfaces() 202 printer->Indent(); in PrintHeaderClientMethodInterfaces() 215 printer->Indent(); in PrintHeaderClientMethodInterfaces() 228 printer->Indent(); in PrintHeaderClientMethodInterfaces() 240 printer->Indent(); in PrintHeaderClientMethodInterfaces() 254 printer->Indent(); in PrintHeaderClientMethodInterfaces() 326 printer->Indent(); in PrintHeaderClientMethod() 339 printer->Indent(); in PrintHeaderClientMethod() 350 printer->Indent(); in PrintHeaderClientMethod() [all …]
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_service.cc | 71 printer->Indent(); in Generate() 123 printer->Indent(); in GenerateInterface() 136 printer->Indent(); in GenerateNewReflectiveServiceMethod() 137 printer->Indent(); in GenerateNewReflectiveServiceMethod() 162 printer->Indent(); in GenerateNewReflectiveBlockingServiceMethod() 163 printer->Indent(); in GenerateNewReflectiveBlockingServiceMethod() 201 printer->Indent(); in GenerateCallMethod() 202 printer->Indent(); in GenerateCallMethod() 249 printer->Indent(); in GenerateCallBlockingMethod() 250 printer->Indent(); in GenerateCallBlockingMethod() [all …]
|
D | java_message_lite.cc | 141 printer->Indent(); in GenerateInterface() 199 printer->Indent(); in Generate() 249 printer->Indent(); in Generate() 346 printer->Indent(); in Generate() 347 printer->Indent(); in Generate() 351 printer->Indent(); in Generate() 359 printer->Indent(); in Generate() 367 printer->Indent(); in Generate() 375 printer->Indent(); in Generate() 383 printer->Indent(); in Generate() [all …]
|
D | java_message.cc | 268 printer->Indent(); in GenerateInterface() 325 printer->Indent(); in Generate() 340 printer->Indent(); in Generate() 412 printer->Indent(); in Generate() 562 printer->Indent(); in GenerateMessageSerializationMethods() 624 printer->Indent(); in GenerateMessageSerializationMethods() 800 printer->Indent(); in GenerateDescriptorMethods() 801 printer->Indent(); in GenerateDescriptorMethods() 845 printer->Indent(); in GenerateIsInitialized() 979 printer->Indent(); in GenerateEqualsAndHashCode() [all …]
|
D | java_message_builder.cc | 112 printer->Indent(); in Generate() 223 printer->Indent(); in GenerateDescriptorMethods() 224 printer->Indent(); in GenerateDescriptorMethods() 248 printer->Indent(); in GenerateDescriptorMethods() 249 printer->Indent(); in GenerateDescriptorMethods() 307 printer->Indent(); in GenerateCommonBuilderMethods() 308 printer->Indent(); in GenerateCommonBuilderMethods() 326 printer->Indent(); in GenerateCommonBuilderMethods() 383 printer->Indent(); in GenerateCommonBuilderMethods() 462 printer->Indent(); in GenerateCommonBuilderMethods() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PlistDiagnostics.cpp | 90 Indent(o, indent) << "<dict>\n"; in ReportControlFlow() 93 Indent(o, indent) << "<key>kind</key><string>control</string>\n"; in ReportControlFlow() 96 Indent(o, indent) << "<key>edges</key>\n"; in ReportControlFlow() 98 Indent(o, indent) << "<array>\n"; in ReportControlFlow() 102 Indent(o, indent) << "<dict>\n"; in ReportControlFlow() 108 Indent(o, indent) << "<key>start</key>\n"; in ReportControlFlow() 114 Indent(o, indent) << "<key>end</key>\n"; in ReportControlFlow() 120 Indent(o, indent) << "</dict>\n"; in ReportControlFlow() 123 Indent(o, indent) << "</array>\n"; in ReportControlFlow() 129 Indent(o, indent) << "<key>alternate</key>"; in ReportControlFlow() [all …]
|
/external/llvm/utils/yaml-bench/ |
D | YAMLBench.cpp | 86 , unsigned Indent = 0 in dumpNode() argument 91 outs() << indent(Indent); in dumpNode() 103 ++Indent; in dumpNode() 106 dumpNode(i, Indent); in dumpNode() 109 --Indent; in dumpNode() 110 outs() << indent(Indent) << "]"; in dumpNode() 113 ++Indent; in dumpNode() 116 outs() << indent(Indent) << "? "; in dumpNode() 117 dumpNode(i->getKey(), Indent, true); in dumpNode() 119 outs() << indent(Indent) << ": "; in dumpNode() [all …]
|
/external/llvm/lib/ProfileData/ |
D | SampleProf.cpp | 80 void SampleRecord::print(raw_ostream &OS, unsigned Indent) const { in print() 99 void FunctionSamples::print(raw_ostream &OS, unsigned Indent) const { in print() 103 OS.indent(Indent); in print() 108 OS.indent(Indent + 2); in print() 111 OS.indent(Indent); in print() 117 OS.indent(Indent); in print() 123 OS.indent(Indent + 2); in print() 125 CS->second.print(OS, Indent + 4); in print()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_message.cc | 157 printer->Indent(); in Generate() 285 printer->Indent(); in Generate() 286 printer->Indent(); in Generate() 287 printer->Indent(); in Generate() 288 printer->Indent(); in Generate() 314 printer->Indent(); in Generate() 360 printer->Indent(); in GenerateMessageSerializationMethods() 381 printer->Indent(); in GenerateMessageSerializationMethods() 405 printer->Indent(); in GenerateMergeFromMethods() 414 printer->Indent(); in GenerateMergeFromMethods() [all …]
|
/external/clang/lib/AST/ |
D | StmtPrinter.cpp | 56 Indent(); in PrintStmt() 62 Indent() << "<<<NULL STATEMENT>>>\n"; in PrintStmt() 84 raw_ostream &Indent(int Delta = 0) { in Indent() function in __anonf26dc3de0111::StmtPrinter 97 Indent() << "<<unknown stmt type>>\n"; in VisitStmt() 122 Indent() << "}"; in PrintRawCompoundStmt() 135 Indent() << ";\n"; in VisitNullStmt() 139 Indent(); in VisitDeclStmt() 145 Indent(); in VisitCompoundStmt() 151 Indent(-1) << "case "; in VisitCaseStmt() 163 Indent(-1) << "default:\n"; in VisitDefaultStmt() [all …]
|
/external/clang/include/clang/Basic/ |
D | PlistSupport.h | 39 inline raw_ostream &Indent(raw_ostream &o, const unsigned indent) { in Indent() function 96 Indent(o, indent) << "<dict>\n"; in EmitLocation() 97 Indent(o, indent) << " <key>line</key>"; in EmitLocation() 99 Indent(o, indent) << " <key>col</key>"; in EmitLocation() 101 Indent(o, indent) << " <key>file</key>"; in EmitLocation() 103 Indent(o, indent) << "</dict>\n"; in EmitLocation() 111 Indent(o, indent) << "<array>\n"; in EmitRange() 114 Indent(o, indent) << "</array>\n"; in EmitRange()
|
/external/clang/lib/Basic/ |
D | Module.cpp | 321 void Module::print(raw_ostream &OS, unsigned Indent) const { in print() 322 OS.indent(Indent); in print() 330 OS.indent(Indent + 2); in print() 340 OS.indent(Indent + 2); in print() 353 OS.indent(Indent + 2); in print() 358 OS.indent(Indent + 2); in print() 365 OS.indent(Indent + 2); in print() 388 OS.indent(Indent + 2); in print() 402 (*MI)->print(OS, Indent + 2); in print() 405 OS.indent(Indent + 2); in print() [all …]
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_message.cc | 113 printer->Indent(); in Generate() 179 printer->Indent(); in Generate() 217 printer->Indent(); in Generate() 262 printer->Indent(); in GenerateCloningCode() 277 printer->Indent(); in GenerateCloningCode() 285 printer->Indent(); in GenerateCloningCode() 324 printer->Indent(); in GenerateFrameworkMethods() 344 printer->Indent(); in GenerateFrameworkMethods() 367 printer->Indent(); in GenerateMessageSerializationMethods() 382 printer->Indent(); in GenerateMessageSerializationMethods() [all …]
|
D | csharp_reflection_class.cc | 120 printer->Indent(); in WriteIntroduction() 134 printer->Indent(); in WriteIntroduction() 149 printer->Indent(); in WriteDescriptor() 152 printer->Indent(); in WriteDescriptor() 153 printer->Indent(); in WriteDescriptor() 155 printer->Indent(); in WriteDescriptor() 201 printer->Indent(); in WriteDescriptor() 202 printer->Indent(); in WriteDescriptor() 203 printer->Indent(); in WriteDescriptor()
|
/external/clang/lib/Format/ |
D | ContinuationIndenter.h | 149 ParenState(unsigned Indent, unsigned IndentLevel, unsigned LastSpace, in ParenState() 151 : Indent(Indent), IndentLevel(IndentLevel), LastSpace(LastSpace), in ParenState() 152 NestedBlockIndent(Indent), BreakBeforeClosingBrace(false), in ParenState() 161 unsigned Indent; member 267 if (Indent != Other.Indent) 268 return Indent < Other.Indent;
|
D | UnwrappedLineFormatter.cpp | 48 unsigned getIndent() const { return Indent; } in getIndent() 59 Indent = Line.Level * Style.IndentWidth + AdditionalIndent; in nextLine() 62 Indent = getIndent(IndentForLevel, Line.Level); in nextLine() 64 if (static_cast<int>(Indent) + Offset >= 0) in nextLine() 65 Indent += Offset; in nextLine() 126 unsigned Indent = 0; member in clang::format::__anone328b5250111::LevelIndentTracker 161 tryFitMultipleLinesInOne(unsigned Indent, in tryFitMultipleLinesInOne() argument 177 if (Style.ColumnLimit > 0 && Indent > Style.ColumnLimit) in tryFitMultipleLinesInOne() 181 Style.ColumnLimit == 0 ? UINT_MAX : Style.ColumnLimit - Indent; in tryFitMultipleLinesInOne() 465 llvm::dbgs() << P.Indent << "|" << P.LastSpace << "|" << P.NestedBlockIndent in printLineState() [all …]
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugLoc.cpp | 20 const unsigned Indent = 12; in dump() local 23 OS.indent(Indent); in dump() 26 OS.indent(Indent) << " Ending address offset: " in dump() 28 OS.indent(Indent) << " Location description: "; in dump() 113 const unsigned Indent = 12; in dump() local 116 OS.indent(Indent); in dump() 118 OS.indent(Indent) << " Length: " << E.Length << '\n'; in dump() 119 OS.indent(Indent) << " Location description: "; in dump()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_message.cc | 192 printer->Indent(); in Generate() 249 printer->Indent(); in GenerateMessageSerializationMethods() 273 printer->Indent(); in GenerateMessageSerializationMethods() 306 printer->Indent(); in GenerateMergeFromMethods() 310 printer->Indent(); in GenerateMergeFromMethods() 315 printer->Indent(); in GenerateMergeFromMethods() 335 printer->Indent(); in GenerateMergeFromMethods() 384 printer->Indent(); in GenerateClear() 407 printer->Indent(); in GenerateIsInitialized()
|
/external/llvm/utils/TableGen/ |
D | DAGISelMatcherEmitter.cpp | 59 unsigned EmitMatcherList(const Matcher *N, unsigned Indent, 66 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 156 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcher() argument 158 OS.PadToColumn(Indent*2); in EmitMatcher() 175 OS.PadToColumn(Indent*2) << "/*Scope*/ "; in EmitMatcher() 177 OS.PadToColumn(Indent*2); in EmitMatcher() 194 ChildSize = EmitMatcherList(SM->getChild(i), Indent+1, in EmitMatcher() 216 OS.PadToColumn(Indent*2) << "0, "; in EmitMatcher() 342 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx+VBRSize+IdxSize, in EmitMatcher() 351 OS.PadToColumn(Indent*2); in EmitMatcher() [all …]
|