Home
last modified time | relevance | path

Searched refs:sk_malloc_flags (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/ports/
DSkMemory_mozalloc.cpp25 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw()
36 void* sk_malloc_flags(size_t size, unsigned flags) { in sk_malloc_flags() function
DSkMemory_malloc.cpp43 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw()
56 void* sk_malloc_flags(size_t size, unsigned flags) { in sk_malloc_flags() function
/external/skia/include/private/
DSkTemplates.h272 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW); in SkAutoTMalloc()
287 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW); in reset()
337 fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); in SkAutoSTMalloc()
/external/skia/src/gpu/gl/
DGrGLBufferImpl.cpp27 fCPUData = sk_malloc_flags(desc.fSizeInBytes, SK_MALLOC_THROW); in GrGLBufferImpl()
/external/skia/include/core/
DSkTypes.h81 SK_API extern void* sk_malloc_flags(size_t size, unsigned flags);
685 fPtr = sk_malloc_flags(size, SK_MALLOC_THROW | SK_MALLOC_TEMP);
/external/skia/src/core/
DSkChunkAlloc.cpp124 Block* block = (Block*)sk_malloc_flags(sizeof(Block) + size, in newBlock()
DSkMallocPixelRef.cpp93 auto sk_malloc_nothrow = [](size_t size) { return sk_malloc_flags(size, 0); }; in NewAllocate()
DSkPixmap.cpp298 void* pixels = sk_malloc_flags(size, 0); in tryAlloc()
DSkRegion_path.cpp149 fStorage = (SkRegion::RunType*)sk_malloc_flags(sk_64_asS32(size), 0); in init()
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp177 void* addr = sk_malloc_flags(bytes, 0); in create()