HomeSort by relevance Sort by last modified time
    Searched defs:lock (Results 126 - 150 of 996) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/harfbuzz_ng/src/
hb-mutex.hh 135 void lock () { hb_mutex_impl_lock (&m); } function in struct:hb_mutex_t
142 hb_lock_t (hb_mutex_t &mutex_) : mutex (mutex_) { mutex.lock (); }
  /external/icu/icu4c/source/test/intltest/
caltztst.cpp 49 Mutex lock; local
77 Mutex lock; local
96 Mutex lock; local
123 Mutex lock; local
  /external/libchrome/base/synchronization/
lock_unittest.cc 5 #include "base/synchronization/lock.h"
21 explicit BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {}
47 Lock* lock_;
54 Lock lock; local
55 BasicLockTestThread thread(&lock);
62 lock.Acquire();
64 lock.Release()
114 Lock lock; local
154 Lock lock; local
218 Lock lock; local
234 Lock lock; local
    [all...]
  /external/libchrome/base/threading/
thread_collision_warner_unittest.cc 11 #include "base/synchronization/lock.h"
265 // a lock.
268 QueueUser(NonThreadSafeQueue* queue, base::Lock* lock)
269 : queue_(queue), lock_(lock) {}
283 base::Lock* lock_;
290 base::Lock lock; local
292 QueueUser queue_user_a(&queue, &lock);
293 QueueUser queue_user_b(&queue, &lock);
367 base::Lock lock; local
    [all...]
  /external/libcxxabi/src/
cxa_guard.cpp 123 uint8_t lock[2]; member in union:__cxxabiv1::__anon27983::__anon27984
125 return f.lock[1] != 0;
133 uint8_t lock[2]; member in union:__cxxabiv1::__anon27983::__anon27985
135 f.lock[1] = y;
146 uint8_t lock[2]; member in union:__cxxabiv1::__anon27983::__anon27986
148 return f.lock[1] != 0;
156 uint8_t lock[2]; member in union:__cxxabiv1::__anon27983::__anon27987
158 f.lock[1] = y;
193 lock_type lock = get_lock(*guard_object); local
194 if (lock)
    [all...]
  /external/llvm/include/llvm/Support/
