Home
last modified time | relevance | path

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

1234567891011

/external/flatbuffers/src/
Didl_gen_php.cpp29 const std::string Indent = " "; variable
125 code += Indent + "const "; in EnumMember()
143 code += Indent + "/**\n"; in NewRootTypeFromBuffer()
144 code += Indent + " * @param ByteBuffer $bb\n"; in NewRootTypeFromBuffer()
145 code += Indent + " * @return " + struct_def.name + "\n"; in NewRootTypeFromBuffer()
146 code += Indent + " */\n"; in NewRootTypeFromBuffer()
147 code += Indent + "public static function getRootAs"; in NewRootTypeFromBuffer()
150 code += Indent + "{\n"; in NewRootTypeFromBuffer()
152 code += Indent + Indent + "$obj = new " + struct_def.name + "();\n"; in NewRootTypeFromBuffer()
153 code += Indent + Indent; in NewRootTypeFromBuffer()
[all …]
Didl_gen_python.cpp32 const std::string Indent = " "; variable
82 return "\n" + Indent + Indent + in OffsetPrefix()
85 Indent + Indent + "if o != 0:\n"; in OffsetPrefix()
92 code += Indent + "__slots__ = ['_tab']"; in BeginClass()
118 code += Indent; in EnumMember()
136 code += Indent + "@classmethod\n"; in NewRootTypeFromBuffer()
137 code += Indent + "def GetRootAs"; in NewRootTypeFromBuffer()
141 code += Indent + Indent; in NewRootTypeFromBuffer()
144 code += Indent + Indent + "x = " + NormalizedName(struct_def) + "()\n"; in NewRootTypeFromBuffer()
145 code += Indent + Indent + "x.Init(buf, n + offset)\n"; in NewRootTypeFromBuffer()
[all …]
Didl_gen_lua.cpp32 const char * Indent = " "; variable
76 return std::string(Indent) + in OffsetPrefix()
78 Indent + "if o ~= 0 then\n"; in OffsetPrefix()
114 code += std::string(Indent) + NormalizedName(ev) + " = " + NumToString(ev.value) + ",\n"; in EnumMember()
129 code += std::string(Indent) + "local o = {}\n"; in GenerateNewObjectPrototype()
130 …code += std::string(Indent) + "setmetatable(o, {__index = " + NormalizedMetaName(struct_def) + "})… in GenerateNewObjectPrototype()
131 code += std::string(Indent) + "return o\n"; in GenerateNewObjectPrototype()
141 code += std::string(Indent) + "local n = flatbuffers.N.UOffsetT:Unpack(buf, offset)\n"; in NewRootTypeFromBuffer()
142 code += std::string(Indent) + "local o = " + NormalizedName(struct_def) + ".New()\n"; in NewRootTypeFromBuffer()
143 code += std::string(Indent) + "o:Init(buf, n + offset)\n"; in NewRootTypeFromBuffer()
[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/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DStringMatcher.cpp53 std::string Indent(IndentCount * 2 + 4, ' '); in EmitStringMatcherForChar() local
65 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; in EmitStringMatcherForChar()
70 OS << Indent << Split.first << "\n"; in EmitStringMatcherForChar()
93 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" in EmitStringMatcherForChar()
95 OS << Indent << " break;\n"; in EmitStringMatcherForChar()
99 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo in EmitStringMatcherForChar()
102 OS << Indent << " break;\n"; in EmitStringMatcherForChar()
111 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; in EmitStringMatcherForChar()
112 OS << Indent << "default: break;\n"; in EmitStringMatcherForChar()
117 OS << Indent << "case '" << LI->first << "':\t // " in EmitStringMatcherForChar()
[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 …]
Djava_generator.cc516 p->Indent(); in PrintStub()
521 p->Indent(); in PrintStub()
528 p->Indent(); in PrintStub()
536 p->Indent(); in PrintStub()
615 p->Indent(); in PrintStub()
748 p->Indent(); in PrintMethodHandlerClass()
755 p->Indent(); in PrintMethodHandlerClass()
756 p->Indent(); in PrintMethodHandlerClass()
789 p->Indent(); in PrintMethodHandlerClass()
790 p->Indent(); in PrintMethodHandlerClass()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlan.cpp263 void VPInstruction::print(raw_ostream &O, const Twine &Indent) const { in print()
264 O << " +\n" << Indent << "\"EMIT "; in print()
429 OS << Indent << getUID(Tail) << " -> " << getUID(Head); in drawEdge()
455 OS << Indent << getUID(BasicBlock) << " [label =\n"; in dumpBasicBlock()
457 OS << Indent << "\"" << DOT::EscapeString(BasicBlock->getName()) << ":\\n\""; in dumpBasicBlock()
460 Recipe.print(OS, Indent); in dumpBasicBlock()
465 OS << " +\n" << Indent << " \"CondBit: "; in dumpBasicBlock()
474 OS << "\n" << Indent << "]\n"; in dumpBasicBlock()
479 OS << Indent << "subgraph " << getUID(Region) << " {\n"; in dumpRegion()
481 OS << Indent << "fontname=Courier\n" in dumpRegion()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_service.cc73 printer->Indent(); in Generate()
124 printer->Indent(); in GenerateInterface()
137 printer->Indent(); in GenerateNewReflectiveServiceMethod()
138 printer->Indent(); in GenerateNewReflectiveServiceMethod()
163 printer->Indent(); in GenerateNewReflectiveBlockingServiceMethod()
164 printer->Indent(); in GenerateNewReflectiveBlockingServiceMethod()
207 printer->Indent(); in GenerateCallMethod()
208 printer->Indent(); in GenerateCallMethod()
254 printer->Indent(); in GenerateCallBlockingMethod()
255 printer->Indent(); in GenerateCallBlockingMethod()
[all …]
Djava_message.cc268 printer->Indent(); in GenerateInterface()
339 printer->Indent(); in Generate()
351 printer->Indent(); in Generate()
423 printer->Indent(); in Generate()
575 printer->Indent(); in GenerateMessageSerializationMethods()
634 printer->Indent(); in GenerateMessageSerializationMethods()
821 printer->Indent(); in GenerateDescriptorMethods()
822 printer->Indent(); in GenerateDescriptorMethods()
867 printer->Indent(); in GenerateIsInitialized()
999 printer->Indent(); in GenerateEqualsAndHashCode()
[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/swiftshader/third_party/llvm-7.0/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/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/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/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/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 __anon1740256a0111::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/
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/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/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp60 unsigned AddressSize, unsigned Indent, in dumpRanges() argument
69 OS.indent(Indent); in dumpRanges()
85 DWARFUnit *U, unsigned Indent, in dumpLocation() argument
115 Indent); in dumpLocation()
122 LL->dump(OS, Ctx.isLittleEndian(), Obj.getAddressSize(), MRI, Indent); in dumpLocation()
189 dwarf::Form Form, unsigned Indent, in dumpAttribute() argument
195 OS.indent(Indent + 2); in dumpAttribute()
243 dumpLocation(OS, formValue, U, sizeof(BaseIndent) + Indent + 4, DumpOpts); in dumpAttribute()
275 sizeof(BaseIndent) + Indent + 4, DumpOpts); in dumpAttribute()
473 static unsigned dumpParentChain(DWARFDie Die, raw_ostream &OS, unsigned Indent, in dumpParentChain() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DMinimalSymbolDumper.cpp327 P.Indent(); in visitSymbolBegin()
333 AutoIndent Indent(P, 7); in visitSymbolEnd() local
363 AutoIndent Indent(P, 7); in visitKnownRecord() local
372 AutoIndent Indent(P, 7); in visitKnownRecord() local
384 AutoIndent Indent(P, 7); in visitKnownRecord() local
396 AutoIndent Indent(P, 7); in visitKnownRecord() local
410 AutoIndent Indent(P, 7); in visitKnownRecord() local
424 AutoIndent Indent(P, 7); in visitKnownRecord() local
437 AutoIndent Indent(P, 7); in visitKnownRecord() local
445 AutoIndent Indent(P, 7); in visitKnownRecord() local
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DSampleProf.cpp92 void SampleRecord::print(raw_ostream &OS, unsigned Indent) const { in print()
113 void FunctionSamples::print(raw_ostream &OS, unsigned Indent) const { in print()
117 OS.indent(Indent); in print()
122 OS.indent(Indent + 2); in print()
125 OS.indent(Indent); in print()
131 OS.indent(Indent); in print()
138 OS.indent(Indent + 2); in print()
140 FS.second.print(OS, Indent + 4); in print()
/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/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc136 printer->Indent(); in Generate()
229 printer->Indent(); in Generate()
298 printer->Indent(); in Generate()
324 printer->Indent(); in Generate()
364 printer->Indent(); in GenerateCloningCode()
382 printer->Indent(); in GenerateCloningCode()
390 printer->Indent(); in GenerateCloningCode()
441 printer->Indent(); in GenerateFrameworkMethods()
468 printer->Indent(); in GenerateFrameworkMethods()
503 printer->Indent(); in GenerateMessageSerializationMethods()
[all …]
Dcsharp_reflection_class.cc81 printer->Indent(); in Generate()
142 printer->Indent(); in WriteIntroduction()
153 printer->Indent(); in WriteIntroduction()
168 printer->Indent(); in WriteDescriptor()
171 printer->Indent(); in WriteDescriptor()
172 printer->Indent(); in WriteDescriptor()
174 printer->Indent(); in WriteDescriptor()
223 printer->Indent(); in WriteDescriptor()
224 printer->Indent(); in WriteDescriptor()
225 printer->Indent(); in WriteDescriptor()

1234567891011