Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DPthreadLockChecker.cpp27 struct LockState { struct
28 enum Kind {
34 } K;
37 LockState(Kind K) : K(K) {} in LockState() argument
50 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 …]