Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DPthreadLockChecker.cpp32 struct LockState { struct
42 LockState(Kind K) : K(K) {} in LockState() argument
45 static LockState getLocked() { return LockState(Locked); } in getLocked() argument
46 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked() argument
47 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed() argument
48 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed() argument
49 return LockState(UntouchedAndPossiblyDestroyed); in getUntouchedAndPossiblyDestroyed()
51 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed() argument
52 return LockState(UnlockedAndPossiblyDestroyed); in getUnlockedAndPossiblyDestroyed()
55 bool operator==(const LockState &X) const { return K == X.K; } in operator ==() argument
[all …]