Searched defs:mutex_ (Results 1 - 25 of 84) sorted by relevance

1234

/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dcritical_section_posix.h30 pthread_mutex_t mutex_; member in class:webrtc::CriticalSectionPosix
H A Devent_posix.h51 pthread_mutex_t mutex_; member in class:webrtc::EventPosix
/external/chromium_org/chrome/browser/plugins/
H A Dplugin_finder.h96 base::Lock mutex_; member in class:PluginFinder
/external/chromium_org/rlz/win/lib/
H A Dlib_mutex.h23 HANDLE mutex_; member in class:rlz_lib::LibMutex
/external/chromium_org/chrome/browser/renderer_host/pepper/
H A Dmonitor_finder_mac.h39 base::Lock mutex_; // Protects the two members below. member in class:chrome::MonitorFinder
/external/chromium_org/sync/engine/
H A Dall_status.h79 mutable base::Lock mutex_; // Protects all data members. member in class:syncer::AllStatus
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/
H A Dvideo_processing_impl.h74 CriticalSectionWrapper& mutex_; member in class:webrtc::VideoProcessingModuleImpl
/external/chromium_org/third_party/webrtc/video_engine/test/libvietest/include/
H A Dvie_file_capture_device.h50 webrtc::CriticalSectionWrapper* mutex_; member in class:ViEFileCaptureDevice
/external/chromium_org/mojo/public/cpp/utility/
H A Dmutex.h29 Mutex() : mutex_(internal::kPthreadMutexInitializer) {}
30 ~Mutex() { pthread_mutex_destroy(&mutex_); }
32 void Lock() { pthread_mutex_lock(&mutex_); }
33 void Unlock() { pthread_mutex_unlock(&mutex_); }
34 bool TryLock() { return pthread_mutex_trylock(&mutex_) == 0; }
49 pthread_mutex_t mutex_; member in class:mojo::Mutex
56 explicit MutexLock(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); }
57 ~MutexLock() { mutex_->Unlock(); }
60 Mutex* const mutex_; member in class:mojo::MutexLock
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/synchronization/
H A Dlock_posix.h31 const int ret = pthread_mutex_init(&mutex_, NULL);
37 const int ret = pthread_mutex_destroy(&mutex_);
43 int ret = pthread_mutex_lock(&mutex_);
49 int ret = pthread_mutex_unlock(&mutex_);
57 mutable pthread_mutex_t mutex_; member in class:i18n::phonenumbers::Lock
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_dthread.h33 pthread_mutex_t *mutex_; member in struct:VP9LfSyncData
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.h148 mutable Mutex mutex_; member in class:google::protobuf::compiler::python::Generator
149 mutable const FileDescriptor* file_; // Set in Generate(). Under mutex_.
151 mutable io::Printer* printer_; // Set in Generate(). Under mutex_.
/external/chromium_org/v8/src/base/platform/
H A Dcondition-variable.h74 Mutex* mutex() { return &mutex_; }
80 Mutex mutex_; member in class:v8::base::FINAL::FINAL
H A Dmutex.h204 explicit LockGuard(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); }
205 ~LockGuard() { mutex_->Unlock(); }
208 Mutex* mutex_; member in class:v8::base::FINAL
/external/chromium_org/win8/delegate_execute/
H A Ddelegate_execute_operation.h59 return mutex_;
73 base::string16 mutex_; member in class:delegate_execute::DelegateExecuteOperation
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_dthread.h35 pthread_mutex_t *mutex_; member in struct:VP9LfSyncData
/external/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.h142 mutable Mutex mutex_; member in class:google::protobuf::compiler::python::Generator
143 mutable const FileDescriptor* file_; // Set in Generate(). Under mutex_.
145 mutable io::Printer* printer_; // Set in Generate(). Under mutex_.
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libignore.h64 BlockingMutex mutex_; member in class:__sanitizer::LibIgnore
/external/chromium_org/sync/internal_api/attachments/
H A Dattachment_service_proxy_unittest.cc72 base::AutoLock lock(mutex_);
78 mutable base::Lock mutex_; member in class:syncer::StubAttachmentService
85 base::AutoLock lock(mutex_);
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_thread.c24 pthread_mutex_t mutex_; member in struct:VP9WorkerImpl
37 pthread_mutex_lock(&worker->impl_->mutex_);
39 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_);
49 pthread_mutex_unlock(&worker->impl_->mutex_);
62 pthread_mutex_lock(&worker->impl_->mutex_);
66 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_);
74 pthread_mutex_unlock(&worker->impl_->mutex_);
103 if (pthread_mutex_init(&worker->impl_->mutex_, NULL)) {
107 pthread_mutex_destroy(&worker->impl_->mutex_);
110 pthread_mutex_lock(&worker->impl_->mutex_);
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dcriticalsection.h81 pthread_mutex_init(&mutex_, &mutex_attribute);
86 pthread_mutex_destroy(&mutex_);
89 pthread_mutex_lock(&mutex_);
93 if (pthread_mutex_trylock(&mutex_) == 0) {
101 pthread_mutex_unlock(&mutex_);
109 pthread_mutex_t mutex_; member in class:rtc::CriticalSection
/external/chromium_org/v8/src/
H A Dlog-utils.h118 // destination. mutex_ should be acquired before using output_handle_.
121 // mutex_ is a Mutex used for enforcing exclusive
123 base::Mutex mutex_; member in class:v8::internal::Log
126 // mutex_ should be acquired before using it.
/external/ceres-solver/internal/ceres/
H A Dmutex.h176 MutexType mutex_; member in class:ceres::internal::Mutex
197 // but only one writer. We represent this by having mutex_ be -1 when
204 Mutex::Mutex() : mutex_(0) { }
205 Mutex::~Mutex() { assert(mutex_ == 0); }
206 void Mutex::Lock() { assert(--mutex_ == -1); }
207 void Mutex::Unlock() { assert(mutex_++ == -1); }
209 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
211 void Mutex::ReaderLock() { assert(++mutex_ > 0); }
212 void Mutex::ReaderUnlock() { assert(mutex_-- > 0); }
216 Mutex::Mutex() { InitializeCriticalSection(&mutex_); SetIsSaf
[all...]
/external/chromium_org/mojo/public/cpp/utility/tests/
H A Dmutex_unittest.cc50 mutex_(mutex),
61 mutex_->Lock();
66 mutex_->Unlock();
71 if (mutex_->TryLock()) {
76 mutex_->Unlock();
100 Mutex* const mutex_; member in class:mojo::__anon8798::Fiddler
170 explicit TryThread(Mutex* mutex) : mutex_(mutex), try_lock_succeeded_() {}
174 try_lock_succeeded_ = mutex_->TryLock();
176 mutex_->Unlock();
182 Mutex* const mutex_; member in class:mojo::__anon8798::TryThread
[all...]
/external/chromium_org/third_party/re2/util/
H A Dmutex.h76 MutexType mutex_; member in class:re2::Mutex
91 // but only one writer. We represent this by having mutex_ be -1 when
99 Mutex::Mutex() : mutex_(0) { }
100 Mutex::~Mutex() { assert(mutex_ == 0); }
101 void Mutex::Lock() { assert(--mutex_ == -1); }
102 void Mutex::Unlock() { assert(mutex_++ == -1); }
103 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
104 void Mutex::ReaderLock() { assert(++mutex_ > 0); }
105 void Mutex::ReaderUnlock() { assert(mutex_-- > 0); }
112 Mutex::Mutex() { SAFE_PTHREAD(pthread_rwlock_init(&mutex_, NUL
[all...]

Completed in 5713 milliseconds

1234