Home
last modified time | relevance | path

Searched refs:locked_ (Results 1 – 17 of 17) sorted by relevance

/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dscoped_lock.hpp34 locked_(true) in scoped_lock()
43 locked_ = true; in scoped_lock()
49 if (locked_) in ~scoped_lock()
56 if (!locked_) in lock()
59 locked_ = true; in lock()
66 if (locked_) in unlock()
69 locked_ = false; in unlock()
76 return locked_; in locked()
90 bool locked_; member in asio::detail::scoped_lock
/external/perfetto/src/profiling/memory/
Dscoped_spinlock.h55 locked_ = true; in ScopedSpinlock()
65 : lock_(other.lock_), locked_(other.locked_) { in ScopedSpinlock()
66 other.locked_ = false; in ScopedSpinlock()
80 if (locked_) { in Unlock()
84 locked_ = false; in Unlock()
87 bool locked() const { return locked_; } in locked()
94 bool locked_ = false; variable
Dscoped_spinlock.cc55 locked_ = true; in LockSlow()
/external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/
Dlock.pass.cpp29 bool locked_; member in L0
32 L0() : locked_(false) {} in L0()
36 locked_ = true; in lock()
41 locked_ = true; in try_lock()
42 return locked_; in try_lock()
45 void unlock() {locked_ = false;} in unlock()
47 bool locked() const {return locked_;} in locked()
52 bool locked_; member in L1
55 L1() : locked_(false) {} in L1()
59 locked_ = true; in lock()
[all …]
Dtry_lock.pass.cpp24 bool locked_; member in L0
27 L0() : locked_(false) {} in L0()
31 locked_ = true; in try_lock()
32 return locked_; in try_lock()
35 void unlock() {locked_ = false;} in unlock()
37 bool locked() const {return locked_;} in locked()
42 bool locked_; member in L1
45 L1() : locked_(false) {} in L1()
49 locked_ = false; in try_lock()
50 return locked_; in try_lock()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.lock.algorithm/
Dlock.pass.cpp32 bool locked_; member in L0
35 L0() : locked_(false) {} in L0()
39 locked_ = true; in lock()
44 locked_ = true; in try_lock()
45 return locked_; in try_lock()
48 void unlock() {locked_ = false;} in unlock()
50 bool locked() const {return locked_;} in locked()
55 bool locked_; member in L1
58 L1() : locked_(false) {} in L1()
62 locked_ = true; in lock()
[all …]
Dtry_lock.pass.cpp23 bool locked_; member in L0
26 L0() : locked_(false) {} in L0()
30 locked_ = true; in try_lock()
31 return locked_; in try_lock()
34 void unlock() {locked_ = false;} in unlock()
36 bool locked() const {return locked_;} in locked()
41 bool locked_; member in L1
44 L1() : locked_(false) {} in L1()
48 locked_ = false; in try_lock()
49 return locked_; in try_lock()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cc142 if (locked_[i] == 0) in Lock()
144 CHECK_NE(locked_[i], max_seq); in Lock()
145 if (max_seq < locked_[i]) { in Lock()
146 max_seq = locked_[i]; in Lock()
150 locked_[t] = ++seq_; in Lock()
164 CHECK(locked_[t]); in Unlock()
165 locked_[t] = 0; in Unlock()
170 CHECK_EQ(locked_[i], 0); in CheckNoLocks()
Dtsan_mutex.h80 u64 locked_[MutexTypeCount]; variable
/external/pigweed/pw_sync/
Dborrow_test.cc51 bool locked() const { return locked_; } in locked()
54 bool locked_ = false; member in pw::sync::__anonb95bd68a0111::BasicLockable
60 PW_CHECK(!locked_, "Recursive lock detected"); in DoLockOperation()
61 locked_ = true; in DoLockOperation()
66 PW_CHECK(locked_, "Unlock while unlocked detected"); in DoLockOperation()
67 locked_ = false; in DoLockOperation()
134 locked_ = true; in try_lock()
204 locked_ = true; in try_lock()
Ddocs.rst710 bool locked_;
/external/tensorflow/tensorflow/core/kernels/
Dmutex_ops.cc40 : locked_(false), in Mutex()
64 mutex_->locked_ = false; in ~LockReleaser()
106 while (locked_ && !(cancelled && *cancelled)) { in AcquireAsync()
109 local_locked = locked_ = !(cancelled && *cancelled); in AcquireAsync()
129 bool locked_ TF_GUARDED_BY(mu_);
/external/libchrome/base/trace_event/
Dtrace_log.cc179 explicit OptionalAutoLock(Lock* lock) : lock_(lock), locked_(false) {} in OptionalAutoLock()
182 if (locked_) in ~OptionalAutoLock()
187 if (!locked_) { in EnsureAcquired()
189 locked_ = true; in EnsureAcquired()
195 bool locked_; member in base::trace_event::TraceLog::OptionalAutoLock
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.inc99 // while locked_, the underlying mutex is unlocked. Mutex supports
102 bool locked_ = false;
/external/cronet/base/trace_event/
Dtrace_log.cc440 if (locked_) in ~OptionalAutoLock()
445 if (!locked_) { in EnsureAcquired()
447 locked_ = true; in EnsureAcquired()
456 bool locked_ = false; member in base::trace_event::TraceLog::OptionalAutoLock
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi28149 <!-- long long unsigned int __tsan::DeadlockDetector::locked_[11] -->
28150 …<var-decl name='locked_' type-id='type-id-1261' visibility='default' filepath='../../.././libsanit…
/external/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi16065 …<var-decl name='locked_' type-id='type-id-1261' visibility='default' filepath='../../.././libsanit…