Lines Matching defs:kItemsPerBlock
249 constexpr int kItemsPerBlock = N + 4; // Make this a number > 1, even if N starting items == 1
251 SkTBlockList<C, N> list(kItemsPerBlock);
259 // Reserve room for 2*kItemsPerBlock items
260 list.reserve(2 * kItemsPerBlock);
264 REPORTER_ASSERT(reporter, reservedSize >= initialSize + 2 * kItemsPerBlock * sizeof(C));
265 for (int i = 0; i < 2 * kItemsPerBlock; ++i) {
270 // Make the next block partially fully (N > 0 but < kItemsPerBlock)
275 // Reserve room again for 2*kItemsPerBlock, but reserve should automatically take account of the
276 // (kItemsPerBlock-N) that are still available in the active block
277 list.reserve(2 * kItemsPerBlock);
278 int extraReservedCount = kItemsPerBlock + N;
285 for (int i = 0; i < 2 * kItemsPerBlock; ++i) {
293 kItemsPerBlock * sizeof(C));
296 int expectedInstanceCount = 2 * (N + 2 * kItemsPerBlock);