Home
last modified time | relevance | path

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

/third_party/skia/tests/
DCachedDataTest.cpp21 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()
DMaskCacheTest.cpp15 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()
DYUVCacheTest.cpp17 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()
DSkResourceCacheTest.cpp24 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/
DCachedDataTest.cpp21 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()
DMaskCacheTest.cpp15 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()
DYUVCacheTest.cpp15 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()
DSkResourceCacheTest.cpp25 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/
Dlock.cc24 if (val_.compare_exchange_weak(expected, kLocked)) { in Lock()
32 return val_.compare_exchange_strong(expected, kLocked); in TryLock()
Dlock.h47 static constexpr int kLocked = 1; variable