/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionClassDeclarationTest.java | 333 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/ |
D | JavassistClassDeclarationTest.java | 192 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/ |
D | JavaParserClassDeclarationTest.java | 188 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/ |
D | ProcessorExsltFuncResult.java | 52 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/ |
D | FauxveridesTest.java | 112 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/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | ChunkedIntArray.java | 141 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/testng/eclipse-projects/beust.com/web/ |
D | site.xsl | 28 <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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionClassAdapter.java | 77 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()
|
D | ReflectionMethodResolutionLogic.java | 56 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/ |
D | AbstractMapBasedMultimap.java | 328 @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/ |
D | BodyDeclarationLocators.java | 153 ASTNode ancestor = node; in findDeclarationNode() local 154 while (ancestor != null && !(ancestor instanceof BodyDeclaration)) { in findDeclarationNode() 155 ancestor = ancestor.getParent(); in findDeclarationNode() 158 return ancestor instanceof BodyDeclaration ? (BodyDeclaration) ancestor : null; in findDeclarationNode()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_reflectionmodel_ReflectionClassAdapter.txt | 29 …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 …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | LocaleData.java | 63 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/guava/guava/src/com/google/common/collect/ |
D | AbstractMapBasedMultimap.java | 331 @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-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | AnonymousClassDeclarationContext.java | 54 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()
|
D | JavaParserTypeDeclarationAdapter.java | 71 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/libxml2/test/XPath/tests/ |
D | simplebase | 12 /child::EXAMPLE/attribute::prop1/ancestor-or-self::node() 13 /child::EXAMPLE/attribute::prop1/ancestor-or-self::* 15 /descendant::p/ancestor::chapter
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserInterfaceDeclaration.java | 165 …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()
|
D | JavaParserClassDeclaration.java | 105 … 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/cldr/tools/java/org/unicode/cldr/tool/resolver/ |
D | CldrResolver.java | 272 for (CLDRFile ancestor : ancestors) { in resolveLocaleInternal() 273 parentValue = ancestor.getStringValue(distinguishedPath); in resolveLocaleInternal() 290 CLDRFile ancestor = ancestors.get(0); in resolveLocaleInternal() local 292 "Adding UNDEFINED values based on ancestor: " + ancestor.getLocaleID(), 3); in resolveLocaleInternal() 293 for (String distinguishedPath : ResolverUtils.getAllPaths(ancestor)) { in resolveLocaleInternal() 297 … !ancestor.getStringValue(distinguishedPath).equals(CldrUtility.NO_INHERITANCE_MARKER)) { in resolveLocaleInternal()
|
/external/guava/guava/src/com/google/common/net/ |
D | InternetDomainName.java | 348 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/with-comments/ |
D | example-7.xpath | 8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
|
/external/libxml2/test/c14n/1-1-without-comments/ |
D | example-8.xpath | 8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
|
D | example-7.xpath | 8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
|
/external/libxml2/test/c14n/without-comments/ |
D | example-7.xpath | 8 count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())
|