Home
last modified time | relevance | path

Searched defs:LockState (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DPthreadLockChecker.cpp28 struct LockState { struct
29 enum Kind { Destroyed, Locked, Unlocked } K;
32 LockState(Kind K) : K(K) {} in LockState() argument
35 static LockState getLocked() { return LockState(Locked); } in getLocked()
36 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked()
37 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed()
39 bool operator==(const LockState &X) const { in operator ==()
43 bool isLocked() const { return K == Locked; } in isLocked()
44 bool isUnlocked() const { return K == Unlocked; } in isUnlocked()
45 bool isDestroyed() const { return K == Destroyed; } in isDestroyed()
[all …]
/external/libweave/examples/daemon/lock/
Dlock.cc15 enum class LockState { kUnlocked, kLocked, kPartiallyLocked }; enum
/external/webrtc/webrtc/base/
Ddiskcache.h62 enum LockState { LS_UNLOCKED, LS_LOCKED, LS_UNLOCKING }; enum