Home
last modified time | relevance | path

Searched refs: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
37 LockState(Kind K) : K(K) {} in LockState() function
40 static LockState getLocked() { return LockState(Locked); } in getLocked() argument
41 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked() argument
42 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed() argument
43 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed() argument
44 return LockState(UntouchedAndPossiblyDestroyed); in getUntouchedAndPossiblyDestroyed()
46 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed() argument
47 return LockState(UnlockedAndPossiblyDestroyed); in getUnlockedAndPossiblyDestroyed()
50 bool operator==(const LockState &X) const { in operator ==() argument
[all …]