Searched refs:allocThrow (Results 1 – 10 of 10) sorted by relevance
17 void* ptr = allocator->allocThrow(sizeof(T)); in Allocate()23 void* ptr = allocator->allocThrow(sizeof(T) * count); in AllocateArray()
371 SkTSpanBounded<OppCurve, TCurve>* bounded = new (heap->allocThrow( in addBounded()850 result = new (fHeap.allocThrow(sizeof(SkTSpan<TCurve, OppCurve>)))( in addOne()
20 void* ptr = alloc->allocThrow(size); in simple_alloc()69 ptr = alloc.allocThrow(kMin); in test_chunkalloc()
21 void* allocThrow(size_t bytes) override { in allocThrow() function
44 alloc.allocThrow(inc); in onDraw()
201 virtual void* allocThrow(size_t bytes) = 0;297 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize); in Create()543 SkFlatData* detached = (SkFlatData*)fController->allocThrow(fScratch.bytesWritten()); in detachScratch()
16 return static_cast<T*>(alloc.allocThrow(sizeof(T))); in typedAllocThrow()160 char* storage = (char*)fAlloc.allocThrow(maxEdgeSize + maxEdgePtrSize); in buildPoly()
222 (SkGlyph::PathData* ) fGlyphAlloc.allocThrow(sizeof(SkGlyph::PathData)); in findPath()343 (SkGlyph::Intercept* ) fGlyphAlloc.allocThrow(sizeof(SkGlyph::Intercept)); in findIntercepts()
37 void* allocThrow(size_t bytes) { in allocThrow() function
88 #define ALLOC_NEW(Type, args, alloc) new (alloc.allocThrow(sizeof(Type))) Type args