Home
last modified time | relevance | path

Searched refs:cpr (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java649 static final int cpr(Comparator c, Object x, Object y) { in cpr() method in ConcurrentSkipListMap
677 if (cpr(cmp, key, k) > 0) { in findPredecessor()
753 if ((c = cpr(cmp, key, n.key)) == 0) in findNode()
789 if ((c = cpr(cmp, key, n.key)) == 0) { in doGet()
830 if ((c = cpr(cmp, key, n.key)) > 0) { in doPut()
894 int c = cpr(cmp, key, n.key); in doPut()
968 if ((c = cpr(cmp, key, n.key)) < 0) in doRemove()
1242 int c = cpr(cmp, key, n.key); in findNear()
2597 cpr(cmp, fromKey, toKey) > 0) in SubMap()
2611 return (lo != null && ((c = cpr(cmp, key, lo)) < 0 || in tooLow()
[all …]
/libcore/ojluni/src/main/java/java/util/
DTreeMap.java373 Comparator<? super K> cpr = comparator; in getEntryUsingComparator() local
374 if (cpr != null) { in getEntryUsingComparator()
377 int cmp = cpr.compare(k, p.key); in getEntryUsingComparator()
549 Comparator<? super K> cpr = comparator; in put() local
550 if (cpr != null) { in put()
553 cmp = cpr.compare(key, t.key); in put()