Home
last modified time | relevance | path

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

123456789

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclarationTest.java345 ResolvedReferenceType ancestor; in testGetAllSuperclassesWithTypeParameters() local
347 ancestor = constructorDeclaration.getAllSuperClasses().get(0); in testGetAllSuperclassesWithTypeParameters()
348 … assertEquals("com.github.javaparser.ast.body.CallableDeclaration", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
349 …assertEquals("com.github.javaparser.ast.body.ConstructorDeclaration", ancestor.typeParametersMap()… in testGetAllSuperclassesWithTypeParameters()
351 ancestor = constructorDeclaration.getAllSuperClasses().get(1); in testGetAllSuperclassesWithTypeParameters()
352 assertEquals("com.github.javaparser.ast.body.BodyDeclaration", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
353 …assertEquals("com.github.javaparser.ast.body.ConstructorDeclaration", ancestor.typeParametersMap()… in testGetAllSuperclassesWithTypeParameters()
355 ancestor = constructorDeclaration.getAllSuperClasses().get(2); in testGetAllSuperclassesWithTypeParameters()
356 assertEquals("com.github.javaparser.ast.Node", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
358 ancestor = constructorDeclaration.getAllSuperClasses().get(3); in testGetAllSuperclassesWithTypeParameters()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistClassDeclarationTest.java281 ResolvedReferenceType ancestor; in testGetAllSuperclassesWithTypeParameters() local
283 ancestor = constructorDeclaration.getAllSuperClasses().get(0); in testGetAllSuperclassesWithTypeParameters()
284 assertEquals("com.github.javaparser.ast.body.BodyDeclaration", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
285 …assertEquals("com.github.javaparser.ast.body.ConstructorDeclaration", ancestor.typeParametersMap()… in testGetAllSuperclassesWithTypeParameters()
287 ancestor = constructorDeclaration.getAllSuperClasses().get(1); in testGetAllSuperclassesWithTypeParameters()
288 assertEquals("com.github.javaparser.ast.Node", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
290 ancestor = constructorDeclaration.getAllSuperClasses().get(2); in testGetAllSuperclassesWithTypeParameters()
291 assertEquals("java.lang.Object", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
401 ResolvedReferenceType ancestor; in testGetAncestorsWithTypeParameters() local
403 ancestor = constructorDeclaration.getAncestors().get(0); in testGetAncestorsWithTypeParameters()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlStyle.java197 public TtmlStyle chain(@Nullable TtmlStyle ancestor) { in chain() argument
198 return inherit(ancestor, true); in chain()
208 public TtmlStyle inherit(@Nullable TtmlStyle ancestor) { in inherit() argument
209 return inherit(ancestor, false); in inherit()
212 private TtmlStyle inherit(@Nullable TtmlStyle ancestor, boolean chaining) { in inherit() argument
213 if (ancestor != null) { in inherit()
214 if (!hasFontColor && ancestor.hasFontColor) { in inherit()
215 setFontColor(ancestor.fontColor); in inherit()
218 bold = ancestor.bold; in inherit()
221 italic = ancestor.italic; in inherit()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserInterfaceDeclarationTest.java194 ResolvedReferenceType ancestor = null; in testGetAllSuperclassesWithTypeParameters() local
196 ancestor = constructorDeclaration.getAllSuperClasses().get(0); in testGetAllSuperclassesWithTypeParameters()
197 assertEquals("com.github.javaparser.ast.body.BodyDeclaration", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
198 …assertEquals("com.github.javaparser.ast.body.ConstructorDeclaration", ancestor.typeParametersMap()… in testGetAllSuperclassesWithTypeParameters()
200 ancestor = constructorDeclaration.getAllSuperClasses().get(1); in testGetAllSuperclassesWithTypeParameters()
201 assertEquals("com.github.javaparser.ast.Node", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
203 ancestor = constructorDeclaration.getAllSuperClasses().get(2); in testGetAllSuperclassesWithTypeParameters()
204 assertEquals("java.lang.Object", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
307 ResolvedReferenceType ancestor; in testGetAncestorsWithTypeParameters() local
309 ancestor = constructorDeclaration.getAncestors().get(0); in testGetAncestorsWithTypeParameters()
[all …]
DJavaParserEnumDeclarationTest.java192 ResolvedReferenceType ancestor; 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()
305 ResolvedReferenceType ancestor; in testGetAncestorsWithTypeParameters() local
307 ancestor = constructorDeclaration.getAncestors().get(0); in testGetAncestorsWithTypeParameters()
[all …]
DJavaParserClassDeclarationTest.java195 ResolvedReferenceType ancestor; in testGetAllSuperclassesWithTypeParameters() local
197 ancestor = constructorDeclaration.getAllSuperClasses().get(0); in testGetAllSuperclassesWithTypeParameters()
198 assertEquals("com.github.javaparser.ast.body.BodyDeclaration", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
199 …assertEquals("com.github.javaparser.ast.body.ConstructorDeclaration", ancestor.typeParametersMap()… in testGetAllSuperclassesWithTypeParameters()
201 ancestor = constructorDeclaration.getAllSuperClasses().get(1); in testGetAllSuperclassesWithTypeParameters()
202 assertEquals("com.github.javaparser.ast.Node", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
204 ancestor = constructorDeclaration.getAllSuperClasses().get(2); in testGetAllSuperclassesWithTypeParameters()
205 assertEquals("java.lang.Object", ancestor.getQualifiedName()); in testGetAllSuperclassesWithTypeParameters()
308 ResolvedReferenceType ancestor; in testGetAncestorsWithTypeParameters() local
310 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/tensorflow/tensorflow/compiler/xla/service/
Dtuple_simplifier.cc78 auto ancestor = instruction->LatestNonGteAncestorAndIndex(); in Run() local
79 if (ancestor.first == instruction) { in Run()
101 if (ShapeUtil::Compatible(ancestor.first->shape(), in Run()
105 computation->ReplaceInstruction(instruction, ancestor.first)); in Run()
106 } else if (ancestor.first->opcode() == HloOpcode::kTuple) { in Run()
110 ancestor.first->mutable_operand(ancestor.second[0]))); in Run()
/external/guava/android/guava-tests/test/com/google/common/collect/
DFauxveridesTest.java107 private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) { in doHasAllFauxveridesTest() argument
108 Set<MethodSignature> required = getAllRequiredToFauxveride(ancestor); in doHasAllFauxveridesTest()
109 Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor); in doHasAllFauxveridesTest()
115 descendant.getSimpleName(), ancestor.getSimpleName(), missing)); in doHasAllFauxveridesTest()
119 private static Set<MethodSignature> getAllRequiredToFauxveride(Class<?> ancestor) { in getAllRequiredToFauxveride() argument
120 return getPublicStaticMethodsBetween(ancestor, Object.class); in getAllRequiredToFauxveride()
123 private static Set<MethodSignature> getAllFauxveridden(Class<?> descendant, Class<?> ancestor) { in getAllFauxveridden() argument
124 return getPublicStaticMethodsBetween(descendant, ancestor); in getAllFauxveridden()
128 Class<?> descendant, Class<?> ancestor) { in getPublicStaticMethodsBetween() argument
130 for (Class<?> clazz : getClassesBetween(descendant, ancestor)) { in getPublicStaticMethodsBetween()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DFauxveridesTest.java107 private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) { in doHasAllFauxveridesTest() argument
108 Set<MethodSignature> required = getAllRequiredToFauxveride(ancestor); in doHasAllFauxveridesTest()
109 Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor); in doHasAllFauxveridesTest()
115 descendant.getSimpleName(), ancestor.getSimpleName(), missing)); in doHasAllFauxveridesTest()
119 private static Set<MethodSignature> getAllRequiredToFauxveride(Class<?> ancestor) { in getAllRequiredToFauxveride() argument
120 return getPublicStaticMethodsBetween(ancestor, Object.class); in getAllRequiredToFauxveride()
123 private static Set<MethodSignature> getAllFauxveridden(Class<?> descendant, Class<?> ancestor) { in getAllFauxveridden() argument
124 return getPublicStaticMethodsBetween(descendant, ancestor); in getAllFauxveridden()
128 Class<?> descendant, Class<?> ancestor) { in getPublicStaticMethodsBetween() argument
130 for (Class<?> clazz : getClassesBetween(descendant, ancestor)) { in getPublicStaticMethodsBetween()
[all …]
/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()
107 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in hasField()
108 if (ancestor.getTypeDeclaration().hasField(name)) { in hasField()
120 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getAllFields()
121 fields.addAll(ancestor.getTypeDeclaration().getAllFields()); in getAllFields()
/external/rust/crates/walkdir/src/
Derror.rs36 Loop { ancestor: PathBuf, child: PathBuf },
68 ErrorInner::Loop { ref ancestor, .. } => Some(ancestor), in loop_ancestor()
189 ancestor: &Path, in from_loop()
195 ancestor: ancestor.to_path_buf(), in from_loop()
233 ErrorInner::Loop { ref ancestor, ref child } => write!( in fmt()
238 ancestor.display() in fmt()
/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/perfetto/test/trace_processor/dynamic/
Dancestor_slice.sql1 SELECT slice.name AS currentSliceName, ancestor.name AS ancestorSliceName
2 FROM slice LEFT JOIN ancestor_slice(slice.id) AS ancestor
3 ORDER BY slice.ts ASC, ancestor.ts ASC, slice.name ASC, ancestor.name ASC;
/external/llvm-project/mlir/lib/IR/
DDominance.cpp85 Operation *ancestor = region->getParentOp(); in traverseAncestors() local
87 if (!ancestor || !(block = ancestor->getBlock())) in traverseAncestors()
225 Operation *ancestor = aRegion->getParentOp(); in properlyDominates() local
235 if (hasSSADominance(ancestor, aRegionNum)) { in properlyDominates()
260 Operation *ancestor = aRegion->getParentOp(); in properlyDominates() local
264 if (hasSSADominance(ancestor, aRegionNum)) { in properlyDominates()
292 Operation *ancestor = aRegion->getParentOp(); in properlyPostDominates() local
301 if (hasSSADominance(ancestor, aRegionNum)) { in properlyPostDominates()
/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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java77 ReferenceType ancestor = ancestors.get(i); in getAncestors() local
78 … if (ancestor.hasName() && ancestor.getQualifiedName().equals(Object.class.getCanonicalName())) { in getAncestors()
92 for (ReferenceType 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 (ReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getAllFields()
121 fields.addAll(ancestor.getTypeDeclaration().getAllFields()); in getAllFields()
/external/perfetto/src/trace_processor/metrics/experimental/
Dblink_gc_metric.sql74 FROM ANCESTOR_SLICE(slice.id) AS ancestor
75 WHERE ancestor.name = 'V8.GCLowMemoryNotification' LIMIT 1
235 SELECT name FROM ANCESTOR_SLICE(blink_gc_cpu_slice.id) AS ancestor
236 WHERE ancestor.name == 'V8.GCLowMemoryNotification'
246 SELECT name FROM ANCESTOR_SLICE(blink_gc_cpu_slice.id) AS ancestor
248 ancestor.name LIKE "V8.GC%" AND
249 ancestor.name != 'V8.GCLowMemoryNotification'
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Davailable_instructions.cpp160 for (auto* ancestor = block; true; in operator []() local
161 ancestor = dominator_analysis->ImmediateDominator(ancestor)) { in operator []()
163 available_instructions_.num_available_at_block_entry_.at(ancestor); in operator []()
170 available_instructions_.generated_by_block_.at(ancestor); in operator []()
182 assert(ancestor != &*function->begin() && in operator []()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserClassDeclaration.java106 … getAncestors(true).forEach(ancestor -> ancestor.getTypeDeclaration().getAllFields().forEach(f -> { in getAllFields()
121 return ancestor.useThisTypeParametersOnTheGivenType(f.getType()); in getAllFields()
251 …ResolvedReferenceTypeDeclaration ancestor = (ResolvedReferenceTypeDeclaration) new SymbolSolver(ty… in canBeAssignedTo() local
252 if (ancestor.canBeAssignedTo(other)) { in canBeAssignedTo()
318 ResolvedReferenceType ancestor; in getAncestors() local
320 ancestor = toReferenceType(implemented); in getAncestors()
326 ancestor = null; in getAncestors()
331 if (ancestor != null) { in getAncestors()
332 ancestors.add(ancestor); in getAncestors()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DBodyDeclarationLocators.java153 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/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/
DJavaParserTypeDeclarationAdapter.java82 for (ResolvedReferenceType ancestor : declaration.getAncestors(true)) { in checkAncestorsForType()
84 …for (ResolvedTypeDeclaration internalTypeDeclaration : ancestor.getTypeDeclaration().internalTypes… in checkAncestorsForType()
101 …ResolvedTypeDeclaration ancestorDeclaration = checkAncestorsForType(name, ancestor.getTypeDeclarat… in checkAncestorsForType()
119 for (ResolvedReferenceType ancestor : typeDeclaration.getAncestors(true)) { in solveMethod()
121 if (typeDeclaration != ancestor.getTypeDeclaration()) { in solveMethod()
122 candidateMethods.addAll(ancestor.getAllMethodsVisibleToInheritors() in solveMethod()
127 … .solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTypes, staticOnly); in solveMethod()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/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 …]
/external/turbine/java/com/google/turbine/processing/
DClassHierarchy.java60 final PathNode ancestor; field in ClassHierarchy.PathNode
62 PathNode(ClassTy type, PathNode ancestor) { in PathNode() argument
64 this.ancestor = ancestor; in PathNode()
155 path = path.ancestor; in search()

123456789