Searched refs:acquire (Results 1 - 25 of 114) sorted by relevance

12345

/external/llvm/lib/Support/Unix/
H A DRWMutex.inc26 // will therefore deadlock if a thread tries to acquire a read lock
36 return static_cast<Mutex *>(data_)->acquire();
44 return static_cast<Mutex *>(data_)->acquire();
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPowerManager.java37 public void acquire() { method in class:ShadowPowerManager.ShadowWakeLock
38 acquire(0);
43 public synchronized void acquire(long timeout) { method in class:ShadowPowerManager.ShadowWakeLock
/external/chromium_org/third_party/skia/bench/
H A DMutexBench.cpp24 mu.acquire();
/external/llvm/include/llvm/Support/
H A DMutex.h32 /// Initializes the lock but doesn't acquire it. if \p recursive is set
34 /// also more likely to deadlock (same thread can't acquire more than
48 /// Attempts to unconditionally acquire the lock. If the lock is held by
49 /// another thread, this method will wait until it can acquire the lock.
51 /// @brief Unconditionally acquire the lock.
52 bool acquire();
55 /// thread, the lock is released allowing other threads to acquire the
61 /// Attempts to acquire the lock without blocking. If the lock is not
66 /// @brief Try to acquire the lock.
96 bool acquire() { function in class:llvm::sys::SmartMutex
[all...]
H A DMutexGuard.h21 /// Instances of this class acquire a given Mutex Lock when constructed and
32 MutexGuard(sys::Mutex &m) : M(m) { M.acquire(); }
/external/skia/bench/
H A DMutexBench.cpp24 mu.acquire();
/external/chromium_org/third_party/webrtc/base/
H A Dlinked_ptr.h48 {acquire(r);}
53 acquire(r);
61 {acquire(r);}
66 acquire(r);
82 void acquire(const linked_ptr& r) throw() function in class:rtc::linked_ptr
96 template <class Y> void acquire(const linked_ptr<Y>& r) throw() function in class:rtc::linked_ptr
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/
H A DLock.js30 acquire: function()
40 console.error("WebInspector.Lock acquire/release calls are unbalanced " + new Error().stack);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DPowerManagerTest.java44 lock.acquire();
46 lock.acquire();
62 lock.acquire();
64 lock.acquire();
/external/chromium_org/third_party/tlslite/tlslite/
H A Dbasedb.py57 self.lock.acquire()
71 self.lock.acquire()
83 self.lock.acquire()
105 self.lock.acquire()
124 self.lock.acquire()
H A Dsessioncache.py53 self.lock.acquire()
72 self.lock.acquire()
/external/chromium_org/third_party/mesa/src/scons/
H A Dfixes.py12 spawn_lock.acquire()
/external/mesa3d/scons/
H A Dfixes.py12 spawn_lock.acquire()
/external/chromium_org/third_party/skia/include/core/
H A DSkThread.h37 /** If sk_atomic_dec does not act as an acquire (L/SL) barrier,
38 * this must act as an acquire (L/SL) memory barrier and as a compiler barrier.
42 /** If sk_atomic_conditional_inc does not act as an acquire (L/SL) barrier,
43 * this must act as an acquire (L/SL) memory barrier and as a compiler barrier.
69 /** Read T*, with at least an acquire barrier.
87 void acquire(); // Block until this thread owns the mutex.
108 mutex.acquire();
113 mutex->acquire();
H A DSkOnce.h58 void acquire() { function in class:SkOnceFlag
59 // To act as a mutex, this needs an acquire barrier on success.
87 lock->acquire();
110 // Also known as a load-load/load-store barrier, this acquire barrier makes
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DSerialBitmapReferenceCounter.java31 public void acquire() { method in class:SerialBitmapReferenceCounter.InnerTracker
60 counter.get(bitmap).acquire();
/external/skia/include/core/
H A DSkThread.h36 /** If sk_atomic_dec does not act as an acquire (L/SL) barrier,
37 * this must act as an acquire (L/SL) memory barrier and as a compiler barrier.
41 /** If sk_atomic_conditional_inc does not act as an acquire (L/SL) barrier,
42 * this must act as an acquire (L/SL) memory barrier and as a compiler barrier.
68 /** Read T*, with at least an acquire barrier.
86 void acquire(); // Block until this thread owns the mutex.
108 mutex.acquire();
113 mutex->acquire();
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_clock_test.cc41 vector.acquire(&chunked);
59 vector2.acquire(&chunked);
76 thr2.acquire(&sync);
77 thr2.acquire(&sync);
88 vector.acquire(&chunked);
96 vector.acquire(&chunked);
125 vector2.acquire(&chunked);
131 vector1.acquire(&chunked);
187 void acquire(const SimpleSyncClock *src) { function in struct:__tsan::SimpleThreadClock
202 acquire(ds
[all...]
/external/deqp/framework/delibs/decpp/
H A DdeSharedPtr.hpp136 void acquire (void);
178 void acquire (void);
238 acquire();
253 acquire();
297 // Copy from other and acquire reference.
301 acquire();
323 // Copy from other and acquire reference.
327 acquire();
465 inline void SharedPtr<T, Deleter, threadSafe>::acquire (void) function in class:de::SharedPtr
543 acquire();
610 inline void WeakPtr<T, Deleter, threadSafe>::acquire (void) function in class:de::WeakPtr
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkTObjectPool.h16 * acquire one, and there are none left, it makes some more.
41 T* acquire() { function in class:SkTObjectPool
/external/chromium_org/third_party/skia/src/ports/
H A DSkMutex_win.h49 void acquire() { function in struct:SkBaseMutex
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
H A DResource.java55 public void acquire(int times) { method in class:Resource
57 throw new IllegalStateException("Cannot acquire a recycled resource");
60 throw new IllegalArgumentException("Must acquire a number of times >= 0");
63 throw new IllegalThreadStateException("Must call acquire on the main thread");
/external/skia/src/core/
H A DSkTObjectPool.h16 * acquire one, and there are none left, it makes some more.
41 T* acquire() { function in class:SkTObjectPool
/external/skia/src/ports/
H A DSkMutex_win.h47 void acquire() { function in class:SkMutex
/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cc31 Location Loc = Data->Loc.acquire();
69 SourceLocation Loc = Data->Loc.acquire();
114 SourceLocation Loc = Data->Loc.acquire();
136 SourceLocation Loc = Data->Loc.acquire();
159 SourceLocation Loc = Data->Loc.acquire();
188 SourceLocation Loc = Data->Loc.acquire();
216 SourceLocation Loc = Data->Loc.acquire();
249 SourceLocation Loc = Data->Loc.acquire();

Completed in 6306 milliseconds

12345