Searched defs:Lock (Results 1 - 25 of 111) sorted by path

12345

/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/chromium_org/base/files/
H A Dfile_posix.cc81 lock.l_len = 0; // Lock entire file.
445 File::Error File::Lock() { function in class:base::File
H A Dfile_win.cc296 File::Error base::File::Lock() { function in class:base::base::File
/external/chromium_org/base/memory/
H A Ddiscardable_memory_ashmem.cc31 return Lock() != DISCARDABLE_MEMORY_LOCK_STATUS_FAILED;
34 DiscardableMemoryLockStatus DiscardableMemoryAshmem::Lock() { function in class:base::internal::DiscardableMemoryAshmem
60 return ashmem_chunk_->Lock();
H A Ddiscardable_memory_ashmem_allocator.cc77 // Lock() and Unlock(), data could get lost if they are not written to the
428 bool DiscardableAshmemChunk::Lock() { function in class:base::internal::DiscardableAshmemChunk
H A Ddiscardable_memory_emulated.cc62 return Lock() != DISCARDABLE_MEMORY_LOCK_STATUS_FAILED;
65 DiscardableMemoryLockStatus DiscardableMemoryEmulated::Lock() { function in class:base::internal::DiscardableMemoryEmulated
H A Ddiscardable_memory_malloc.cc19 return Lock() != DISCARDABLE_MEMORY_LOCK_STATUS_FAILED;
22 DiscardableMemoryLockStatus DiscardableMemoryMalloc::Lock() { function in class:base::internal::DiscardableMemoryMalloc
H A Ddiscardable_memory_manager_unittest.cc99 LockStatus Lock(TestAllocationImpl* allocation) { function in class:base::__anon2334::DiscardableMemoryManagerTestBase
112 return Lock(allocation);
144 EXPECT_EQ(LOCK_STATUS_PURGED, Lock(&allocation));
157 EXPECT_EQ(LOCK_STATUS_FAILED, Lock(&allocation));
173 EXPECT_EQ(LOCK_STATUS_SUCCESS, Lock(&allocation));
193 EXPECT_EQ(LOCK_STATUS_PURGED, Lock(&allocation));
215 EXPECT_EQ(LOCK_STATUS_PURGED, Lock(&allocation));
232 EXPECT_EQ(LOCK_STATUS_FAILED, Lock(&massive_allocation));
236 EXPECT_EQ(LOCK_STATUS_PURGED, Lock(&massive_allocation));
273 EXPECT_NE(LOCK_STATUS_FAILED, Lock(
[all...]
/external/chromium_org/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
19 Lock::~Lock() {
23 void Lock::AssertAcquired() const {
27 void Lock::CheckHeldAndUnmark() {
32 void Lock::CheckUnheldAndMark() {
H A Dlock.h17 class BASE_EXPORT 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();
90 DISALLOW_COPY_AND_ASSIGN(Lock);
93 // A helper class that acquires the given Lock while the AutoLock is in scope.
98 explicit AutoLock(Lock
[all...]
H A Dlock_impl_posix.cc44 void LockImpl::Lock() { function in class:base::internal::LockImpl
H A Dlock_impl_win.cc27 void LockImpl::Lock() { function in class:base::internal::LockImpl
/external/chromium_org/chrome/browser/importer/
H A Dfirefox_profile_lock_posix.cc63 void FirefoxProfileLock::Lock() { function in class:FirefoxProfileLock
H A Dfirefox_profile_lock_win.cc58 void FirefoxProfileLock::Lock() { function in class:FirefoxProfileLock
/external/chromium_org/chrome/browser/signin/
H A Dscreenlock_bridge.cc139 void ScreenlockBridge::Lock(Profile* profile) { function in class:ScreenlockBridge
/external/chromium_org/content/child/npapi/
H A Dwebplugin_ime_win.cc24 base::LazyInstance<base::Lock>::Leaky
179 void WebPluginIMEWin::Lock() { function in class:content::WebPluginIMEWin
/external/chromium_org/mojo/public/cpp/utility/lib/
H A Dmutex.cc31 void Mutex::Lock() { function in class:mojo::Mutex
/external/chromium_org/mojo/public/cpp/utility/
H A Dmutex.h32 void Lock() { pthread_mutex_lock(&mutex_); } function in class:mojo::Mutex
41 void Lock();
56 explicit MutexLock(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); }
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dsimple_lock.h29 void Lock() const { pthread_mutex_lock(&lock_); } function in class:sdk_util::SimpleLock
/external/chromium_org/net/disk_cache/blockfile/
H A Dfile_lock.cc33 void FileLock::Lock() { function in class:disk_cache::FileLock
/external/chromium_org/ppapi/proxy/
H A Dproxy_completion_callback_factory.h57 class Lock { class in class:ppapi::proxy::ProxyNonThreadSafeThreadTraits
59 Lock() {} function in class:ppapi::proxy::ProxyNonThreadSafeThreadTraits::Lock
60 ~Lock() {}
69 explicit AutoLock(Lock&) {}
/external/chromium_org/ppapi/utility/
H A Dcompletion_callback_factory_thread_traits.h64 Lock lock_;
68 typedef pp::Lock Lock; typedef in class:pp::ThreadSafeThreadTraits
124 class Lock { class in class:pp::NonThreadSafeThreadTraits
126 Lock() { function in class:pp::NonThreadSafeThreadTraits::Lock
133 ~Lock() {
164 explicit AutoLock(Lock& lock) : lock_(lock) {
172 Lock& lock_;
/external/chromium_org/ppapi/utility/threading/
H A Dlock.cc11 Lock::Lock() { function in class:pp::Lock
17 Lock::~Lock() {
21 void Lock::Acquire() {
25 void Lock::Release() {
31 Lock::Lock() {
35 Lock::~Lock() {
[all...]
H A Dlock.h17 class Lock { class in namespace:pp
20 Lock();
23 ~Lock();
46 Lock(const Lock&);
47 Lock& operator=(const Lock&);
61 /// pp::Lock lock_;
66 explicit AutoLock(Lock& lock) : lock_(lock) {
75 Lock
[all...]
/external/chromium_org/remoting/base/
H A Dcompound_buffer.cc136 void CompoundBuffer::Lock() { function in class:remoting::CompoundBuffer

Completed in 4708 milliseconds

12345