Lines Matching defs:sync

145         final Mutex sync;  field in AbstractQueuedSynchronizerTest.InterruptibleSyncRunnable
146 InterruptibleSyncRunnable(Mutex sync) { this.sync = sync; } in InterruptibleSyncRunnable()
157 final Mutex sync; field in AbstractQueuedSynchronizerTest.InterruptedSyncRunnable
158 InterruptedSyncRunnable(Mutex sync) { this.sync = sync; } in InterruptedSyncRunnable()
170 void waitForQueuedThread(AbstractQueuedSynchronizer sync, Thread t) { in waitForQueuedThread()
183 void assertHasQueuedThreads(AbstractQueuedSynchronizer sync, in assertHasQueuedThreads()
197 void assertHasExclusiveQueuedThreads(AbstractQueuedSynchronizer sync, in assertHasExclusiveQueuedThreads()
209 void assertHasSharedQueuedThreads(AbstractQueuedSynchronizer sync, in assertHasSharedQueuedThreads()
222 void assertHasWaitersUnlocked(Mutex sync, ConditionObject c, in assertHasWaitersUnlocked()
232 void assertHasWaitersLocked(Mutex sync, ConditionObject c, in assertHasWaitersLocked()
309 Mutex sync = new Mutex(); in testIsHeldExclusively() local
317 Mutex sync = new Mutex(); in testAcquire() local
328 Mutex sync = new Mutex(); in testTryAcquire() local
339 final Mutex sync = new Mutex(); in testHasQueuedThreads() local
360 final Mutex sync = new Mutex(); in testIsQueuedNPE() local
371 final Mutex sync = new Mutex(); in testIsQueued() local
399 final Mutex sync = new Mutex(); in testGetFirstQueuedThread() local
420 final Mutex sync = new Mutex(); in testHasContended() local
442 final Mutex sync = new Mutex(); in testGetQueuedThreads() local
470 final Mutex sync = new Mutex(); in testGetExclusiveQueuedThreads() local
498 final Mutex sync = new Mutex(); in testGetSharedQueuedThreads_Exclusive() local
546 final Mutex sync = new Mutex(); in testTryAcquireNanos_Interruptible() local
562 final Mutex sync = new Mutex(); in testTryAcquireWhenSynced() local
577 final Mutex sync = new Mutex(); in testAcquireNanos_Timeout() local
595 final Mutex sync = new Mutex(); in testGetState() local
622 final Mutex sync = new Mutex(); in testAcquireInterruptibly() local
642 final Mutex sync = new Mutex(); in testOwns() local
653 final Mutex sync = new Mutex(); in testAwait_IMSE() local