Home
last modified time | relevance | path

Searched refs:sk_malloc_throw (Results 1 – 25 of 99) sorted by relevance

1234

/third_party/skia/src/core/
DSkAutoMalloc.h26 : fPtr(size ? sk_malloc_throw(size) : nullptr), fSize(size) {}
53 fPtr.reset(size ? sk_malloc_throw(size) : nullptr);
148 fPtr = sk_malloc_throw(size);
DSkMalloc.cpp12 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()
DSkDataTable.cpp99 void* buffer = sk_malloc_throw(bufferSize); in MakeCopyArrays()
119 void* buffer = sk_malloc_throw(bufferSize); in MakeCopyArray()
/third_party/flutter/skia/src/core/
DSkAutoMalloc.h26 : fPtr(size ? sk_malloc_throw(size) : nullptr), fSize(size) {}
53 fPtr.reset(size ? sk_malloc_throw(size) : nullptr);
149 fPtr = sk_malloc_throw(size);
DSkMallocPixelRef.cpp19 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()
DSkDataTable.cpp99 void* buffer = sk_malloc_throw(bufferSize); in MakeCopyArrays()
119 void* buffer = sk_malloc_throw(bufferSize); in MakeCopyArray()
DSkRWBuffer.cpp35 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/
DSkTemplates.h160 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()
DSkMalloc.h58 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);
DSkTArray.h458 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/
DSkTemplates.h172 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()
DSkMalloc.h58 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/
DOverAlignedTest.cpp18 void* p = sk_malloc_throw(rand.nextRangeU(0,100)); in DEF_TEST()
/third_party/skia/tests/
DOverAlignedTest.cpp18 void* p = sk_malloc_throw(rand.nextRangeU(0,100)); in DEF_TEST()
/third_party/flutter/skia/src/codec/
DSkColorTable.cpp16 fColors = reinterpret_cast<SkPMColor*>(sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable()
/third_party/skia/src/codec/
DSkColorTable.cpp16 fColors = reinterpret_cast<SkPMColor*>(sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable()
/third_party/flutter/skia/src/gpu/mock/
DGrMockBuffer.h26 fMapPtr = sk_malloc_throw(this->size()); in onMap()
/third_party/skia/src/gpu/mock/
DGrMockBuffer.h26 fMapPtr = sk_malloc_throw(this->size()); in onMap()
/third_party/skia/docs/examples/
DSurface_MakeRasterDirectReleaseProc.cpp16 void* pixels = sk_malloc_throw(info.computeByteSize(rowBytes)); in draw()
/third_party/flutter/skia/docs/examples/
DSurface_MakeRasterDirectReleaseProc.cpp16 void* pixels = sk_malloc_throw(info.computeByteSize(rowBytes)); in draw()
/third_party/skia/src/gpu/
DGrEagerVertexAllocator.cpp42 fVertices = sk_malloc_throw(eagerCount * stride); in lock()
/third_party/flutter/skia/src/utils/
DSkCanvasStateUtils.cpp150 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/
DSkCanvasStateUtils.cpp158 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/
Dmain_win.cpp21 char* str8 = (char*)sk_malloc_throw(size + 1); in tchar_to_utf8()
/third_party/flutter/skia/tools/sk_app/win/
Dmain_win.cpp21 char* str8 = (char*)sk_malloc_throw(size + 1); in tchar_to_utf8()

1234