Home
last modified time | relevance | path

Searched refs:cow_copy (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DTLazyTest.cpp45 SkTCopyOnFirstWrite<int> cow_copy(cow); in DEF_TEST() local
46 REPORTER_ASSERT(r, 42 == *cow_copy); in DEF_TEST()
47 REPORTER_ASSERT(r, &v == cow_copy.get()); in DEF_TEST()
48 REPORTER_ASSERT(r, cow.get() == cow_copy.get()); in DEF_TEST()
50 *cow_copy.writable() = 43; in DEF_TEST()
53 REPORTER_ASSERT(r, 43 == *cow_copy); in DEF_TEST()
54 REPORTER_ASSERT(r, &v != cow_copy.get()); in DEF_TEST()
55 REPORTER_ASSERT(r, cow.get() != cow_copy.get()); in DEF_TEST()
64 SkTCopyOnFirstWrite<int> cow_copy(cow); in DEF_TEST() local
65 REPORTER_ASSERT(r, 43 == *cow_copy); in DEF_TEST()
[all …]
/external/skqp/tests/
DTLazyTest.cpp45 SkTCopyOnFirstWrite<int> cow_copy(cow); in DEF_TEST() local
46 REPORTER_ASSERT(r, 42 == *cow_copy); in DEF_TEST()
47 REPORTER_ASSERT(r, &v == cow_copy.get()); in DEF_TEST()
48 REPORTER_ASSERT(r, cow.get() == cow_copy.get()); in DEF_TEST()
50 *cow_copy.writable() = 43; in DEF_TEST()
53 REPORTER_ASSERT(r, 43 == *cow_copy); in DEF_TEST()
54 REPORTER_ASSERT(r, &v != cow_copy.get()); in DEF_TEST()
55 REPORTER_ASSERT(r, cow.get() != cow_copy.get()); in DEF_TEST()
64 SkTCopyOnFirstWrite<int> cow_copy(cow); in DEF_TEST() local
65 REPORTER_ASSERT(r, 43 == *cow_copy); in DEF_TEST()
[all …]