Home
last modified time | relevance | path

Searched refs:MutexLock (Results 1 – 25 of 82) sorted by relevance

1234

/external/chromium_org/third_party/leveldatabase/src/util/
Dmutexlock.h23 class SCOPED_LOCKABLE MutexLock {
25 explicit MutexLock(port::Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu) in MutexLock() function
29 ~MutexLock() UNLOCK_FUNCTION() { this->mu_->Unlock(); } in UNLOCK_FUNCTION()
34 MutexLock(const MutexLock&);
35 void operator=(const MutexLock&);
Dcache.cc210 MutexLock l(&mutex_); in Lookup()
221 MutexLock l(&mutex_); in Release()
228 MutexLock l(&mutex_); in Insert()
259 MutexLock l(&mutex_); in Erase()
314 MutexLock l(&id_mutex_); in NewId()
/external/chromium_org/mojo/public/cpp/utility/
Dmutex.h54 class MutexLock {
56 explicit MutexLock(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } in MutexLock() function
57 ~MutexLock() { mutex_->Unlock(); } in ~MutexLock()
62 MOJO_DISALLOW_COPY_AND_ASSIGN(MutexLock);
66 #define MutexLock(x) MOJO_COMPILE_ASSERT(0, mutex_lock_missing_variable_name); macro
/external/chromium_org/third_party/re2/util/
Dmutex.h153 class MutexLock {
155 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() function
156 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
160 MutexLock(const MutexLock&);
161 void operator=(const MutexLock&);
188 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name) macro
/external/regex-re2/util/
Dmutex.h149 class MutexLock {
151 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() function
152 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
156 MutexLock(const MutexLock&);
157 void operator=(const MutexLock&);
184 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name) macro
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dsimple_mutex.h286 class MutexLock {
288 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() function
289 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
293 MutexLock(const MutexLock&);
294 void operator=(const MutexLock&);
321 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name) macro
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dsimple_mutex.h286 class MutexLock {
288 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() function
289 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
293 MutexLock(const MutexLock&);
294 void operator=(const MutexLock&);
321 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name) macro
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/
Dmutex.h15 class MutexLock {
17 explicit MutexLock(Mutex* m) : auto_lock_(*m) {} in MutexLock() function
21 DISALLOW_COPY_AND_ASSIGN(MutexLock);
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/
Dmemenv.cc28 MutexLock lock(&refs_mutex_); in Ref()
37 MutexLock lock(&refs_mutex_); in Unref()
242 MutexLock lock(&mutex_); in NewSequentialFile()
254 MutexLock lock(&mutex_); in NewRandomAccessFile()
266 MutexLock lock(&mutex_); in NewWritableFile()
280 MutexLock lock(&mutex_); in FileExists()
286 MutexLock lock(&mutex_); in GetChildren()
311 MutexLock lock(&mutex_); in DeleteFile()
329 MutexLock lock(&mutex_); in GetFileSize()
340 MutexLock lock(&mutex_); in RenameFile()
/external/llvm/test/CodeGen/ARM/
Dcall-tc.ll145 %class.MutexLock = type { i8 }
154 %lock = alloca %class.MutexLock, align 1
155 %1 = call %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock* %lock)
158 %4 = call %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock* %lock)
162 declare %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock*) unnamed_addr nounwind align 2
164 declare %class.MutexLock* @_ZN9MutexLockD1Ev(%class.MutexLock*) unnamed_addr nounwind align 2
/external/openfst/src/include/fst/
Dlock.h59 class MutexLock {
61 MutexLock(Mutex *) {} in MutexLock() function
64 DISALLOW_COPY_AND_ASSIGN(MutexLock);
Dgeneric-register.h55 MutexLock l(register_lock_); in SetEntry()
100 MutexLock l(register_lock_); in LookupEntry()
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Donce_unittest.cc88 MutexLock lock(&done_mutex_); in IsDone()
124 MutexLock lock(&done_mutex_); in Start()
142 MutexLock lock(&mutex_); in CurrentState()
162 MutexLock lock(&mutex_); in Init()
Dcommon.cc185 MutexLock lock(log_silencer_count_mutex_); in Finish()
223 MutexLock lock(internal::log_silencer_count_mutex_); in LogSilencer()
229 MutexLock lock(internal::log_silencer_count_mutex_); in ~LogSilencer()
361 MutexLock lock(shutdown_functions_mutex); in OnShutdown()
Dcommon.h1137 class LIBPROTOBUF_EXPORT MutexLock {
1139 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock() function
1140 ~MutexLock() { this->mu_->Unlock(); } in ~MutexLock()
1143 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock);
1147 typedef MutexLock ReaderMutexLock;
1148 typedef MutexLock WriterMutexLock;
1166 using internal::MutexLock;
/external/protobuf/src/google/protobuf/stubs/
Donce_unittest.cc88 MutexLock lock(&done_mutex_); in IsDone()
124 MutexLock lock(&done_mutex_); in Start()
142 MutexLock lock(&mutex_); in CurrentState()
162 MutexLock lock(&mutex_); in Init()
Dcommon.cc185 MutexLock lock(log_silencer_count_mutex_); in Finish()
219 MutexLock lock(internal::log_silencer_count_mutex_); in LogSilencer()
225 MutexLock lock(internal::log_silencer_count_mutex_); in ~LogSilencer()
339 MutexLock lock(shutdown_functions_mutex); in OnShutdown()
Dcommon.h1072 class LIBPROTOBUF_EXPORT MutexLock {
1074 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock() function
1075 ~MutexLock() { this->mu_->Unlock(); } in ~MutexLock()
1078 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock);
1082 typedef MutexLock ReaderMutexLock;
1083 typedef MutexLock WriterMutexLock;
1101 using internal::MutexLock;
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dcompat.h62 class MutexLock {
64 MutexLock(Mutex *);
67 DISALLOW_EVIL_CONSTRUCTORS(MutexLock);
98 MutexLock l(register_lock_); in GetFlagDescription()
104 MutexLock l(register_lock_); in SetDescription()
Dcompat.cpp135 MutexLock::MutexLock(Mutex *mutex) {} // ?OP? in MutexLock() function in MutexLock
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dprofiler_unittest.cc59 MutexLock ml(&mutex); in test_other_thread()
72 MutexLock ml(&mutex); in test_main_thread()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dprofiler_unittest.cc59 MutexLock ml(&mutex); in test_other_thread()
72 MutexLock ml(&mutex); in test_main_thread()
/external/clang/test/PCH/
Dthread-safety-attrs.cpp43 class __attribute__((scoped_lockable)) MutexLock { class
45 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
46 ~MutexLock() __attribute__((unlock_function));
/external/chromium_org/third_party/leveldatabase/src/db/
Ddb_impl.cc539 MutexLock l(&mutex_); in CompactRange()
575 MutexLock l(&mutex_); in TEST_CompactRange()
595 MutexLock l(&mutex_); in TEST_CompactMemTable()
637 MutexLock l(&mutex_); in BackgroundCall()
1073 MutexLock l(&mutex_); in TEST_MaxNextLevelOverlappingBytes()
1081 MutexLock l(&mutex_); in Get()
1137 MutexLock l(&mutex_); in RecordReadSample()
1144 MutexLock l(&mutex_); in GetSnapshot()
1149 MutexLock l(&mutex_); in ReleaseSnapshot()
1168 MutexLock l(&mutex_); in Write()
[all …]
/external/chromium_org/testing/gtest/include/gtest/internal/
Dgtest-linked_ptr.h110 MutexLock lock(&g_linked_ptr_mutex); in join()
122 MutexLock lock(&g_linked_ptr_mutex); in depart()

1234