/libcore/luni/src/main/java/java/util/concurrent/ |
D | Semaphore.java | 151 return getState(); in getPermits() 156 int available = getState(); in nonfairTryAcquireShared() 166 int current = getState(); in tryReleaseShared() 177 int current = getState(); in reducePermits() 188 int current = getState(); in drainPermits() 224 int available = getState(); in tryAcquireShared()
|
D | CountDownLatch.java | 141 return getState(); in getCount() 145 return (getState() == 0) ? 1 : -1; in tryAcquireShared() 151 int c = getState(); in tryReleaseShared()
|
D | ThreadPoolExecutor.java | 616 return getState() != 0; in isHeldExclusively() 640 if (getState() >= 0 && (t = thread) != null && !t.isInterrupted()) { in interruptIfStarted()
|
D | ForkJoinPool.java | 1310 (s = wt.getState()) != Thread.State.BLOCKED && in isApparentlyUnblocked()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SignatureTest.java | 63 assertEquals(0, s.getState()); in testConstructor() 69 assertEquals(0, s1.getState()); in testConstructor() 74 assertEquals(0, s2.getState()); in testConstructor() 100 assertEquals("state", MySignature1.UNINITIALIZED, s.getState()); in testGetProvider() 107 assertEquals("state", MySignature1.UNINITIALIZED, s.getState()); in testGetAlgorithm() 118 assertEquals("state", MySignature1.VERIFY, s.getState()); in testInitVerifyPublicKey() 138 assertEquals("state", MySignature1.VERIFY, s.getState()); in testInitVerifyCertificate() 159 assertEquals("state", MySignature1.SIGN, s.getState()); in testInitSignPrivateKey() 193 assertEquals("state", MySignature1.SIGN, s.getState()); in testInitSignPrivateKeySecureRandom() 228 assertEquals("state", MySignature1.SIGN, s.getState()); in testSign() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | ReentrantReadWriteLock.java | 312 setState(getState()); // ensures visibility of readHolds in Sync() 345 int nextc = getState() - releases; in tryRelease() 366 int c = getState(); in tryAcquire() 406 int c = getState(); in tryReleaseShared() 438 int c = getState(); in tryAcquireShared() 477 int c = getState(); in fullTryAcquireShared() 530 int c = getState(); in tryWriteLock() 552 int c = getState(); in tryReadLock() 592 return ((exclusiveCount(getState()) == 0) ? in getOwner() 598 return sharedCount(getState()); in getReadLockCount() [all …]
|
D | ReentrantLock.java | 105 int c = getState(); in nonfairTryAcquire() 124 int c = getState() - releases; in tryRelease() 149 return getState() == 0 ? null : getExclusiveOwnerThread(); in getOwner() 153 return isHeldExclusively() ? getState() : 0; in getHoldCount() 157 return getState() != 0; in isLocked() 210 int c = getState(); in tryAcquire()
|
D | AbstractQueuedLongSynchronizer.java | 75 protected final long getState() { in getState() method in AbstractQueuedLongSynchronizer 1143 + "[State = " + getState() + ", " in toString() 1248 long savedState = getState(); in fullyRelease()
|
D | AbstractQueuedSynchronizer.java | 544 protected final int getState() { in getState() method in AbstractQueuedSynchronizer 1614 + "[State = " + getState() + ", " in toString() 1719 int savedState = getState(); in fullyRelease()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 306 Thread.State state = Thread.currentThread().getState(); in test_getState() 347 assertEquals(Thread.State.NEW, th.getState()); in test_getState() 350 assertEquals(Thread.State.RUNNABLE, th.getState()); in test_getState() 355 assertEquals(Thread.State.WAITING, th.getState()); in test_getState() 360 assertEquals(Thread.State.BLOCKED, th.getState()); in test_getState() 366 assertEquals(Thread.State.TIMED_WAITING, th.getState()); in test_getState() 371 assertEquals(Thread.State.TERMINATED, th.getState()); in test_getState()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressMonitor.java | 129 … ProgressEvent(pi, pi.getURL(), pi.getMethod(), pi.getContentType(), pi.getState(), pi.getProgress… in registerSource() 166 … ProgressEvent(pi, pi.getURL(), pi.getMethod(), pi.getContentType(), pi.getState(), pi.getProgress… in unregisterSource() 198 … ProgressEvent(pi, pi.getURL(), pi.getMethod(), pi.getContentType(), pi.getState(), pi.getProgress… in updateProgress()
|
D | ProgressEvent.java | 105 public ProgressSource.State getState() { in getState() method in ProgressEvent
|
D | ProgressSource.java | 140 public State getState() { in getState() method in ProgressSource
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MySignature1.java | 114 public int getState() { in getState() method in MySignature1
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | VM.java | 91 public static final int getState() { in getState() method in VM
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 1186 if (getState() == Thread.State.TERMINATED) { in getThreadGroup() 1812 public State getState() { in getState() method in Thread
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueuedLongSynchronizerTest.java | 46 long state = getState(); in isHeldExclusively() 57 if (getState() != LOCKED) throw new IllegalMonitorStateException(); in tryRelease() 95 public boolean isSignalled() { return getState() != 0; } in isSignalled()
|
D | AbstractQueuedSynchronizerTest.java | 49 int state = getState(); in isHeldExclusively() 60 if (getState() != LOCKED) throw new IllegalMonitorStateException(); in tryRelease() 99 public boolean isSignalled() { return getState() != 0; } in isSignalled()
|
D | JSR166TestCase.java | 1215 Thread.State s = thread.getState(); 1298 if (t.getState() != Thread.State.TERMINATED) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 951 Thread.State state = Thread.currentThread().getState(); in test_getState()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X500Name.java | 516 public String getState() throws IOException { in getState() method in X500Name
|