Home
last modified time | relevance | path

Searched refs:acquire (Results 1 – 25 of 239) sorted by relevance

12345678910

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DRateLimiterTest.java55 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/llvm/test/CodeGen/X86/
Datomic6432.ll8 %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 …]
Datomic64.ll9 %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 …]
Datomic32.ll11 %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 …]
Datomic8.ll11 %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 …]
Datomic16.ll11 %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 …]
Dpr5145.ll6 %1 = atomicrmw max i8* @sc8, i8 5 acquire
12 %2 = atomicrmw min i8* @sc8, i8 6 acquire
18 %3 = atomicrmw umax i8* @sc8, i8 7 acquire
24 %4 = atomicrmw umin i8* @sc8, i8 8 acquire
Datomic_mi.ll138 %1 = load atomic i16, i16* %p acquire, align 2
151 %1 = load atomic i16, i16* %p acquire, align 2
166 %1 = load atomic i32, i32* %p acquire, align 4
181 %1 = load atomic i32, i32* %p acquire, align 4
201 %1 = load atomic i32, i32* %p acquire, align 4
224 %1 = load atomic i32, i32* %p acquire, align 4
237 %1 = load atomic i64, i64* %p acquire, align 8
250 %1 = load atomic i64, i64* %p acquire, align 8
317 %1 = load atomic i16, i16* %p acquire, align 2
330 %1 = load atomic i16, i16* %p acquire, align 2
[all …]
Datomic-minmax-i6432.ll8 %1 = atomicrmw max i64* @sc64, i64 5 acquire
16 %2 = atomicrmw min i64* @sc64, i64 6 acquire
24 %3 = atomicrmw umax i64* @sc64, i64 7 acquire
32 %4 = atomicrmw umin i64* @sc64, i64 8 acquire
/external/llvm/test/MC/ARM/
Dload-store-acquire-release-v8.s12 @ 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 …]
Dload-store-acquire-release-v8-thumb.s12 @ 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/llvm/test/Bitcode/
DmemInstructions.3.2.ll92 ; CHECK-NEXT: %res3 = load atomic i8, i8* %ptr1 acquire, align 1
93 %res3 = load atomic i8, i8* %ptr1 acquire, align 1
104 ; CHECK-NEXT: %res7 = load atomic volatile i8, i8* %ptr1 acquire, align 1
105 %res7 = load atomic volatile i8, i8* %ptr1 acquire, align 1
116 ; CHECK-NEXT: %res11 = load atomic i8, i8* %ptr1 singlethread acquire, align 1
117 %res11 = load atomic i8, i8* %ptr1 singlethread acquire, align 1
128 ; CHECK-NEXT: %res15 = load atomic volatile i8, i8* %ptr1 singlethread acquire, align 1
129 %res15 = load atomic volatile i8, i8* %ptr1 singlethread acquire, align 1
244 ; CHECK-NEXT: [[TMP:%[a-z0-9]+]] = cmpxchg i32* %ptr, i32 %cmp, i32 %new acquire acquire
246 %res5 = cmpxchg i32* %ptr, i32 %cmp, i32 %new acquire acquire
[all …]
Dcmpxchg.3.6.ll7 cmpxchg i32* %x, i32 %y, i32 %z acquire acquire
8 ; CHECK: cmpxchg i32* %x, i32 %y, i32 %z acquire acquire
Dcmpxchg-upgrade.ll11 cmpxchg i32* %addr, i32 42, i32 0 acquire
12 ; CHECK: cmpxchg i32* %addr, i32 42, i32 0 acquire acquire
18 ; CHECK: cmpxchg i32* %addr, i32 42, i32 0 acq_rel acquire
/external/deqp/framework/delibs/decpp/
DdeSharedPtr.hpp147 void acquire (void);
188 void acquire (void);
284 acquire(); in SharedPtr()
299 acquire(); in SharedPtr()
347 acquire(); in operator =()
373 acquire(); in operator =()
504 inline void SharedPtr<T>::acquire (void) in acquire() function in de::SharedPtr
553 acquire(); in WeakPtr()
565 acquire(); in WeakPtr()
593 acquire(); in operator =()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DWakeLockFacade.java63 public void acquire(WakeLockType type) { in acquire() method in WakeLockFacade.WakeLockManager
64 mmLocks.get(type).acquire(); in acquire()
90 mManager.acquire(WakeLockType.FULL); in wakeLockAcquireFull()
95 mManager.acquire(WakeLockType.PARTIAL); in wakeLockAcquirePartial()
100 mManager.acquire(WakeLockType.BRIGHT); in wakeLockAcquireBright()
105 mManager.acquire(WakeLockType.DIM); in wakeLockAcquireDim()
/external/webrtc/webrtc/base/
Dlinked_ptr.h48 {acquire(r);} in throw()
53 acquire(r);
61 {acquire(r);} in linked_ptr()
66 acquire(r);
82 void acquire(const linked_ptr& r) throw() in acquire() function
96 template <class Y> void acquire(const linked_ptr<Y>& r) throw() in acquire() function
/external/llvm/test/Transforms/GVN/
Dfence.ll30 ; We can not value forward across an acquire barrier since we might
44 ; do { fence acquire: tmp = *%addr.i; ) while (!tmp);
47 fence acquire
49 fence acquire
55 ; Another example of why forwarding across an acquire fence is problematic
65 ; fence acquire;
68 ; across the acquire fence as well.
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMutex.h51 bool acquire();
95 bool acquire() { in acquire() function
97 return MutexImpl::acquire(); in acquire()
142 mtx.acquire(); in SmartScopedLock()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cc44 vector.acquire(&cache, &chunked); in TEST()
63 vector2.acquire(&cache, &chunked); in TEST()
81 thr2.acquire(&cache, &sync); in TEST()
82 thr2.acquire(&cache, &sync); in TEST()
95 vector.acquire(&cache, &chunked); in TEST()
103 vector.acquire(&cache, &chunked); in TEST()
136 vector2.acquire(&cache, &chunked); in TEST()
143 vector1.acquire(&cache, &chunked); in TEST()
265 void acquire(const SimpleSyncClock *src) { in acquire() function
280 acquire(dst); in acq_rel()
[all …]
/external/llvm/test/CodeGen/Mips/llvm-ir/
Dload-atomic.ll13 %val = load atomic i8, i8* %ptr acquire, align 1
22 %val = load atomic i16, i16* %ptr acquire, align 2
31 %val = load atomic i32, i32* %ptr acquire, align 4
40 %val = load atomic i64, i64* %ptr acquire, align 8
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DPowerManagerTest.java44 lock.acquire(); in shouldAcquireAndReleaseReferenceCountedLock()
46 lock.acquire(); in shouldAcquireAndReleaseReferenceCountedLock()
62 lock.acquire(); in shouldAcquireAndReleaseNonReferenceCountedLock()
64 lock.acquire(); in shouldAcquireAndReleaseNonReferenceCountedLock()
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc46 Location Loc = Data->Loc.acquire(); in handleTypeMismatchImpl()
110 SourceLocation Loc = Data->Loc.acquire(); in handleIntegerOverflowImpl()
144 SourceLocation Loc = Data->Loc.acquire(); in handleNegateOverflowImpl()
178 SourceLocation Loc = Data->Loc.acquire(); in handleDivremOverflowImpl()
222 SourceLocation Loc = Data->Loc.acquire(); in handleShiftOutOfBoundsImpl()
271 SourceLocation Loc = Data->Loc.acquire(); in handleOutOfBoundsImpl()
323 SourceLocation Loc = Data->Loc.acquire(); in handleVLABoundNotPositive()
381 SourceLocation SLoc = Data->Loc.acquire(); in handleFloatCastOverflow()
409 SourceLocation Loc = Data->Loc.acquire(); in handleLoadInvalidValue()
441 SourceLocation CallLoc = Data->Loc.acquire(); in handleFunctionTypeMismatch()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPowerManager.java37 public void acquire() { in acquire() method in ShadowPowerManager.ShadowWakeLock
38 acquire(0); in acquire()
43 public synchronized void acquire(long timeout) { in acquire() method in ShadowPowerManager.ShadowWakeLock
/external/llvm/test/Assembler/
Datomic.ll8 ; CHECK: load atomic volatile i32, i32* %x singlethread acquire, align 4
9 load atomic volatile i32, i32* %x singlethread acquire, align 4
16 ; CHECK: cmpxchg volatile i32* %x, i32 0, i32 1 acq_rel acquire
17 cmpxchg volatile i32* %x, i32 0, i32 1 acq_rel acquire

12345678910