Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DPthreadLockChecker.cpp28 struct LockState { struct
32 LockState(Kind K) : K(K) {} in LockState() argument
35 static LockState getLocked() { return LockState(Locked); } in getLocked() argument
36 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked() argument
37 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed() argument
39 bool operator==(const LockState &X) const { in operator ==() argument
79 REGISTER_MAP_WITH_PROGRAMSTATE(LockMap, const MemRegion *, LockState) in REGISTER_LIST_WITH_PROGRAMSTATE()
140 if (const LockState *LState = state->get<LockMap>(lockR)) { in AcquireLock()
189 lockSucc = lockSucc->set<LockMap>(lockR, LockState::getLocked()); in AcquireLock()
202 if (const LockState *LState = state->get<LockMap>(lockR)) { in ReleaseLock()
[all …]
/external/libweave/examples/daemon/lock/
Dlock.cc15 enum class LockState { kUnlocked, kLocked, kPartiallyLocked }; enum
17 const weave::EnumToStringMap<LockState>::Map kLockMapMethod[] = {
18 {LockState::kLocked, "locked"},
19 {LockState::kUnlocked, "unlocked"},
20 {LockState::kPartiallyLocked, "partiallyLocked"}};
24 EnumToStringMap<lockstate::LockState>::EnumToStringMap() in EnumToStringMap()
96 weave::lockstate::LockState new_lock_status; in OnLockSetConfig()
131 weave::lockstate::LockState lock_state_{weave::lockstate::LockState::kLocked};
/external/webrtc/webrtc/base/
Ddiskcache.h62 enum LockState { LS_UNLOCKED, LS_LOCKED, LS_UNLOCKING }; enum
64 LockState lock_state;