Searched refs:setState (Results 1 – 13 of 13) sorted by relevance
157 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
136 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()
340 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()
540 protected final void setState(int newState) { in setState() method in AbstractQueuedSynchronizer
175 protected final void setState(long newState) { in setState() method in AbstractQueuedLongSynchronizer
164 setState(count); in Sync()
176 setState(permits); in Sync()
637 setState(-1); // inhibit interrupts until runWorker in Worker()666 setState(0); in tryRelease()
62 setState(UNLOCKED); in tryRelease()106 setState(1); in tryReleaseShared()
58 setState(UNLOCKED); in tryRelease()102 setState(1L << 62); in tryReleaseShared()
85 setState(UNLOCKED); in tryRelease()129 setState(1); in tryReleaseShared()
81 setState(UNLOCKED); in tryRelease()125 setState(1L << 62); in tryReleaseShared()
16860 method protected final void setState(long);16907 method protected final void setState(int);