Home
last modified time | relevance | path

Searched refs:sk_malloc_throw (Results 1 – 25 of 80) sorted by relevance

1234

/external/skia/src/core/
DSkColorTable.cpp20 fColors = reinterpret_cast<SkPMColor*>(sk_malloc_throw(count * sizeof(SkPMColor))); in init()
72 fColors = (SkPMColor*)sk_malloc_throw(allocSize);
105 SkAutoTDelete<SkPMColor> colors((SkPMColor*)sk_malloc_throw(allocSize)); in Create()
DSkDataTable.cpp100 void* buffer = sk_malloc_throw(bufferSize); in NewCopyArrays()
121 void* buffer = sk_malloc_throw(bufferSize); in NewCopyArray()
DSkVarAlloc.cpp16 Block* b = (Block*)sk_malloc_throw(size); in Alloc()
DSkMask.cpp46 return (uint8_t*)sk_malloc_throw(SkAlign4(size)); in AllocImage()
DSkReadBuffer.cpp67 fMemoryPtr = sk_malloc_throw(length); in SkReadBuffer()
127 void* data = sk_malloc_throw(*length); in readEncodedString()
DSkRWBuffer.cpp26 SkBufferBlock* block = (SkBufferBlock*)sk_malloc_throw(sizeof(SkBufferBlock) + capacity); in Alloc()
69 SkBufferHead* head = (SkBufferHead*)sk_malloc_throw(size); in Alloc()
DSkTSearch.cpp93 lc = (char*)sk_malloc_throw(len + 1); in SkAutoAsciiToLC()
DSkSmallAllocator.h85 rec->fHeapStorage = sk_malloc_throw(storageRequired);
/external/skia/include/core/
DSkTypes.h84 SK_API extern void* sk_malloc_throw(size_t size);
115 return sk_malloc_throw(size); in new()
540 fPtr = size ? sk_malloc_throw(size) : NULL;
580 fPtr = size ? sk_malloc_throw(size) : NULL;
DSkData.h174 void* operator new(size_t size) { return sk_malloc_throw(size); } in new()
DSkTextBlob.h66 return sk_malloc_throw(0); in new()
/external/skia/tools/skiaserve/
DRequest.cpp31 png_bytepp rows = (png_bytepp) sk_malloc_throw(height * sizeof(png_byte*)); in write_png()
32 png_bytep pixels = (png_bytep) sk_malloc_throw(width * height * 3); in write_png()
/external/skia/src/animator/
DSkTypedArray.cpp60 fArray = (int32_t*)sk_malloc_throw(count * sizeof(int32_t)); in SkDS32Array()
140 int32_t* array = (int32_t*)sk_malloc_throw(size * sizeof(int32_t)); in growBy()
DSkTDStack.h40 Rec* rec = (Rec*)sk_malloc_throw(sizeof(Rec)); in push()
/external/skia/src/ports/
DSkMemory_mozalloc.cpp24 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
DSkMemory_malloc.cpp42 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
/external/skia/include/private/
DSkTemplates.h210 fArray = (T*) sk_malloc_throw(size); in reset()
355 fPtr = (T*)sk_malloc_throw(count * sizeof(T)); in reset()
384 fPtr = (T*)sk_malloc_throw(count * sizeof(T)); in realloc()
/external/skia/experimental/DrawingBoard/
DSkNetPipeController.cpp32 fBlock = sk_malloc_throw(fBlockSize); in requestBlock()
/external/skia/src/gpu/gl/mesa/
DSkMesaGLContext.cpp34 fImage = (GrGLubyte *) sk_malloc_throw(gBOGUS_SIZE * gBOGUS_SIZE * in SkMesaGLContext()
/external/skia/src/utils/
DSkBitSet.cpp32 fBitData.set(sk_malloc_throw(fDwordCount * sizeof(uint32_t))); in operator =()
DSkCanvasStateUtils.cpp191 state->clipRects = (ClipRect*) sk_malloc_throw(clipWriter.bytesWritten()); in setup_MC_state()
260 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten()); in CaptureCanvasState()
/external/skia/experimental/FileReaderApp/
DReaderView.cpp51 void* block = sk_malloc_throw(toBeRead); in draw()
/external/skia/bench/
DSkipZeroesBench.cpp60 void* data = sk_malloc_throw(size); in onDelayedSetup()
/external/skia/tests/
DBitmapHeapTest.cpp22 fAllocations.push(sk_malloc_throw(bytes)); in allocThrow()
DCachedDataTest.cpp36 return new SkCachedData(sk_malloc_throw(size), size); in make_data()

1234