/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 55 limiter.acquire(); // R0.00, since it's the first request in testSimple() 56 limiter.acquire(); // R0.20 in testSimple() 57 limiter.acquire(); // R0.20 in testSimple() 86 limiter.acquire(0); in testAcquireParameterValidation() 91 limiter.acquire(-1); in testAcquireParameterValidation() 119 limiter.acquire(); // R0.00 in testSimpleWithWait() 121 limiter.acquire(); // R0.00, ...which is granted immediately in testSimpleWithWait() 122 limiter.acquire(); // R0.20 in testSimpleWithWait() 128 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00 in testSimpleAcquireReturnValues() 130 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00, ...which is granted immediately in testSimpleAcquireReturnValues() [all …]
|
/external/python/cpython2/Lib/test/ |
D | lock_tests.py | 81 lock.acquire() 86 lock.acquire() 92 self.assertTrue(lock.acquire(False)) 97 lock.acquire() 100 result.append(lock.acquire(False)) 107 lock.acquire() 110 lock.acquire() 124 lock.acquire() 142 lock.acquire() 161 lock.acquire() [all …]
|
/external/python/cpython3/Lib/test/ |
D | lock_tests.py | 101 lock.acquire() 107 lock.acquire() 112 lock.acquire() 118 self.assertTrue(lock.acquire(False)) 123 lock.acquire() 126 result.append(lock.acquire(False)) 133 lock.acquire() 136 lock.acquire() 150 lock.acquire() 168 lock.acquire() [all …]
|
D | test_threadsignals.py | 47 signalled_all.acquire() 49 signalled_all.acquire() 96 lock.acquire() 99 self.assertRaises(KeyboardInterrupt, lock.acquire, timeout=5) 130 rlock.acquire() 135 while rlock.acquire(blocking=False): 140 self.assertRaises(KeyboardInterrupt, rlock.acquire, timeout=5) 158 lock.acquire() 171 while lock.acquire(blocking=False): 174 result = lock.acquire() # Block while we receive a signal. [all …]
|
D | test_dummy_thread.py | 26 self.lock.acquire() 43 self.assertTrue(self.lock.acquire(0), 48 self.lock.acquire(0) 49 self.assertFalse(self.lock.acquire(0), 55 self.lock.acquire() 61 self.assertIs(self.lock.acquire(1), True, 63 self.assertIs(self.lock.acquire(), True) 72 self.lock.acquire() 79 self.lock.acquire() 92 self.lock.acquire() [all …]
|
/external/python/cpython2/Lib/multiprocessing/ |
D | synchronize.py | 85 self.acquire = self._semlock.acquire 221 self.acquire = self._lock.acquire 246 self._wait_semaphore.acquire(True, timeout) 253 self._lock.acquire() 257 assert not self._wait_semaphore.acquire(False) 261 while self._woken_count.acquire(False): 262 res = self._sleeping_count.acquire(False) 265 if self._sleeping_count.acquire(False): # try grabbing a sleeper 267 self._woken_count.acquire() # wait for the sleeper to wake 270 self._wait_semaphore.acquire(False) [all …]
|
D | queues.py | 101 if not self._sem.acquire(block, timeout): 104 self._notempty.acquire() 115 self._rlock.acquire() 126 if not self._rlock.acquire(block, timeout): 226 notempty.acquire() 236 nacquire = notempty.acquire 242 wacquire = writelock.acquire 311 if not self._sem.acquire(block, timeout): 314 self._notempty.acquire() 315 self._cond.acquire() [all …]
|
/external/python/cpython2/Demo/threads/ |
D | sync.py | 288 self.checkout.acquire() 298 def acquire(self): member in condition 299 self.mutex.acquire() 310 idlock.acquire() 318 checkout.acquire(); idlock.acquire() 332 mutex.acquire() 342 self.idlock.acquire() 365 full.acquire() 380 self.posted.acquire() 386 self.posted.acquire() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | atomic6432.ll | 8 %t1 = atomicrmw add i64* @sc64, i64 1 acquire 13 %t2 = atomicrmw add i64* @sc64, i64 3 acquire 18 %t3 = atomicrmw add i64* @sc64, i64 5 acquire 23 %t4 = atomicrmw add i64* @sc64, i64 %t3 acquire 34 %t1 = atomicrmw sub i64* @sc64, i64 1 acquire 39 %t2 = atomicrmw sub i64* @sc64, i64 3 acquire 44 %t3 = atomicrmw sub i64* @sc64, i64 5 acquire 49 %t4 = atomicrmw sub i64* @sc64, i64 %t3 acquire 60 %t1 = atomicrmw and i64* @sc64, i64 3 acquire 65 %t2 = atomicrmw and i64* @sc64, i64 4294967297 acquire [all …]
|
D | atomic64.ll | 9 %t1 = atomicrmw add i64* @sc64, i64 1 acquire 12 %t2 = atomicrmw add i64* @sc64, i64 3 acquire 15 %t3 = atomicrmw add i64* @sc64, i64 5 acquire 18 %t4 = atomicrmw add i64* @sc64, i64 %t3 acquire 28 %t1 = atomicrmw sub i64* @sc64, i64 1 acquire 31 %t2 = atomicrmw sub i64* @sc64, i64 3 acquire 34 %t3 = atomicrmw sub i64* @sc64, i64 5 acquire 37 %t4 = atomicrmw sub i64* @sc64, i64 %t3 acquire 47 %t1 = atomicrmw and i64* @sc64, i64 3 acquire 50 %t2 = atomicrmw and i64* @sc64, i64 5 acquire [all …]
|
D | atomic8.ll | 11 %t1 = atomicrmw add i8* @sc8, i8 1 acquire 16 %t2 = atomicrmw add i8* @sc8, i8 3 acquire 21 %t3 = atomicrmw add i8* @sc8, i8 5 acquire 26 %t4 = atomicrmw add i8* @sc8, i8 %t3 acquire 39 %t1 = atomicrmw sub i8* @sc8, i8 1 acquire 44 %t2 = atomicrmw sub i8* @sc8, i8 3 acquire 49 %t3 = atomicrmw sub i8* @sc8, i8 5 acquire 54 %t4 = atomicrmw sub i8* @sc8, i8 %t3 acquire 67 %t1 = atomicrmw and i8* @sc8, i8 3 acquire 72 %t2 = atomicrmw and i8* @sc8, i8 5 acquire [all …]
|
D | atomic32.ll | 11 %t1 = atomicrmw add i32* @sc32, i32 1 acquire 14 %t2 = atomicrmw add i32* @sc32, i32 3 acquire 17 %t3 = atomicrmw add i32* @sc32, i32 5 acquire 20 %t4 = atomicrmw add i32* @sc32, i32 %t3 acquire 29 %t1 = atomicrmw sub i32* @sc32, i32 1 acquire 32 %t2 = atomicrmw sub i32* @sc32, i32 3 acquire 35 %t3 = atomicrmw sub i32* @sc32, i32 5 acquire 38 %t4 = atomicrmw sub i32* @sc32, i32 %t3 acquire 47 %t1 = atomicrmw and i32* @sc32, i32 3 acquire 50 %t2 = atomicrmw and i32* @sc32, i32 5 acquire [all …]
|
D | atomic16.ll | 11 %t1 = atomicrmw add i16* @sc16, i16 1 acquire 16 %t2 = atomicrmw add i16* @sc16, i16 3 acquire 21 %t3 = atomicrmw add i16* @sc16, i16 5 acquire 26 %t4 = atomicrmw add i16* @sc16, i16 %t3 acquire 39 %t1 = atomicrmw sub i16* @sc16, i16 1 acquire 44 %t2 = atomicrmw sub i16* @sc16, i16 3 acquire 49 %t3 = atomicrmw sub i16* @sc16, i16 5 acquire 54 %t4 = atomicrmw sub i16* @sc16, i16 %t3 acquire 67 %t1 = atomicrmw and i16* @sc16, i16 3 acquire 72 %t2 = atomicrmw and i16* @sc16, i16 5 acquire [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | atomic6432.ll | 8 %t1 = atomicrmw add i64* @sc64, i64 1 acquire 13 %t2 = atomicrmw add i64* @sc64, i64 3 acquire 18 %t3 = atomicrmw add i64* @sc64, i64 5 acquire 23 %t4 = atomicrmw add i64* @sc64, i64 %t3 acquire 34 %t1 = atomicrmw sub i64* @sc64, i64 1 acquire 39 %t2 = atomicrmw sub i64* @sc64, i64 3 acquire 44 %t3 = atomicrmw sub i64* @sc64, i64 5 acquire 49 %t4 = atomicrmw sub i64* @sc64, i64 %t3 acquire 60 %t1 = atomicrmw and i64* @sc64, i64 3 acquire 65 %t2 = atomicrmw and i64* @sc64, i64 4294967297 acquire [all …]
|
D | atomic64.ll | 9 %t1 = atomicrmw add i64* @sc64, i64 1 acquire 12 %t2 = atomicrmw add i64* @sc64, i64 3 acquire 15 %t3 = atomicrmw add i64* @sc64, i64 5 acquire 18 %t4 = atomicrmw add i64* @sc64, i64 %t3 acquire 28 %t1 = atomicrmw sub i64* @sc64, i64 1 acquire 31 %t2 = atomicrmw sub i64* @sc64, i64 3 acquire 34 %t3 = atomicrmw sub i64* @sc64, i64 5 acquire 37 %t4 = atomicrmw sub i64* @sc64, i64 %t3 acquire 47 %t1 = atomicrmw and i64* @sc64, i64 3 acquire 50 %t2 = atomicrmw and i64* @sc64, i64 5 acquire [all …]
|
D | atomic8.ll | 11 %t1 = atomicrmw add i8* @sc8, i8 1 acquire 16 %t2 = atomicrmw add i8* @sc8, i8 3 acquire 21 %t3 = atomicrmw add i8* @sc8, i8 5 acquire 26 %t4 = atomicrmw add i8* @sc8, i8 %t3 acquire 39 %t1 = atomicrmw sub i8* @sc8, i8 1 acquire 44 %t2 = atomicrmw sub i8* @sc8, i8 3 acquire 49 %t3 = atomicrmw sub i8* @sc8, i8 5 acquire 54 %t4 = atomicrmw sub i8* @sc8, i8 %t3 acquire 67 %t1 = atomicrmw and i8* @sc8, i8 3 acquire 72 %t2 = atomicrmw and i8* @sc8, i8 5 acquire [all …]
|
D | atomic16.ll | 11 %t1 = atomicrmw add i16* @sc16, i16 1 acquire 16 %t2 = atomicrmw add i16* @sc16, i16 3 acquire 21 %t3 = atomicrmw add i16* @sc16, i16 5 acquire 26 %t4 = atomicrmw add i16* @sc16, i16 %t3 acquire 39 %t1 = atomicrmw sub i16* @sc16, i16 1 acquire 44 %t2 = atomicrmw sub i16* @sc16, i16 3 acquire 49 %t3 = atomicrmw sub i16* @sc16, i16 5 acquire 54 %t4 = atomicrmw sub i16* @sc16, i16 %t3 acquire 67 %t1 = atomicrmw and i16* @sc16, i16 3 acquire 72 %t2 = atomicrmw and i16* @sc16, i16 5 acquire [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/ARM/ |
D | load-store-acquire-release-v8-thumb.s | 12 @ CHECK-V7: error: instruction requires: acquire/release 13 @ CHECK-V7: error: instruction requires: acquire/release 14 @ CHECK-V7: error: instruction requires: acquire/release 15 @ CHECK-V7: error: instruction requires: acquire/release 25 @ CHECK-V7: error: instruction requires: acquire/release 26 @ CHECK-V7: error: instruction requires: acquire/release 27 @ CHECK-V7: error: instruction requires: acquire/release 28 @ CHECK-V7: error: instruction requires: acquire/release 36 @ CHECK-V7: error: instruction requires: acquire/release 37 @ CHECK-V7: error: instruction requires: acquire/release [all …]
|
D | load-store-acquire-release-v8.s | 12 @ CHECK-V7: instruction requires: acquire/release 13 @ CHECK-V7: instruction requires: acquire/release 14 @ CHECK-V7: instruction requires: acquire/release 15 @ CHECK-V7: instruction requires: acquire/release 25 @ CHECK-V7: instruction requires: acquire/release 26 @ CHECK-V7: instruction requires: acquire/release 27 @ CHECK-V7: instruction requires: acquire/release 28 @ CHECK-V7: instruction requires: acquire/release 36 @ CHECK-V7: instruction requires: acquire/release 37 @ CHECK-V7: instruction requires: acquire/release [all …]
|
/external/llvm/test/MC/ARM/ |
D | load-store-acquire-release-v8.s | 12 @ CHECK-V7: instruction requires: acquire/release 13 @ CHECK-V7: instruction requires: acquire/release 14 @ CHECK-V7: instruction requires: acquire/release 15 @ CHECK-V7: instruction requires: acquire/release 25 @ CHECK-V7: instruction requires: acquire/release 26 @ CHECK-V7: instruction requires: acquire/release 27 @ CHECK-V7: instruction requires: acquire/release 28 @ CHECK-V7: instruction requires: acquire/release 36 @ CHECK-V7: instruction requires: acquire/release 37 @ CHECK-V7: instruction requires: acquire/release [all …]
|
D | load-store-acquire-release-v8-thumb.s | 12 @ CHECK-V7: error: instruction requires: acquire/release 13 @ CHECK-V7: error: instruction requires: acquire/release 14 @ CHECK-V7: error: instruction requires: acquire/release 15 @ CHECK-V7: error: instruction requires: acquire/release 25 @ CHECK-V7: error: instruction requires: acquire/release 26 @ CHECK-V7: error: instruction requires: acquire/release 27 @ CHECK-V7: error: instruction requires: acquire/release 28 @ CHECK-V7: error: instruction requires: acquire/release 36 @ CHECK-V7: error: instruction requires: acquire/release 37 @ CHECK-V7: error: instruction requires: acquire/release [all …]
|
/external/catch2/projects/SelfTest/IntrospectiveTests/ |
D | PartTracker.tests.cpp | 43 ITracker& testCase = SectionTracker::acquire( ctx, makeNAL( "Testcase" ) ); 46 ITracker& s1 = SectionTracker::acquire( ctx, makeNAL( "S1" ) ); 71 ITracker& testCase2 = SectionTracker::acquire( ctx, makeNAL( "Testcase" ) ); 74 ITracker& s1b = SectionTracker::acquire( ctx, makeNAL( "S1" ) ); 84 ITracker& testCase2 = SectionTracker::acquire( ctx, makeNAL( "Testcase" ) ); 87 ITracker& s1b = SectionTracker::acquire( ctx, makeNAL( "S1" ) ); 90 ITracker& s2 = SectionTracker::acquire( ctx, makeNAL( "S2" ) ); 105 ITracker& s2 = SectionTracker::acquire( ctx, makeNAL( "S2" ) ); 113 ITracker& testCase2 = SectionTracker::acquire( ctx, makeNAL( "Testcase" ) ); 116 ITracker& s1b = SectionTracker::acquire( ctx, makeNAL( "S1" ) ); [all …]
|
/external/python/cpython2/Demo/metaclasses/ |
D | Synch.py | 49 def acquire(self, flag=1): member in Lock 61 self.__mutex.acquire() 68 locked = self.__wait.acquire(flag) 72 self.__mutex.acquire() 91 self.__mutex.acquire() 108 lock.acquire() 114 lock.acquire() 123 lock.acquire() 127 lock.acquire() 152 self.inst.__lock__.acquire() [all …]
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_locks.py | 98 self.assertTrue(self.loop.run_until_complete(lock.acquire())) 101 if await lock.acquire(): 106 if await lock.acquire(): 111 if await lock.acquire(): 147 self.assertTrue(self.loop.run_until_complete(lock.acquire())) 149 task = asyncio.Task(lock.acquire(), loop=self.loop) 174 await lock.acquire() 215 await lock.acquire() 219 await lock.acquire() 254 ta = asyncio.Task(lock.acquire(), loop=self.loop) [all …]
|
/external/python/cpython3/Lib/multiprocessing/ |
D | synchronize.py | 91 self.acquire = self._semlock.acquire 236 self.acquire = self._lock.acquire 261 return self._wait_semaphore.acquire(True, timeout) 268 self._lock.acquire() 272 assert not self._wait_semaphore.acquire( 278 while self._woken_count.acquire(False): 279 res = self._sleeping_count.acquire(False) 284 while sleepers < n and self._sleeping_count.acquire(False): 290 self._woken_count.acquire() # wait for a sleeper to wake 293 while self._wait_semaphore.acquire(False): [all …]
|