Home
last modified time | relevance | path

Searched refs:sk_calloc_throw (Results 1 – 20 of 20) sorted by relevance

/external/skia/include/private/
DSkMalloc.h62 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() function
78 SK_API extern void* sk_calloc_throw(size_t count, size_t elemSize);
/external/skqp/include/private/
DSkMalloc.h62 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() function
78 SK_API extern void* sk_calloc_throw(size_t count, size_t elemSize);
/external/skqp/src/core/
DSkMallocPixelRef.cpp14 void* sk_calloc_throw(size_t count, size_t elemSize) { in sk_calloc_throw() function
15 return sk_calloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_calloc_throw()
DSkTDynamicHash.h265 fArray = (T**)sk_calloc_throw(sizeof(T*) * fCapacity); in resize()
DSkDistanceFieldGen.cpp359 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
/external/skia/src/core/
DSkMallocPixelRef.cpp14 void* sk_calloc_throw(size_t count, size_t elemSize) { in sk_calloc_throw() function
15 return sk_calloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_calloc_throw()
DSkTDynamicHash.h265 fArray = (T**)sk_calloc_throw(sizeof(T*) * fCapacity); in resize()
DSkDistanceFieldGen.cpp359 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
/external/skia/tests/
DMemoryTest.cpp5 char* zeros = (char*)sk_calloc_throw(kNum*sizeof(char)); in DEF_TEST()
DPDFDeflateWStreamTest.cpp23 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
/external/skqp/tests/
DMemoryTest.cpp5 char* zeros = (char*)sk_calloc_throw(kNum*sizeof(char)); in DEF_TEST()
DPDFDeflateWStreamTest.cpp23 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
/external/skia/src/utils/
DSkBitSet.h19 fBitData.reset((uint32_t*)sk_calloc_throw(fDwordCount * sizeof(uint32_t))); in SkBitSet()
/external/skqp/src/utils/
DSkBitSet.h19 fBitData.reset((uint32_t*)sk_calloc_throw(fDwordCount * sizeof(uint32_t))); in SkBitSet()
/external/skqp/src/gpu/
DGrBuffer.cpp17 cpuData = sk_calloc_throw(sizeInBytes); in MakeCPUBacked()
DGrBufferAllocPool.cpp338 fCpuData = sk_calloc_throw(newSize); in resetCpuData()
DGrDrawOpAtlas.cpp104 fData = reinterpret_cast<unsigned char*>(sk_calloc_throw(fBytesPerPixel * fWidth * in addSubImage()
/external/skia/src/pdf/
DSkDeflate.cpp23 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
/external/skqp/src/pdf/
DSkDeflate.cpp23 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
/external/skia/src/gpu/
DGrDrawOpAtlas.cpp104 fData = reinterpret_cast<unsigned char*>(sk_calloc_throw(fBytesPerPixel * fWidth * in addSubImage()