Mutex.h 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set
33 /// to false, the lock will not be recursive which makes it cheaper but
39 /// Releases and removes the lock
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.
54 /// Attempts to release the lock. If the lock is held by the current
55 /// thread, the lock is released allowing other threads to acquire th
99 bool lock() { function in class:llvm::sys::SmartMutex
    [all...]
  /external/ltp/utils/ffsb-6.0-rc2/
filelist.h 33 struct rwlock lock; member in struct:ffsb_file
64 /* This lock must be held while manipulating the structure */
  /external/perfetto/src/profiling/memory/
shared_ring_buffer_write_fuzzer.cc 67 // Clear spinlock field, as otherwise we will fail acquiring the lock below.
85 auto lock = buf->AcquireLock(ScopedSpinlock::Mode::Try); local
86 PERFETTO_CHECK(lock.locked());
87 write_buf = buf->BeginWrite(lock, header.write_size);
  /external/python/cpython2/Python/
thread_solaris.h 77 * Lock support.
82 mutex_t *lock; local
88 lock = (mutex_t *) malloc(sizeof(mutex_t));
89 if (mutex_init(lock, USYNC_THREAD, 0)) {
91 free((void *) lock);
92 lock = 0;
94 dprintf(("PyThread_allocate_lock() -> %p\n", lock));
95 return (PyThread_type_lock) lock;
99 PyThread_free_lock(PyThread_type_lock lock)
101 dprintf(("PyThread_free_lock(%p) called\n", lock));
    [all...]
  /external/python/cpython3/Include/internal/
ceval.h 12 PyThread_type_lock lock; member in struct:_pending_calls
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMessage.java 29 private static final Object lock = getStaticField(Message.class, "sPoolSync"); field in class:ShadowMessage
130 synchronized (lock) {
  /external/swiftshader/include/Android/hardware/
gralloc.h 36 int (*lock)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int, void**); member in struct:gralloc_module_t
  /external/swiftshader/third_party/LLVM/utils/emacs/
llvm-mode.el 9 (defvar llvm-font-lock-keywords
12 '(";.*" . font-lock-comment-face)
14 '("%[-a-zA-Z$\._][-a-zA-Z$\._0-9]*" . font-lock-variable-name-face)
16 '("[-a-zA-Z$\._0-9]+:" . font-lock-variable-name-face)
18 '("\"[^\"]+\"" . font-lock-string-face)
20 '("%[-]?[0-9]+" . font-lock-variable-name-face)
22 `(,(regexp-opt '("void" "i[0-9]+" "float" "double" "type" "label" "opaque") 'words) . font-lock-type-face)
24 '("\\b[-]?[0-9]+\\b" . font-lock-preprocessor-face)
26 '("\\b[-+]?[0-9]+\.[0-9]*\([eE][-+]?[0-9]+\)?\\b" . font-lock-preprocessor-face)
28 '("\\b0x[0-9A-Fa-f]+\\b" . font-lock-preprocessor-face)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
Mutex.h 33 /// Initializes the lock but doesn't acquire it. if \p recursive is set
34 /// to false, the lock will not be recursive which makes it cheaper but
40 /// Releases and removes the lock
49 /// Attempts to unconditionally acquire the lock. If the lock is held by
50 /// another thread, this method will wait until it can acquire the lock.
52 /// Unconditionally acquire the lock.
55 /// Attempts to release the lock. If the lock is held by the current
56 /// thread, the lock is released allowing other threads to acquire th
100 bool lock() { function in class:llvm::sys::SmartMutex
    [all...]
  /external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Mutex.h 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set
33 /// to false, the lock will not be recursive which makes it cheaper but
39 /// Releases and removes the lock
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.
54 /// Attempts to release the lock. If the lock is held by the current
55 /// thread, the lock is released allowing other threads to acquire th
99 bool lock() { function in class:llvm::sys::SmartMutex
    [all...]
  /external/webrtc/talk/media/devices/
gtkvideorenderer.cc 70 ScopedGdkLock lock; local
80 ScopedGdkLock lock; local
118 ScopedGdkLock lock; local
  /external/webrtc/webrtc/common_audio/signal_processing/
spl_init.c 106 static pthread_once_t lock = PTHREAD_ONCE_INIT; local
107 pthread_once(&lock, func);
121 static CRITICAL_SECTION lock = {(void *)((size_t)-1), -1, 0, 0, 0, 0}; local
124 EnterCriticalSection(&lock);
129 LeaveCriticalSection(&lock);
  /frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
Mutexed.h 62 * data.lock();
91 * Upon creation, the mutex is locked. You can use lock()/unlock() methods to
92 * temporarily lock/unlock the mutex. Using any references to the underlying
97 * unlock() or lock() from different threads; they must be called from the thread
122 // Wait on the condition variable using lock. Must be locked.
134 inline void lock();
152 // Lock the mutex, and create an accessor-guard (a Locked object) to access the underlying
156 inline Locked lock() { function in class:android::Mutexed
175 mLock.lock();
194 inline void Mutexed<T>::Locked::lock() { function in class:android::Mutexed::Locked
    [all...]
  /developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/
EventScheduler.java 34 private final Object lock = new Object(); field in class:EventScheduler
155 synchronized (lock) {
165 lock.notify();
173 // Caller must synchronize on lock before calling.
193 synchronized (lock) {
218 synchronized (lock) {
238 lock.wait((int) millisToWait);
  /developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/
EventScheduler.java 34 private final Object lock = new Object(); field in class:EventScheduler
155 synchronized (lock) {
165 lock.notify();
173 // Caller must synchronize on lock before calling.
193 synchronized (lock) {
218 synchronized (lock) {
238 lock.wait((int) millisToWait);
  /developers/samples/android/common/src/java/com/example/android/common/midi/
EventScheduler.java 34 private final Object lock = new Object(); field in class:EventScheduler
155 synchronized (lock) {
165 lock.notify();
173 // Caller must synchronize on lock before calling.
193 synchronized (lock) {
218 synchronized (lock) {
238 lock.wait((int) millisToWait);
  /development/samples/browseable/MidiScope/src/com.example.android.common.midi/
EventScheduler.java 34 private final Object lock = new Object(); field in class:EventScheduler
155 synchronized (lock) {
165 lock.notify();
173 // Caller must synchronize on lock before calling.
193 synchronized (lock) {
218 synchronized (lock) {
238 lock.wait((int) millisToWait);
  /development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
EventScheduler.java 34 private final Object lock = new Object(); field in class:EventScheduler
155 synchronized (lock) {
165 lock.notify();
173 // Caller must synchronize on lock before calling.
193 synchronized (lock) {
218 synchronized (lock) {
238 lock.wait((int) millisToWait);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowPowerManagerTest.java 38 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); local
39 assertThat(lock.isHeld()).isFalse();
40 lock.acquire();
41 assertThat(lock.isHeld()).isTrue();
42 lock.acquire();
44 assertThat(lock.isHeld()).isTrue();
45 lock.release();
47 assertThat(lock.isHeld()).isTrue();
48 lock.release();
49 assertThat(lock.isHeld()).isFalse()
71 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); local
95 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); local
111 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); local
124 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); local
178 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); local
    [all...]
ShadowWifiManagerTest.java 249 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); local
251 lock.acquire();
253 lock.release();
259 MulticastLock lock = wifiManager.createMulticastLock("TAG"); local
261 lock.acquire();
263 lock.release();
269 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); local
270 lock.acquire();
271 lock.acquire();
272 assertThat(lock.isHeld()).isTrue()
281 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); local
293 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); local
304 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); local
322 MulticastLock lock = wifiManager.createMulticastLock("TAG"); local
334 MulticastLock lock = wifiManager.createMulticastLock("TAG"); local
346 MulticastLock lock = wifiManager.createMulticastLock("TAG"); local
355 MulticastLock lock = wifiManager.createMulticastLock("TAG"); local
    [all...]

Completed in 534 milliseconds

1 2 3 4 56 7 8 91011>>