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.java2259 private static <K,V> TreeMapEntry<K,V> parentOf(TreeMapEntry<K,V> p) { in parentOf() method in TreeMap
2317 if (parentOf(x) == leftOf(parentOf(parentOf(x)))) { in fixAfterInsertion()
2318 TreeMapEntry<K,V> y = rightOf(parentOf(parentOf(x))); in fixAfterInsertion()
2320 setColor(parentOf(x), BLACK); in fixAfterInsertion()
2322 setColor(parentOf(parentOf(x)), RED); in fixAfterInsertion()
2323 x = parentOf(parentOf(x)); in fixAfterInsertion()
2325 if (x == rightOf(parentOf(x))) { in fixAfterInsertion()
2326 x = parentOf(x); in fixAfterInsertion()
2329 setColor(parentOf(x), BLACK); in fixAfterInsertion()
2330 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