Lines Matching refs:alloc3
27 GrVkAlloc alloc0, alloc1, alloc2, alloc3; in subheap_test() local
45 REPORTER_ASSERT(reporter, heap.alloc(6 * 1024, &alloc3)); in subheap_test()
54 heap.free(alloc3); in subheap_test()
82 REPORTER_ASSERT(reporter, heap.alloc(3 * 1024, &alloc3)); in subheap_test()
89 heap.free(alloc3); in subheap_test()
102 REPORTER_ASSERT(reporter, heap.alloc(3 * 1024 - 3, &alloc3)); in subheap_test()
109 heap.free(alloc3); in subheap_test()
124 GrVkAlloc alloc0, alloc1, alloc2, alloc3; in suballoc_test() local
135 REPORTER_ASSERT(reporter, heap.alloc(3 * 1024 - 6, kAlignment, kMemType, kHeapIndex, &alloc3)); in suballoc_test()
144 heap.free(alloc3); in suballoc_test()
147 REPORTER_ASSERT(reporter, heap.alloc(40 * 1024, kAlignment, kMemType, kHeapIndex, &alloc3)); in suballoc_test()
158 heap.free(alloc3); in suballoc_test()
183 GrVkAlloc alloc0, alloc1, alloc2, alloc3; in singlealloc_test() local
194 REPORTER_ASSERT(reporter, heap.alloc(3 * 1024 - 29, kAlignment, kMemType, kHeapIndex, &alloc3)); in singlealloc_test()
203 heap.free(alloc3); in singlealloc_test()
211 REPORTER_ASSERT(reporter, heap.alloc(40 * 1024, kAlignment, kMemType, kHeapIndex, &alloc3)); in singlealloc_test()
217 heap.free(alloc3); in singlealloc_test()