Lines Matching refs:allocCntForTest
122 template <typename T, bool MEM_MOVE> int SkTArray<T, MEM_MOVE>::allocCntForTest() const { in allocCntForTest() function in SkTArray
129 REPORTER_ASSERT(reporter, a.allocCntForTest() == 0); in test_unnecessary_alloc()
133 REPORTER_ASSERT(reporter, a.allocCntForTest() == 10); in test_unnecessary_alloc()
137 REPORTER_ASSERT(reporter, a.allocCntForTest() >= 1); in test_unnecessary_alloc()
142 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
148 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
153 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
158 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
163 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
168 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
174 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
180 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
200 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount); in test_array_reserve()
202 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount); in test_array_reserve()
204 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount); in test_array_reserve()
212 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount); in test_array_reserve()