/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | scoped_lock.hpp | 34 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/ |
D | scoped_spinlock.h | 41 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
|
D | scoped_spinlock.cc | 41 locked_ = true; in LockSlow()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/ |
D | lock.pass.cpp | 29 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 …]
|
D | try_lock.pass.cpp | 24 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/ |
D | autolock.cpp | 30 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/ |
D | tsan_mutex.cc | 142 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()
|
D | tsan_mutex.h | 80 u64 locked_[MutexTypeCount]; variable
|
/external/webrtc/webrtc/base/ |
D | diskcache.h | 102 locked_ = cache_->LockResource(id_); in cache_() 105 if (locked_) { in ~CacheLock() 112 bool IsLocked() const { return locked_; } in IsLocked() 118 bool rollback_, locked_; variable
|
D | criticalsection.cc | 122 : cs_(cs), locked_(cs->TryEnter()) { in TryCritScope() 128 if (locked_) in ~TryCritScope() 134 return locked_; in locked()
|
D | criticalsection.h | 96 const bool locked_; variable
|
/external/tensorflow/tensorflow/core/kernels/ |
D | mutex_ops.cc | 40 : 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/ |
D | autolock.h | 27 if (locked_) in ~AutoLock() 39 bool locked_ = false; variable
|
/external/webrtc/webrtc/p2p/base/ |
D | relayport.cc | 88 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()
|
D | relayserver.h | 159 bool locked() const { return locked_; } in locked() 176 bool locked_; variable
|
D | relayserver.cc | 574 : binding_(binding), addr_pair_(addrs), socket_(socket), locked_(false) { in RelayServerConnection() 643 locked_ = true; in Lock() 647 locked_ = false; in Unlock()
|