Searched refs:lazy_copy (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | TLazyTest.cpp | 18 SkTLazy<int> lazy_copy(lazy); // NOLINT(performance-unnecessary-copy-initialization) in DEF_TEST() local 19 REPORTER_ASSERT(r, !lazy_copy.isValid()); in DEF_TEST() 20 REPORTER_ASSERT(r, lazy_copy.getMaybeNull() == nullptr); in DEF_TEST() 29 SkTLazy<int> lazy_copy(lazy); // NOLINT(performance-unnecessary-copy-initialization) in DEF_TEST() local 30 REPORTER_ASSERT(r, lazy_copy.isValid()); in DEF_TEST() 31 REPORTER_ASSERT(r, 42 == *lazy_copy.get()); in DEF_TEST() 32 REPORTER_ASSERT(r, lazy.get() != lazy_copy.get()); in DEF_TEST()
|
/external/skqp/tests/ |
D | TLazyTest.cpp | 18 SkTLazy<int> lazy_copy(lazy); in DEF_TEST() local 19 REPORTER_ASSERT(r, !lazy_copy.isValid()); in DEF_TEST() 20 REPORTER_ASSERT(r, lazy_copy.getMaybeNull() == nullptr); in DEF_TEST() 29 SkTLazy<int> lazy_copy(lazy); in DEF_TEST() local 30 REPORTER_ASSERT(r, lazy_copy.isValid()); in DEF_TEST() 31 REPORTER_ASSERT(r, 42 == *lazy_copy.get()); in DEF_TEST() 32 REPORTER_ASSERT(r, lazy.get() != lazy_copy.get()); in DEF_TEST()
|