Home
last modified time | relevance | path

Searched refs:allocThrow (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/pathops/
DSkOpTAllocator.h17 void* ptr = allocator->allocThrow(sizeof(T)); in Allocate()
23 void* ptr = allocator->allocThrow(sizeof(T) * count); in AllocateArray()
DSkPathOpsTSect.h371 SkTSpanBounded<OppCurve, TCurve>* bounded = new (heap->allocThrow( in addBounded()
850 result = new (fHeap.allocThrow(sizeof(SkTSpan<TCurve, OppCurve>)))( in addOne()
/external/skia/tests/
DMemsetTest.cpp20 void* ptr = alloc->allocThrow(size); in simple_alloc()
69 ptr = alloc.allocThrow(kMin); in test_chunkalloc()
DBitmapHeapTest.cpp21 void* allocThrow(size_t bytes) override { in allocThrow() function
/external/skia/bench/
DMemoryBench.cpp44 alloc.allocThrow(inc); in onDraw()
/external/skia/src/core/
DSkPictureFlat.h201 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()
DSkEdgeBuilder.cpp16 return static_cast<T*>(alloc.allocThrow(sizeof(T))); in typedAllocThrow()
160 char* storage = (char*)fAlloc.allocThrow(maxEdgeSize + maxEdgePtrSize); in buildPoly()
DSkGlyphCache.cpp222 (SkGlyph::PathData* ) fGlyphAlloc.allocThrow(sizeof(SkGlyph::PathData)); in findPath()
343 (SkGlyph::Intercept* ) fGlyphAlloc.allocThrow(sizeof(SkGlyph::Intercept)); in findIntercepts()
/external/skia/include/core/
DSkChunkAlloc.h37 void* allocThrow(size_t bytes) { in allocThrow() function
/external/skia/src/gpu/
DGrTessellator.cpp88 #define ALLOC_NEW(Type, args, alloc) new (alloc.allocThrow(sizeof(Type))) Type args