Home
last modified time | relevance | path

Searched defs:stamp (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/concurrent/
DStampedLockTest.java35 long stamp = lock.tryConvertToReadLock(0L); in testIsLockStamp() local
49 long stamp = lock.readLock(); in testIsOptimisticReadStamp() local
63 long stamp = lock.writeLock(); in testIsReadLockStamp() local
76 long stamp = lock.readLock(); in testIsWriteLockStamp() local
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicStampedReference.java57 final int stamp; field in AtomicStampedReference.Pair
58 private Pair(T reference, int stamp) { in Pair()
62 static <T> Pair<T> of(T reference, int stamp) { in of()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java638 public boolean validate(long stamp) { in validate()
652 public void unlockWrite(long stamp) { in unlockWrite()
667 public void unlockRead(long stamp) { in unlockRead()
694 public void unlock(long stamp) { in unlock()
713 public long tryConvertToWriteLock(long stamp) { in tryConvertToWriteLock()
747 public long tryConvertToReadLock(long stamp) { in tryConvertToReadLock()
781 public long tryConvertToOptimisticRead(long stamp) { in tryConvertToOptimisticRead()
896 public static boolean isWriteLockStamp(long stamp) { in isWriteLockStamp()
919 public static boolean isReadLockStamp(long stamp) { in isReadLockStamp()
945 public static boolean isLockStamp(long stamp) { in isLockStamp()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DStampedLockTest.java64 void releaseWriteLock(StampedLock lock, long stamp) { in releaseWriteLock()
75 void releaseReadLock(StampedLock lock, long stamp) { in releaseReadLock()
88 long assertValid(StampedLock lock, long stamp) { in assertValid()
627 long stamp = lock.writeLock(); in testTimedLock_Timeout() local
1158 final long stamp = readLocker.apply(sl); in testInvalidStampsThrowIllegalMonitorStateException() local
1172 final long stamp = writeLocker.apply(sl); in testInvalidStampsThrowIllegalMonitorStateException() local
1196 long stamp = readLocker.apply(lock); in testDeeplyNestedReadLocks() local
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java590 private transient int[] stamp; field in Calendar
/libcore/ojluni/src/main/java/java/util/
DCalendar.java860 private transient int stamp[]; field in Calendar