Lines Matching defs:count
11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) {
12 if (0 == count) {
14 REPORTER_ASSERT(reporter, 0 == deq.count());
20 REPORTER_ASSERT(reporter, count == deq.count());
24 if (1 == count) {
60 for (int i = 0; i < deq.count()/2 && (ptr = iter.next()); i++) {
88 if (0 == deq.count()) {
91 int expected = (deq.count() + allocCount - 1) / allocCount;
165 // test it once with the default allocation count
167 // test it again with a generous allocation count