Searched defs:LockState (Results 1 – 1 of 1) sorted by relevance
27 struct LockState { struct28 enum Kind {34 } K;37 LockState(Kind K) : K(K) {} in LockState() argument50 bool operator==(const LockState &X) const { in operator ==()54 bool isLocked() const { return K == Locked; } in isLocked()55 bool isUnlocked() const { return K == Unlocked; } in isUnlocked()56 bool isDestroyed() const { return K == Destroyed; } in isDestroyed()57 bool isUntouchedAndPossiblyDestroyed() const { in isUntouchedAndPossiblyDestroyed()60 bool isUnlockedAndPossiblyDestroyed() const { in isUnlockedAndPossiblyDestroyed()[all …]