Home
last modified time | relevance | path

Searched refs:parentOf (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DTreeMap.java2249 private static <K,V> TreeMapEntry<K,V> parentOf(TreeMapEntry<K,V> p) { in parentOf() method in TreeMap
2307 if (parentOf(x) == leftOf(parentOf(parentOf(x)))) { in fixAfterInsertion()
2308 TreeMapEntry<K,V> y = rightOf(parentOf(parentOf(x))); in fixAfterInsertion()
2310 setColor(parentOf(x), BLACK); in fixAfterInsertion()
2312 setColor(parentOf(parentOf(x)), RED); in fixAfterInsertion()
2313 x = parentOf(parentOf(x)); in fixAfterInsertion()
2315 if (x == rightOf(parentOf(x))) { in fixAfterInsertion()
2316 x = parentOf(x); in fixAfterInsertion()
2319 setColor(parentOf(x), BLACK); in fixAfterInsertion()
2320 setColor(parentOf(parentOf(x)), RED); in fixAfterInsertion()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java352 assertTrue("Have to be parentOf all children", testRoot.parentOf(element)); in test_parentOfLjava_lang_ThreadGroup()
355 assertTrue("Have to be parentOf itself", testRoot.parentOf(testRoot)); in test_parentOfLjava_lang_ThreadGroup()
/libcore/ojluni/src/main/java/java/lang/
DThreadGroup.java305 public final boolean parentOf(ThreadGroup g) { in parentOf() method in ThreadGroup