/third_party/skia/src/core/ |
D | SkAutoMalloc.h | 26 : fPtr(size ? sk_malloc_throw(size) : nullptr), fSize(size) {} 53 fPtr.reset(size ? sk_malloc_throw(size) : nullptr); 148 fPtr = sk_malloc_throw(size);
|
D | SkMalloc.cpp | 12 void* sk_malloc_throw(size_t count, size_t elemSize) { in sk_malloc_throw() function 13 return sk_malloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_malloc_throw()
|
D | SkDataTable.cpp | 99 void* buffer = sk_malloc_throw(bufferSize); in MakeCopyArrays() 119 void* buffer = sk_malloc_throw(bufferSize); in MakeCopyArray()
|
/third_party/flutter/skia/src/core/ |
D | SkAutoMalloc.h | 26 : fPtr(size ? sk_malloc_throw(size) : nullptr), fSize(size) {} 53 fPtr.reset(size ? sk_malloc_throw(size) : nullptr); 149 fPtr = sk_malloc_throw(size);
|
D | SkMallocPixelRef.cpp | 19 void* sk_malloc_throw(size_t count, size_t elemSize) { in sk_malloc_throw() function 20 return sk_malloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_malloc_throw()
|
D | SkDataTable.cpp | 99 void* buffer = sk_malloc_throw(bufferSize); in MakeCopyArrays() 119 void* buffer = sk_malloc_throw(bufferSize); in MakeCopyArray()
|
D | SkRWBuffer.cpp | 35 void* buffer = sk_malloc_throw(sizeof(SkBufferBlock) + capacity); in Alloc() 81 void* buffer = sk_malloc_throw(size); in Alloc()
|
/third_party/flutter/skia/include/private/ |
D | SkTemplates.h | 160 fArray = (T*) sk_malloc_throw(count, sizeof(T)); in reset() 228 : fPtr(count ? (T*)sk_malloc_throw(count, sizeof(T)) : nullptr) {} in SkAutoTMalloc() 240 fPtr.reset(count ? (T*)sk_malloc_throw(count, sizeof(T)) : nullptr); 271 fPtr = (T*)sk_malloc_throw(count, sizeof(T)); in SkAutoSTMalloc() 296 fPtr = (T*)sk_malloc_throw(count, sizeof(T)); in reset() 327 fPtr = (T*)sk_malloc_throw(count, sizeof(T)); in realloc()
|
D | SkMalloc.h | 58 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function 79 SK_API extern void* sk_malloc_throw(size_t count, size_t elemSize);
|
D | SkTArray.h | 458 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); 473 fMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); in initWithPreallocatedStorage() 554 void* newMemArray = sk_malloc_throw(fAllocCount, sizeof(T)); in checkRealloc()
|
/third_party/skia/include/private/ |
D | SkTemplates.h | 172 fArray = (T*) sk_malloc_throw(count, sizeof(T)); in reset() 248 : fPtr(count ? (T*)sk_malloc_throw(count, sizeof(T)) : nullptr) {} in SkAutoTMalloc() 260 fPtr.reset(count ? (T*)sk_malloc_throw(count, sizeof(T)) : nullptr); 299 fPtr = (T*)sk_malloc_throw(count, sizeof(T)); in SkAutoSTMalloc() 324 fPtr = (T*)sk_malloc_throw(count, sizeof(T)); in reset() 359 fPtr = (T*)sk_malloc_throw(count, sizeof(T)); in realloc()
|
D | SkMalloc.h | 58 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() function 78 SK_API extern void* sk_malloc_throw(size_t count, size_t elemSize);
|
/third_party/flutter/skia/tests/ |
D | OverAlignedTest.cpp | 18 void* p = sk_malloc_throw(rand.nextRangeU(0,100)); in DEF_TEST()
|
/third_party/skia/tests/ |
D | OverAlignedTest.cpp | 18 void* p = sk_malloc_throw(rand.nextRangeU(0,100)); in DEF_TEST()
|
/third_party/flutter/skia/src/codec/ |
D | SkColorTable.cpp | 16 fColors = reinterpret_cast<SkPMColor*>(sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable()
|
/third_party/skia/src/codec/ |
D | SkColorTable.cpp | 16 fColors = reinterpret_cast<SkPMColor*>(sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable()
|
/third_party/flutter/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 26 fMapPtr = sk_malloc_throw(this->size()); in onMap()
|
/third_party/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 26 fMapPtr = sk_malloc_throw(this->size()); in onMap()
|
/third_party/skia/docs/examples/ |
D | Surface_MakeRasterDirectReleaseProc.cpp | 16 void* pixels = sk_malloc_throw(info.computeByteSize(rowBytes)); in draw()
|
/third_party/flutter/skia/docs/examples/ |
D | Surface_MakeRasterDirectReleaseProc.cpp | 16 void* pixels = sk_malloc_throw(info.computeByteSize(rowBytes)); in draw()
|
/third_party/skia/src/gpu/ |
D | GrEagerVertexAllocator.cpp | 42 fVertices = sk_malloc_throw(eagerCount * stride); in lock()
|
/third_party/flutter/skia/src/utils/ |
D | SkCanvasStateUtils.cpp | 150 state->clipRects = (ClipRect*)sk_malloc_throw(sizeof(ClipRect)); in setup_MC_state() 217 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten()); in CaptureCanvasState()
|
/third_party/skia/src/utils/ |
D | SkCanvasStateUtils.cpp | 158 state->clipRects = (ClipRect*)sk_malloc_throw(sizeof(ClipRect)); in setup_MC_state() 223 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten()); in CaptureCanvasState()
|
/third_party/skia/tools/sk_app/win/ |
D | main_win.cpp | 21 char* str8 = (char*)sk_malloc_throw(size + 1); in tchar_to_utf8()
|
/third_party/flutter/skia/tools/sk_app/win/ |
D | main_win.cpp | 21 char* str8 = (char*)sk_malloc_throw(size + 1); in tchar_to_utf8()
|