Home
last modified time | relevance | path

Searched defs:Lock (Results 1 – 25 of 199) sorted by relevance

12345678

/external/rust/crates/futures-channel/src/
Dlock.rs17 pub(crate) struct Lock<T> { struct
25 __ptr: &'a Lock<T>, argument
34 unsafe impl<T: Send> Send for Lock<T> {} implementation
35 unsafe impl<T: Send> Sync for Lock<T> {} implementation
37 impl<T> Lock<T> { impl
/external/clang/test/SemaCXX/
Doperator-arrow-temporary.cpp8 template<int x> struct Lock { struct
9 ~Lock() { int a[x]; } // expected-error {{declared as an array with a negative size}} in ~Lock() argument
14 Lock<-1> operator->(); argument
/external/llvm/lib/Support/
DPluginLoader.cpp27 sys::SmartScopedLock<true> Lock(*PluginsLock); in operator =() local
38 sys::SmartScopedLock<true> Lock(*PluginsLock); in getNumPlugins() local
43 sys::SmartScopedLock<true> Lock(*PluginsLock); in getPlugin() local
DManagedStatic.cpp42 MutexGuard Lock(*getManagedStaticMutex()); in RegisterManagedStatic() local
84 MutexGuard Lock(*getManagedStaticMutex()); in llvm_shutdown() local
DErrorHandling.cpp50 llvm::MutexGuard Lock(*ErrorHandlerMutex); in install_fatal_error_handler() local
57 llvm::MutexGuard Lock(*ErrorHandlerMutex); in remove_fatal_error_handler() local
80 llvm::MutexGuard Lock(*ErrorHandlerMutex); in report_fatal_error() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DPluginLoader.cpp26 sys::SmartScopedLock<true> Lock(*PluginsLock); in operator =() local
37 sys::SmartScopedLock<true> Lock(*PluginsLock); in getNumPlugins() local
42 sys::SmartScopedLock<true> Lock(*PluginsLock); in getPlugin() local
DErrorHandling.cpp67 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in install_fatal_error_handler() local
76 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in remove_fatal_error_handler() local
101 std::lock_guard<std::mutex> Lock(ErrorHandlerMutex); in report_fatal_error() local
132 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in install_bad_alloc_error_handler() local
141 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in remove_bad_alloc_error_handler() local
154 std::lock_guard<std::mutex> Lock(BadAllocErrorHandlerMutex); in report_bad_alloc_error() local
DParallel.cpp47 std::lock_guard<std::mutex> Lock(Mutex); in ThreadPoolExecutor() local
61 std::lock_guard<std::mutex> Lock(Mutex); in stop() local
86 std::lock_guard<std::mutex> Lock(Mutex); in add() local
95 std::unique_lock<std::mutex> Lock(Mutex); in work() local
DDynamicLibrary.cpp144 SmartScopedLock<true> Lock(*SymbolsMutex); in AddSymbol() local
156 SmartScopedLock<true> Lock(*SymbolsMutex); in getPermanentLibrary() local
165 SmartScopedLock<true> Lock(*SymbolsMutex); in addPermanentLibrary() local
181 SmartScopedLock<true> Lock(*SymbolsMutex); in SearchForAddressOfSymbol() local
/external/scudo/standalone/tests/
Dtsd_test.cpp133 std::unique_lock<std::mutex> Lock(Mutex); in stressCache() local
168 std::unique_lock<std::mutex> Lock(Mutex); in testRegistryThreaded() local
190 std::unique_lock<std::mutex> Lock(Mutex); in stressSharedRegistry() local
204 std::unique_lock<std::mutex> Lock(Mutex); in stressSharedRegistry() local
227 std::unique_lock<std::mutex> Lock(Mutex); in TEST() local
244 std::unique_lock<std::mutex> Lock(Mutex); in TEST() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DIRCompileLayer.cpp24 std::lock_guard<std::mutex> Lock(IRLayerMutex); in setNotifyCompiled() local
34 std::lock_guard<std::mutex> Lock(IRLayerMutex); in emit() local
DLazyReexports.cpp29 std::lock_guard<std::mutex> Lock(LCTMMutex); in getCallThroughTrampoline() local
46 std::lock_guard<std::mutex> Lock(LCTMMutex); in callThroughToSymbol() local
67 std::lock_guard<std::mutex> Lock(LCTMMutex); in callThroughToSymbol() local
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DErrorHandling.cpp50 llvm::MutexGuard Lock(*ErrorHandlerMutex); in install_fatal_error_handler() local
57 llvm::MutexGuard Lock(*ErrorHandlerMutex); in remove_fatal_error_handler() local
80 llvm::MutexGuard Lock(*ErrorHandlerMutex); in report_fatal_error() local
/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/
Dmutex.h71 void Mutex::Lock() { AcquireSRWLockExclusive(&mutex_); } in Lock() function
85 void Mutex::Lock() { SAFE_PTHREAD(pthread_rwlock_wrlock(&mutex_)); } in Lock() function
96 void Mutex::Lock() { mutex_.lock(); } in Lock() function
/external/gflags/src/
Dmutex.h222 void Mutex::Lock() { assert(--mutex_ == -1); } in Lock() function
241 void Mutex::Lock() { if (is_safe_) EnterCriticalSection(&mutex_); } in Lock() function
265 void Mutex::Lock() { SAFE_PTHREAD(pthread_rwlock_wrlock); } in Lock() function
290 void Mutex::Lock() { SAFE_PTHREAD(pthread_mutex_lock); } in Lock() function
/external/webrtc/rtc_base/synchronization/
Dmutex_unittest.cc42 void Lock() RTC_EXCLUSIVE_LOCK_FUNCTION() { mutex_.Lock(); } in Lock() function in webrtc::__anonb3e835450111::RawMutexLocker
52 void Lock() RTC_EXCLUSIVE_LOCK_FUNCTION() { in Lock() function in webrtc::__anonb3e835450111::RawMutexTryLocker
67 void Lock() { lock_ = std::make_unique<MutexLockType>(&mutex_); } in Lock() function in webrtc::__anonb3e835450111::MutexLockLocker
Dmutex_abseil.h26 void Lock() RTC_EXCLUSIVE_LOCK_FUNCTION() { mutex_.Lock(); } in Lock() function
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtilDarwin.cpp49 std::lock_guard<std::mutex> Lock(SignalMutex); in ExecuteCommand() local
137 std::lock_guard<std::mutex> Lock(SignalMutex); in ExecuteCommand() local
/external/cronet/crypto/
Dmac_security_services_lock.h11 class Lock; variable
/external/llvm/unittests/ExecutionEngine/Orc/
DRPCUtilsTest.cpp25 std::mutex Lock; member in Queue
40 std::lock_guard<std::mutex> Lock(InQueue.getLock()); in readBytes() local
51 std::lock_guard<std::mutex> Lock(OutQueue.getLock()); in appendBytes() local
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h29 void Lock() { in Lock() function
103 void Lock() { in Lock() function
/external/cronet/base/synchronization/
Dlock_impl.h23 class Lock; variable
82 void LockImpl::Lock() { in Lock() function
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/
DLock.java22 public interface Lock extends Closeable { interface
/external/python/cachetools/tests/
Dtest_wrapper.py79 class Lock: class
117 class Lock: class
/external/swiftshader/src/Vulkan/Debug/
DContext.hpp50 class Lock class in vk::dbg::Context

12345678