Lines Matching refs:REPORTER_ASSERT
32 REPORTER_ASSERT(reporter, ref->unique());
66 REPORTER_ASSERT(reporter, ref->unique());
67 SkDEBUGCODE(REPORTER_ASSERT(reporter, ref->getWeakCnt() == 1));
84 REPORTER_ASSERT(reporter, gRefCounter == ref); \
85 REPORTER_ASSERT(reporter, gUnrefCounter == unref); \
86 REPORTER_ASSERT(reporter, gNewCounter == make); \
87 REPORTER_ASSERT(reporter, gDeleteCounter == kill)
154 REPORTER_ASSERT(reporter, paint.fEffect.get() == nullptr);
155 REPORTER_ASSERT(reporter, !paint.get());
160 REPORTER_ASSERT(reporter, paint.fEffect.get()->fRefCnt == 1);
163 REPORTER_ASSERT(reporter, true);
165 REPORTER_ASSERT(reporter, false);
168 REPORTER_ASSERT(reporter, false);
170 REPORTER_ASSERT(reporter, true);
177 REPORTER_ASSERT(reporter, false);
179 REPORTER_ASSERT(reporter, true);
182 REPORTER_ASSERT(reporter, true);
184 REPORTER_ASSERT(reporter, false);
188 REPORTER_ASSERT(reporter, sizeof(e) == sizeof(void*));
193 REPORTER_ASSERT(reporter, paint.fEffect.get()->fRefCnt == 2);
198 REPORTER_ASSERT(reporter, paint.fEffect.get()->fRefCnt == 3);
218 REPORTER_ASSERT(reporter, !foo);
220 REPORTER_ASSERT(reporter, foo);
237 REPORTER_ASSERT(reporter, !baz); // NOLINT(bugprone-use-after-move)
247 REPORTER_ASSERT(reporter, bar1);
248 REPORTER_ASSERT(reporter, bar2);
249 REPORTER_ASSERT(reporter, bar1 == bar2);
250 REPORTER_ASSERT(reporter, bar2 == bar1);
251 REPORTER_ASSERT(reporter, !(bar1 != bar2));
252 REPORTER_ASSERT(reporter, !(bar2 != bar1));
274 REPORTER_ASSERT(reporter, empty == sk_sp<SkRefCnt>());
276 REPORTER_ASSERT(reporter, notEmpty != empty);
277 REPORTER_ASSERT(reporter, empty != notEmpty);
279 REPORTER_ASSERT(reporter, nullptr == empty);
280 REPORTER_ASSERT(reporter, empty == nullptr);
281 REPORTER_ASSERT(reporter, empty == empty);
287 REPORTER_ASSERT(reporter, a != b);
288 REPORTER_ASSERT(reporter, a == a);
352 REPORTER_ASSERT(r, rc->unique());
357 REPORTER_ASSERT(r, rc->unique());
360 REPORTER_ASSERT(r, !rc->unique());
363 REPORTER_ASSERT(r, rc->unique());
368 REPORTER_ASSERT(r, rc->unique());
372 REPORTER_ASSERT(r, !rc->unique());
375 REPORTER_ASSERT(r, rc->unique());