Home
last modified time | relevance | path

Searched refs:sk_realloc_throw (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/src/core/
DSkMalloc.cpp16 void* sk_realloc_throw(void* buffer, size_t count, size_t elemSize) { in sk_realloc_throw() function
17 return sk_realloc_throw(buffer, SkSafeMath::Mul(count, elemSize)); in sk_realloc_throw()
DSkStream.cpp880 fHead = fTail = (SkDynamicMemoryWStream::Block*)sk_realloc_throw(fTail, SkToSizeT(used)); in detachAsStream()
/third_party/flutter/skia/include/private/
DSkMalloc.h56 SK_API extern void* sk_realloc_throw(void* buffer, size_t size);
80 SK_API extern void* sk_realloc_throw(void* buffer, size_t count, size_t elemSize);
DSkTemplates.h235 fPtr.reset(count ? (T*)sk_realloc_throw(fPtr.release(), count * sizeof(T)) : nullptr); in realloc()
330 fPtr = (T*)sk_realloc_throw(fPtr, count, sizeof(T)); in realloc()
334 fPtr = (T*)sk_realloc_throw(fPtr, count, sizeof(T)); in realloc()
DSkTDArray.h323 fArray = (T*)sk_realloc_throw(fArray, fReserve * sizeof(T)); in shrinkToFit()
364 fArray = (T*)sk_realloc_throw(fArray, fReserve * sizeof(T)); in resizeStorageToAtLeast()
DSkPathRef.h487 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize));
/third_party/skia/include/private/
DSkMalloc.h56 SK_API extern void* sk_realloc_throw(void* buffer, size_t size);
79 SK_API extern void* sk_realloc_throw(void* buffer, size_t count, size_t elemSize);
DSkTemplates.h255 fPtr.reset(count ? (T*)sk_realloc_throw(fPtr.release(), count * sizeof(T)) : nullptr); in realloc()
362 fPtr = (T*)sk_realloc_throw(fPtr, count, sizeof(T)); in realloc()
366 fPtr = (T*)sk_realloc_throw(fPtr, count, sizeof(T)); in realloc()
DSkTDArray.h335 fArray = (T*)sk_realloc_throw(fArray, fReserve * sizeof(T)); in shrinkToFit()
377 fArray = (T*)sk_realloc_throw(fArray, (size_t)fReserve * sizeof(T)); in resizeStorageToAtLeast()
/third_party/flutter/skia/src/core/
DSkMallocPixelRef.cpp23 void* sk_realloc_throw(void* buffer, size_t count, size_t elemSize) { in sk_realloc_throw() function
24 return sk_realloc_throw(buffer, SkSafeMath::Mul(count, elemSize)); in sk_realloc_throw()
DSkStream.cpp869 fHead = fTail = (SkDynamicMemoryWStream::Block*)sk_realloc_throw(fTail, SkToSizeT(used)); in detachAsStream()
/third_party/flutter/skia/src/ports/
DSkMemory_mozalloc.cpp29 void* sk_realloc_throw(void* addr, size_t size) { in sk_realloc_throw() function
DSkMemory_malloc.cpp56 void* sk_realloc_throw(void* addr, size_t size) { in sk_realloc_throw() function
DSkFontMgr_config_parser.cpp477 sk_realloc_throw,
DSkFontMgr_android_parser.cpp627 sk_realloc_throw,
/third_party/skia/src/ports/
DSkMemory_mozalloc.cpp29 void* sk_realloc_throw(void* addr, size_t size) { in sk_realloc_throw() function
DSkMemory_malloc.cpp64 void* sk_realloc_throw(void* addr, size_t size) { in sk_realloc_throw() function
DSkFontMgr_android_parser.cpp637 sk_realloc_throw,
DSkFontHost_FreeType.cpp107 return sk_realloc_throw(block, new_size); in sk_ft_realloc()
/third_party/flutter/skia/platform_tools/android/apps/skottie/src/main/cpp/
DJavaInputStreamAdaptor.cpp225 data = (char*)sk_realloc_throw(data, bufferSize); in adaptor_to_mem_stream()
228 data = (char*)sk_realloc_throw(data, streamLen); in adaptor_to_mem_stream()
/third_party/skia/src/gpu/
DGrEagerVertexAllocator.cpp51 fVertices = sk_realloc_throw(fVertices, actualCount * fLockStride); in unlock()
/third_party/flutter/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp275 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); in onPrepareDraws()
285 indices = (uint16_t*) sk_realloc_throw(indices, maxIndices * sizeof(uint16_t)); in onPrepareDraws()
/third_party/skia/src/gpu/ops/
DAALinearizingConvexPathRenderer.cpp247 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); in onPrepareDraws()
257 indices = (uint16_t*) sk_realloc_throw(indices, maxIndices * sizeof(uint16_t)); in onPrepareDraws()
/third_party/skia/src/xml/
DSkXMLParser.cpp64 sk_realloc_throw,
/third_party/flutter/skia/src/xml/
DSkXMLParser.cpp62 sk_realloc_throw,

12