Searched refs:sk_calloc_throw (Results 1 – 8 of 8) sorted by relevance
8 void* sk_calloc_throw(size_t count, size_t elemSize) { in sk_calloc_throw() function9 return sk_calloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_calloc_throw()
360 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
62 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() function77 SK_API extern void* sk_calloc_throw(size_t count, size_t elemSize);
5 char* zeros = (char*)sk_calloc_throw(kNum*sizeof(char)); in DEF_TEST()
23 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
24 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
25 , fChunks((Chunk*)sk_calloc_throw(NumChunksFor(fSize) * sizeof(Chunk))) in SkBitSet()
136 sk_calloc_throw(fBytesPerPixel * fWidth * fHeight)); in addSubImage()