/external/skia/legacy/src/core/ |
D | SkColorTable.cpp | 24 fColors = (SkPMColor*)sk_malloc_throw(count * sizeof(SkPMColor)); in SkColorTable() 38 sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable() 55 sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable() 110 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t)); in lock16BitCache() 148 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor)); in SkColorTable()
|
D | SkMallocPixelRef.cpp | 15 storage = sk_malloc_throw(size); in SkMallocPixelRef() 55 fStorage = sk_malloc_throw(fSize); in SkMallocPixelRef()
|
D | SkDeque.cpp | 98 fFront = (Head*)sk_malloc_throw(sizeof(Head) + in push_front() 117 first = (Head*)sk_malloc_throw(size); in push_front() 134 fBack = (Head*)sk_malloc_throw(sizeof(Head) + in push_back() 153 last = (Head*)sk_malloc_throw(size); in push_back()
|
/external/skia/src/core/ |
D | SkColorTable.cpp | 26 fColors = (SkPMColor*)sk_malloc_throw(count * sizeof(SkPMColor)); in SK_DEFINE_INST_COUNT() 41 sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable() 58 sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable() 113 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t)); in lock16BitCache() 148 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor)); in SkColorTable()
|
D | SkMallocPixelRef.cpp | 16 storage = sk_malloc_throw(size); in SkMallocPixelRef() 56 fStorage = sk_malloc_throw(fSize); in SkMallocPixelRef()
|
D | SkOrderedReadBuffer.cpp | 42 fMemoryPtr = sk_malloc_throw(length); in SkOrderedReadBuffer() 92 char* value = (char*)sk_malloc_throw(length + 1); in readString() 101 void* data = sk_malloc_throw(*length); in readEncodedString()
|
D | SkData.cpp | 74 void* copy = sk_malloc_throw(length); // balanced in sk_free_releaseproc in NewWithCopy() 134 fPtr = sk_malloc_throw(fSize); in SkData() 171 return (SkDataSet::Pair*)sk_malloc_throw(size); in allocatePairStorage()
|
D | SkStream.cpp | 101 void* buffer = sk_malloc_throw(size); in readData() 293 fData = SkData::NewFromMalloc(sk_malloc_throw(size), size); in SkMemoryStream() 421 fBuffer = (char*)sk_malloc_throw(fBufferSize); in init() 670 Block* block = (Block*)sk_malloc_throw(sizeof(Block) + size); in write() 757 void* buffer = sk_malloc_throw(fBytesWritten); in copyToData()
|
/external/skia/src/ports/ |
D | SkFontHost_ascender.cpp | 54 fHandle = (aca_FontHandle)sk_malloc_throw(size); in SkScalerContext_Ascender() 61 void* hints = sk_malloc_throw(fHintStream->getLength()); in SkScalerContext_Ascender() 84 fWorkspace = sk_malloc_throw(size); in SkScalerContext_Ascender() 99 fGlyphWorkspace = sk_malloc_throw(size); in SkScalerContext_Ascender()
|
D | SkMemory_mozalloc.cpp | 25 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
|
D | SkMemory_malloc.cpp | 22 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
|
D | SkMemory_brew.cpp | 26 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
|
/external/skia/legacy/src/ports/ |
D | SkFontHost_ascender.cpp | 54 fHandle = (aca_FontHandle)sk_malloc_throw(size); in SkScalerContext_Ascender() 61 void* hints = sk_malloc_throw(fHintStream->getLength()); in SkScalerContext_Ascender() 84 fWorkspace = sk_malloc_throw(size); in SkScalerContext_Ascender() 99 fGlyphWorkspace = sk_malloc_throw(size); in SkScalerContext_Ascender()
|
D | SkMemory_malloc.cpp | 22 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
|
D | SkMemory_brew.cpp | 26 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
|
/external/skia/legacy/include/core/ |
D | SkTypes.h | 58 SK_API extern void* sk_malloc_throw(size_t size); 78 return sk_malloc_throw(size); in new() 416 fPtr = size ? sk_malloc_throw(size) : NULL; 453 fPtr = size ? sk_malloc_throw(size) : NULL;
|
/external/skia/include/core/ |
D | SkTypes.h | 58 SK_API extern void* sk_malloc_throw(size_t size); 78 return sk_malloc_throw(size); in new() 446 fPtr = size ? sk_malloc_throw(size) : NULL; 483 fPtr = size ? sk_malloc_throw(size) : NULL;
|
/external/skia/legacy/src/images/ |
D | SkFlipPixelRef.cpp | 16 fStorage = sk_malloc_throw(fSize << 1); in SkFlipPixelRef() 74 fStorage = sk_malloc_throw(fSize << 1); in SkFlipPixelRef()
|
/external/skia/legacy/src/animator/ |
D | SkTypedArray.cpp | 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()
|
/external/skia/src/animator/ |
D | SkTypedArray.cpp | 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()
|
/external/skia/legacy/src/effects/ |
D | SkDashPathEffect.cpp | 35 fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * count); in SkDashPathEffect() 165 fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * fCount); in SkDashPathEffect()
|
/external/skia/src/utils/ |
D | SkOSFile.cpp | 16 uint16_t* dst = (uint16_t*)sk_malloc_throw((len + len2) * sizeof(uint16_t)); in concat_to_16() 40 fStr = (uint16_t*)sk_malloc_throw((len + 1) * sizeof(uint16_t)); in SkUTF16_Str()
|
/external/skia/legacy/src/utils/ |
D | SkOSFile.cpp | 16 uint16_t* dst = (uint16_t*)sk_malloc_throw((len + len2) * sizeof(uint16_t)); in concat_to_16() 40 fStr = (uint16_t*)sk_malloc_throw((len + 1) * sizeof(uint16_t)); in SkUTF16_Str()
|
/external/skia/gm/ |
D | image.cpp | 28 void* mem = sk_malloc_throw(size); in fileToData() 107 fBuffer = sk_malloc_throw(fBufferSize); in ImageGM()
|
D | factory.cpp | 37 void* buffer = sk_malloc_throw(length); in onOnceBeforeDraw()
|