Lines Matching refs:allocate
64 pool->template allocate<4>(pool->preallocSize() / 2); in add_block()
71 auto br = pool->template allocate<1>(1); in alloc_byte()
132 auto p1 = pool->allocate<1>(14); in DEF_TEST()
135 auto p2 = pool->allocate<2>(24); in DEF_TEST()
138 auto p4 = pool->allocate<4>(28); in DEF_TEST()
141 auto p8 = pool->allocate<8>(40); in DEF_TEST()
144 auto p16 = pool->allocate<16>(64); in DEF_TEST()
147 auto p32 = pool->allocate<32>(96); in DEF_TEST()
156 auto pAvail = pool->allocate<4>(avail); in DEF_TEST()
162 auto pNextBlock = pool->allocate<4>(4); in DEF_TEST()
169 auto pTooBig = pool->allocate<4>(bigRequest); in DEF_TEST()
176 auto pReallyTooBig = pool->allocate<4>(4096); in DEF_TEST()
187 SkBlockAllocator::ByteRange p = pool->allocate<4>(16); in DEF_TEST()
195 auto pNext = pool->allocate<4>(16); in DEF_TEST()
221 pNext = pool->allocate<4>(16); in DEF_TEST()
240 auto p = pool->allocate<8>(32); in DEF_TEST()
243 auto p2 = pool->allocate<8>(32); in DEF_TEST()
247 auto p3 = pool->allocate<8>(64); in DEF_TEST()
253 auto p4 = pool->allocate<8>(16); in DEF_TEST()
254 auto p5 = pool->allocate<8>(96); in DEF_TEST()
260 p = pool->allocate<8>(32); in DEF_TEST()
276 ptrs.push_back(pool->allocate<4>(16)); in DEF_TEST()
289 REPORTER_ASSERT(r, pool->allocate<4>(16).fStart == ptrs[0].fStart); in DEF_TEST()
477 pool->allocate<1>(avail + 1); in DEF_TEST()
508 pool->allocate<1>(scratchAvail + 1); in DEF_TEST()
569 auto p1 = pool->allocate<16, sizeof(TestMeta)>(16); in DEF_TEST()
583 auto p2 = pool->allocate<alignof(TestMetaBig), sizeof(TestMetaBig)>(16); in DEF_TEST()
622 auto br = pool->allocate<Align, Padding>(1); in run_owning_block_test()