Searched defs:Lock (Results 1 - 25 of 83) sorted by relevance

1234

/external/sfntly/cpp/src/sfntly/port/
H A Dlock.cc23 Lock::Lock() { function in class:sfntly::Lock
29 Lock::~Lock() {
33 bool Lock::Try() {
40 void Lock::Acquire() {
44 void Lock::Unlock() {
50 Lock::Lock() {
54 Lock
[all...]
H A Dlock.h37 class Lock { class in namespace:sfntly
39 Lock();
40 ~Lock();
50 // a successful call to Try, or a call to Lock.
55 NO_COPY_AND_ASSIGN(Lock);
58 // A helper class that acquires the given Lock while the AutoLock is in scope.
61 explicit AutoLock(Lock& lock) : lock_(lock) {
70 Lock& lock_;
/external/clang/test/SemaCXX/
H A 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}}
14 Lock<-1> operator->();
17 // Make sure we try to instantiate the destructor for Lock here
/external/libchrome/base/synchronization/
H A Dlock.cc5 // This file is used for debugging assertion support. The Lock class
15 Lock::Lock() : lock_() { function in class:base::Lock
18 Lock::~Lock() {
22 void Lock::AssertAcquired() const {
26 void Lock::CheckHeldAndUnmark() {
31 void Lock::CheckUnheldAndMark() {
H A Dlock_impl_posix.cc44 void LockImpl::Lock() { function in class:base::internal::LockImpl
H A Dlock.h20 class BASE_EXPORT Lock { class in namespace:base
24 Lock() : lock_() {} function in class:base::Lock
25 ~Lock() {}
26 void Acquire() { lock_.Lock(); }
38 Lock();
39 ~Lock();
45 lock_.Lock();
93 DISALLOW_COPY_AND_ASSIGN(Lock);
96 // A helper class that acquires the given Lock while the AutoLock is in scope.
101 explicit AutoLock(Lock
[all...]
/external/drm_hwcomposer/
H A Dautolock.cpp29 int AutoLock::Lock() { function in class:android::AutoLock
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
H A Ddestructor.pass.cpp25 typedef std::unique_lock<std::mutex> Lock; typedef
32 Lock lk(m);
40 Lock lk(m);
51 Lock lk(m);
/external/lldb/tools/debugserver/source/
H A DPThreadMutex.cpp31 Lock();
41 Lock();
51 Lock();
62 PThreadMutex::Locker::Lock() function in class:PThreadMutex::Locker
H A DPThreadMutex.h43 void Lock();
50 Lock();
56 Lock();
62 Lock();
65 void Lock()
89 Lock();
134 int Lock() function in class:PThreadMutex
/external/llvm/include/llvm/
H A DPassRegistry.h41 mutable sys::SmartRWMutex<true> Lock; member in class:llvm::PassRegistry
/external/webrtc/webrtc/modules/desktop_capture/mac/
H A Ddesktop_configuration_monitor.cc44 void DesktopConfigurationMonitor::Lock() { function in class:webrtc::DesktopConfigurationMonitor
/external/libxml2/python/tests/
H A Dthread2.py7 from threading import Thread, Lock namespace
19 self.lock = Lock()
/external/v8/src/base/platform/
H A Dmutex.cc127 void Mutex::Lock() { function in class:v8::base::Mutex
162 void RecursiveMutex::Lock() { function in class:v8::base::RecursiveMutex
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_mutex_test.cc34 Lock l(mtx_);
62 typedef GenericScopedLock<MutexType> Lock; typedef in class:__sanitizer::TestData
/external/compiler-rt/lib/tsan/benchmarks/
H A Dvts_many_threads_bench.cc35 void Lock() { pthread_mutex_lock(&m_); } function in class:Mutex
64 mutexes[(offset + i) % kNumMutexes].Lock();
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutex.h47 void Lock();
68 typedef GenericScopedLock<Mutex> Lock; typedef in namespace:__tsan
74 void Lock(MutexType t);
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_mutex_test.cc32 Lock l(mtx_);
57 typedef GenericScopedLock<MutexType> Lock; typedef in class:__tsan::TestData
/external/lldb/include/lldb/Host/
H A DMutex.h103 Lock (Mutex &mutex);
106 Lock (Mutex *mutex) function in class:lldb_private::Mutex::Locker
109 Lock(*mutex);
187 /// Lock the mutex.
200 Lock();
297 Lock ();
/external/lldb/source/Plugins/Disassembler/llvm/
H A DDisassemblerLLVMC.h142 void Lock(InstructionLLVMC *inst, function in class:DisassemblerLLVMC
145 m_mutex.Lock();
/external/webrtc/webrtc/base/
H A Dcriticalsection.cc137 void GlobalLockPod::Lock() { function in class:rtc::GlobalLockPod
153 RTC_DCHECK_EQ(1, old_value) << "Unlock called without calling Lock first";
162 lock_->Lock();
/external/ceres-solver/internal/ceres/
H A Dmutex.h80 // state between a call to Lock() and a call to Unlock() (that would
81 // require a global constructor in one translation unit to call Lock()
158 inline void Lock(); // Block if needed until free then acquire exclusively
159 inline void Unlock(); // Release a lock acquired via Lock()
161 inline bool TryLock(); // If free, Lock() and return true, else return false
164 // be implemented as synonyms to Lock() and Unlock(). So you can use
169 inline void WriterLock() { Lock(); } // Acquire an exclusive lock
206 void Mutex::Lock() { assert(--mutex_ == -1); } function in class:ceres::internal::Mutex
209 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
218 void Mutex::Lock() { i function in class:ceres::internal::Mutex
238 void Mutex::Lock() { CERES_SAFE_PTHREAD(pthread_rwlock_wrlock); } function in class:ceres::internal::Mutex
260 void Mutex::Lock() { CERES_SAFE_PTHREAD(pthread_mutex_lock); } function in class:ceres::internal::Mutex
[all...]
/external/compiler-rt/lib/builtins/
H A Datomic.c50 // defined. Each platform should define the Lock type, and corresponding
58 typedef struct _usem Lock; typedef in typeref:struct:_usem
59 __inline static void unlock(Lock *l) {
65 __inline static void lock(Lock *l) {
74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} };
78 typedef OSSpinLock Lock; typedef
79 __inline static void unlock(Lock *l) {
84 __inline static void lock(Lock *l) {
87 static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0
90 typedef _Atomic(uintptr_t) Lock; typedef
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h29 void Lock() { function in class:__sanitizer::StaticSpinMutex
84 void Lock();
103 void Lock() { function in class:__sanitizer::RWMutex
179 mu_->Lock();
/external/dng_sdk/source/
H A Ddng_mutex.cpp136 void dng_mutex::Lock () function in class:dng_mutex
161 DNG_REPORT ("Lock ordering violation.");
238 fMutex->Lock ();
271 fMutex->Lock ();

Completed in 261 milliseconds

1234