Home
last modified time | relevance | path

Searched refs:SK_MALLOC_THROW (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/ports/
DSkMemory_malloc.cpp23 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw()
46 if (flags & SK_MALLOC_THROW) { in sk_malloc_flags()
DSkMemory_brew.cpp27 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw()
48 if (flags & SK_MALLOC_THROW) { in sk_malloc_flags()
/external/skia/include/core/
DSkTemplates.h176 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); in SkAutoTMalloc()
186 fPtr = fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); in reset()
217 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); in SkAutoSTMalloc()
235 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); in reset()
DSkTypes.h48SK_MALLOC_THROW = 0x02 //!< instructs sk_malloc to call sk_throw if the memory cannot be allocate… enumerator
555 fPtr = sk_malloc_flags(size, SK_MALLOC_THROW | SK_MALLOC_TEMP);
/external/skia/src/core/
DSkMemory_stdlib.cpp174 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw()
251 if (flags & SK_MALLOC_THROW) in sk_malloc_flags()
DSkChunkAlloc.cpp90 ftype == kThrow_AllocFailType ? SK_MALLOC_THROW : 0); in newBlock()
/external/skia/src/pdf/
DSkPDFDevice.cpp804 sk_malloc_flags(numGlyphs * 2, SK_MALLOC_TEMP | SK_MALLOC_THROW)); in drawText()
856 numGlyphs * 2, SK_MALLOC_TEMP | SK_MALLOC_THROW)); in drawPosText()