/external/chromium/chrome/browser/importer/ |
H A D | firefox_profile_lock_win.cc | 58 void FirefoxProfileLock::Lock() { function in class:FirefoxProfileLock
|
H A D | firefox_profile_lock_posix.cc | 63 void FirefoxProfileLock::Lock() { function in class:FirefoxProfileLock
|
/external/clang/test/SemaCXX/ |
H A D | operator-arrow-temporary.cpp | 8 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 D | file_lock.cc | 15 void FileLock::Lock() { function in class:disk_cache::FileLock
|
/external/chromium/base/synchronization/ |
H A D | lock.cc | 5 // 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 D | lock_impl_posix.cc | 43 void LockImpl::Lock() { function in class:base::internal::LockImpl
|
H A D | lock_impl_win.cc | 27 void LockImpl::Lock() { function in class:base::internal::LockImpl
|
H A D | lock.h | 18 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 D | SDL_yuvfuncs.h | 33 int (*Lock)(_THIS, SDL_Overlay *overlay); member in struct:private_yuvhwfuncs
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/ |
H A D | SDLOSXCAGuard.h | 84 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 D | sanitizer_mutex.h | 29 void Lock() { function in class:__sanitizer::StaticSpinMutex 71 mu_->Lock();
|
/external/compiler-rt/lib/asan/ |
H A D | asan_linux.cc | 91 void AsanLock::Lock() { function in class:__asan::AsanLock
|
H A D | asan_win.cc | 106 // 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 D | vts_many_threads_bench.cc | 35 void Lock() { pthread_mutex_lock(&m_); } function in class:Mutex 64 mutexes[(offset + i) % kNumMutexes].Lock();
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_mutex.h | 42 void Lock(); 63 typedef GenericScopedLock<Mutex> Lock; typedef in namespace:__tsan 69 void Lock(MutexType t);
|
H A D | tsan_mutex.cc | 123 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 D | tsan_mutex_test.cc | 32 Lock l(mtx_); 57 typedef GenericScopedLock<MutexType> Lock; typedef in class:__tsan::TestData
|
/external/llvm/lib/CodeGen/ |
H A D | PseudoSourceValue.cpp | 29 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 D | ts_lock.h | 40 //--------- Simple Lock ------------------ {{{1 44 void Lock() {}; function in class:TSLock 53 void Lock(); 66 lock_->Lock();
|
/external/chromium/base/ |
H A D | shared_memory_win.cc | 199 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 D | process_singleton.h | 103 void Lock(gfx::NativeWindow foreground_window) { function in class:ProcessSingleton
|
/external/chromium/sdch/open-vcdiff/src/ |
H A D | mutex.h | 84 // 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 D | atomic.c | 48 // 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 D | PassRegistry.cpp | 38 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 D | mutex.h | 58 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...] |