Home
last modified time | relevance | path

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

12345

/external/skia/legacy/src/core/
DSkColorTable.cpp24 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()
DSkMallocPixelRef.cpp15 storage = sk_malloc_throw(size); in SkMallocPixelRef()
55 fStorage = sk_malloc_throw(fSize); in SkMallocPixelRef()
DSkDeque.cpp98 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/
DSkColorTable.cpp26 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()
DSkMallocPixelRef.cpp16 storage = sk_malloc_throw(size); in SkMallocPixelRef()
56 fStorage = sk_malloc_throw(fSize); in SkMallocPixelRef()
DSkOrderedReadBuffer.cpp42 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()
DSkData.cpp74 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()
DSkStream.cpp101 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/
DSkFontHost_ascender.cpp54 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()
DSkMemory_mozalloc.cpp25 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
DSkMemory_malloc.cpp22 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
DSkMemory_brew.cpp26 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
/external/skia/legacy/src/ports/
DSkFontHost_ascender.cpp54 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()
DSkMemory_malloc.cpp22 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
DSkMemory_brew.cpp26 void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function
/external/skia/legacy/include/core/
DSkTypes.h58 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/
DSkTypes.h58 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/
DSkFlipPixelRef.cpp16 fStorage = sk_malloc_throw(fSize << 1); in SkFlipPixelRef()
74 fStorage = sk_malloc_throw(fSize << 1); in SkFlipPixelRef()
/external/skia/legacy/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()
/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()
/external/skia/legacy/src/effects/
DSkDashPathEffect.cpp35 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/
DSkOSFile.cpp16 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/
DSkOSFile.cpp16 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/
Dimage.cpp28 void* mem = sk_malloc_throw(size); in fileToData()
107 fBuffer = sk_malloc_throw(fBufferSize); in ImageGM()
Dfactory.cpp37 void* buffer = sk_malloc_throw(length); in onOnceBeforeDraw()

12345