Home
last modified time | relevance | path

Searched refs:locked_ (Results 1 – 16 of 16) 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.h41 locked_ = true; in ScopedSpinlock()
51 : lock_(other.lock_), locked_(other.locked_) { in ScopedSpinlock()
52 other.locked_ = false; in ScopedSpinlock()
66 if (locked_) { in Unlock()
70 locked_ = false; in Unlock()
73 bool locked() const { return locked_; } in locked()
78 bool locked_ = false; variable
Dscoped_spinlock.cc41 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/drm_hwcomposer/utils/
Dautolock.cpp30 if (locked_) { in Lock()
39 locked_ = true; in Lock()
44 if (!locked_) { in Unlock()
53 locked_ = false; in Unlock()
/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/webrtc/webrtc/base/
Ddiskcache.h102 locked_ = cache_->LockResource(id_); in cache_()
105 if (locked_) { in ~CacheLock()
112 bool IsLocked() const { return locked_; } in IsLocked()
118 bool rollback_, locked_; variable
Dcriticalsection.cc122 : cs_(cs), locked_(cs->TryEnter()) { in TryCritScope()
128 if (locked_) in ~TryCritScope()
134 return locked_; in locked()
Dcriticalsection.h96 const bool locked_; variable
/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_ GUARDED_BY(mu_);
/external/drm_hwcomposer/include/
Dautolock.h27 if (locked_) in ~AutoLock()
39 bool locked_ = false; variable
/external/webrtc/webrtc/p2p/base/
Drelayport.cc88 bool locked() const { return locked_; } in locked()
134 bool locked_; member in cricket::RelayEntry
454 server_index_(0), connected_(false), locked_(false), in RelayEntry()
564 if (locked_ && (ext_addr_ == addr)) in SendTo()
698 if (locked_) { in OnReadPacket()
721 locked_ = true; in OnReadPacket()
Drelayserver.h159 bool locked() const { return locked_; } in locked()
176 bool locked_; variable
Drelayserver.cc574 : binding_(binding), addr_pair_(addrs), socket_(socket), locked_(false) { in RelayServerConnection()
643 locked_ = true; in Lock()
647 locked_ = false; in Unlock()