Home
last modified time | relevance | path

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

/external/skia/include/private/
DSkMalloc.h73 SK_API extern void* sk_calloc_throw(size_t size);
80 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() function
94 SK_API extern void* sk_calloc_throw(size_t count, size_t elemSize);
/external/skia/tests/
DMemoryTest.cpp5 char* zeros = (char*)sk_calloc_throw(kNum*sizeof(char)); in DEF_TEST()
DPDFDeflateWStreamTest.cpp22 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
/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.h256 fArray = (T**)sk_calloc_throw(sizeof(T*) * fCapacity); in resize()
DSkDistanceFieldGen.cpp354 SkAutoFree storage(sk_calloc_throw(dataWidth*dataHeight*(sizeof(DFData) + 1))); in generate_distance_field_from_image()
/external/skia/src/ports/
DSkMemory_mozalloc.cpp51 void* sk_calloc_throw(size_t size) { in sk_calloc_throw() function
DSkMemory_malloc.cpp93 void* sk_calloc_throw(size_t size) { in sk_calloc_throw() function
DSkTypeface_win_dw.cpp302 (SkUnichar*)sk_calloc_throw(sizeof(SkUnichar) * glyphCount)); in populate_glyph_to_unicode()
/external/skia/src/gpu/
DGrBuffer.cpp17 cpuData = sk_calloc_throw(sizeInBytes); in CreateCPUBacked()
DGrDrawOpAtlas.cpp96 fData = reinterpret_cast<unsigned char*>(sk_calloc_throw(fBytesPerPixel * fWidth * in addSubImage()
DGrBufferAllocPool.cpp339 fCpuData = sk_calloc_throw(newSize); in resetCpuData()
/external/skia/src/utils/
DSkBitSet.h20 fBitData.reset((uint32_t*)sk_calloc_throw(fDwordCount * sizeof(uint32_t))); in SkBitSet()
/external/skia/src/pdf/
DSkDeflate.cpp22 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()