Searched refs:kUnlocked (Results 1 - 6 of 6) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h96 atomic_store(&state_, kUnlocked, memory_order_relaxed);
100 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); local
104 u32 cmp = kUnlocked;
132 CHECK_NE(atomic_load(&state_, memory_order_relaxed), kUnlocked); local
139 kUnlocked = 0, enumerator in enum:__sanitizer::RWMutex::__anon3328
151 if (cmp == kUnlocked &&
/external/skia/tests/
H A DCachedDataTest.cpp13 kUnlocked, enumerator in enum:LockedState
58 check_data(reporter, data, 1, kInCache, kUnlocked);
91 check_data(reporter, data, 1, kInCache, kUnlocked);
H A DMaskCacheTest.cpp14 kUnlocked, enumerator in enum:LockedState
55 check_data(reporter, data, 1, kInCache, kUnlocked);
93 check_data(reporter, data, 1, kInCache, kUnlocked);
H A DYUVCacheTest.cpp14 kUnlocked, enumerator in enum:LockedState
56 check_data(reporter, data, 1, kInCache, kUnlocked);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutex.cc180 const uptr kUnlocked = 0; member in namespace:__tsan
219 atomic_store(&state_, kUnlocked, memory_order_relaxed);
223 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); local
230 uptr cmp = kUnlocked;
235 if (atomic_load(&state_, memory_order_relaxed) == kUnlocked) {
236 cmp = kUnlocked;
/external/libweave/examples/daemon/lock/
H A Dlock.cc15 enum class LockState { kUnlocked, kLocked, kPartiallyLocked }; member in class:weave::lockstate::LockState
19 {LockState::kUnlocked, "unlocked"},

Completed in 136 milliseconds