/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mutex.h | 96 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/ |
D | sanitizer_mutex.h | 100 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/ |
D | tsan_mutex.cc | 181 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/ |
D | tsan_mutex.cpp | 180 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/ |
D | CachedDataTest.cpp | 20 kUnlocked, enumerator 65 check_data(reporter, data, 1, kInCache, kUnlocked); in test_locking() 98 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
|
D | MaskCacheTest.cpp | 14 kUnlocked, enumerator 54 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST() 91 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
|
D | YUVCacheTest.cpp | 14 kUnlocked, enumerator 60 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
|
/external/skia/tests/ |
D | CachedDataTest.cpp | 20 kUnlocked, enumerator 65 check_data(reporter, data, 1, kInCache, kUnlocked); in test_locking() 98 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
|
D | MaskCacheTest.cpp | 14 kUnlocked, enumerator 54 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST() 91 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
|
D | YUVCacheTest.cpp | 16 kUnlocked, enumerator 61 check_data(reporter, data, 1, kInCache, kUnlocked); in DEF_TEST()
|