Home
last modified time | relevance | path

Searched refs:MoreElements (Results 1 – 25 of 33) sorted by relevance

12

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DConfigurationAnnotations.java18 import com.google.auto.common.MoreElements;
52 import static com.google.auto.common.MoreElements.getAnnotationMirror;
64 return MoreElements.isAnnotationPresent(componentDefinitionType, Component.class) in isComponent()
65 || MoreElements.isAnnotationPresent(componentDefinitionType, ProductionComponent.class); in isComponent()
199 if (MoreElements.isAnnotationPresent(element, annotation)) { in enclosedBuilders()
219 return MoreElements.getAnnotationMirror(t.asElement(), Subcomponent.class); in visitDeclared()
230 element = MoreElements.asType(types.asElement(superclass)); in addIncludesFromSuperclasses()
DInjectConstructorValidator.java18 import com.google.auto.common.MoreElements;
31 import static com.google.auto.common.MoreElements.isAnnotationPresent;
55 ValidationReport.about(MoreElements.asType(constructorElement.getEnclosingElement())); in validate()
74 MoreElements.asType(constructorElement.getEnclosingElement()); in validate()
DMembersInjectionBinding.java18 import com.google.auto.common.MoreElements;
48 import static com.google.auto.common.MoreElements.isAnnotationPresent;
213 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); in forInjectedType()
233 ancestors.add(MoreElements.asType(type.asElement())); in getInjectionSites()
244 MoreElements.asExecutable(injectionSite.element()); in getInjectionSites()
288 ExecutableElement injectionSiteMethod = MoreElements.asExecutable(injectionSite); in shouldBeInjected()
289 TypeElement injectionSiteType = MoreElements.asType(injectionSite.getEnclosingElement()); in shouldBeInjected()
DProductionComponentValidator.java18 import com.google.auto.common.MoreElements;
29 import static com.google.auto.common.MoreElements.getAnnotationMirror;
68 TypeElement moduleElement = MoreElements.asType(t.asElement()); in validate()
DMapKeyProcessingStep.java19 import com.google.auto.common.MoreElements;
81 MoreElements.asType(element), MoreTypes.asTypeElement(keyType))); in process()
84 writeCreatorClass(wrappedMapKey(MoreElements.asType(element))); in process()
DComponentProcessingStep.java19 import com.google.auto.common.MoreElements;
112 componentBuilderValidator.validate(MoreElements.asType(element));
124 subcomponentBuilderValidator.validate(MoreElements.asType(element));
137 MoreElements.asType(element), subcomponentElements, subcomponentBuilderElements);
DModuleValidator.java18 import com.google.auto.common.MoreElements;
48 import static com.google.auto.common.MoreElements.getAnnotationMirror;
49 import static com.google.auto.common.MoreElements.isAnnotationPresent;
168 final TypeElement element = MoreElements.asType(t.asElement()); in validateReferencedModules()
181 return MoreElements.isAnnotationPresent(element, otherClass); in validateReferencedModules()
241 currentClass = MoreElements.asType(types.asElement(currentClass.getSuperclass())); in validateProvidesOverrides()
DMethodSignatureFormatter.java18 import com.google.auto.common.MoreElements;
59 TypeElement type = MoreElements.asType(method.getEnclosingElement()); in format()
63 type = MoreElements.asType(container.get().asElement()); in format()
DModuleProcessingStep.java19 import com.google.auto.common.MoreElements;
36 import static com.google.auto.common.MoreElements.isAnnotationPresent;
94 moduleValidator.validate(MoreElements.asType(moduleElement)); in process()
DProducerModuleProcessingStep.java19 import com.google.auto.common.MoreElements;
37 import static com.google.auto.common.MoreElements.isAnnotationPresent;
97 moduleValidator.validate(MoreElements.asType(moduleElement)); in process()
DComponentDescriptor.java18 import com.google.auto.common.MoreElements;
52 import static com.google.auto.common.MoreElements.getAnnotationMirror;
53 import static com.google.auto.common.MoreElements.isAnnotationPresent;
93 if (MoreElements.isAnnotationPresent(element, kind.annotationType())) { in forAnnotatedElement()
323 MoreElements.asType(MoreTypes.asElement(resolvedMethod.getReturnType())),
330 MoreElements.asType(
DComponentValidator.java18 import com.google.auto.common.MoreElements;
49 import static com.google.auto.common.MoreElements.getAnnotationMirror;
241 MoreElements.asType(subcomponent), validatedSubcomponents, validatedSubcomponentBuilders); in validate()
278 return MoreElements.isAnnotationPresent(t.asElement(), Module.class) in validateSubcomponentMethod()
341 return MoreElements.getAnnotationMirror(t.asElement(), annotation); in checkForAnnotation()
DDependencyRequestFormatter.java18 import com.google.auto.common.MoreElements;
96 MoreElements.asExecutable(variable.getEnclosingElement()); in format()
146 TypeElement type = MoreElements.asType(member.getEnclosingElement());
DProvisionBinding.java18 import com.google.auto.common.MoreElements;
37 import static com.google.auto.common.MoreElements.isAnnotationPresent;
124 MoreElements.asType(constructorElement.getEnclosingElement()); in forInjectConstructor()
144 TypeElement typeElement = MoreElements.asType(type.asElement()); in membersInjectionRequest()
DAbstractComponentProcessingStep.java19 import com.google.auto.common.MoreElements;
65 TypeElement componentTypeElement = MoreElements.asType(element); in process()
DProductionComponentProcessingStep.java19 import com.google.auto.common.MoreElements;
97 componentBuilderValidator.validate(MoreElements.asType(element));
DBinding.java18 import com.google.auto.common.MoreElements;
195 TypeElement typeElement = MoreElements.asType(t.asElement()); in nonPublicPackageUse()
197 PackageElement elementPackage = MoreElements.getPackage(typeElement); in nonPublicPackageUse()
DInjectBindingRegistry.java18 import com.google.auto.common.MoreElements;
44 import static com.google.auto.common.MoreElements.isAnnotationPresent;
209 TypeElement element = MoreElements.asType(types.asElement(key.type())); in getOrFindProvisionBinding()
DModuleDescriptor.java20 import static com.google.auto.common.MoreElements.getAnnotationMirror;
21 import static com.google.auto.common.MoreElements.isAnnotationPresent;
DContributionBindingFormatter.java20 import static com.google.auto.common.MoreElements.asExecutable;
DMembersInjectorGenerator.java18 import com.google.auto.common.MoreElements;
60 import static com.google.auto.common.MoreElements.getPackage;
271 MoreElements.asType(injectionSite.element().getEnclosingElement())),
DDependencyRequest.java18 import com.google.auto.common.MoreElements;
369 while (!MoreElements.isType(element)) { in getEnclosingType()
DBindingGraphValidator.java18 import com.google.auto.common.MoreElements;
69 import static com.google.auto.common.MoreElements.getAnnotationMirror;
487 TypeElement element = MoreElements.asType(type.asElement()); in validateMembersInjectionBinding()
731 MoreElements.asExecutable(contributionBinding.bindingElement()); in validateComponentScope()
928 TypeElement componentType = MoreElements.asType(rootRequestElement.getEnclosingElement()); in reportCycle()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/GlobalISel/
DLegalizerInfoTest.cpp27 case MoreElements: OS << "MoreElements"; break; in operator <<()
116 LegalizeActionStep(MoreElements, 0, LLT::vector(8, 8))); in TEST()
123 LegalizeActionStep(MoreElements, 0, LLT::vector(8, 8))); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h68 MoreElements, enumerator
557 return actionIf(LegalizeAction::MoreElements, Predicate, Mutation); in moreElementsIf()
659 return actionIf(LegalizeAction::MoreElements, in moreElementsToNextPow2()
670 LegalizeAction::MoreElements, in clampMinNumElements()
755 case MoreElements: in needsLegalizingToDifferentSize()
892 return increaseToLargerTypesAndDecreaseToLargest(v, MoreElements, in moreToWiderTypesAndLessToWidest()
1056 case MoreElements: in checkPartialSizeAndActionsVector()

12