Home
last modified time | relevance | path

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

12

/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/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/
Dlock.pass.cpp28 bool locked_; member in L0
31 L0() : locked_(false) {} in L0()
35 locked_ = true; in lock()
40 locked_ = true; in try_lock()
41 return locked_; in try_lock()
44 void unlock() {locked_ = false;} in unlock()
46 bool locked() const {return locked_;} in locked()
51 bool locked_; member in L1
54 L1() : locked_(false) {} in L1()
58 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/drm_hwcomposer/utils/
Dautolock.cpp30 if (locked_) { in Lock()
39 locked_ = true; in Lock()
44 if (!locked_) { in Unlock()
53 locked_ = false; in Unlock()
Dautolock.h27 if (locked_) in ~AutoLock()
39 bool locked_ = false; variable
/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/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cpp141 if (locked_[i] == 0) in Lock()
143 CHECK_NE(locked_[i], max_seq); in Lock()
144 if (max_seq < locked_[i]) { in Lock()
145 max_seq = locked_[i]; in Lock()
149 locked_[t] = ++seq_; in Lock()
163 CHECK(locked_[t]); in Unlock()
164 locked_[t] = 0; in Unlock()
169 CHECK_EQ(locked_[i], 0); in CheckNoLocks()
Dtsan_mutex.h79 u64 locked_[MutexTypeCount]; variable
/external/llvm-project/compiler-rt/test/tsan/
Dcustom_mutex.h11 , locked_(false) in prof_()
59 std::atomic<bool> locked_; variable
75 return !locked_.exchange(true); in TryLockImpl()
79 locked_.store(false); in UnlockImpl()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc65 if (locked_) { in ~MutexImpl()
72 locked_ = true; in Lock()
77 if (locked) locked_ = true; in TryLock()
82 locked_ = false; in Unlock()
123 if (locked_) { in ~MutexImpl()
131 locked_ = true; in Lock()
136 if (locked) locked_ = true; in TryLock()
141 locked_ = false; in Unlock()
Dmutex_nonprod.inc99 // while locked_, the underlying mutex is unlocked. Mutex supports
102 bool locked_ = false;
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc60 if (locked_) { in ~MutexImpl()
67 locked_ = true; in Lock()
72 if (locked) locked_ = true; in TryLock()
77 locked_ = false; in Unlock()
118 if (locked_) { in ~MutexImpl()
126 locked_ = true; in Lock()
131 if (locked) locked_ = true; in TryLock()
136 locked_ = false; in Unlock()
Dmutex_nonprod.inc99 // while locked_, the underlying mutex is unlocked. Mutex supports
102 bool locked_ = false;
/external/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc60 if (locked_) { in ~MutexImpl()
67 locked_ = true; in Lock()
72 if (locked) locked_ = true; in TryLock()
77 locked_ = false; in Unlock()
118 if (locked_) { in ~MutexImpl()
126 locked_ = true; in Lock()
131 if (locked) locked_ = true; in TryLock()
136 locked_ = false; in Unlock()
Dmutex_nonprod.inc99 // while locked_, the underlying mutex is unlocked. Mutex supports
102 bool locked_ = false;
/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/pigweed/pw_sync/
Ddocs.rst904 bool locked_;
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi9443 <!-- long long unsigned int __tsan::DeadlockDetector::locked_[11] -->
9444 …<var-decl name='locked_' type-id='type-id-487' visibility='default' filepath='../../.././libsaniti…
29434 <!-- long long unsigned int __tsan::DeadlockDetector::locked_[11] -->
29435 …<var-decl name='locked_' type-id='type-id-487' visibility='default' filepath='../../.././libsaniti…

12