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

123

/external/chromium/chrome/browser/importer/
H A Dfirefox_profile_lock_win.cc58 void FirefoxProfileLock::Lock() { function in class:FirefoxProfileLock
H A Dfirefox_profile_lock_posix.cc63 void FirefoxProfileLock::Lock() { function in class:FirefoxProfileLock
/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/chromium/net/disk_cache/
H A Dfile_lock.cc15 void FileLock::Lock() { function in class:disk_cache::FileLock
/external/chromium/base/synchronization/
H A Dlock.cc5 // This file is used for debugging assertion support. The Lock class
16 Lock::Lock() : lock_() { function in class:base::Lock
21 void Lock::AssertAcquired() const {
26 void Lock::CheckHeldAndUnmark() {
33 void Lock::CheckUnheldAndMark() {
H A Dlock_impl_posix.cc43 void LockImpl::Lock() { function in class:base::internal::LockImpl
H A Dlock_impl_win.cc27 void LockImpl::Lock() { function in class:base::internal::LockImpl
H A Dlock.h18 class BASE_API Lock { class in namespace:base
21 Lock() : lock_() {} function in class:base::Lock
22 ~Lock() {}
23 void Acquire() { lock_.Lock(); }
35 Lock();
36 ~Lock() {}
42 lock_.Lock();
65 // Windows doesn't need to do this as it calls the Lock::* methods.
91 DISALLOW_COPY_AND_ASSIGN(Lock);
94 // A helper class that acquires the given Lock whil
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_yuvfuncs.h33 int (*Lock)(_THIS, SDL_Overlay *overlay); member in struct:private_yuvhwfuncs
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
H A DSDLOSXCAGuard.h84 Lock() will return true if and only if the guard is locked on that call.
99 int (*Lock)(struct S_SDLOSXCAGuard *cag); member in struct:S_SDLOSXCAGuard
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h29 void Lock() { function in class:__sanitizer::StaticSpinMutex
71 mu_->Lock();
/external/compiler-rt/lib/asan/
H A Dasan_linux.cc91 void AsanLock::Lock() { function in class:__asan::AsanLock
H A Dasan_win.cc106 // FIXME: see comments in AsanLock::Lock() for the details.
114 void AsanLock::Lock() { function in class:__asan::AsanLock
121 // constructors, we should probably manually Lock/Unlock all the global
/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.h42 void Lock();
63 typedef GenericScopedLock<Mutex> Lock; typedef in namespace:__tsan
69 void Lock(MutexType t);
H A Dtsan_mutex.cc123 void DeadlockDetector::Lock(MutexType t) { function in class:__tsan::DeadlockDetector
200 void Mutex::Lock() { function in class:__tsan::Mutex
202 cur_thread()->deadlock_detector.Lock(type_);
233 cur_thread()->deadlock_detector.Lock(type_);
/external/compiler-rt/lib/tsan/unit_tests/
H A Dtsan_mutex_test.cc32 Lock l(mtx_);
57 typedef GenericScopedLock<MutexType> Lock; typedef in class:__tsan::TestData
/external/llvm/lib/CodeGen/
H A DPseudoSourceValue.cpp29 sys::Mutex Lock; // Guards FSValues, but not the values inside it. member in struct:__anon8699::PSVGlobalsTy
75 sys::ScopedLock locked(PG.Lock);
/external/valgrind/tsan/
H A Dts_lock.h40 //--------- Simple Lock ------------------ {{{1
44 void Lock() {}; function in class:TSLock
53 void Lock();
66 lock_->Lock();
/external/chromium/base/
H A Dshared_memory_win.cc199 void SharedMemory::Lock() { function in class:base::SharedMemory
200 Lock(INFINITE, NULL);
203 bool SharedMemory::Lock(uint32 timeout_ms, SECURITY_ATTRIBUTES* sec_attr) { function in class:base::SharedMemory
/external/chromium/chrome/browser/
H A Dprocess_singleton.h103 void Lock(gfx::NativeWindow foreground_window) { function in class:ProcessSingleton
/external/chromium/sdch/open-vcdiff/src/
H A Dmutex.h84 // state between a call to Lock() and a call to Unlock() (that would
85 // require a global constructor in one translation unit to call Lock()
146 inline void Lock(); // Block if needed until free then acquire exclusively
147 inline void Unlock(); // Release a lock acquired via Lock()
149 inline bool TryLock(); // If free, Lock() and return true, else return false
152 // be implemented as synonyms to Lock() and Unlock(). So you can use
157 inline void WriterLock() { Lock(); } // Acquire an exclusive lock
192 void Mutex::Lock() { assert(--mutex_ == -1); } function in class:Mutex
195 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
204 void Mutex::Lock() { i function in class:Mutex
225 void Mutex::Lock() { SAFE_PTHREAD(pthread_rwlock_wrlock); } function in class:Mutex
248 void Mutex::Lock() { SAFE_PTHREAD(pthread_mutex_lock); } function in class:Mutex
[all...]
/external/compiler-rt/lib/
H A Datomic.c48 // defined. Each platform should define the Lock type, and corresponding
56 typedef struct _usem Lock; typedef in typeref:struct:_usem
57 inline static void unlock(Lock *l) {
63 inline static void lock(Lock *l) {
72 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} };
74 typedef _Atomic(uintptr_t) Lock; typedef
76 inline static void unlock(Lock *l) {
81 inline static void lock(Lock *l) {
88 static Lock locks[SPINLOCK_COUNT];
93 static inline Lock *lock_for_pointe
[all...]
/external/llvm/lib/VMCore/
H A DPassRegistry.cpp38 static ManagedStatic<sys::SmartMutex<true> > Lock; variable
75 sys::SmartScopedLock<true> Guard(*Lock);
87 sys::SmartScopedLock<true> Guard(*Lock);
94 sys::SmartScopedLock<true> Guard(*Lock);
106 sys::SmartScopedLock<true> Guard(*Lock);
123 sys::SmartScopedLock<true> Guard(*Lock);
135 sys::SmartScopedLock<true> Guard(*Lock);
163 sys::SmartScopedLock<true> Guard(*Lock);
189 sys::SmartScopedLock<true> Guard(*Lock);
195 sys::SmartScopedLock<true> Guard(*Lock);
[all...]
/external/regex-re2/util/
H A Dmutex.h58 inline void Lock(); // Block if needed until free then acquire exclusively
59 inline void Unlock(); // Release a lock acquired via Lock()
60 inline bool TryLock(); // If free, Lock() and return true, else return false
62 // be implemented as synonyms to Lock() and Unlock(). So you can use
67 inline void WriterLock() { Lock(); } // Acquire an exclusive lock
97 void Mutex::Lock() { assert(--mutex_ == -1); } function in class:re2::Mutex
99 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
110 void Mutex::Lock() { SAFE_PTHREAD(pthread_rwlock_wrlock(&mutex_)); } function in class:re2::Mutex
125 void Mutex::Lock() { SAFE_PTHREAD(pthread_mutex_lock(&mutex_)); } function in class:re2::Mutex
128 void Mutex::ReaderLock() { Lock(); } // w
136 void Mutex::Lock() { EnterCriticalSection(&mutex_); } function in class:re2::Mutex
[all...]

Completed in 1689 milliseconds

123