/third_party/flatbuffers/src/ |
D | idl_gen_php.cpp | 29 const std::string Indent = " "; variable 125 code += Indent + "const "; in EnumMember() 142 code += Indent + "/**\n"; in NewRootTypeFromBuffer() 143 code += Indent + " * @param ByteBuffer $bb\n"; in NewRootTypeFromBuffer() 144 code += Indent + " * @return " + struct_def.name + "\n"; in NewRootTypeFromBuffer() 145 code += Indent + " */\n"; in NewRootTypeFromBuffer() 146 code += Indent + "public static function getRootAs"; in NewRootTypeFromBuffer() 149 code += Indent + "{\n"; in NewRootTypeFromBuffer() 151 code += Indent + Indent + "$obj = new " + struct_def.name + "();\n"; in NewRootTypeFromBuffer() 152 code += Indent + Indent; in NewRootTypeFromBuffer() [all …]
|
D | idl_gen_python.cpp | 35 const std::string Indent = " "; variable 57 return "\n" + Indent + Indent + in OffsetPrefix() 60 Indent + Indent + "if o != 0:\n"; in OffsetPrefix() 67 code += Indent + "__slots__ = ['_tab']"; in BeginClass() 103 return "\n" + std::string(num * Indent.length(), ' '); in GenIndents() 110 code += Indent; in EnumMember() 127 code += Indent + "@classmethod\n"; in NewRootTypeFromBuffer() 128 code += Indent + "def GetRootAs"; in NewRootTypeFromBuffer() 131 code += Indent + Indent; in NewRootTypeFromBuffer() 134 code += Indent + Indent + "x = " + NormalizedName(struct_def) + "()\n"; in NewRootTypeFromBuffer() [all …]
|
D | idl_gen_lua.cpp | 32 const char *Indent = " "; variable 57 return std::string(Indent) + "local o = " + SelfData + ":Offset(" + in OffsetPrefix() 58 NumToString(field.value.offset) + ")\n" + Indent + in OffsetPrefix() 97 code += std::string(Indent) + NormalizedName(ev) + " = " + in EnumMember() 112 code += std::string(Indent) + "local o = {}\n"; in GenerateNewObjectPrototype() 113 code += std::string(Indent) + in GenerateNewObjectPrototype() 116 code += std::string(Indent) + "return o\n"; in GenerateNewObjectPrototype() 127 code += std::string(Indent) + "if type(buf) == \"string\" then\n"; in NewRootTypeFromBuffer() 128 code += std::string(Indent) + Indent + in NewRootTypeFromBuffer() 130 code += std::string(Indent) + "end\n"; in NewRootTypeFromBuffer() [all …]
|
D | idl_gen_json_schema.cpp | 164 std::string Indent(int indent) const { in Indent() function in flatbuffers::jsons::JsonSchemaGenerator 173 code_ += Indent(1) + in generate() 176 code_ += Indent(1) + "\"definitions\": {" + NewLine(); in generate() 179 code_ += Indent(2) + "\"" + GenFullName(*e) + "\" : {" + NewLine(); in generate() 180 code_ += Indent(3) + GenType("string") + "," + NewLine(); in generate() 181 auto enumdef(Indent(3) + "\"enum\": ["); in generate() 189 code_ += Indent(2) + "}," + NewLine(); // close type in generate() 194 code_ += Indent(2) + "\"" + GenFullName(structure) + "\" : {" + NewLine(); in generate() 195 code_ += Indent(3) + GenType("object") + "," + NewLine(); in generate() 209 Indent(3) + "\"description\" : " + description + "," + NewLine(); in generate() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | StringMatcher.cpp | 52 std::string Indent(IndentCount * 2 + 4, ' '); in EmitStringMatcherForChar() local 64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; in EmitStringMatcherForChar() 69 OS << Indent << Split.first << "\n"; in EmitStringMatcherForChar() 92 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" in EmitStringMatcherForChar() 94 OS << Indent << " break;\n"; in EmitStringMatcherForChar() 98 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo in EmitStringMatcherForChar() 101 OS << Indent << " break;\n"; in EmitStringMatcherForChar() 110 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; in EmitStringMatcherForChar() 111 OS << Indent << "default: break;\n"; in EmitStringMatcherForChar() 116 OS << Indent << "case '" << LI->first << "':\t // " in EmitStringMatcherForChar() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeTypeUDT.cpp | 37 void NativeTypeUDT::dump(raw_ostream &OS, int Indent, in dump() argument 41 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump() 43 dumpSymbolField(OS, "name", getName(), Indent); in dump() 44 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump() 48 dumpSymbolIdField(OS, "unmodifiedTypeId", getUnmodifiedTypeId(), Indent, in dump() 53 Indent); in dump() 54 dumpSymbolField(OS, "length", getLength(), Indent); in dump() 55 dumpSymbolField(OS, "udtKind", getUdtKind(), Indent); in dump() 56 dumpSymbolField(OS, "constructor", hasConstructor(), Indent); in dump() 57 dumpSymbolField(OS, "constType", isConstType(), Indent); in dump() [all …]
|
D | NativeTypePointer.cpp | 34 void NativeTypePointer::dump(raw_ostream &OS, int Indent, in dump() argument 37 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump() 40 dumpSymbolIdField(OS, "classParentId", getClassParentId(), Indent, Session, in dump() 44 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump() 47 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump() 49 dumpSymbolField(OS, "length", getLength(), Indent); in dump() 50 dumpSymbolField(OS, "constType", isConstType(), Indent); in dump() 51 dumpSymbolField(OS, "isPointerToDataMember", isPointerToDataMember(), Indent); in dump() 53 Indent); in dump() 54 dumpSymbolField(OS, "RValueReference", isRValueReference(), Indent); in dump() [all …]
|
D | NativeTypeArray.cpp | 26 void NativeTypeArray::dump(raw_ostream &OS, int Indent, in dump() argument 29 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump() 31 dumpSymbolField(OS, "arrayIndexTypeId", getArrayIndexTypeId(), Indent); in dump() 32 dumpSymbolIdField(OS, "elementTypeId", getTypeId(), Indent, Session, in dump() 35 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump() 38 dumpSymbolField(OS, "length", getLength(), Indent); in dump() 39 dumpSymbolField(OS, "count", getCount(), Indent); in dump() 40 dumpSymbolField(OS, "constType", isConstType(), Indent); in dump() 41 dumpSymbolField(OS, "unalignedType", isUnalignedType(), Indent); in dump() 42 dumpSymbolField(OS, "volatileType", isVolatileType(), Indent); in dump()
|
D | NativeSymbolEnumerator.cpp | 27 void NativeSymbolEnumerator::dump(raw_ostream &OS, int Indent, in dump() argument 30 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump() 31 dumpSymbolIdField(OS, "classParentId", getClassParentId(), Indent, Session, in dump() 34 dumpSymbolIdField(OS, "lexicalParentId", getLexicalParentId(), Indent, in dump() 37 dumpSymbolField(OS, "name", getName(), Indent); in dump() 38 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump() 40 dumpSymbolField(OS, "dataKind", getDataKind(), Indent); in dump() 41 dumpSymbolField(OS, "locationType", getLocationType(), Indent); in dump() 42 dumpSymbolField(OS, "constType", isConstType(), Indent); in dump() 43 dumpSymbolField(OS, "unalignedType", isUnalignedType(), Indent); in dump() [all …]
|
D | NativeTypeFunctionSig.cpp | 33 void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, in dump() argument 35 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump() 37 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump() 108 void NativeTypeFunctionSig::dump(raw_ostream &OS, int Indent, in dump() argument 112 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump() 114 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump() 118 dumpSymbolField(OS, "callingConvention", getCallingConvention(), Indent); in dump() 119 dumpSymbolField(OS, "count", getCount(), Indent); in dump() 120 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump() 123 dumpSymbolField(OS, "thisAdjust", getThisAdjust(), Indent); in dump() [all …]
|
D | NativeTypeEnum.cpp | 128 void NativeTypeEnum::dump(raw_ostream &OS, int Indent, in dump() argument 131 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump() 134 Indent); in dump() 135 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump() 138 dumpSymbolField(OS, "name", getName(), Indent); in dump() 139 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, in dump() 142 dumpSymbolIdField(OS, "unmodifiedTypeId", getUnmodifiedTypeId(), Indent, in dump() 145 dumpSymbolField(OS, "length", getLength(), Indent); in dump() 146 dumpSymbolField(OS, "constructor", hasConstructor(), Indent); in dump() 147 dumpSymbolField(OS, "constType", isConstType(), Indent); in dump() [all …]
|
D | NativeTypeVTShape.cpp | 15 void NativeTypeVTShape::dump(raw_ostream &OS, int Indent, in dump() argument 18 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump() 20 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump() 23 dumpSymbolField(OS, "count", getCount(), Indent); in dump() 24 dumpSymbolField(OS, "constType", isConstType(), Indent); in dump() 25 dumpSymbolField(OS, "unalignedType", isUnalignedType(), Indent); in dump() 26 dumpSymbolField(OS, "volatileType", isVolatileType(), Indent); in dump()
|
D | NativeCompilandSymbol.cpp | 26 void NativeCompilandSymbol::dump(raw_ostream &OS, int Indent, in dump() argument 29 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); in dump() 31 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, in dump() 34 dumpSymbolField(OS, "libraryName", getLibraryName(), Indent); in dump() 35 dumpSymbolField(OS, "name", getName(), Indent); in dump() 37 Indent); in dump()
|
/third_party/flatbuffers/grpc/src/compiler/ |
D | go_generator.cc | 77 printer->Indent(); in GenerateError() 93 printer->Indent(); in GenerateImports() 127 printer->Indent(); in GenerateServerMethod() 132 printer->Indent(); in GenerateServerMethod() 137 printer->Indent(); in GenerateServerMethod() 144 printer->Indent(); in GenerateServerMethod() 146 printer->Indent(); in GenerateServerMethod() 157 printer->Indent(); in GenerateServerMethod() 174 printer->Indent(); in GenerateServerMethod() 189 printer->Indent(); in GenerateServerMethod() [all …]
|
D | python_generator.cc | 54 printer->Indent(); in GenerateStub() 58 printer->Indent(); in GenerateStub() 69 printer->Indent(); in GenerateStub() 85 printer->Indent(); in GenerateServicer() 94 printer->Indent(); in GenerateServicer() 111 printer->Indent(); in GenerateRegister() 113 printer->Indent(); in GenerateRegister() 119 printer->Indent(); in GenerateRegister() 127 printer->Indent(); in GenerateRegister()
|
D | java_generator.cc | 516 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 …]
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_service.cc | 72 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() 206 printer->Indent(); in GenerateCallMethod() 207 printer->Indent(); in GenerateCallMethod() 253 printer->Indent(); in GenerateCallBlockingMethod() 254 printer->Indent(); in GenerateCallBlockingMethod() [all …]
|
D | java_message.cc | 273 printer->Indent(); in GenerateInterface() 342 printer->Indent(); in Generate() 354 printer->Indent(); in Generate() 428 printer->Indent(); in Generate() 582 printer->Indent(); in GenerateMessageSerializationMethods() 641 printer->Indent(); in GenerateMessageSerializationMethods() 828 printer->Indent(); in GenerateDescriptorMethods() 829 printer->Indent(); in GenerateDescriptorMethods() 874 printer->Indent(); in GenerateIsInitialized() 995 printer->Indent(); in GenerateEqualsAndHashCode() [all …]
|
D | java_message_builder.cc | 111 printer->Indent(); in Generate() 223 printer->Indent(); in GenerateDescriptorMethods() 224 printer->Indent(); in GenerateDescriptorMethods() 248 printer->Indent(); in GenerateDescriptorMethods() 249 printer->Indent(); in GenerateDescriptorMethods() 311 printer->Indent(); in GenerateCommonBuilderMethods() 312 printer->Indent(); in GenerateCommonBuilderMethods() 331 printer->Indent(); in GenerateCommonBuilderMethods() 391 printer->Indent(); in GenerateCommonBuilderMethods() 536 printer->Indent(); in GenerateCommonBuilderMethods() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | VPlan.cpp | 355 void VPInstruction::print(raw_ostream &O, const Twine &Indent) const { in print() 356 O << " +\n" << Indent << "\"EMIT "; in print() 572 OS << Indent << getUID(Tail) << " -> " << getUID(Head); in drawEdge() 598 OS << Indent << getUID(BasicBlock) << " [label =\n"; in dumpBasicBlock() 600 OS << Indent << "\"" << DOT::EscapeString(BasicBlock->getName()) << ":\\n\""; in dumpBasicBlock() 606 OS << " +\n" << Indent << " \"BlockPredicate: "; in dumpBasicBlock() 616 Recipe.print(OS, Indent); in dumpBasicBlock() 621 OS << " +\n" << Indent << " \"CondBit: "; in dumpBasicBlock() 632 OS << "\n" << Indent << "]\n"; in dumpBasicBlock() 637 OS << Indent << "subgraph " << getUID(Region) << " {\n"; in dumpRegion() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_message.cc | 137 printer->Indent(); in Generate() 237 printer->Indent(); in Generate() 317 printer->Indent(); in Generate() 343 printer->Indent(); in Generate() 383 printer->Indent(); in GenerateCloningCode() 402 printer->Indent(); in GenerateCloningCode() 410 printer->Indent(); in GenerateCloningCode() 461 printer->Indent(); in GenerateFrameworkMethods() 488 printer->Indent(); in GenerateFrameworkMethods() 524 printer->Indent(); in GenerateMessageSerializationMethods() [all …]
|
D | csharp_reflection_class.cc | 81 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()
|
/third_party/grpc/src/compiler/ |
D | csharp_generator.cc | 335 out->Indent(); in GenerateMarshallerFields() 340 out->Indent(); in GenerateMarshallerFields() 360 out->Indent(); in GenerateMarshallerFields() 375 out->Indent(); in GenerateMarshallerFields() 380 out->Indent(); in GenerateMarshallerFields() 411 out->Indent(); in GenerateStaticMethodField() 412 out->Indent(); in GenerateStaticMethodField() 455 out->Indent(); in GenerateServerClass() 468 out->Indent(); in GenerateServerClass() 486 out->Indent(); in GenerateClientStub() [all …]
|
D | php_generator.cc | 92 out->Indent(); in PrintMethod() 93 out->Indent(); in PrintMethod() 116 out->Indent(); in PrintMethod() 117 out->Indent(); in PrintMethod() 143 out->Indent(); in PrintService() 144 out->Indent(); in PrintService() 152 out->Indent(); in PrintService() 153 out->Indent(); in PrintService()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | SampleProf.cpp | 107 void SampleRecord::print(raw_ostream &OS, unsigned Indent) const { in print() 128 void FunctionSamples::print(raw_ostream &OS, unsigned Indent) const { in print() 132 OS.indent(Indent); in print() 137 OS.indent(Indent + 2); in print() 140 OS.indent(Indent); in print() 146 OS.indent(Indent); in print() 153 OS.indent(Indent + 2); in print() 155 FS.second.print(OS, Indent + 4); in print() 158 OS.indent(Indent); in print()
|