Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPthreadLockChecker.cpp33 struct LockState { struct
34 enum Kind {
40 } K;
43 LockState(Kind K) : K(K) {} in LockState() argument
49 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed()
52 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed()
58 bool isLocked() const { return K == Locked; } in isLocked()
59 bool isUnlocked() const { return K == Unlocked; } in isUnlocked()
60 bool isDestroyed() const { return K == Destroyed; } in isDestroyed()
61 bool isUntouchedAndPossiblyDestroyed() const { in isUntouchedAndPossiblyDestroyed()
[all …]