Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPthreadLockChecker.cpp32 struct LockState { struct
33 enum Kind {
39 } K;
42 LockState(Kind K) : K(K) {} in LockState() argument
48 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed()
51 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed()
57 bool isLocked() const { return K == Locked; } in isLocked()
58 bool isUnlocked() const { return K == Unlocked; } in isUnlocked()
59 bool isDestroyed() const { return K == Destroyed; } in isDestroyed()
60 bool isUntouchedAndPossiblyDestroyed() const { in isUntouchedAndPossiblyDestroyed()
[all …]