/third_party/skia/tests/ |
D | CachedDataTest.cpp | 21 kLocked, enumerator 33 REPORTER_ASSERT(reporter, data->testing_only_isLocked() == (lockedState == kLocked)); in check_data() 54 check_data(reporter, data, 1, kNotInCache, kLocked); in test_locking() 57 check_data(reporter, data, 2, kNotInCache, kLocked); in test_locking() 59 check_data(reporter, data, 1, kNotInCache, kLocked); in test_locking() 62 check_data(reporter, data, 2, kInCache, kLocked); in test_locking() 68 check_data(reporter, data, 2, kInCache, kLocked); in test_locking() 89 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 91 check_data(reporter, data, 1, kNotInCache, kLocked); in DEF_TEST() 96 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST()
|
D | MaskCacheTest.cpp | 15 kLocked, enumerator 28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data() 51 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 62 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 65 check_data(reporter, data, 1, kNotInCache, kLocked); in DEF_TEST() 88 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 99 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 102 check_data(reporter, data, 1, kNotInCache, kLocked); in DEF_TEST()
|
D | YUVCacheTest.cpp | 17 kLocked, enumerator 30 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data() 58 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 77 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 80 check_data(reporter, data, 1, kNotInCache, kLocked); in DEF_TEST()
|
D | SkResourceCacheTest.cpp | 24 kLocked, enumerator 37 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data() 62 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache() 71 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache() 74 check_data(reporter, mipmap, 1, kNotInCache, kLocked); in test_mipmapcache()
|
/third_party/flutter/skia/tests/ |
D | CachedDataTest.cpp | 21 kLocked, enumerator 33 REPORTER_ASSERT(reporter, data->testing_only_isLocked() == (lockedState == kLocked)); in check_data() 54 check_data(reporter, data, 1, kNotInCache, kLocked); in test_locking() 57 check_data(reporter, data, 2, kNotInCache, kLocked); in test_locking() 59 check_data(reporter, data, 1, kNotInCache, kLocked); in test_locking() 62 check_data(reporter, data, 2, kInCache, kLocked); in test_locking() 68 check_data(reporter, data, 2, kInCache, kLocked); in test_locking() 89 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 91 check_data(reporter, data, 1, kNotInCache, kLocked); in DEF_TEST() 96 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST()
|
D | MaskCacheTest.cpp | 15 kLocked, enumerator 28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data() 51 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 62 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 65 check_data(reporter, data, 1, kNotInCache, kLocked); in DEF_TEST() 88 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 99 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 102 check_data(reporter, data, 1, kNotInCache, kLocked); in DEF_TEST()
|
D | YUVCacheTest.cpp | 15 kLocked, enumerator 28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data() 57 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 75 check_data(reporter, data, 2, kInCache, kLocked); in DEF_TEST() 78 check_data(reporter, data, 1, kNotInCache, kLocked); in DEF_TEST()
|
D | SkResourceCacheTest.cpp | 25 kLocked, enumerator 38 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data() 63 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache() 72 check_data(reporter, mipmap, 2, kInCache, kLocked); in test_mipmapcache() 75 check_data(reporter, mipmap, 1, kNotInCache, kLocked); in test_mipmapcache()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/ |
D | lock.cc | 24 if (val_.compare_exchange_weak(expected, kLocked)) { in Lock() 32 return val_.compare_exchange_strong(expected, kLocked); in TryLock()
|
D | lock.h | 47 static constexpr int kLocked = 1; variable
|