Searched refs:SK_MALLOC_THROW (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/ports/ |
D | SkMemory_malloc.cpp | 23 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 46 if (flags & SK_MALLOC_THROW) { in sk_malloc_flags()
|
D | SkMemory_brew.cpp | 27 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/ |
D | SkTemplates.h | 176 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()
|
D | SkTypes.h | 48 …SK_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/ |
D | SkMemory_stdlib.cpp | 174 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 251 if (flags & SK_MALLOC_THROW) in sk_malloc_flags()
|
D | SkChunkAlloc.cpp | 90 ftype == kThrow_AllocFailType ? SK_MALLOC_THROW : 0); in newBlock()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 804 sk_malloc_flags(numGlyphs * 2, SK_MALLOC_TEMP | SK_MALLOC_THROW)); in drawText() 856 numGlyphs * 2, SK_MALLOC_TEMP | SK_MALLOC_THROW)); in drawPosText()
|