Lines Matching refs:Reporter
13 static void test_chunkalloc(skiatest::Reporter* reporter) {
17 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity());
18 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed());
19 REPORTER_ASSERT(reporter, 0 == alloc.blockCount());
20 REPORTER_ASSERT(reporter, !alloc.contains(NULL));
21 REPORTER_ASSERT(reporter, !alloc.contains(reporter));
24 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity());
25 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed());
26 REPORTER_ASSERT(reporter, 0 == alloc.blockCount());
30 REPORTER_ASSERT(reporter, alloc.totalCapacity() >= size);
31 REPORTER_ASSERT(reporter, alloc.totalUsed() == size);
32 REPORTER_ASSERT(reporter, alloc.blockCount() > 0);
33 REPORTER_ASSERT(reporter, alloc.contains(ptr));
36 REPORTER_ASSERT(reporter, !alloc.contains(ptr));
37 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity());
38 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed());
78 static void test_16(skiatest::Reporter* reporter) {
88 REPORTER_ASSERT(reporter,
96 static void test_32(skiatest::Reporter* reporter) {
106 REPORTER_ASSERT(reporter,
119 DEF_TEST(Memset, reporter) {
120 test_16(reporter);
121 test_32(reporter);
123 test_chunkalloc(reporter);