Searched refs:SK_MALLOC_THROW (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/ports/ |
D | SkMemory_mozalloc.cpp | 26 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 38 return (flags & SK_MALLOC_THROW) ? moz_xmalloc(size) : moz_malloc(size); in sk_malloc_flags()
|
D | SkMemory_malloc.cpp | 40 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 55 if (flags & SK_MALLOC_THROW) { in sk_malloc_flags()
|
/external/skia/tests/ |
D | VarAllocTest.cpp | 6 char* p = va.alloc(128, SK_MALLOC_THROW); in DEF_TEST()
|
/external/skia/include/core/ |
D | SkTemplates.h | 361 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW); 376 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW); 418 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP);
|
D | SkTypes.h | 48 …SK_MALLOC_THROW = 0x02 //!< instructs sk_malloc to call sk_throw if the memory cannot be allocate… enumerator 665 fPtr = sk_malloc_flags(size, SK_MALLOC_THROW | SK_MALLOC_TEMP);
|
/external/skia/src/core/ |
D | SkRecord.h | 71 return (T*)fAlloc.alloc(sizeof(T) * count, SK_MALLOC_THROW);
|
D | SkChunkAlloc.cpp | 125 ftype == kThrow_AllocFailType ? SK_MALLOC_THROW : 0); in newBlock()
|
/external/skia/src/gpu/gl/ |
D | GrGLBufferImpl.cpp | 28 fCPUData = sk_malloc_flags(desc.fSizeInBytes, SK_MALLOC_THROW); in GrGLBufferImpl()
|
/external/skia/src/gpu/ |
D | GrBatchFontCache.cpp | 188 GrGlyph* glyph = (GrGlyph*)fPool.alloc(sizeof(GrGlyph), SK_MALLOC_THROW); in generateGlyph()
|