Lines Matching refs:cow_copy
45 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()
66 REPORTER_ASSERT(r, &v != cow_copy.get()); in DEF_TEST()
67 REPORTER_ASSERT(r, cow.get() != cow_copy.get()); in DEF_TEST()
69 *cow_copy.writable() = 44; in DEF_TEST()
73 REPORTER_ASSERT(r, 44 == *cow_copy); in DEF_TEST()
74 REPORTER_ASSERT(r, &v != cow_copy.get()); in DEF_TEST()
75 REPORTER_ASSERT(r, cow.get() != cow_copy.get()); in DEF_TEST()