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.cpp16 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw()
39 if (flags & SK_MALLOC_THROW) { in sk_malloc_flags()
DSkMemory_brew.cpp36 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw()
57 if (flags & SK_MALLOC_THROW) { in sk_malloc_flags()
/external/skia/include/core/
DSkTypes.h55SK_MALLOC_THROW = 0x02 //!< instructs sk_malloc to call sk_throw if the memory cannot be allocate… enumerator
400 : SkAutoFree(sk_malloc_flags(size, SK_MALLOC_THROW | SK_MALLOC_TEMP)) {} in SkAutoMalloc()
407 unsigned flags = (SK_MALLOC_THROW | SK_MALLOC_TEMP)) {
472 fPtr = sk_malloc_flags(size, SK_MALLOC_THROW | SK_MALLOC_TEMP); in realloc()
DSkTemplates.h184 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); in SkAutoTMalloc()
203 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); in SkAutoSTMalloc()
/external/skia/src/core/
DSkMemory_stdlib.cpp188 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw()
265 if (flags & SK_MALLOC_THROW) in sk_malloc_flags()
DSkChunkAlloc.cpp98 ftype == kThrow_AllocFailType ? SK_MALLOC_THROW : 0); in newBlock()
/external/skia/src/pdf/
DSkPDFDevice.cpp800 SK_MALLOC_TEMP | SK_MALLOC_THROW); in drawText()
876 SK_MALLOC_TEMP | SK_MALLOC_THROW); in drawPosText()