Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DPthreadLockChecker.cpp33 struct LockState { struct
34 enum Kind {
40 } K;
43 LockState(Kind K) : K(K) {} in LockState() function
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 …]
/llvm-project-15.0.7/libc/src/__support/threads/linux/
H A Dmutex.h33 enum class LockState : FutexWordType { enum