Home
last modified time | relevance | path

Searched refs:Indent (Results 1 – 25 of 180) sorted by relevance

12345678

/external/flatbuffers/src/
Didl_gen_php.cpp29 const std::string Indent = " "; variable
124 code += Indent + "const "; in EnumMember()
141 code += Indent + "/**\n"; in NewRootTypeFromBuffer()
142 code += Indent + " * @param ByteBuffer $bb\n"; in NewRootTypeFromBuffer()
143 code += Indent + " * @return " + struct_def.name + "\n"; in NewRootTypeFromBuffer()
144 code += Indent + " */\n"; in NewRootTypeFromBuffer()
145 code += Indent + "public static function getRootAs"; in NewRootTypeFromBuffer()
148 code += Indent + "{\n"; in NewRootTypeFromBuffer()
150 code += Indent + Indent + "$obj = new " + struct_def.name + "();\n"; in NewRootTypeFromBuffer()
151 code += Indent + Indent; in NewRootTypeFromBuffer()
[all …]
Didl_gen_python.cpp40 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/swiftshader/third_party/LLVM/utils/TableGen/
DStringMatcher.cpp47 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 …]
DDAGISelMatcherEmitter.cpp54 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/llvm/lib/TableGen/
DStringMatcher.cpp47 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/tensorflow/tensorflow/java/src/gen/cc/
Dsource_writer_test.cc41 writer.Indent(2).Append("You say goodbye\nand I say hello!"); in TEST()
57 writer.Indent(2).Prefix("--").Append("You say goodbye\nand I say hello!"); in TEST()
81 writer.Indent(2).Write("You say goodbye\nand I say hello!"); in TEST()
97 writer.Indent(2).Prefix("--").Write("You say goodbye\nand I say hello!"); in TEST()
111 TEST(MarginTest, Indent) { in TEST() argument
115 .Indent(2) in TEST()
126 .Indent(2) in TEST()
129 .Indent(-2) in TEST()
165 .Indent(2) in TEST()
169 .Indent(-2) in TEST()
[all …]
/external/flatbuffers/grpc/src/compiler/
Dgo_generator.cc86 printer->Indent(); in GenerateImports()
117 printer->Indent(); in GenerateServerMethod()
122 printer->Indent(); in GenerateServerMethod()
128 printer->Indent(); in GenerateServerMethod()
139 printer->Indent(); in GenerateServerMethod()
155 printer->Indent(); in GenerateServerMethod()
170 printer->Indent(); in GenerateServerMethod()
177 printer->Indent(); in GenerateServerMethod()
184 printer->Indent(); in GenerateServerMethod()
193 printer->Indent(); in GenerateServerMethod()
[all …]
Dcpp_generator.cc198 printer->Indent(); in PrintHeaderClientMethodInterfaces()
211 printer->Indent(); in PrintHeaderClientMethodInterfaces()
224 printer->Indent(); in PrintHeaderClientMethodInterfaces()
237 printer->Indent(); in PrintHeaderClientMethodInterfaces()
250 printer->Indent(); in PrintHeaderClientMethodInterfaces()
262 printer->Indent(); in PrintHeaderClientMethodInterfaces()
276 printer->Indent(); in PrintHeaderClientMethodInterfaces()
348 printer->Indent(); in PrintHeaderClientMethod()
361 printer->Indent(); in PrintHeaderClientMethod()
372 printer->Indent(); in PrintHeaderClientMethod()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DPlistDiagnostics.cpp90 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/protobuf/src/google/protobuf/compiler/java/
Djava_service.cc71 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 …]
Djava_message_lite.cc141 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 …]
Djava_message.cc268 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 …]
Djava_message_builder.cc112 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/AST/
DStmtPrinter.cpp56 Indent(); in PrintStmt()
62 Indent() << "<<<NULL STATEMENT>>>\n"; in PrintStmt()
84 raw_ostream &Indent(int Delta = 0) { in Indent() function in __anon2393461c0111::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/llvm/utils/yaml-bench/
DYAMLBench.cpp86 , 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/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_message.cc157 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/llvm/lib/ProfileData/
DSampleProf.cpp80 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/clang/lib/Basic/
DModule.cpp321 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/clang/include/clang/Basic/
DPlistSupport.h39 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/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc113 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 …]
Dcsharp_reflection_class.cc120 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/
DContinuationIndenter.h149 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;
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLoc.cpp20 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/golang-protobuf/jsonpb/
Djsonpb.go72 Indent string member
211 if m.Indent != "" {
322 if m.Indent != "" {
331 if m.Indent != "" {
363 if m.Indent != "" {
370 if m.Indent != "" {
372 out.write(m.Indent)
377 if err := m.marshalObject(out, msg, indent+m.Indent, ""); err != nil {
380 if m.Indent != "" {
392 if m.Indent != "" {
[all …]
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_message.cc192 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()

12345678