Home
last modified time | relevance | path

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

/external/openthread/third_party/jlink/SEGGER_RTT_V640/RTT/
DSEGGER_RTT_Conf.h134 … unsigned int LockState; \
138 … : "=r" (LockState) \
145 … : "r" (LockState) \
154 … unsigned int LockState; \
158 … : "=r" (LockState) \
165 … : "r" (LockState) \
172 unsigned int LockState; \
177 : "=r" (LockState) \
189 : "r" (LockState) \
206 … unsigned int LockState; \
[all …]
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/locks/
DSynchronized.kt12 protected val lock = AtomicReference(LockState(UNLOCKED, 0, 0))
20 val thinLock = LockState(THIN, 1, 0, currentThreadId) in lock()
27 … val thinNested = LockState(THIN, state.nestedLocks + 1, state.waiters, currentThreadId) in lock()
34 … val fatLock = LockState(FAT, state.nestedLocks, state.waiters + 1, state.ownerThreadId, mutex) in lock()
50 …val nestedFatLock = LockState(FAT, state.nestedLocks + 1, state.waiters, state.ownerThreadId, stat… in lock()
53 …val fatLock = LockState(FAT, state.nestedLocks, state.waiters + 1, state.ownerThreadId, state.mute… in lock()
70 val thinLock = LockState(THIN, 1, 0, currentThreadId) in tryLock()
75 …val nestedLock = LockState(state.status, state.nestedLocks + 1, state.waiters, currentThreadId, st… in tryLock()
94 val unlocked = LockState(UNLOCKED, 0, 0) in unlock()
99LockState(THIN, state.nestedLocks - 1, state.waiters, state.ownerThreadId) in unlock()
[all …]
/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/openscreen/platform/impl/
Dscoped_wake_lock_mac.h20 struct LockState { struct
28 static LockState lock_state_; argument
Dscoped_wake_lock_mac.cc15 ScopedWakeLockMac::LockState ScopedWakeLockMac::lock_state_{};
/external/libchrome/base/memory/
Ddiscardable_shared_memory.cc74 enum LockState { UNLOCKED = 0, LOCKED = 1 }; enum
77 SharedState(LockState lock_state, Time timestamp) { in SharedState()
84 LockState GetLockState() const { return static_cast<LockState>(value.u & 1); } in GetLockState()
/external/cronet/base/memory/
Ddiscardable_shared_memory.cc88 enum LockState { UNLOCKED = 0, LOCKED = 1 }; enum
91 SharedState(LockState lock_state, Time timestamp) { in SharedState()
98 LockState GetLockState() const { return static_cast<LockState>(value.u & 1); } in GetLockState()
/external/libese/apps/boot/
Dboot_private.h25 } LockState; typedef
/external/rust/crates/parking_lot_core/src/
Dword_lock.rs300 trait LockState { interface
307 impl LockState for usize {