/external/ceres-solver/internal/ceres/ |
H A D | mutex.h | 39 // problems when we have multiple versions of Mutex in each shared object. 66 // file.) Basically, because Mutex does non-trivial work in its 74 // it to true (which happens after the Mutex constructor has run.) 147 class Mutex { class in namespace:ceres::internal 149 // Create a Mutex that is not held by anybody. This constructor is 151 // See below for a recommendation for constructing global Mutex 153 inline Mutex(); 156 inline ~Mutex(); 168 inline void ReaderUnlock(); // Release a read share of this Mutex 184 // Catch the error of writing Mutex whe 185 Mutex(Mutex* /*ignored*/) {} function in class:ceres::internal::Mutex 204 Mutex::Mutex() : mutex_(0) { } function in class:ceres::internal::Mutex 216 Mutex::Mutex() { InitializeCriticalSection(&mutex_); SetIsSafe(); } function in class:ceres::internal::Mutex 233 Mutex::Mutex() { function in class:ceres::internal::Mutex 255 Mutex::Mutex() { function in class:ceres::internal::Mutex [all...] |
/external/chromium_org/mojo/public/cpp/utility/lib/ |
H A D | mutex.cc | 14 Mutex::Mutex() { function in class:mojo::Mutex 26 Mutex::~Mutex() { 31 void Mutex::Lock() { 36 void Mutex::Unlock() { 41 bool Mutex::TryLock() { 47 void Mutex::AssertHeld() {
|
/external/chromium_org/mojo/public/cpp/utility/ |
H A D | mutex.h | 26 class Mutex { class in namespace:mojo 29 Mutex() : mutex_(internal::kPthreadMutexInitializer) {} function in class:mojo::Mutex 30 ~Mutex() { pthread_mutex_destroy(&mutex_); } 38 Mutex(); 39 ~Mutex(); 51 MOJO_DISALLOW_COPY_AND_ASSIGN(Mutex); 56 explicit MutexLock(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } 60 Mutex* const mutex_;
|
/external/chromium_org/testing/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 212 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1607 // Mutex implements mutex on Windows platforms. It is used in conjunction 1610 // Mutex mutex; 1615 // A static Mutex *must* be defined or declared using one of the following 1620 // (A non-static Mutex is defined/declared in the usual way). 1621 class GTEST_API_ Mutex { class in namespace:testing::internal 1632 explicit Mutex(StaticConstructorSelector /*dummy*/) {} function in class:testing::internal::Mutex 1634 Mutex(); 1635 ~Mutex(); 1659 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex); 1909 class Mutex : public MutexBase { class in namespace:testing::internal 1911 Mutex() { function in class:testing::internal::Mutex 2034 class Mutex { class in namespace:testing::internal 2036 Mutex() {} function in class:testing::internal::Mutex [all...] |
/external/chromium_org/testing/gtest/src/ |
H A D | gtest-port.cc | 198 Mutex::Mutex() function in class:testing::internal::Mutex 206 Mutex::~Mutex() { 219 void Mutex::Lock() { 225 void Mutex::Unlock() { 236 void Mutex::AssertHeld() { 243 void Mutex::ThreadSafeLazyInit() { 499 static Mutex mutex_; 501 static Mutex thread_map_mutex [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | ThreadingPrimitives.h | 99 class WTF_EXPORT Mutex : public MutexBase { class in namespace:WTF 101 Mutex() : MutexBase(false) { } function in class:WTF::Mutex 116 MutexTryLocker(Mutex& mutex) : m_mutex(mutex), m_locked(mutex.tryLock()) { } 126 Mutex& m_mutex; 156 using WTF::Mutex;
|
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/ |
H A D | mutex.h | 13 typedef base::Lock Mutex; typedef in namespace:invalidation 17 explicit MutexLock(Mutex* m) : auto_lock_(*m) {}
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | mutex.h | 31 // should instantiate a Mutex object while doing so. You should make your own 41 // Mutex mutex(&myMutex); // or no args for the global lock 46 // Note: Do NOT use the form 'Mutex mutex();' as that merely forward-declares a function 47 // returning a Mutex. This is a common mistake which silently slips through the 51 class U_COMMON_API Mutex : public UMemory { class in inherits:UMemory 53 inline Mutex(UMutex *mutex = NULL); 54 inline ~Mutex(); 59 Mutex(const Mutex &other); // forbid copying of this class 60 Mutex 63 inline Mutex::Mutex(UMutex *mutex) function in class:Mutex [all...] |
/external/chromium_org/third_party/leveldatabase/port/ |
H A D | port_chromium.cc | 17 Mutex::Mutex() { function in class:leveldb::port::Mutex 20 Mutex::~Mutex() { 23 void Mutex::Lock() { 27 void Mutex::Unlock() { 31 void Mutex::AssertHeld() { 35 CondVar::CondVar(Mutex* mu)
|
H A D | port_chromium.h | 37 class Mutex { class in namespace:leveldb::port 39 Mutex(); 40 ~Mutex(); 49 DISALLOW_COPY_AND_ASSIGN(Mutex); 54 explicit CondVar(Mutex* mu);
|
/external/chromium_org/third_party/leveldatabase/src/port/ |
H A D | port_example.h | 25 // A Mutex represents an exclusive lock. 26 class Mutex { class in namespace:leveldb::port 28 Mutex(); 29 ~Mutex(); 47 explicit CondVar(Mutex* mu);
|
H A D | port_posix.cc | 22 Mutex::Mutex() { PthreadCall("init mutex", pthread_mutex_init(&mu_, NULL)); } function in class:leveldb::port::Mutex 24 Mutex::~Mutex() { PthreadCall("destroy mutex", pthread_mutex_destroy(&mu_)); } 26 void Mutex::Lock() { PthreadCall("lock", pthread_mutex_lock(&mu_)); } 28 void Mutex::Unlock() { PthreadCall("unlock", pthread_mutex_unlock(&mu_)); } 30 CondVar::CondVar(Mutex* mu)
|
H A D | port_posix.h | 85 class Mutex { class in namespace:leveldb::port 87 Mutex(); 88 ~Mutex(); 99 Mutex(const Mutex&); 100 void operator=(const Mutex&); 105 explicit CondVar(Mutex* mu); 112 Mutex* mu_;
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/ |
H A D | gtest.h | 241 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 2424 // MutexBase and Mutex implement mutex on pthreads-based platforms. They 2427 // Mutex mutex; 2442 // To create a dynamic mutex, just define an object of type Mutex. 2499 // The Mutex class can only be used for mutexes created at runtime. It 2501 class Mutex : public MutexBase { class in namespace:std::tr1 2503 Mutex() { function in class:std::tr1::Mutex 2507 ~Mutex() { 2512 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex); 2652 class Mutex { class in namespace:std::tr1 2654 Mutex() {} function in class:std::tr1::Mutex [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
H A D | egldisplay.h | 125 _EGLMutex Mutex; member in struct:_egl_display
|
H A D | eglglobals.h | 44 _EGLMutex *Mutex; member in struct:_egl_global
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 135 // Mutex, MutexLock, ThreadLocal, GetThreadCount() 1185 // MutexBase and Mutex implement mutex on pthreads-based platforms. They 1188 // Mutex mutex; 1203 // To create a dynamic mutex, just define an object of type Mutex. 1246 // The Mutex class can only be used for mutexes created at runtime. It 1248 class Mutex : public MutexBase { class in namespace:testing::internal 1250 Mutex() { function in class:testing::internal::Mutex 1254 ~Mutex() { 1259 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mutex); 1399 class Mutex { class in namespace:testing::internal 1401 Mutex() {} function in class:testing::internal::Mutex [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | hash.c | 65 _glthread_Mutex Mutex; /**< mutual exclusion lock */ member in struct:_mesa_HashTable 82 _glthread_INIT_MUTEX(table->Mutex); 115 _glthread_DESTROY_MUTEX(table->Mutex); 160 _glthread_LOCK_MUTEX(table->Mutex); 162 _glthread_UNLOCK_MUTEX(table->Mutex); 185 _glthread_LOCK_MUTEX(table->Mutex); 202 _glthread_UNLOCK_MUTEX(table->Mutex); 216 _glthread_UNLOCK_MUTEX(table->Mutex); 246 _glthread_LOCK_MUTEX(table->Mutex); 261 _glthread_UNLOCK_MUTEX(table->Mutex); [all...] |
H A D | mtypes.h | 1265 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_texture_object 1508 _glthread_Mutex Mutex; member in struct:gl_buffer_object 1577 _glthread_Mutex Mutex; member in struct:gl_array_object 2543 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_shared_state 2607 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_renderbuffer 2665 _glthread_Mutex Mutex; /**< for thread safety */ member in struct:gl_framebuffer
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | common.cc | 126 static Mutex* log_silencer_count_mutex_ = NULL; 134 log_silencer_count_mutex_ = new Mutex; 247 struct Mutex::Internal { 255 Mutex::Mutex() function in class:google::protobuf::Mutex 260 Mutex::~Mutex() { 265 void Mutex::Lock() { 272 void Mutex::Unlock() { 279 void Mutex 291 Mutex::Mutex() function in class:google::protobuf::Mutex [all...] |
H A D | common.h | 1108 // A Mutex is a non-reentrant (aka non-recursive) mutex. At most one thread T 1109 // may hold a mutex at a given time. If T attempts to Lock() the same Mutex 1111 class LIBPROTOBUF_EXPORT Mutex { class in namespace:google::protobuf::internal 1113 // Create a Mutex that is not held by anybody. 1114 Mutex(); 1117 ~Mutex(); 1119 // Block if necessary until this Mutex is free, then acquire it exclusively. 1122 // Release this Mutex. Caller must hold it exclusively. 1125 // Crash if this Mutex is not held exclusively by this thread. 1133 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Mutex); [all...] |
/external/chromium_org/third_party/re2/util/ |
H A D | mutex.h | 54 class Mutex { class in namespace:re2 56 // Create a Mutex that is not held by anybody. 57 inline Mutex(); 60 inline ~Mutex(); 70 inline void ReaderUnlock(); // Release a read share of this Mutex 78 // Catch the error of writing Mutex when intending MutexLock. 79 Mutex(Mutex *ignored); 81 Mutex(const Mutex 99 Mutex::Mutex() : mutex_(0) { } function in class:re2::Mutex 112 Mutex::Mutex() { SAFE_PTHREAD(pthread_rwlock_init(&mutex_, NULL)); } function in class:re2::Mutex 127 Mutex::Mutex() { SAFE_PTHREAD(pthread_mutex_init(&mutex_, NULL)); } function in class:re2::Mutex 138 Mutex::Mutex() { InitializeCriticalSection(&mutex_); } function in class:re2::Mutex [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
H A D | simple_mutex.h | 46 // problems when we have multiple versions of Mutex in each shared object. 65 // file.) Basically, because Mutex does non-trivial work in its 73 // it to true (which happens after the Mutex constructor has run.) 96 // the Mutex global destructor runs before some other global 101 // weird to a Mutex's memory after it is destroyed, but for a 147 class Mutex { class in namespace:MUTEX_NAMESPACE 152 // Create a Mutex that is not held by anybody. This constructor is 154 inline Mutex(); 155 // This constructor should be used for global, static Mutex objects. 159 inline Mutex(LinkerInitialize 188 Mutex(Mutex* /*ignored*/) {} function in class:MUTEX_NAMESPACE::Mutex 207 Mutex::Mutex() : mutex_(0) { } function in class:MUTEX_NAMESPACE::Mutex 208 Mutex::Mutex(Mutex::LinkerInitialized) : mutex_(0) { } function in class:MUTEX_NAMESPACE::Mutex 218 Mutex::Mutex() : destroy_(true) { function in class:MUTEX_NAMESPACE::Mutex 222 Mutex::Mutex(LinkerInitialized) : destroy_(false) { function in class:MUTEX_NAMESPACE::Mutex 240 Mutex::Mutex() : destroy_(true) { function in class:MUTEX_NAMESPACE::Mutex 244 Mutex::Mutex(Mutex::LinkerInitialized) : destroy_(false) { function in class:MUTEX_NAMESPACE::Mutex 263 Mutex::Mutex() : destroy_(true) { function in class:MUTEX_NAMESPACE::Mutex 267 Mutex::Mutex(Mutex::LinkerInitialized) : destroy_(false) { function in class:MUTEX_NAMESPACE::Mutex [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
H A D | simple_mutex.h | 46 // problems when we have multiple versions of Mutex in each shared object. 65 // file.) Basically, because Mutex does non-trivial work in its 73 // it to true (which happens after the Mutex constructor has run.) 96 // the Mutex global destructor runs before some other global 101 // weird to a Mutex's memory after it is destroyed, but for a 147 class Mutex { class in namespace:MUTEX_NAMESPACE 152 // Create a Mutex that is not held by anybody. This constructor is 154 inline Mutex(); 155 // This constructor should be used for global, static Mutex objects. 159 inline Mutex(LinkerInitialize 188 Mutex(Mutex* /*ignored*/) {} function in class:MUTEX_NAMESPACE::Mutex 207 Mutex::Mutex() : mutex_(0) { } function in class:MUTEX_NAMESPACE::Mutex 208 Mutex::Mutex(Mutex::LinkerInitialized) : mutex_(0) { } function in class:MUTEX_NAMESPACE::Mutex 218 Mutex::Mutex() : destroy_(true) { function in class:MUTEX_NAMESPACE::Mutex 222 Mutex::Mutex(LinkerInitialized) : destroy_(false) { function in class:MUTEX_NAMESPACE::Mutex 240 Mutex::Mutex() : destroy_(true) { function in class:MUTEX_NAMESPACE::Mutex 244 Mutex::Mutex(Mutex::LinkerInitialized) : destroy_(false) { function in class:MUTEX_NAMESPACE::Mutex 263 Mutex::Mutex() : destroy_(true) { function in class:MUTEX_NAMESPACE::Mutex 267 Mutex::Mutex(Mutex::LinkerInitialized) : destroy_(false) { function in class:MUTEX_NAMESPACE::Mutex [all...] |
/external/chromium_org/v8/src/base/platform/ |
H A D | mutex.cc | 113 Mutex::Mutex() { function in class:v8::base::Mutex 121 Mutex::~Mutex() { 127 void Mutex::Lock() { 133 void Mutex::Unlock() { 139 bool Mutex::TryLock() {
|