Home
last modified time | relevance | path

Searched refs:asType (Results 1 – 25 of 48) sorted by relevance

12

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DKeyTest.java73 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 …]
DBindingFieldTest.java65 getXConstructor().getEnclosingElement().asType()); in frameworkType()
81 getXConstructor().getEnclosingElement().asType()); in nameSuffix()
/external/skia/src/core/
DSkRect.cpp143 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()
DSkStringUtils.cpp21 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/
DProvisionBinding.java99 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()
DMapKeyProcessingStep.java77 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()
DMethodSignatureFormatter.java59 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()
DInjectProcessingStep.java101 MoreTypes.asDeclared(constructorElement.getEnclosingElement().asType()); in process()
118 MoreTypes.asDeclared(fieldElement.getEnclosingElement().asType())); in process()
133 MoreTypes.asDeclared(methodElement.getEnclosingElement().asType())); in process()
DDependencyRequestFormatter.java77 appendParameter(componentMethodParameter, componentMethodParameter.asType(), builder); in format()
80 .append(componentMethodParameter.asType()) in format()
146 TypeElement type = MoreElements.asType(member.getEnclosingElement());
DComponentProcessingStep.java112 componentBuilderValidator.validate(MoreElements.asType(element));
124 subcomponentBuilderValidator.validate(MoreElements.asType(element));
137 MoreElements.asType(element), subcomponentElements, subcomponentBuilderElements);
DMembersInjectionBinding.java163 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()
DBinding.java195 TypeElement typeElement = MoreElements.asType(t.asElement()); in nonPublicPackageUse()
204 typeElement.getEnclosingElement().asType().accept(this, p); in nonPublicPackageUse()
244 defaultTypes.add(parameter.asType()); in hasNonDefaultTypeParameters()
DBuilderValidator.java112 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()
DComponentDescriptor.java268 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()));
DInjectConstructorValidator.java55 ValidationReport.about(MoreElements.asType(constructorElement.getEnclosingElement())); in validate()
74 MoreElements.asType(constructorElement.getEnclosingElement()); in validate()
DModuleProcessingStep.java94 moduleValidator.validate(MoreElements.asType(moduleElement)); in process()
118 providesMethod.getEnclosingElement().asType()); in process()
DKey.java95 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()
DConfigurationAnnotations.java165 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()
DProducerModuleProcessingStep.java97 moduleValidator.validate(MoreElements.asType(moduleElement)); in process()
121 producesMethod.getEnclosingElement().asType()); in process()
DModuleDescriptor.java75 provisionBindingFactory.forProvidesMethod(moduleMethod, moduleElement.asType()));
79 productionBindingFactory.forProducesMethod(moduleMethod, moduleElement.asType()));
DContributionBindingFormatter.java48 Optional.of(asDeclared(binding.contributedBy().get().asType()))); in format()
DModuleValidator.java168 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()
DSubcomponentWriter.java104 MoreTypes.asDeclared(parent.componentDefinitionType().asType()), in resolvedSubcomponentFactoryMethod()
147 spec.builderDefinitionType().asType(), in addFactoryMethods()
/external/r8/src/test/examplesAndroidO/invokecustom/
DInvokeCustom.java81 return new ConstantCallSite(targetMH.asType(type)); in bsmLookupStatic()
93 return new ConstantCallSite(targetMH.asType(type)); in bsmLookupStaticWithExtraArgs()
/external/swiftshader/third_party/subzero/src/
DREADME.SIMD.rst41 Variable::asType() to convert any mem128 Variables into a compatible memory
45 OperandX8632Mem::asType().

12