Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicStampedReference.java128 int newStamp) { in weakCompareAndSet() argument
130 expectedStamp, newStamp); in weakCompareAndSet()
148 int newStamp) { in compareAndSet() argument
154 newStamp == current.stamp) || in compareAndSet()
155 casPair(current, Pair.of(newReference, newStamp))); in compareAndSet()
164 public void set(V newReference, int newStamp) { in set() argument
166 if (newReference != current.reference || newStamp != current.stamp) in set()
167 this.pair = Pair.of(newReference, newStamp); in set()
183 public boolean attemptStamp(V expectedReference, int newStamp) { in attemptStamp() argument
187 (newStamp == current.stamp || in attemptStamp()
[all …]
/libcore/ojluni/src/main/java/java/util/
DCalendar.java3423 int newStamp = MINIMUM_USER_STAMP; in adjustStamp() local
3429 if (v >= newStamp && min > v) { in adjustStamp()
3441 stamp[i] = newStamp; in adjustStamp()
3444 newStamp++; in adjustStamp()
3449 nextStamp = newStamp; in adjustStamp()