Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkMalloc.cpp8 void* sk_calloc_throw(size_t count, size_t elemSize) { in sk_calloc_throw() function
9 return sk_calloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_calloc_throw()
DSkDistanceFieldGen.cpp360 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
/third_party/skia/include/private/
DSkMalloc.h62 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() function
77 SK_API extern void* sk_calloc_throw(size_t count, size_t elemSize);
/third_party/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()
/third_party/skia/src/pdf/
DSkDeflate.cpp24 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
/third_party/skia/src/utils/
DSkBitSet.h25 , fChunks((Chunk*)sk_calloc_throw(NumChunksFor(fSize) * sizeof(Chunk))) in SkBitSet()
/third_party/skia/src/gpu/
DGrDrawOpAtlas.cpp136 sk_calloc_throw(fBytesPerPixel * fWidth * fHeight)); in addSubImage()