/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | TypeSpecTest.java | 60 TypeSpec taco = TypeSpec.classBuilder("Taco") in basic() 90 TypeSpec taco = TypeSpec.classBuilder("Taco") in interestingTypes() 125 TypeSpec aSimpleThung = TypeSpec.anonymousClassBuilder(CodeBlock.of("$N", thungParameter)) in anonymousInnerClass() 134 TypeSpec aThingThang = TypeSpec.anonymousClassBuilder("") in anonymousInnerClass() 144 TypeSpec taco = TypeSpec.classBuilder("Taco") in anonymousInnerClass() 172 TypeSpec service = TypeSpec.classBuilder("Foo") in annotatedParameters() 213 TypeSpec taco = TypeSpec.classBuilder("EthicalTaco") in annotationsAndJavaLangTypes() 241 TypeSpec service = TypeSpec.interfaceBuilder("Service") in retrofitStyleInterface() 288 TypeSpec taco = TypeSpec.classBuilder("Taco") in annotatedField() 308 TypeSpec taco = TypeSpec.classBuilder("Foo") in annotatedClass() [all …]
|
D | JavaFileTest.java | 47 TypeSpec hello = TypeSpec.classBuilder("HelloWorld") in importStaticReadmeExample() 80 TypeSpec.classBuilder("Taco") in importStaticForCrazyFormatsWorks() 103 TypeSpec.classBuilder("Taco") in importStaticMixed() 142 TypeSpec.classBuilder("Taco") in importStaticDynamic() 234 private TypeSpec importStaticTypeSpec(String name) { in importStaticTypeSpec() 242 return TypeSpec.classBuilder(name).addMethod(method).build(); in importStaticTypeSpec() 247 TypeSpec.classBuilder("Taco").build()) in noImports() 259 TypeSpec.classBuilder("Taco") in singleImport() 276 TypeSpec.classBuilder("Taco") in conflictingImports() 296 TypeSpec.classBuilder("Taco") in annotatedTypeParam() [all …]
|
D | FileWritingTest.java | 52 TypeSpec type = TypeSpec.classBuilder("Test").build(); in pathNotDirectory() 66 TypeSpec type = TypeSpec.classBuilder("Test").build(); in fileNotDirectory() 80 TypeSpec type = TypeSpec.classBuilder("Test").build(); in pathDefaultPackage() 88 TypeSpec type = TypeSpec.classBuilder("Test").build(); in fileDefaultPackage() 96 TypeSpec type = TypeSpec.classBuilder("Test").build(); in filerDefaultPackage() 104 TypeSpec type = TypeSpec.classBuilder("Test").build(); in pathNestedClasses() 118 TypeSpec type = TypeSpec.classBuilder("Test").build(); in fileNestedClasses() 135 TypeSpec type = TypeSpec.classBuilder("Test").build(); in filerNestedClasses() 150 TypeSpec test1 = TypeSpec.classBuilder("Test1") in filerPassesOriginatingElements() 156 TypeSpec test2 = TypeSpec.classBuilder("Test2") in filerPassesOriginatingElements() [all …]
|
D | FileReadingTest.java | 49 TypeSpec type = TypeSpec.classBuilder("Test").build(); in javaFileObjectUri() 59 JavaFile javaFile = JavaFile.builder("", TypeSpec.classBuilder("Test").build()).build(); in javaFileObjectKind() 64 TypeSpec type = TypeSpec.classBuilder("Test") in javaFileObjectCharacterContent() 77 JavaFile javaFile = JavaFile.builder("foo", TypeSpec.classBuilder("Test").build()) in javaFileObjectInputStreamIsUtf8() 88 TypeSpec type = TypeSpec.classBuilder("Test") in compileJavaFile()
|
D | AnnotationSpecTest.java | 123 TypeSpec taco = TypeSpec.classBuilder("Taco") in defaultAnnotation() 159 TypeSpec.Builder typeBuilder = TypeSpec.classBuilder(IsAnnotated.class.getSimpleName()); in defaultAnnotationWithImport() 265 TypeSpec taco = TypeSpec.classBuilder("Taco") in reflectAnnotation() 299 TypeSpec taco = TypeSpec.classBuilder("Taco") in reflectAnnotationWithDefaults() 374 private String toString(TypeSpec typeSpec) { in toString()
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | TypeSpec.java | 40 public final class TypeSpec { class 50 public final Map<String, TypeSpec> enumConstants; 55 public final List<TypeSpec> typeSpecs; 58 private TypeSpec(Builder builder) { in TypeSpec() method in TypeSpec 77 for (TypeSpec typeSpec : builder.typeSpecs) { in TypeSpec() 87 private TypeSpec(TypeSpec type) { in TypeSpec() method in TypeSpec 198 codeWriter.pushType(new TypeSpec(this)); in emit() 250 for (Iterator<Map.Entry<String, TypeSpec>> i = enumConstants.entrySet().iterator(); in emit() 252 Map.Entry<String, TypeSpec> enumConstant = i.next(); in emit() 311 for (TypeSpec typeSpec : typeSpecs) { in emit() [all …]
|
D | CodeWriter.java | 54 private final List<TypeSpec> typeSpecStack = new ArrayList<>(); 124 public CodeWriter pushType(TypeSpec type) { in pushType() 336 if (o instanceof TypeSpec) { in emitLiteral() 337 TypeSpec typeSpec = (TypeSpec) o; in emitLiteral() 409 TypeSpec typeSpec = typeSpecStack.get(i); in resolve() 410 for (TypeSpec visibleChild : typeSpec.typeSpecs) { in resolve()
|
D | JavaFile.java | 59 public final TypeSpec typeSpec; 201 public static Builder builder(String packageName, TypeSpec typeSpec) { in builder() 217 private final TypeSpec typeSpec; 223 private Builder(String packageName, TypeSpec typeSpec) { in Builder()
|
D | CodeBlock.java | 343 if (o instanceof TypeSpec) return ((TypeSpec) o).name;
|
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/ |
D | OperatorProcessor.java | 28 import com.squareup.javapoet.TypeSpec; 170 private void write(TypeSpec spec) { in write() 184 TypeSpec groupClass = buildGroupClass(entry.getKey(), entry.getValue()); in writeApi() 190 TypeSpec topClass = buildTopClass(groups, groupedMethods.get("")); in writeApi() 298 private static TypeSpec buildGroupClass(String group, Collection<MethodSpec> methods) { in buildGroupClass() 304 TypeSpec.Builder builder = in buildGroupClass() 305 TypeSpec.classBuilder(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, group) + "Ops") in buildGroupClass() 322 private static TypeSpec buildTopClass( in buildTopClass() 334 TypeSpec.Builder opsBuilder = in buildTopClass() 335 TypeSpec.classBuilder("Ops") in buildTopClass()
|
/external/javapoet/ |
D | README.md | 35 TypeSpec helloWorld = TypeSpec.classBuilder("HelloWorld") 58 and varargs to make the API friendly. JavaPoet offers models for classes & interfaces (`TypeSpec`), 163 TypeSpec helloWorld = TypeSpec.classBuilder("HelloWorld") 214 TypeSpec helloWorld = TypeSpec.classBuilder("HelloWorld") 326 TypeSpec hello = TypeSpec.classBuilder("HelloWorld") 447 TypeSpec helloWorld = TypeSpec.classBuilder("HelloWorld") 480 TypeSpec helloWorld = TypeSpec.classBuilder("HelloWorld") 537 TypeSpec helloWorld = TypeSpec.classBuilder("HelloWorld") 578 TypeSpec helloWorld = TypeSpec.interfaceBuilder("HelloWorld") 606 TypeSpec helloWorld = TypeSpec.enumBuilder("Roshambo") [all …]
|
D | CHANGELOG.md | 39 * New: `MethodSpec.Builder.addNamedCode()` and `TypeSpec.anonymousClassBuilder(CodeBlock)`. 65 * New: `addJavadoc(CodeBlock)` overloads for TypeSpec, MethodSpec, and FieldSpec. 91 * New: Add `TypeSpec` factory methods that take a `ClassName`. 94 * New: `TypeSpec.Builder.addInitializerBlock()` adds an instance initializer. 95 * Fix: Make `TypeSpec.Kind` enum public. This can be used to check if a `TypeSpec` is a class, 127 `MethodSpec`, `ParameterSpec`, `TypeName`, and `TypeSpec`.
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | LoadedArsc.java | 79 static class TypeSpec { class in LoadedArsc 190 TypeSpec Build() { in Build() 195 if ((Integer.MAX_VALUE - TypeSpec.SIZEOF) / 4 < types_.size()) { in Build() 200 TypeSpec type_spec = new TypeSpec(); in Build() 365 final Map<Integer, TypeSpec> type_specs_ = new HashMap<>(); 445 TypeSpec type_spec = type_specs_.get(i); in CollectConfigurations() 480 TypeSpec type_spec = type_specs_.get(i); in CollectLocales() 510 TypeSpec type_spec = type_specs_.get(type_idx); in FindEntryByName() 765 TypeSpec type_spec_ptr = entry.getValue().Build(); in Load() 828 TypeSpec GetTypeSpecByTypeIndex(int type_index) { in GetTypeSpecByTypeIndex() [all …]
|
D | CppAssetManager2.java | 36 import org.robolectric.res.android.LoadedArsc.TypeSpec; 668 TypeSpec type_spec = loaded_package.GetTypeSpecByTypeIndex(type_idx); in FindEntry() 1305 impl.loaded_package_.ForEachTypeSpec((TypeSpec spec, byte type_index) -> { in RebuildFilterList()
|
/external/clang/lib/AST/ |
D | NestedNameSpecifier.cpp | 147 return TypeSpec; in getKind() 211 case TypeSpec: in isDependent() 233 case TypeSpec: in isInstantiationDependent() 252 case TypeSpec: in containsUnexpandedParameterPack() 295 case TypeSpec: { in print() 360 case NestedNameSpecifier::TypeSpec: in getLocalDataLength() 425 case NestedNameSpecifier::TypeSpec: { in getLocalSourceRange() 439 assert((Qualifier->getKind() == NestedNameSpecifier::TypeSpec || in getTypeLoc() 637 case NestedNameSpecifier::TypeSpec: in MakeTrivial()
|
D | Type.cpp | 2378 TypeWithKeyword::getKeywordForTypeSpec(unsigned TypeSpec) { in getKeywordForTypeSpec() argument 2379 switch (TypeSpec) { in getKeywordForTypeSpec() 2391 TypeWithKeyword::getTagTypeKindForTypeSpec(unsigned TypeSpec) { in getTagTypeKindForTypeSpec() argument 2392 switch(TypeSpec) { in getTagTypeKindForTypeSpec()
|
D | ItaniumMangle.cpp | 1110 case NestedNameSpecifier::TypeSpec: in mangleUnresolvedPrefix() 1628 case NestedNameSpecifier::TypeSpec: in manglePrefix()
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 109 class TypeSpec : public std::string { class 111 static std::vector<TypeSpec> fromTypeSpecs(StringRef Str) { in fromTypeSpecs() 112 std::vector<TypeSpec> Ret; in fromTypeSpecs() 113 TypeSpec Acc; in fromTypeSpecs() 117 Ret.push_back(TypeSpec(Acc)); in fromTypeSpecs() 134 TypeSpec TS; 149 Type(TypeSpec TS, char CharMod) in Type() 283 TypeSpec OutTS, InTS; 324 Intrinsic(Record *R, StringRef Name, StringRef Proto, TypeSpec OutTS, in Intrinsic() 325 TypeSpec InTS, ClassKind CK, ListInit *Body, NeonEmitter &Emitter, in Intrinsic() [all …]
|
/external/libchrome/mojo/public/tools/bindings/ |
D | README.md | 705 StructField = AttributeSection TypeSpec Name Orginal Default ";" 709 UnionField = AttributeSection TypeSpec Name Ordinal ";" 720 Parameter = AttributeSection TypeSpec Name Ordinal 723 TypeSpec = TypeName "?" | TypeName 737 Array = "array" "<" TypeSpec ">" 738 FixedArray = "array" "<" TypeSpec "," IntConstDec ">" 739 Map = "map" "<" Identifier "," TypeSpec ">" 753 Const = "const" TypeSpec Name "=" Constant ";"
|
/external/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 180 case NestedNameSpecifier::TypeSpec: in indexNestedNameSpecifierLoc()
|
/external/clang/include/clang/AST/ |
D | NestedNameSpecifier.h | 82 TypeSpec, enumerator
|
D | RecursiveASTVisitor.h | 714 case NestedNameSpecifier::TypeSpec: 739 case NestedNameSpecifier::TypeSpec:
|
/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 292 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()
|
/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 152 case NestedNameSpecifier::TypeSpec: in computeDeclContext() 1041 case NestedNameSpecifier::TypeSpec: in ShouldEnterDeclaratorScope()
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 253 case NestedNameSpecifier::TypeSpec: in getFullyQualifiedNestedNameSpecifier()
|