/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/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/ |
D | lock.pass.cpp | 22 bool locked_; member in L0 25 L0() : locked_(false) {} in L0() 29 locked_ = true; in lock() 34 locked_ = true; in try_lock() 35 return locked_; in try_lock() 38 void unlock() {locked_ = false;} in unlock() 40 bool locked() const {return locked_;} in locked() 45 bool locked_; member in L1 48 L1() : locked_(false) {} in L1() 52 locked_ = true; in lock() [all …]
|
D | try_lock.pass.cpp | 22 bool locked_; member in L0 25 L0() : locked_(false) {} in L0() 29 locked_ = true; in try_lock() 30 return locked_; in try_lock() 33 void unlock() {locked_ = false;} in unlock() 35 bool locked() const {return locked_;} in locked() 40 bool locked_; member in L1 43 L1() : locked_(false) {} in L1() 47 locked_ = false; in try_lock() 48 return locked_; in try_lock() [all …]
|
/external/drm_hwcomposer/ |
D | autolock.cpp | 30 if (locked_) { in Lock() 39 locked_ = true; in Lock() 44 if (!locked_) { in Unlock() 53 locked_ = false; in Unlock()
|
D | autolock.h | 27 if (locked_) in ~AutoLock() 39 bool locked_ = false; variable
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mutex.cc | 141 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()
|
D | tsan_mutex.h | 79 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/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()
|
/external/libchrome/base/trace_event/ |
D | trace_log.cc | 185 explicit OptionalAutoLock(Lock* lock) : lock_(lock), locked_(false) {} in OptionalAutoLock() 188 if (locked_) in ~OptionalAutoLock() 193 if (!locked_) { in EnsureAcquired() 195 locked_ = true; in EnsureAcquired() 201 bool locked_; member in base::trace_event::TraceLog::OptionalAutoLock
|