Searched refs:sk_malloc_canfail (Results 1 – 20 of 20) sorted by relevance
/external/skqp/src/core/ |
D | SkMallocPixelRef.cpp | 26 void* sk_malloc_canfail(size_t count, size_t elemSize) { in sk_malloc_canfail() function 27 return sk_malloc_canfail(SkSafeMath::Mul(count, elemSize)); in sk_malloc_canfail() 86 return MakeUsing(sk_malloc_canfail, info, rowBytes); in MakeAllocate()
|
D | SkAutoPixmapStorage.cpp | 43 void* pixels = sk_malloc_canfail(size); in tryAlloc()
|
D | SkBitmapCache.cpp | 195 block = sk_malloc_canfail(size); in Alloc()
|
D | SkRegion_path.cpp | 151 fStorage = (SkRegion::RunType*)sk_malloc_canfail(fStorageCount, sizeof(SkRegion::RunType)); in init()
|
D | SkPathRef.cpp | 68 void* newAlloc = sk_malloc_canfail(minSize); in shrinkToFit()
|
/external/skia/src/core/ |
D | SkMallocPixelRef.cpp | 26 void* sk_malloc_canfail(size_t count, size_t elemSize) { in sk_malloc_canfail() function 27 return sk_malloc_canfail(SkSafeMath::Mul(count, elemSize)); in sk_malloc_canfail() 86 return MakeUsing(sk_malloc_canfail, info, rowBytes); in MakeAllocate()
|
D | SkAutoPixmapStorage.cpp | 43 void* pixels = sk_malloc_canfail(size); in tryAlloc()
|
D | SkBitmapCache.cpp | 195 block = sk_malloc_canfail(size); in Alloc()
|
D | SkRegion_path.cpp | 151 fStorage = (SkRegion::RunType*)sk_malloc_canfail(fStorageCount, sizeof(SkRegion::RunType)); in init()
|
D | SkPathRef.cpp | 68 void* newAlloc = sk_malloc_canfail(minSize); in shrinkToFit()
|
/external/skia/include/private/ |
D | SkMalloc.h | 85 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() function 95 SK_API extern void* sk_malloc_canfail(size_t count, size_t elemSize);
|
/external/skqp/include/private/ |
D | SkMalloc.h | 85 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() function 95 SK_API extern void* sk_malloc_canfail(size_t count, size_t elemSize);
|
/external/skia/src/codec/ |
D | SkBmpBaseCodec.cpp | 15 , fSrcBuffer(sk_malloc_canfail(this->srcRowBytes())) in SkBmpBaseCodec()
|
D | SkIcoCodec.cpp | 58 SkAutoFree dirEntryBuffer(sk_malloc_canfail(sizeof(Entry) * numImages)); in MakeFromStream() 133 SkAutoFree buffer(sk_malloc_canfail(size)); in MakeFromStream()
|
D | SkWuffsCodec.cpp | 890 void* decoder_raw = sk_malloc_canfail(sizeof__wuffs_gif__decoder()); in SkWuffsCodec_MakeFromStream() 915 workbuf_ptr_raw = workbuf_len <= SIZE_MAX ? sk_malloc_canfail(workbuf_len) : nullptr; in SkWuffsCodec_MakeFromStream() 925 void* pixbuf_ptr_raw = pixbuf_len <= SIZE_MAX ? sk_malloc_canfail(pixbuf_len) : nullptr; in SkWuffsCodec_MakeFromStream()
|
/external/skqp/src/codec/ |
D | SkBmpBaseCodec.cpp | 15 , fSrcBuffer(sk_malloc_canfail(this->srcRowBytes())) in SkBmpBaseCodec()
|
D | SkIcoCodec.cpp | 58 SkAutoFree dirEntryBuffer(sk_malloc_canfail(sizeof(Entry) * numImages)); in MakeFromStream() 133 SkAutoFree buffer(sk_malloc_canfail(size)); in MakeFromStream()
|
D | SkWuffsCodec.cpp | 874 void* decoder_raw = sk_malloc_canfail(sizeof__wuffs_gif__decoder()); in SkWuffsCodec_MakeFromStream() 899 workbuf_ptr_raw = workbuf_len <= SIZE_MAX ? sk_malloc_canfail(workbuf_len) : nullptr; in SkWuffsCodec_MakeFromStream() 909 void* pixbuf_ptr_raw = pixbuf_len <= SIZE_MAX ? sk_malloc_canfail(pixbuf_len) : nullptr; in SkWuffsCodec_MakeFromStream()
|
/external/skqp/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 167 SkAutoFree addr(sk_malloc_canfail(bytes)); in make()
|
/external/skia/src/lazy/ |
D | SkDiscardableMemoryPool.cpp | 167 SkAutoFree addr(sk_malloc_canfail(bytes)); in make()
|