Home
last modified time | relevance | path

Searched refs:getElements (Results 1 – 25 of 270) sorted by relevance

1234567891011

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java76 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForField()
89 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForVariableDeclarator()
101 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForMethod()
114 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForMethodParameter()
128 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForPrimitiveType()
139 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedForSimpleImport()
161 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedGenericType()
172 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedAnnotationDeclaration()
184 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedAnnotationMemberDeclaration()
196 … nodeText.getElements().stream().map(TextElement::expand).collect(Collectors.toList())); in checkNodeTextCreatedAnnotationMemberDeclarationWithArrayType()
[all …]
/external/auto/common/src/test/java/com/google/auto/common/
DVisibilityTest.java40 assertThat(Visibility.ofElement(compilation.getElements().getPackageElement("java.lang"))) in packageVisibility()
44 compilation.getElements().getPackageElement("com.google.auto.common"))) in packageVisibility()
58 (Element) getModuleElement.invoke(compilation.getElements(), "java.base"); in moduleVisibility()
108 assertThat(Visibility.ofElement(compilation.getElements().getTypeElement("java.util.Map"))) in classVisibility()
111 Visibility.ofElement(compilation.getElements().getTypeElement("java.util.Map.Entry"))) in classVisibility()
115 compilation.getElements().getTypeElement(PublicClass.class.getCanonicalName()))) in classVisibility()
119 compilation.getElements().getTypeElement(ProtectedClass.class.getCanonicalName()))) in classVisibility()
123 compilation.getElements().getTypeElement(DefaultClass.class.getCanonicalName()))) in classVisibility()
127 compilation.getElements().getTypeElement(PrivateClass.class.getCanonicalName()))) in classVisibility()
168 compilation.getElements().getTypeElement(clazz.getCanonicalName())); in effectiveVisiblityOfClass()
DMoreTypesTest.java67 Elements elements = compilationRule.getElements(); in equivalence()
232 Elements elements = compilationRule.getElements(); in testReferencedTypes()
298 TypeMirror javaDotLang = compilationRule.getElements().getPackageElement("java.lang").asType(); in asElement_throws()
308 Elements elements = compilationRule.getElements(); in asElement()
313 compilationRule.getElements().getTypeElement("java.util.Set").getTypeParameters()); in asElement()
321 Elements elements = compilationRule.getElements(); in testNonObjectSuperclass()
370 Elements elements = compilationRule.getElements(); in testAsMemberOf_variableElement()
475 Elements elements = compilationRule.getElements(); in testIsConversionFromObjectUnchecked_yes()
488 Elements elements = compilationRule.getElements(); in testIsConversionFromObjectUnchecked_no()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/base/
DBaseAnnotation.java43 return hashCode*31 + getElements().hashCode(); in hashCode()
52 getElements().equals(other.getElements()); in equals()
63 return CollectionUtils.compareAsSet(getElements(), o.getElements()); in compareTo()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/base/value/
DBaseAnnotationEncodedValue.java46 return hashCode * 31 + getElements().hashCode(); in hashCode()
54 getElements().equals(other.getElements()); in equals()
66 return CollectionUtils.compareAsSet(getElements(), other.getElements()); in compareTo()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifference.java47 this.originalElements = nodeText.getElements(); in Difference()
80 if (nodeTextIndex > 0 && nodeText.getElements().get(nodeTextIndex - 1).isToken(LBRACE)) { in isAfterLBrace()
83 if (nodeTextIndex > 0 && nodeText.getElements().get(nodeTextIndex - 1).isSpaceOrTab()) { in isAfterLBrace()
95 … for (int i = nodeTextIndex; i >= 0 && hasOnlyWsBefore && i < nodeText.getElements().size(); i--) { in considerEnforcingIndentation()
96 if (nodeText.getElements().get(i).isNewline()) { in considerEnforcingIndentation()
99 if (!nodeText.getElements().get(i).isSpaceOrTab()) { in considerEnforcingIndentation()
105 for (int i = nodeTextIndex; i >= 0 && i < nodeText.getElements().size(); i--) { in considerEnforcingIndentation()
106 if (nodeText.getElements().get(i).isNewline()) { in considerEnforcingIndentation()
214 …ts = findIndexOfCorrespondingNodeTextElement(elementsFromPreviousOrder.getElements(), nodeText, or… in extractReshuffledDiffElements()
227 List<CsmElement> nextOrderElements = elementsFromNextOrder.getElements(); in extractReshuffledDiffElements()
[all …]
DDifferenceElementCalculator.java137 for (TextElement el : nodeTextForChild.getElements()) { in considerRemoval()
191 … if (((CsmMix) nextAfter).getElements().equals(((CsmMix) nextOriginal).getElements())) { in calculateImpl()
193 … ((CsmMix) nextAfter).getElements().forEach(el -> elements.add(new Kept(el))); in calculateImpl()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/javadoc/
DJavadocTest.java100 List<JavadocInlineTag> inlineTags = javadoc.getDescription().getElements().stream() in inlineTagsAreParsable()
151 assertEquals(0, description.getElements().size()); in descriptionModificationWorks()
156 assertEquals(1, description.getElements().size()); in descriptionModificationWorks()
157 assertEquals(inlineTag, description.getElements().get(0)); in descriptionModificationWorks()
159 assertEquals(inlineTag, description.getElements().remove(0)); in descriptionModificationWorks()
160 assertEquals(0, description.getElements().size()); in descriptionModificationWorks()
166 …onElement> elements = compilationUnit.getType(0).getJavadoc().get().getDescription().getElements(); in issue1533()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
DRbValueSubject.java27 check("getElements()").that(actual.getElements()).containsExactly(value); in hasValue()
32 … check("getElements()").that(actual.getElements()).containsExactlyElementsIn(values).inOrder(); in hasValues()
37 check("getElements().size()").that(actual.getElements().size()).isEqualTo(n); in hasSize()
/external/cronet/tot/base/test/android/javatests/src/org/chromium/base/test/transit/
DTripUnitTest.java170 assertEquals(3, destinationStation.getElements().getElements().size()); in testTransitionWithNestedElementFactory()
171 assertEquals(2, destinationStation.getElements().getElementFactories().size()); in testTransitionWithNestedElementFactory()
172 assertEquals(5, destinationStation.getElements().getOtherEnterConditions().size()); in testTransitionWithNestedElementFactory()
173 assertEquals(3, destinationStation.getElements().getOtherExitConditions().size()); in testTransitionWithNestedElementFactory()
DConditionalState.java71 Elements getElements() { in getElements() method in ConditionalState
148 Elements elements = getElements(); in recheckActiveConditions()
149 for (Element<?> element : elements.getElements()) { in recheckActiveConditions()
DConditionWaiter.java288 final Elements destinationElements = conditionalState.getElements(); in createWaits()
297 final Elements originElements = conditionalState.getElements(); in createWaits()
298 for (Element<?> element : originElements.getElements()) { in createWaits()
330 final Elements destinationElements = conditionalState.getElements(); in createFactories()
346 for (Element<?> element : elements.getElements()) { in createEnterConditionWaits()
/external/cronet/stable/base/test/android/javatests/src/org/chromium/base/test/transit/
DTripUnitTest.java170 assertEquals(3, destinationStation.getElements().getElements().size()); in testTransitionWithNestedElementFactory()
171 assertEquals(2, destinationStation.getElements().getElementFactories().size()); in testTransitionWithNestedElementFactory()
172 assertEquals(5, destinationStation.getElements().getOtherEnterConditions().size()); in testTransitionWithNestedElementFactory()
173 assertEquals(3, destinationStation.getElements().getOtherExitConditions().size()); in testTransitionWithNestedElementFactory()
DConditionalState.java71 Elements getElements() { in getElements() method in ConditionalState
148 Elements elements = getElements(); in recheckActiveConditions()
149 for (Element<?> element : elements.getElements()) { in recheckActiveConditions()
DConditionWaiter.java288 final Elements destinationElements = conditionalState.getElements(); in createWaits()
297 final Elements originElements = conditionalState.getElements(); in createWaits()
298 for (Element<?> element : originElements.getElements()) { in createWaits()
330 final Elements destinationElements = conditionalState.getElements(); in createFactories()
346 for (Element<?> element : elements.getElements()) { in createEnterConditionWaits()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/writer/pool/
DAnnotationPool.java53 for (AnnotationElement element: annotation.getElements()) { in intern()
68 …@Nonnull @Override public Collection<? extends AnnotationElement> getElements(@Nonnull Annotation … in getElements() method in AnnotationPool
69 return annotation.getElements(); in getElements()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypesTest.java32 protected Elements getElements() { in getElements() method in TypesTest
33 return compilation.getElements(); in getElements()
DTypesEclipseTest.java115 public Elements getElements() { in getElements() method
150 protected Elements getElements() {
151 return compilation.getElements();
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/rewriter/
DAnnotationRewriter.java66 @Override @Nonnull public Set<? extends AnnotationElement> getElements() { in getElements() method in AnnotationRewriter.RewrittenAnnotation
67 …eturn RewriterUtils.rewriteSet(rewriters.getAnnotationElementRewriter(), annotation.getElements()); in getElements()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/immutable/value/
DImmutableAnnotationEncodedValue.java66 annotationEncodedValue.getElements()); in of()
70 …@Nonnull @Override public Set<? extends ImmutableAnnotationElement> getElements() { return element… in getElements() method in ImmutableAnnotationEncodedValue
/external/guice/core/src/com/google/inject/spi/
DElements.java85 public static List<Element> getElements(Module... modules) { in getElements() method in Elements
86 return getElements(Stage.DEVELOPMENT, Arrays.asList(modules)); in getElements()
90 public static List<Element> getElements(Stage stage, Module... modules) { in getElements() method in Elements
91 return getElements(stage, Arrays.asList(modules)); in getElements()
95 public static List<Element> getElements(Iterable<? extends Module> modules) { in getElements() method in Elements
96 return getElements(Stage.DEVELOPMENT, modules); in getElements()
100 public static List<Element> getElements(Stage stage, Iterable<? extends Module> modules) { in getElements() method in Elements
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/immutable/
DImmutableAnnotation.java72 annotation.getElements()); in of()
77 …@Nonnull @Override public Set<? extends ImmutableAnnotationElement> getElements() { return element… in getElements() method in ImmutableAnnotation
/external/google-smali/dexlib2/src/test/java/com/android/tools/smali/dexlib2/writer/
DDexWriterTest.java84 List<AnnotationElement> dbElements = Lists.newArrayList(dbAnnotation.getElements()); in testAnnotationElementOrder()
125 AnnotationElement element = Iterables.getFirst(dbAnnotation.getElements(), null); in testEncodedAnnotationElementOrder()
128 … List<AnnotationElement> dbElements = Lists.newArrayList(dbAnnotationEncodedValue.getElements()); in testEncodedAnnotationElementOrder()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp220 DINodeArray Elements = CTy->getElements(); in calcArraySize()
402 Ty = dyn_cast<DIType>(PTy->getElements()[ParentAI]); in IsValidAIChain()
555 auto *MemberTy = cast<DIDerivedType>(CTy->getElements()[AccessIndex]); in GetFieldInfo()
573 auto *MemberTy = cast<DIDerivedType>(CTy->getElements()[AccessIndex]); in GetFieldInfo()
591 if (CTy->getElements().size() != 1) in GetFieldInfo()
595 auto *MemberTy = cast<DIDerivedType>(CTy->getElements()[AccessIndex]); in GetFieldInfo()
627 MemberTy = cast<DIDerivedType>(CTy->getElements()[AccessIndex]); in GetFieldInfo()
658 MemberTy = cast<DIDerivedType>(CTy->getElements()[AccessIndex]); in GetFieldInfo()
757 CheckElemType = CTy->getElements().size() == 1; in computeBaseAndAccessKey()
/external/guice/core/test/com/google/inject/spi/
DModuleRewriterTest.java48 List<Element> elements = Elements.getElements(module); in testRewriteBindings()
116 List<Element> elements = Elements.getElements(module); in testGetProviderAvailableAtInjectMembersTime()

1234567891011