Home
last modified time | relevance | path

Searched refs:MutexLock (Results 1 – 25 of 98) 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/valgrind/unittest/
Ddemo_tests.cc47 MutexLock lock(&mu1); // Correct Mutex. in Thread1()
52 MutexLock lock(&mu2); // Wrong Mutex. in Thread2()
335 MutexLock lock3(&mu3); // This lock is unrelated to PTR. in Writer1()
336 MutexLock lock1(&mu1); // Protect PTR. in Writer1()
341 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in Writer2()
342 MutexLock lock1(&mu1); // Protect PTR. in Writer2()
351 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! in Reader()
393 MutexLock lock3(&mu3); // This lock is unrelated to PTR. in GoodWriter1()
394 MutexLock lock1(&mu1); // Protect PTR. in GoodWriter1()
399 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in GoodWriter2()
[all …]
Datomicity_tests.cc48 MutexLock l(&mu_); in size()
53 MutexLock l(&mu_); in push_back()
58 MutexLock l(&mu_); in pop_back()
Dthread_wrappers.h282 class MutexLock { // Scoped Mutex Locker/Unlocker
284 MutexLock(Mutex *mu) in MutexLock() function
288 ~MutexLock() { in ~MutexLock()
300 MutexLock lock(&mu_); in DecrementCount()
/external/chromium/sdch/open-vcdiff/src/
Dmutex.h264 class MutexLock {
266 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() function
267 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
271 MutexLock(const MutexLock&);
272 void operator=(const MutexLock&);
299 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_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/open-vcdiff/gflags/src/
Dmutex.h304 class MutexLock {
306 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); } in MutexLock() function
307 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
311 MutexLock(const MutexLock&);
312 void operator=(const MutexLock&);
339 #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/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/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/chromium/testing/gmock/src/
Dgmock-spec-builders.cc177 MutexLock l(&mutex_); in CheckActionCountIfNotDone()
272 MutexLock l(&g_gmock_mutex); in RegisterOwner()
286 MutexLock l(&g_gmock_mutex); in SetOwnerAndName()
299 MutexLock l(&g_gmock_mutex); in MockObject()
316 MutexLock l(&g_gmock_mutex); in Name()
584 internal::MutexLock l(&internal::g_gmock_mutex); in SetReactionOnUninterestingCalls()
615 internal::MutexLock l(&internal::g_gmock_mutex); in UnregisterCallReaction()
624 internal::MutexLock l(&internal::g_gmock_mutex); in GetReactionOnUninterestingCalls()
633 internal::MutexLock l(&internal::g_gmock_mutex); in AllowLeak()
642 internal::MutexLock l(&internal::g_gmock_mutex); in VerifyAndClearExpectations()
[all …]
/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/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/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()
/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()
/external/valgrind/unittest/output_tests/
Doutput_test1.cc7 MutexLock lock(&mu1); // Correct Mutex. in Thread1()
12 MutexLock lock(&mu2); // Wrong Mutex. in Thread2()
/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()
/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/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()

1234