Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h96 atomic_store(&state_, kUnlocked, memory_order_relaxed); in RWMutex()
100 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); in ~RWMutex()
104 u32 cmp = kUnlocked; in Lock()
132 CHECK_NE(atomic_load(&state_, memory_order_relaxed), kUnlocked); in CheckLocked()
139 kUnlocked = 0, enumerator
151 if (cmp == kUnlocked && in LockSlow()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h100 atomic_store(&state_, kUnlocked, memory_order_relaxed); in RWMutex()
104 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); in ~RWMutex()
108 u32 cmp = kUnlocked; in Lock()
136 CHECK_NE(atomic_load(&state_, memory_order_relaxed), kUnlocked); in CheckLocked()
143 kUnlocked = 0, enumerator
155 if (cmp == kUnlocked && in LockSlow()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cc181 const uptr kUnlocked = 0; variable
220 atomic_store(&state_, kUnlocked, memory_order_relaxed); in Mutex()
224 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); in ~Mutex()
231 uptr cmp = kUnlocked; in Lock()
236 if (atomic_load(&state_, memory_order_relaxed) == kUnlocked) { in Lock()
237 cmp = kUnlocked; in Lock()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cpp180 const uptr kUnlocked = 0; variable
219 atomic_store(&state_, kUnlocked, memory_order_relaxed); in Mutex()
223 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); in ~Mutex()
230 uptr cmp = kUnlocked; in Lock()
235 if (atomic_load(&state_, memory_order_relaxed) == kUnlocked) { in Lock()
236 cmp = kUnlocked; in Lock()
/external/skqp/tests/
DCachedDataTest.cpp20 kUnlocked, enumerator
65 check_data(reporter, data, 1, kInCache, kUnlocked); in test_locking()
98 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
DMaskCacheTest.cpp14 kUnlocked, enumerator
54 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
91 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
DYUVCacheTest.cpp14 kUnlocked, enumerator
60 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
/external/skia/tests/
DCachedDataTest.cpp20 kUnlocked, enumerator
65 check_data(reporter, data, 1, kInCache, kUnlocked); in test_locking()
98 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
DMaskCacheTest.cpp14 kUnlocked, enumerator
54 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
91 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
DYUVCacheTest.cpp16 kUnlocked, enumerator
61 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()