Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkMemory_mozalloc.cpp26 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()
DSkMemory_malloc.cpp40 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/
DVarAllocTest.cpp6 char* p = va.alloc(128, SK_MALLOC_THROW); in DEF_TEST()
/external/skia/include/core/
DSkTemplates.h361 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);
DSkTypes.h48SK_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/
DSkRecord.h71 return (T*)fAlloc.alloc(sizeof(T) * count, SK_MALLOC_THROW);
DSkChunkAlloc.cpp125 ftype == kThrow_AllocFailType ? SK_MALLOC_THROW : 0); in newBlock()
/external/skia/src/gpu/gl/
DGrGLBufferImpl.cpp28 fCPUData = sk_malloc_flags(desc.fSizeInBytes, SK_MALLOC_THROW); in GrGLBufferImpl()
/external/skia/src/gpu/
DGrBatchFontCache.cpp188 GrGlyph* glyph = (GrGlyph*)fPool.alloc(sizeof(GrGlyph), SK_MALLOC_THROW); in generateGlyph()