Searched refs:sk_calloc_throw (Results 1 – 20 of 20) sorted by relevance
62 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() function78 SK_API extern void* sk_calloc_throw(size_t count, size_t elemSize);
14 void* sk_calloc_throw(size_t count, size_t elemSize) { in sk_calloc_throw() function15 return sk_calloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_calloc_throw()
265 fArray = (T**)sk_calloc_throw(sizeof(T*) * fCapacity); in resize()
359 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
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()
19 fBitData.reset((uint32_t*)sk_calloc_throw(fDwordCount * sizeof(uint32_t))); in SkBitSet()
17 cpuData = sk_calloc_throw(sizeInBytes); in MakeCPUBacked()
338 fCpuData = sk_calloc_throw(newSize); in resetCpuData()
104 fData = reinterpret_cast<unsigned char*>(sk_calloc_throw(fBytesPerPixel * fWidth * in addSubImage()