Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 270) sorted by relevance

1234567891011

/external/bison/lib/glthread/
Dlock.c38 glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_init_multithreaded()
50 glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_rdlock_multithreaded()
76 glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_wrlock_multithreaded()
102 glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_unlock_multithreaded()
110 glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_destroy_multithreaded()
128 glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_init_multithreaded()
147 glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_rdlock_multithreaded()
176 glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_wrlock_multithreaded()
203 glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_unlock_multithreaded()
259 glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_destroy_multithreaded()
[all …]
/external/boringssl/src/crypto/
Dthread_none.c19 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_init()
21 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_lock_read()
23 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_lock_write()
25 void CRYPTO_MUTEX_unlock(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_unlock()
27 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_cleanup()
29 void CRYPTO_STATIC_MUTEX_lock_read(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_lock_read()
31 void CRYPTO_STATIC_MUTEX_lock_write(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_lock_write()
33 void CRYPTO_STATIC_MUTEX_unlock(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_unlock()
Dthread_pthread.c30 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
36 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
42 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
48 void CRYPTO_MUTEX_unlock(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock()
54 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
58 void CRYPTO_STATIC_MUTEX_lock_read(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_read()
64 void CRYPTO_STATIC_MUTEX_lock_write(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_write()
70 void CRYPTO_STATIC_MUTEX_unlock(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_unlock()
Dthread_win.c91 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
97 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
102 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
106 void CRYPTO_MUTEX_unlock(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock()
110 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
115 struct CRYPTO_STATIC_MUTEX *lock = arg; in static_lock_init() local
121 void CRYPTO_STATIC_MUTEX_lock_read(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_read()
127 void CRYPTO_STATIC_MUTEX_lock_write(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_write()
131 void CRYPTO_STATIC_MUTEX_unlock(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_unlock()
/external/sfntly/cpp/src/test/
Dlock_test.cc29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread()
62 Lock lock; in BasicLockTest() local
106 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread()
124 Lock lock; in TryLockTest() local
165 MutexLockTestThread(Lock* lock, int* value) : lock_(lock), value_(value) {} in MutexLockTestThread()
168 static void DoStuff(Lock* lock, int* value) { in DoStuff()
190 Lock lock; in MutexTwoThreads() local
207 Lock lock; in MutexFourThreads() local
/external/guava/guava/src/com/google/common/util/concurrent/
DMonitor.java325 private final ReentrantLock lock; field in Monitor
374 final ReentrantLock lock = this.lock; in enter() local
423 final ReentrantLock lock = this.lock; in enterWhen() local
447 final ReentrantLock lock = this.lock; in enterWhenUninterruptibly() local
476 final ReentrantLock lock = this.lock; in enterWhen() local
517 final ReentrantLock lock = this.lock; in enterWhenUninterruptibly() local
571 final ReentrantLock lock = this.lock; in enterIf() local
594 final ReentrantLock lock = this.lock; in enterIfInterruptibly() local
642 final ReentrantLock lock = this.lock; in enterIfInterruptibly() local
669 final ReentrantLock lock = this.lock; in tryEnterIf() local
[all …]
/external/webrtc/src/system_wrappers/source/
Dlist_no_stl.cc82 CriticalSectionScoped lock(critical_section_); in PushBack() local
90 CriticalSectionScoped lock(critical_section_); in PushBack() local
98 CriticalSectionScoped lock(critical_section_); in PushFront() local
106 CriticalSectionScoped lock(critical_section_); in PushFront() local
162 CriticalSectionScoped lock(critical_section_); in Insert() local
198 CriticalSectionScoped lock(critical_section_); in InsertBefore() local
Dmap_no_stl.cc78 CriticalSectionScoped lock(critical_section_); in Insert() local
147 CriticalSectionScoped lock(critical_section_); in Find() local
158 CriticalSectionScoped lock(critical_section_); in Erase() local
164 CriticalSectionScoped lock(critical_section_); in Erase() local
Dtrace_impl.cc118 CriticalSectionScoped lock(_critsectInterface); in StopThread() local
342 CriticalSectionScoped lock(_critsectInterface); in SetTraceFileImpl() local
376 CriticalSectionScoped lock(_critsectInterface); in TraceFileImpl() local
382 CriticalSectionScoped lock(_critsectInterface); in SetTraceCallbackImpl() local
432 CriticalSectionScoped lock(_critsectArray); in AddMessageToList() local
511 CriticalSectionScoped lock(_critsectArray); in WriteToFile() local
528 CriticalSectionScoped lock(_critsectInterface); in WriteToFile() local
/external/deqp/executor/
DxeCallQueue.cpp62 de::ScopedLock lock(m_lock); in callNext() local
77 de::ScopedLock lock(m_lock); in callNext() local
90 de::ScopedLock lock(m_lock); in callNext() local
97 de::ScopedLock lock (m_lock); in getEmptyCall() local
120 de::ScopedLock lock(m_lock); in enqueue() local
134 de::ScopedLock lock(m_lock); in freeCall() local
/external/fio/
Dmutex.c185 void fio_rwlock_write(struct fio_rwlock *lock) in fio_rwlock_write()
191 void fio_rwlock_read(struct fio_rwlock *lock) in fio_rwlock_read()
197 void fio_rwlock_unlock(struct fio_rwlock *lock) in fio_rwlock_unlock()
203 void fio_rwlock_remove(struct fio_rwlock *lock) in fio_rwlock_remove()
211 struct fio_rwlock *lock; in fio_rwlock_init() local
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPowerManagerTest.java42 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); in shouldAcquireAndReleaseReferenceCountedLock() local
58 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); in shouldAcquireAndReleaseNonReferenceCountedLock() local
74 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); in shouldThrowRuntimeExceptionIfLockisUnderlocked() local
DWifiManagerTest.java145 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); in shouldAcquireAndReleaseWifilockRefCounted() local
157 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); in shouldAcquireAndReleaseWifilockNonRefCounted() local
169 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); in shouldThrowRuntimeExceptionIfLockisUnderlocked() local
175 WifiManager.WifiLock lock = wifiManager.createWifiLock("TAG"); in shouldThrowUnsupportedOperationIfLockisOverlocked() local
/external/lldb/source/DataFormatters/
DFormatCache.cpp131 Mutex::Locker lock(m_mutex); in GetSummary() local
151 Mutex::Locker lock(m_mutex); in GetSynthetic() local
171 Mutex::Locker lock(m_mutex); in SetSummary() local
178 Mutex::Locker lock(m_mutex); in SetSynthetic() local
185 Mutex::Locker lock(m_mutex); in Clear() local
/external/elfutils/src/lib/
Deu-config.h38 # define rwlock_init(lock) RWLOCK_CALL (init (&lock, NULL)) argument
39 # define rwlock_fini(lock) RWLOCK_CALL (destroy (&lock)) argument
40 # define rwlock_rdlock(lock) RWLOCK_CALL (rdlock (&lock)) argument
41 # define rwlock_wrlock(lock) RWLOCK_CALL (wrlock (&lock)) argument
42 # define rwlock_unlock(lock) RWLOCK_CALL (unlock (&lock)) argument
48 # define rwlock_init(lock) ((void) (lock)) argument
49 # define rwlock_fini(lock) ((void) (lock)) argument
50 # define rwlock_rdlock(lock) ((void) (lock)) argument
51 # define rwlock_wrlock(lock) ((void) (lock)) argument
52 # define rwlock_unlock(lock) ((void) (lock)) argument
/external/deqp/framework/platform/android/
DtcuAndroidWindow.cpp59 de::ScopedLock lock(m_stateLock); in tryAcquire() local
72 de::ScopedLock lock(m_stateLock); in release() local
84 de::ScopedLock lock(m_stateLock); in markForDestroy() local
96 de::ScopedLock lock(m_stateLock); in isPendingDestroy() local
102 de::ScopedLock lock(m_stateLock); in tryAcquireForDestroy() local
/external/skia/dm/
DDMJsonWriter.cpp25 SkAutoMutexAcquire lock(&gBitmapResultLock); in AddBitmapResult() local
33 SkAutoMutexAcquire lock(gFailureLock); in AddTestFailure() local
52 SkAutoMutexAcquire lock(&gBitmapResultLock); in DumpJson() local
72 SkAutoMutexAcquire lock(gFailureLock); in DumpJson() local
/external/libcxx/src/
Dmutex.cpp29 mutex::lock() in lock() function in mutex
89 recursive_mutex::lock() in lock() function in recursive_mutex
123 timed_mutex::lock() in lock() function in timed_mutex
165 recursive_timed_mutex::lock() in lock() function in recursive_timed_mutex
/external/lldb/source/Plugins/Process/POSIX/
DProcessPOSIX.cpp273 Mutex::Locker lock(m_thread_list.GetMutex()); in DoResume() local
333 Mutex::Locker lock(m_thread_list.GetMutex()); in DoDetach() local
386 Mutex::Locker lock(m_message_mutex); in SendMessage() local
495 Mutex::Locker lock(m_message_mutex); in RefreshStateAfterStop() local
519 Mutex::Locker lock(m_thread_list.GetMutex()); in RefreshStateAfterStop() local
535 Mutex::Locker lock(m_thread_list.GetMutex()); in RefreshStateAfterStop() local
687 Mutex::Locker lock(m_thread_list.GetMutex()); in EnableWatchpoint() local
757 Mutex::Locker lock(m_thread_list.GetMutex()); in DisableWatchpoint() local
787 Mutex::Locker lock(m_thread_list.GetMutex()); in GetWatchpointSupportInfo() local
810 Mutex::Locker lock(m_thread_list.GetMutex()); in UpdateThreadListIfNeeded() local
[all …]
/external/icu/icu4c/source/common/
Dunifiedcache.cpp114 Mutex lock(&gCacheMutex); in keyCount() local
119 Mutex lock(&gCacheMutex); in flush() local
142 Mutex lock(&gCacheMutex); in dumpContents() local
182 Mutex lock(&gCacheMutex); in ~UnifiedCache() local
247 Mutex lock(&gCacheMutex); in _putIfAbsentAndGet() local
277 Mutex lock(&gCacheMutex); in _poll() local
/external/skia/include/core/
DSkOnce.h73 static void sk_once_slow(bool* done, Lock* lock, void (*f)(Arg), Arg arg) { in sk_once_slow()
93 inline void SkOnce(bool* done, Lock* lock, void (*f)(Arg), Arg arg) { in SkOnce()
135 inline void SkOnce(bool* done, Lock* lock, void (*func)()) { in SkOnce()
/external/libcxxabi/src/
Dcxa_guard.cpp119 uint8_t lock[2]; in get_lock() member
131 uint8_t lock[2]; in set_lock() member
144 uint8_t lock[2]; in get_lock() member
156 uint8_t lock[2]; in set_lock() member
/external/deqp/execserver/
DxsTcpServer.cpp88 de::ScopedLock lock(m_connectionListLock); in connectionDone() local
100 de::ScopedLock lock(m_connectionListLock); in addLiveConnection() local
106 de::ScopedLock lock(m_connectionListLock); in deleteDoneConnections() local
/external/compiler-rt/lib/asan/
Dasan_globals.cc97 BlockingMutexLock lock(&mu_for_globals); in DescribeOrGetInfoIfGlobal() local
201 BlockingMutexLock lock(&mu_for_globals); in StopInitOrderChecking() local
225 BlockingMutexLock lock(&mu_for_globals); in __asan_register_globals() local
244 BlockingMutexLock lock(&mu_for_globals); in __asan_unregister_globals() local
262 BlockingMutexLock lock(&mu_for_globals); in __asan_before_dynamic_init() local
285 BlockingMutexLock lock(&mu_for_globals); in __asan_after_dynamic_init() local
/external/icu/icu4c/source/test/intltest/
Dcaltztst.cpp47 Mutex lock; in getDateFormat() local
75 Mutex lock; in releaseDateFormat() local
94 Mutex lock; in getCalendar() local
121 Mutex lock; in releaseCalendar() local

1234567891011