/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | KeyTest.java | 73 keyFactory.forInjectConstructorWithResolvedType(constructor.getEnclosingElement().asType())) in forInjectConstructorWithResolvedType() 76 MoreTypes.equivalence().wrap(typeElement.asType()))); in forInjectConstructorWithResolvedType() 85 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod() 91 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod)) in forProvidesMethod() 105 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod_qualified() 113 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod); in forProvidesMethod_qualified() 115 .isEqualTo(MoreTypes.equivalence().wrap(qualifierElement.asType())); in forProvidesMethod_qualified() 125 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod); in qualifiedKeyEquivalents() 127 TypeMirror type = elements.getTypeElement(String.class.getCanonicalName()).asType(); in qualifiedKeyEquivalents() 160 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod_sets() [all …]
|
D | BindingFieldTest.java | 65 getXConstructor().getEnclosingElement().asType()); in frameworkType() 81 getXConstructor().getEnclosingElement().asType()); in nameSuffix()
|
/external/skia/src/core/ |
D | SkRect.cpp | 143 static const char* set_scalar(SkString* storage, SkScalar value, SkScalarAsStringType asType) { in set_scalar() argument 145 SkAppendScalar(storage, value, asType); in set_scalar() 150 SkScalarAsStringType asType = asHex ? kHex_SkScalarAsStringType : kDec_SkScalarAsStringType; in dump() local 155 line.printf( "SkRect::MakeLTRB(%s, /* %f */\n", set_scalar(&tmp, fLeft, asType), fLeft); in dump() 156 line.appendf(" %s, /* %f */\n", set_scalar(&tmp, fTop, asType), fTop); in dump() 157 line.appendf(" %s, /* %f */\n", set_scalar(&tmp, fRight, asType), fRight); in dump() 158 line.appendf(" %s /* %f */);", set_scalar(&tmp, fBottom, asType), fBottom); in dump()
|
D | SkStringUtils.cpp | 21 void SkAppendScalar(SkString* str, SkScalar value, SkScalarAsStringType asType) { in SkAppendScalar() argument 22 switch (asType) { in SkAppendScalar()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | ProvisionBinding.java | 99 ExecutableType cxtorType = MoreTypes.asExecutable(constructorElement.asType()); in forInjectConstructor() 101 MoreTypes.asDeclared(constructorElement.getEnclosingElement().asType()); in forInjectConstructor() 124 MoreElements.asType(constructorElement.getEnclosingElement()); in forInjectConstructor() 144 TypeElement typeElement = MoreElements.asType(type.asElement()); in membersInjectionRequest() 145 if (!types.isSameType(elements.getTypeElement(Object.class.getCanonicalName()).asType(), in membersInjectionRequest() 216 keyFactory.forComponent(componentDefinitionType.asType()), in forComponent() 253 DeclaredType declaredContainer = asDeclared(contributedBy.asType()); in forSubcomponentBuilderMethod()
|
D | MapKeyProcessingStep.java | 77 getUnwrappedMapKeyType(MoreTypes.asDeclared(element.asType()), types); in process() 81 MoreElements.asType(element), MoreTypes.asTypeElement(keyType))); in process() 84 writeCreatorClass(wrappedMapKey(MoreElements.asType(element))); in process()
|
D | MethodSignatureFormatter.java | 59 TypeElement type = MoreElements.asType(method.getEnclosingElement()); in format() 60 ExecutableType executableType = MoreTypes.asExecutable(method.asType()); in format() 63 type = MoreElements.asType(container.get().asElement()); in format()
|
D | InjectProcessingStep.java | 101 MoreTypes.asDeclared(constructorElement.getEnclosingElement().asType()); in process() 118 MoreTypes.asDeclared(fieldElement.getEnclosingElement().asType())); in process() 133 MoreTypes.asDeclared(methodElement.getEnclosingElement().asType())); in process()
|
D | DependencyRequestFormatter.java | 77 appendParameter(componentMethodParameter, componentMethodParameter.asType(), builder); in format() 80 .append(componentMethodParameter.asType()) in format() 146 TypeElement type = MoreElements.asType(member.getEnclosingElement());
|
D | ComponentProcessingStep.java | 112 componentBuilderValidator.validate(MoreElements.asType(element)); 124 subcomponentBuilderValidator.validate(MoreElements.asType(element)); 137 MoreElements.asType(element), subcomponentElements, subcomponentBuilderElements);
|
D | MembersInjectionBinding.java | 163 DeclaredType unresolved = MoreTypes.asDeclared(binding.bindingElement().asType()); in unresolve() 213 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); in forInjectedType() 233 ancestors.add(MoreElements.asType(type.asElement())); in getInjectionSites() 289 TypeElement injectionSiteType = MoreElements.asType(injectionSite.getEnclosingElement()); in shouldBeInjected()
|
D | Binding.java | 195 TypeElement typeElement = MoreElements.asType(t.asElement()); in nonPublicPackageUse() 204 typeElement.getEnclosingElement().asType().accept(this, p); in nonPublicPackageUse() 244 defaultTypes.add(parameter.asType()); in hasNonDefaultTypeParameters()
|
D | BuilderValidator.java | 112 MoreTypes.asExecutable(types.asMemberOf(MoreTypes.asDeclared(subject.asType()), method)); in validate() 116 if (types.isSameType(returnType, componentElement.asType())) { in validate() 132 && !types.isSubtype(subject.asType(), returnType)) { in validate()
|
D | ComponentDescriptor.java | 268 DeclaredType declaredComponentType = MoreTypes.asDeclared(componentDefinitionType.asType()); 323 MoreElements.asType(MoreTypes.asElement(resolvedMethod.getReturnType())), 330 MoreElements.asType( 364 MoreTypes.asDeclared(componentElement.asType()), componentMethod)); 451 map.build(), buildMethod, element.getEnclosingElement().asType()));
|
D | InjectConstructorValidator.java | 55 ValidationReport.about(MoreElements.asType(constructorElement.getEnclosingElement())); in validate() 74 MoreElements.asType(constructorElement.getEnclosingElement()); in validate()
|
D | ModuleProcessingStep.java | 94 moduleValidator.validate(MoreElements.asType(moduleElement)); in process() 118 providesMethod.getEnclosingElement().asType()); in process()
|
D | Key.java | 95 return kind.isPrimitive() ? types.boxedClass((PrimitiveType) type).asType() : type; in normalize() 124 TypeElement element = MoreElements.asType(type.asElement()); in isValidImplicitProvisionKey() 143 return MoreTypes.asDeclared(element.asType()).getTypeArguments().isEmpty() in isValidImplicitProvisionKey() 144 || !types.isSameType(types.erasure(element.asType()), type()); in isValidImplicitProvisionKey()
|
D | ConfigurationAnnotations.java | 165 TypeMirror objectType = elements.getTypeElement(Object.class.getCanonicalName()).asType(); in getTransitiveModules() 200 builders.add(MoreTypes.asDeclared(element.asType())); in enclosedBuilders() 230 element = MoreElements.asType(types.asElement(superclass)); in addIncludesFromSuperclasses()
|
D | ProducerModuleProcessingStep.java | 97 moduleValidator.validate(MoreElements.asType(moduleElement)); in process() 121 producesMethod.getEnclosingElement().asType()); in process()
|
D | ModuleDescriptor.java | 75 provisionBindingFactory.forProvidesMethod(moduleMethod, moduleElement.asType())); 79 productionBindingFactory.forProducesMethod(moduleMethod, moduleElement.asType()));
|
D | ContributionBindingFormatter.java | 48 Optional.of(asDeclared(binding.contributedBy().get().asType()))); in format()
|
D | ModuleValidator.java | 168 final TypeElement element = MoreElements.asType(t.asElement()); in validateReferencedModules() 237 TypeMirror objectType = elements.getTypeElement(Object.class.getCanonicalName()).asType(); in validateProvidesOverrides() 241 currentClass = MoreElements.asType(types.asElement(currentClass.getSuperclass())); in validateProvidesOverrides()
|
D | SubcomponentWriter.java | 104 MoreTypes.asDeclared(parent.componentDefinitionType().asType()), in resolvedSubcomponentFactoryMethod() 147 spec.builderDefinitionType().asType(), in addFactoryMethods()
|
/external/r8/src/test/examplesAndroidO/invokecustom/ |
D | InvokeCustom.java | 81 return new ConstantCallSite(targetMH.asType(type)); in bsmLookupStatic() 93 return new ConstantCallSite(targetMH.asType(type)); in bsmLookupStaticWithExtraArgs()
|
/external/swiftshader/third_party/subzero/src/ |
D | README.SIMD.rst | 41 Variable::asType() to convert any mem128 Variables into a compatible memory 45 OperandX8632Mem::asType().
|