/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListMap.java | 465 private Node<K,V> findPredecessor(Object key, Comparator<? super K> cmp) { in findPredecessor() 507 Comparator<? super K> cmp = comparator; in findNode() local 542 Comparator<? super K> cmp = comparator; in doGet() local 599 Comparator<? super K> cmp = comparator; in doPut() local 703 Comparator<? super K> cmp) { in addIndices() 761 Comparator<? super K> cmp = comparator; in doRemove() local 1014 final Node<K,V> findNear(K key, int rel, Comparator<? super K> cmp) { in findNear() 1056 Comparator<? super K> cmp) { in findNearEntry() 1244 Comparator<? super K> cmp = comparator; in readObject() local 1715 Comparator<? super K> cmp = comparator; in equals() local [all …]
|
D | PriorityBlockingQueue.java | 328 final Comparator<? super E> cmp; in dequeue() local 365 int k, T x, Object[] es, Comparator<? super T> cmp) { in siftUpUsingComparator() 407 int k, T x, Object[] es, int n, Comparator<? super T> cmp) { in siftDownUsingComparator() 432 final Comparator<? super E> cmp; in heapify() local 476 final Comparator<? super E> cmp; in offer() local 622 final Comparator<? super E> cmp; in removeAt() local
|
D | SynchronousQueue.java | 245 boolean casNext(SNode cmp, SNode val) { in casNext() 516 boolean casNext(QNode cmp, QNode val) { in casNext() 521 boolean casItem(Object cmp, Object val) { in casItem() 529 boolean tryCancel(Object cmp) { in tryCancel() 620 boolean casCleanMe(QNode cmp, QNode val) { in casCleanMe()
|
D | LinkedTransferQueue.java | 410 final boolean casNext(Node cmp, Node val) { in casNext() 415 final boolean casItem(Object cmp, Object val) { in casItem() 446 final boolean tryMatch(Object cmp, Object val) { in tryMatch() 508 private boolean casTail(Node cmp, Node val) { in casTail() 514 private boolean casHead(Node cmp, Node val) { in casHead()
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | SpreadCollectTest.java | 68 Comparator<Integer> cmp = (a, b) -> a - b; in testAsSpreaderExample() local 69 assertTrue((int) compare2FromArray.invoke(Arrays.copyOfRange(ints, 0, 2), cmp) < 0); in testAsSpreaderExample() local 71 assertTrue((int) compare2FromArray.invoke(Arrays.copyOfRange(ints, 2, 4), cmp) == 0); in testAsSpreaderExample() local
|
D | JavaDocExamplesTest.java | 717 static boolean cmp(int i, int k) { return i < k; } in cmp() method in JavaDocExamplesTest 945 Comparator<Integer> cmp = (a, b) -> a - b; in testAsSpreader2() local 946 assertTrue((int) compare2FromArray.invoke(Arrays.copyOfRange(ints, 0, 2), cmp) < 0); in testAsSpreader2() local 948 assertTrue((int) compare2FromArray.invoke(Arrays.copyOfRange(ints, 2, 4), cmp) == 0); in testAsSpreader2() local
|
/libcore/ojluni/src/main/java/java/net/ |
D | InterfaceAddress.java | 127 InterfaceAddress cmp = (InterfaceAddress) obj; in equals() local
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | Striped64.java | 128 final boolean cas(long cmp, long val) { in cas() 181 final boolean casBase(long cmp, long val) { in casBase()
|
D | AtomicStampedReference.java | 204 private boolean casPair(Pair<V> cmp, Pair<V> val) { in casPair()
|
D | AtomicMarkableReference.java | 204 private boolean casPair(Pair<V> cmp, Pair<V> val) { in casPair()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | ReverseOrder.java | 71 Comparator cmp = Collections.reverseOrder(); in main() local
|
D | ReverseOrder2.java | 81 private static Comparator<String> cmp = new Comparator<>() { field in ReverseOrder2
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 265 static void cmp(long v1, TimeUnit u1, long v2, TimeUnit u2, int expected) { in cmp() method in FileTimeTest 271 static void cmp(Instant ins, long v2, TimeUnit u2, int expected) { in cmp() method in FileTimeTest
|
/libcore/ojluni/src/main/java/java/util/ |
D | PriorityQueue.java | 674 int k, T x, Object[] es, Comparator<? super T> cmp) { in siftUpUsingComparator() 721 int k, T x, Object[] es, int n, Comparator<? super T> cmp) { in siftDownUsingComparator() 746 final Comparator<? super E> cmp; in heapify() local
|
D | ReverseOrderSortedMapView.java | 35 final Comparator<? super K> cmp; field in ReverseOrderSortedMapView
|
D | Collections.java | 274 int cmp = midVal.compareTo(key); in indexedBinarySearch() local 296 int cmp = midVal.compareTo(key); in iteratorBinarySearch() local 380 int cmp = c.compare(midVal, key); in indexedBinarySearch() local 400 int cmp = c.compare(midVal, key); in iteratorBinarySearch() local
|
D | TreeMap.java | 386 int cmp = k.compareTo(p.key); in getEntry() local 410 int cmp = cpr.compare(k, p.key); in getEntryUsingComparator() local 431 int cmp = compare(key, p.key); in getCeilingEntry() local 464 int cmp = compare(key, p.key); in getFloorEntry() local 497 int cmp = compare(key, p.key); in getHigherEntry() local 528 int cmp = compare(key, p.key); in getLowerEntry() local 602 int cmp; in computeIfAbsent() local 693 int cmp; in compute() local 750 int cmp; in merge() local 824 int cmp; in put() local
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | PriorityQueueTest.java | 158 MyReverseComparator cmp = new MyReverseComparator(); in testConstructor7() local
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | PriorityBlockingQueue.java | 74 int k, T x, java.lang.Object[] array, java.util.Comparator<? super T> cmp) { in siftUpUsingComparator() 83 int k, T x, java.lang.Object[] array, int n, java.util.Comparator<? super T> cmp) { in siftDownUsingComparator()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDate.java | 707 int cmp = Long.compare(toEpochDay(), other.toEpochDay()); in compareTo() local
|
D | ChronoLocalDateTime.java | 507 int cmp = toLocalDate().compareTo(other.toLocalDate()); in compareTo() local
|
D | ChronoZonedDateTime.java | 577 int cmp = Long.compare(toEpochSecond(), other.toEpochSecond()); in compareTo() local
|
/libcore/ojluni/src/main/java/java/time/ |
D | MonthDay.java | 675 int cmp = (month - other.month); in compareTo() local
|
D | OffsetDateTime.java | 171 int cmp = Long.compare(datetime1.toEpochSecond(), datetime2.toEpochSecond()); in compareInstant() local 1803 int cmp = compareInstant(this, other); in compareTo() local
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 345 int cmp = Long.compare(secs, secsOther); in compareTo() local
|