Lines Matching defs:total_size
55 static size_t total_size(SkSBlockAllocator<N>& pool) {
61 size_t currentSize = total_size(pool);
66 return total_size(pool) - currentSize;
151 REPORTER_ASSERT(r, total_size(pool) == pool->preallocSize());
164 REPORTER_ASSERT(r, total_size(pool) > pool->preallocSize());
167 size_t currentSize = total_size(pool);
171 REPORTER_ASSERT(r, total_size(pool) > currentSize);
174 REPORTER_ASSERT(r, total_size(pool) - currentSize < 4096);
175 currentSize = total_size(pool);
178 REPORTER_ASSERT(r, total_size(pool) >= currentSize + 4096);
310 REPORTER_ASSERT(r, kExpectedSizes[gp][0] == total_size(pool));
361 size_t b1Size = total_size(pool);
374 REPORTER_ASSERT(r, total_size(pool) == b1Size + b2Size + b3Size + b4Size);
378 REPORTER_ASSERT(r, total_size(pool) == b1Size + b3Size + b4Size);
383 REPORTER_ASSERT(r, total_size(pool) == b1Size + b4Size);
387 REPORTER_ASSERT(r, total_size(pool) == b1Size);
398 REPORTER_ASSERT(r, total_size(pool) == pool->preallocSize());