Home
last modified time | relevance | path

Searched refs:ancestor (Results 1 – 25 of 135) sorted by relevance

123456

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclarationTest.java333 ResolvedReferenceType ancestor; in testGetAllSuperclassesWithTypeParameters() local
335 ancestor = constructorDeclaration.getAllSuperClasses().get(0); in testGetAllSuperclassesWithTypeParameters()
336 … assertEquals("com.github.javaparser.ast.body.CallableDeclaration", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
337 …assertEquals("com.github.javaparser.ast.body.ConstructorDeclaration", ancestor.typeParametersMap()… in testGetAllSuperclassesWithTypeParameters()
339 ancestor = constructorDeclaration.getAllSuperClasses().get(1); in testGetAllSuperclassesWithTypeParameters()
340 assertEquals("com.github.javaparser.ast.body.BodyDeclaration", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
341 …assertEquals("com.github.javaparser.ast.body.ConstructorDeclaration", ancestor.typeParametersMap()… in testGetAllSuperclassesWithTypeParameters()
343 ancestor = constructorDeclaration.getAllSuperClasses().get(2); in testGetAllSuperclassesWithTypeParameters()
344 assertEquals("com.github.javaparser.ast.Node", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
346 ancestor = constructorDeclaration.getAllSuperClasses().get(3); in testGetAllSuperclassesWithTypeParameters()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistClassDeclarationTest.java192 ResolvedReferenceType ancestor = null; in testGetAllSuperclassesWithTypeParameters() local
194 ancestor = constructorDeclaration.getAllSuperClasses().get(0); in testGetAllSuperclassesWithTypeParameters()
195 assertEquals("com.github.javaparser.ast.body.BodyDeclaration", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
196 …assertEquals("com.github.javaparser.ast.body.ConstructorDeclaration", ancestor.typeParametersMap()… in testGetAllSuperclassesWithTypeParameters()
198 ancestor = constructorDeclaration.getAllSuperClasses().get(1); in testGetAllSuperclassesWithTypeParameters()
199 assertEquals("com.github.javaparser.ast.Node", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
201 ancestor = constructorDeclaration.getAllSuperClasses().get(2); in testGetAllSuperclassesWithTypeParameters()
202 assertEquals("java.lang.Object", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
312 ResolvedReferenceType ancestor = null; in testGetAncestorsWithTypeParameters() local
314 ancestor = constructorDeclaration.getAncestors().get(0); in testGetAncestorsWithTypeParameters()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserClassDeclarationTest.java188 ResolvedReferenceType ancestor = null; in testGetAllSuperclassesWithTypeParameters() local
190 ancestor = constructorDeclaration.getAllSuperClasses().get(0); in testGetAllSuperclassesWithTypeParameters()
191 assertEquals("com.github.javaparser.ast.body.BodyDeclaration", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
192 …assertEquals("com.github.javaparser.ast.body.ConstructorDeclaration", ancestor.typeParametersMap()… in testGetAllSuperclassesWithTypeParameters()
194 ancestor = constructorDeclaration.getAllSuperClasses().get(1); in testGetAllSuperclassesWithTypeParameters()
195 assertEquals("com.github.javaparser.ast.Node", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
197 ancestor = constructorDeclaration.getAllSuperClasses().get(2); in testGetAllSuperclassesWithTypeParameters()
198 assertEquals("java.lang.Object", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
301 ResolvedReferenceType ancestor = null; in testGetAncestorsWithTypeParameters() local
303 ancestor = constructorDeclaration.getAncestors().get(0); in testGetAncestorsWithTypeParameters()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorExsltFuncResult.java52 ElemTemplateElement ancestor = handler.getElemTemplateElement().getParentElem(); in startElement() local
53 while (ancestor != null && !(ancestor instanceof ElemExsltFunction)) in startElement()
55 if (ancestor instanceof ElemVariable in startElement()
56 || ancestor instanceof ElemParam in startElement()
57 || ancestor instanceof ElemExsltFuncResult) in startElement()
62 ancestor = ancestor.getParentElem(); in startElement()
64 if (ancestor == null) in startElement()
/external/guava/guava-tests/test/com/google/common/collect/
DFauxveridesTest.java112 private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) { in doHasAllFauxveridesTest() argument
113 Set<MethodSignature> required = getAllRequiredToFauxveride(ancestor); in doHasAllFauxveridesTest()
114 Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor); in doHasAllFauxveridesTest()
121 private static Set<MethodSignature> getAllRequiredToFauxveride(Class<?> ancestor) { in getAllRequiredToFauxveride() argument
122 return getPublicStaticMethodsBetween(ancestor, Object.class); in getAllRequiredToFauxveride()
126 Class<?> descendant, Class<?> ancestor) { in getAllFauxveridden() argument
127 return getPublicStaticMethodsBetween(descendant, ancestor); in getAllFauxveridden()
131 Class<?> descendant, Class<?> ancestor) { in getPublicStaticMethodsBetween() argument
133 for (Class<?> clazz : getClassesBetween(descendant, ancestor)) { in getPublicStaticMethodsBetween()
154 Class<?> descendant, Class<?> ancestor) { in getClassesBetween() argument
[all …]
/external/testng/eclipse-projects/beust.com/web/
Dsite.xsl28 <xsl:sort select="ancestor::feature//@version" order="ascending"/>
29 <xsl:sort select="ancestor::feature//@id" order="ascending" case-order="upper-first"/>
41 <xsl:when test="ancestor::feature//@label">
42 <a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@label"/></a>
45 …(<xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-of select="ancestor::feature//@versi…
49 …<a href="{ancestor::feature//@url}"><xsl:value-of select="ancestor::feature//@id"/> - <xsl:value-o…
56 <xsl:if test="ancestor::feature//@os">
58 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@os"/></td>
61 <xsl:if test="ancestor::feature//@ws">
63 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@ws"/></td>
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DChunkedIntArray.java141 int ancestor = startPos; in specialFind() local
142 while(ancestor > 0) in specialFind()
145 ancestor*=slotsize; in specialFind()
146 int chunkpos = ancestor >> lowbits; in specialFind()
147 int slotpos = ancestor & lowmask; in specialFind()
153 ancestor = chunk[slotpos + 1]; in specialFind()
155 if(ancestor == position) in specialFind()
159 if (ancestor <= 0) in specialFind()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java77 ResolvedReferenceType ancestor = ancestors.get(i); in getAncestors() local
78 … if (ancestor.hasName() && ancestor.getQualifiedName().equals(Object.class.getCanonicalName())) { in getAncestors()
92 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getField()
93 if (ancestor.getTypeDeclaration().hasField(name)) { in getField()
94 …ldDeclaration reflectionFieldDeclaration = (ReflectionFieldDeclaration) ancestor.getTypeDeclaratio… in getField()
95 return reflectionFieldDeclaration.replaceType(ancestor.getFieldType(name).get()); in getField()
120 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getAllFields()
121 fields.addAll(ancestor.getTypeDeclaration().getAllFields()); in getAllFields()
DReflectionMethodResolutionLogic.java56 for (ResolvedReferenceType ancestor : scopeType.getAncestors()) { in solveMethod()
57 …esolvedMethodDeclaration> ref = MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaratio… in solveMethod()
96 for(ResolvedReferenceType ancestor : scopeType.getAncestors()){ in solveMethodAsUsage()
97 …esolvedMethodDeclaration> ref = MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaratio… in solveMethodAsUsage()
100 …MethodUsage methodUsage = replaceParams(typeParameterValues, ancestor.getTypeDeclaration(), corres… in solveMethodAsUsage()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DAbstractMapBasedMultimap.java328 @Nullable K key, List<V> list, @Nullable WrappedCollection ancestor) { in wrapList() argument
330 ? new RandomAccessWrappedList(key, list, ancestor) in wrapList()
331 : new WrappedList(key, list, ancestor); in wrapList()
354 final WrappedCollection ancestor; field in AbstractMapBasedMultimap.WrappedCollection
358 @Nullable WrappedCollection ancestor) { in WrappedCollection() argument
361 this.ancestor = ancestor; in WrappedCollection()
363 = (ancestor == null) ? null : ancestor.getDelegate(); in WrappedCollection()
374 if (ancestor != null) { in refreshIfEmpty()
375 ancestor.refreshIfEmpty(); in refreshIfEmpty()
376 if (ancestor.getDelegate() != ancestorDelegate) { in refreshIfEmpty()
[all …]
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DBodyDeclarationLocators.java150 ASTNode ancestor = node; in findDeclarationNode() local
151 while (ancestor != null && !(ancestor instanceof BodyDeclaration)) { in findDeclarationNode()
152 ancestor = ancestor.getParent(); in findDeclarationNode()
155 return ancestor instanceof BodyDeclaration ? (BodyDeclaration) ancestor : null; in findDeclarationNode()
/external/guava/guava/src/com/google/common/collect/
DAbstractMapBasedMultimap.java331 @Nullable K key, List<V> list, @Nullable WrappedCollection ancestor) { in wrapList() argument
333 ? new RandomAccessWrappedList(key, list, ancestor) in wrapList()
334 : new WrappedList(key, list, ancestor); in wrapList()
357 final WrappedCollection ancestor; field in AbstractMapBasedMultimap.WrappedCollection
361 @Nullable WrappedCollection ancestor) { in WrappedCollection() argument
364 this.ancestor = ancestor; in WrappedCollection()
366 = (ancestor == null) ? null : ancestor.getDelegate(); in WrappedCollection()
377 if (ancestor != null) { in refreshIfEmpty()
378 ancestor.refreshIfEmpty(); in refreshIfEmpty()
379 if (ancestor.getDelegate() != ancestorDelegate) { in refreshIfEmpty()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt29 …Line 78) ancestor.hasName() ==> com.github.javaparser.symbolsolver.model.typesystem.ReferenceType.…
30 …Line 78) ancestor.getQualifiedName().equals(Object.class.getCanonicalName()) ==> java.lang.String.…
31 …Line 78) ancestor.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.typesystem.Refer…
38 …Line 93) ancestor.getTypeDeclaration().hasField(name) ==> com.github.javaparser.symbolsolver.model…
39 …Line 93) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
40 …Line 94) ancestor.getTypeDeclaration().getField(name) ==> com.github.javaparser.symbolsolver.model…
41 …Line 94) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
42 …Line 95) reflectionFieldDeclaration.replaceType(ancestor.getFieldType(name).get()) ==> com.github.…
43 Line 95) ancestor.getFieldType(name).get() ==> java.util.Optional.get()
44 …Line 95) ancestor.getFieldType(name) ==> com.github.javaparser.symbolsolver.model.typesystem.Refer…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_AnonymousClassDeclarationContext.txt16 …Line 56) MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTyp…
17 …Line 56) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Ref…
79 …Line 156) ancestor.getTypeDeclaration().getName().equals(name) ==> java.lang.String.equals(java.la…
80 …Line 156) ancestor.getTypeDeclaration().getName() ==> com.github.javaparser.symbolsolver.model.dec…
81 …Line 156) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Re…
82 …Line 157) SymbolReference.solved(ancestor.getTypeDeclaration()) ==> com.github.javaparser.symbolso…
83 …Line 157) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Re…
84 …Line 161) ancestor.getTypeDeclaration().internalTypes() ==> com.github.javaparser.symbolsolver.mod…
85 …Line 161) ancestor.getTypeDeclaration() ==> com.github.javaparser.symbolsolver.model.typesystem.Re…
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DLocaleData.java63 int ancestor = packed_locale; in findAncestors() local
67 out[count] = ancestor; in findAncestors()
71 if (stop_list[i] == ancestor) { in findAncestors()
76 ancestor = findParent(ancestor, script); in findAncestors()
77 } while (ancestor != PACKED_ROOT); in findAncestors()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DAnonymousClassDeclarationContext.java54 for (ResolvedReferenceType ancestor : myDeclaration.getAncestors()) { in solveMethod()
56 MethodResolutionLogic.solveMethodInType(ancestor.getTypeDeclaration(), in solveMethod()
154 for (ResolvedReferenceType ancestor : myDeclaration.getAncestors()) { in solveType()
156 if (ancestor.getTypeDeclaration().getName().equals(name)) { in solveType()
157 return SymbolReference.solved(ancestor.getTypeDeclaration()); in solveType()
161 …for (ResolvedTypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes… in solveType()
DJavaParserTypeDeclarationAdapter.java71 for (ResolvedReferenceType ancestor : this.typeDeclaration.getAncestors()) { in solveType()
73 …for (ResolvedTypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes… in solveType()
93 for (ResolvedReferenceType ancestor : typeDeclaration.getAncestors()) { in solveMethod()
95 if (typeDeclaration != ancestor.getTypeDeclaration()) { in solveMethod()
97 … .solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTypes, staticOnly, typeSolver); in solveMethod()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserInterfaceDeclaration.java165 …ResolvedReferenceTypeDeclaration ancestor = (ResolvedReferenceTypeDeclaration) new SymbolSolver(ty… in canBeAssignedTo() local
166 if (ancestor.canBeAssignedTo(other)) { in canBeAssignedTo()
174 …ResolvedReferenceTypeDeclaration ancestor = (ResolvedReferenceTypeDeclaration) new SymbolSolver(ty… in canBeAssignedTo() local
175 if (ancestor.canBeAssignedTo(other)) { in canBeAssignedTo()
193 … getAncestors().forEach(ancestor -> ancestor.getTypeDeclaration().getAllFields().forEach(f -> { in getAllFields()
208 return ancestor.useThisTypeParametersOnTheGivenType(f.getType()); in getAllFields()
DJavaParserClassDeclaration.java105 … getAncestors().forEach(ancestor -> ancestor.getTypeDeclaration().getAllFields().forEach(f -> { in getAllFields()
120 return ancestor.useThisTypeParametersOnTheGivenType(f.getType()); in getAllFields()
257 …ResolvedReferenceTypeDeclaration ancestor = (ResolvedReferenceTypeDeclaration) new SymbolSolver(ty… in canBeAssignedTo() local
258 if (ancestor.canBeAssignedTo(other)) { in canBeAssignedTo()
302 ResolvedReferenceType ancestor = toReferenceType(implemented); in getAncestors() local
303 ancestors.add(ancestor); in getAncestors()
/external/libxml2/test/XPath/tests/
Dsimplebase12 /child::EXAMPLE/attribute::prop1/ancestor-or-self::node()
13 /child::EXAMPLE/attribute::prop1/ancestor-or-self::*
15 /descendant::p/ancestor::chapter
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java348 return hasPublicSuffix() ? ancestor(publicSuffixIndex) : null; in publicSuffix()
425 return ancestor(publicSuffixIndex - 1); in topPrivateDomain()
445 return ancestor(1); in parent()
456 private InternetDomainName ancestor(int levels) { in ancestor() method in InternetDomainName
/external/libxml2/test/c14n/1-1-without-comments/
Dexample-7.xpath8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
Dexample-8.xpath8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
/external/libxml2/test/c14n/with-comments/
Dexample-7.xpath8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
/external/libxml2/test/c14n/without-comments/
Dexample-7.xpath8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())

123456