Home
last modified time | relevance | path

Searched refs:locked_ (Results 1 – 14 of 14) 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/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/
Dlock.pass.cpp22 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 …]
Dtry_lock.pass.cpp22 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/
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.cc141 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/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/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()
/external/libchrome/base/trace_event/
Dtrace_log.cc185 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