Home
last modified time | relevance | path

Searched refs:setState (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/test/java/io/InputStream/
DSkip.java157 in.setState(-1, 100); in testSkip()
161 in.setState(n + 1, 100); in testSkip()
166 in.setState(n/2, n/2 + n/4); in testSkip()
171 in.setState(n/2, n); in testSkip()
199 public void setState(long skipReturn, long maxReads) { in setState() method in MyInputStream
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java136 setState(c); in tryLock()
179 setState(c); in tryRelease()
213 setState(0); // reset to unlocked state in readObject()
232 setState(c); in initialTryLock()
270 setState(c); in initialTryLock()
DReentrantReadWriteLock.java340 setState(getState()); // ensures visibility of readHolds in Sync()
377 setState(nextc); in tryRelease()
404 setState(c + acquires); in tryAcquire()
671 setState(0); // reset to unlocked state in readObject()
DAbstractQueuedSynchronizer.java540 protected final void setState(int newState) { in setState() method in AbstractQueuedSynchronizer
DAbstractQueuedLongSynchronizer.java175 protected final void setState(long newState) { in setState() method in AbstractQueuedLongSynchronizer
/libcore/ojluni/src/main/java/java/util/concurrent/
DCountDownLatch.java164 setState(count); in Sync()
DSemaphore.java176 setState(permits); in Sync()
DThreadPoolExecutor.java637 setState(-1); // inhibit interrupts until runWorker in Worker()
666 setState(0); in tryRelease()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java62 setState(UNLOCKED); in tryRelease()
106 setState(1); in tryReleaseShared()
DAbstractQueuedLongSynchronizerTest.java58 setState(UNLOCKED); in tryRelease()
102 setState(1L << 62); in tryReleaseShared()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedSynchronizerTest.java85 setState(UNLOCKED); in tryRelease()
129 setState(1); in tryReleaseShared()
DAbstractQueuedLongSynchronizerTest.java81 setState(UNLOCKED); in tryRelease()
125 setState(1L << 62); in tryReleaseShared()
/libcore/api/
Dcurrent.txt16860 method protected final void setState(long);
16907 method protected final void setState(int);