Searched refs:sk_malloc_throw (Results 1 – 25 of 80) sorted by relevance
1234
20 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()
100 void* buffer = sk_malloc_throw(bufferSize); in NewCopyArrays()121 void* buffer = sk_malloc_throw(bufferSize); in NewCopyArray()
16 Block* b = (Block*)sk_malloc_throw(size); in Alloc()
46 return (uint8_t*)sk_malloc_throw(SkAlign4(size)); in AllocImage()
67 fMemoryPtr = sk_malloc_throw(length); in SkReadBuffer()127 void* data = sk_malloc_throw(*length); in readEncodedString()
26 SkBufferBlock* block = (SkBufferBlock*)sk_malloc_throw(sizeof(SkBufferBlock) + capacity); in Alloc()69 SkBufferHead* head = (SkBufferHead*)sk_malloc_throw(size); in Alloc()
93 lc = (char*)sk_malloc_throw(len + 1); in SkAutoAsciiToLC()
85 rec->fHeapStorage = sk_malloc_throw(storageRequired);
84 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;
174 void* operator new(size_t size) { return sk_malloc_throw(size); } in new()
66 return sk_malloc_throw(0); in new()
31 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()
60 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()
40 Rec* rec = (Rec*)sk_malloc_throw(sizeof(Rec)); in push()
24 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
42 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
210 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()
32 fBlock = sk_malloc_throw(fBlockSize); in requestBlock()
34 fImage = (GrGLubyte *) sk_malloc_throw(gBOGUS_SIZE * gBOGUS_SIZE * in SkMesaGLContext()
32 fBitData.set(sk_malloc_throw(fDwordCount * sizeof(uint32_t))); in operator =()
191 state->clipRects = (ClipRect*) sk_malloc_throw(clipWriter.bytesWritten()); in setup_MC_state()260 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten()); in CaptureCanvasState()
51 void* block = sk_malloc_throw(toBeRead); in draw()
60 void* data = sk_malloc_throw(size); in onDelayedSetup()
22 fAllocations.push(sk_malloc_throw(bytes)); in allocThrow()
36 return new SkCachedData(sk_malloc_throw(size), size); in make_data()