Home
last modified time | relevance | path

Searched refs:stamp (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DCalendar.java853 transient private int stamp[]; field in Calendar
1525 for (int stamp = MINIMUM_USER_STAMP; stamp < nextStamp; stamp++) { in build()
1527 if (fields[index] == stamp) { in build()
1609 stamp = new int[FIELD_COUNT]; in Calendar()
1868 stamp[field] = nextStamp++; in set()
1967 stamp[i] = fields[i] = 0; // UNSET == 0 in clear()
1998 stamp[field] = UNSET; in clear()
2016 return stamp[field] != UNSET; in isSet()
2285 return stamp[field] >= MINIMUM_USER_STAMP; in isExternallySet()
2297 if (stamp[i] != UNSET) { in getSetStateFields()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java524 public boolean validate(long stamp) { in validate() argument
526 return (stamp & SBITS) == (state & SBITS); in validate()
537 public void unlockWrite(long stamp) { in unlockWrite() argument
539 if (state != stamp || (stamp & WBIT) == 0L) in unlockWrite()
541 U.putLongVolatile(this, STATE, (stamp += WBIT) == 0L ? ORIGIN : stamp); in unlockWrite()
554 public void unlockRead(long stamp) { in unlockRead() argument
557 if (((s = state) & SBITS) != (stamp & SBITS) || in unlockRead()
558 (stamp & ABITS) == 0L || (m = s & ABITS) == 0L || m == WBIT) in unlockRead()
580 public void unlock(long stamp) { in unlock() argument
581 long a = stamp & ABITS, m, s; WNode h; in unlock()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java590 private transient int[] stamp; field in Calendar