Home
last modified time | relevance | path

Searched defs:cmp (Results 1 – 25 of 50) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java403 private boolean casHead(HeadIndex<K,V> cmp, HeadIndex<K,V> val) { in casHead()
446 boolean casValue(Object cmp, Object val) { in casValue()
453 boolean casNext(Node<K,V> cmp, Node<K,V> val) { in casNext()
579 final boolean casRight(Index<K,V> cmp, Index<K,V> val) { in casRight()
663 private Node<K,V> findPredecessor(Object key, Comparator<? super K> cmp) { in findPredecessor()
738 Comparator<? super K> cmp = comparator; in findNode() local
774 Comparator<? super K> cmp = comparator; in doGet() local
816 Comparator<? super K> cmp = comparator; in doPut() local
953 Comparator<? super K> cmp = comparator; in doRemove() local
1225 final Node<K,V> findNear(K key, int rel, Comparator<? super K> cmp) { in findNear()
[all …]
DPriorityBlockingQueue.java330 Comparator<? super E> cmp = comparator; in dequeue() local
369 Comparator<? super T> cmp) { in siftUpUsingComparator()
414 Comparator<? super T> cmp) { in siftDownUsingComparator()
440 Comparator<? super E> cmp = comparator; in heapify() local
486 Comparator<? super E> cmp = comparator; in offer() local
633 Comparator<? super E> cmp = comparator; in removeAt() local
DConcurrentLinkedQueue.java196 static <E> boolean casItem(Node<E> node, E cmp, E val) { in casItem()
204 static <E> boolean casNext(Node<E> node, Node<E> cmp, Node<E> val) { in casNext()
922 private boolean casTail(Node<E> cmp, Node<E> val) { in casTail()
926 private boolean casHead(Node<E> cmp, Node<E> val) { in casHead()
DSynchronousQueue.java248 boolean casNext(SNode cmp, SNode val) { in casNext()
547 boolean casNext(QNode cmp, QNode val) { in casNext()
552 boolean casItem(Object cmp, Object val) { in casItem()
560 void tryCancel(Object cmp) { in tryCancel()
632 boolean casCleanMe(QNode cmp, QNode val) { in casCleanMe()
DLinkedTransferQueue.java458 final boolean casNext(Node cmp, Node val) { in casNext()
462 final boolean casItem(Object cmp, Object val) { in casItem()
569 private boolean casTail(Node cmp, Node val) { in casTail()
573 private boolean casHead(Node cmp, Node val) { in casHead()
577 private boolean casSweepVotes(int cmp, int val) { in casSweepVotes()
DConcurrentLinkedDeque.java307 boolean casItem(E cmp, E val) { in casItem()
315 boolean casNext(Node<E> cmp, Node<E> val) { in casNext()
323 boolean casPrev(Node<E> cmp, Node<E> val) { in casPrev()
1601 private boolean casHead(Node<E> cmp, Node<E> val) { in casHead()
1605 private boolean casTail(Node<E> cmp, Node<E> val) { in casTail()
/libcore/ojluni/src/main/java/java/net/
DInterfaceAddress.java127 InterfaceAddress cmp = (InterfaceAddress) obj; in equals() local
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DStriped64.java127 final boolean cas(long cmp, long val) { in cas()
178 final boolean casBase(long cmp, long val) { in casBase()
DAtomicStampedReference.java204 private boolean casPair(Pair<V> cmp, Pair<V> val) { in casPair()
DAtomicMarkableReference.java204 private boolean casPair(Pair<V> cmp, Pair<V> val) { in casPair()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DMap.annotated.java100 …ry<@libcore.util.NullFromTypeParam K, @libcore.util.Nullable V>> comparingByKey(@libcore.util.NonN… in comparingByKey()
102 …ry<@libcore.util.Nullable K, @libcore.util.NullFromTypeParam V>> comparingByValue(@libcore.util.No… in comparingByValue()
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java265 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/
DMap.java505 public static <K, V> Comparator<Map.Entry<K, V>> comparingByKey(Comparator<? super K> cmp) { in comparingByKey()
524 … public static <K, V> Comparator<Map.Entry<K, V>> comparingByValue(Comparator<? super V> cmp) { in comparingByValue()
DCollections.java273 int cmp = midVal.compareTo(key); in indexedBinarySearch() local
295 int cmp = midVal.compareTo(key); in iteratorBinarySearch() local
379 int cmp = c.compare(midVal, key); in indexedBinarySearch() local
399 int cmp = c.compare(midVal, key); in iteratorBinarySearch() local
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DPriorityBlockingQueue.java74 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/
DChronoLocalDate.java704 int cmp = Long.compare(toEpochDay(), other.toEpochDay()); in compareTo() local
DChronoLocalDateTime.java500 int cmp = toLocalDate().compareTo(other.toLocalDate()); in compareTo() local
DChronoZonedDateTime.java570 int cmp = Long.compare(toEpochSecond(), other.toEpochSecond()); in compareTo() local
/libcore/ojluni/src/main/java/java/time/
DMonthDay.java674 int cmp = (month - other.month); in compareTo() local
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java345 int cmp = Long.compare(secs, secsOther); in compareTo() local
/libcore/ojluni/src/main/java/java/nio/
DDoubleBuffer.java836 int cmp = compare(this.get(i), that.get(j)); in compareTo() local
DFloatBuffer.java839 int cmp = compare(this.get(i), that.get(j)); in compareTo() local
DShortBuffer.java833 int cmp = compare(this.get(i), that.get(j)); in compareTo() local
DLongBuffer.java833 int cmp = compare(this.get(i), that.get(j)); in compareTo() local
DIntBuffer.java840 int cmp = compare(this.get(i), that.get(j)); in compareTo() local

12