Home
last modified time | relevance | path

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

12

/external/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()
/external/skqp/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.h234 fPtr.reset(count ? (T*)sk_realloc_throw(fPtr.release(), count * sizeof(T)) : nullptr); in realloc()
329 fPtr = (T*)sk_realloc_throw(fPtr, count, sizeof(T)); in realloc()
333 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.h486 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize));
/external/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()
/external/skqp/src/core/
DSkMallocPixelRef.cpp22 void* sk_realloc_throw(void* buffer, size_t count, size_t elemSize) { in sk_realloc_throw() function
23 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()
/external/skqp/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_android_parser.cpp627 sk_realloc_throw,
DSkFontHost_FreeType.cpp114 return sk_realloc_throw(block, new_size); in sk_ft_realloc()
/external/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.cpp629 sk_realloc_throw,
DSkFontHost_FreeType.cpp125 return sk_realloc_throw(block, new_size); in sk_ft_realloc()
/external/skqp/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()
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp274 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); in onPrepareDraws()
284 indices = (uint16_t*) sk_realloc_throw(indices, maxIndices * sizeof(uint16_t)); in onPrepareDraws()
/external/skqp/src/xml/
DSkXMLParser.cpp62 sk_realloc_throw,
/external/skia/src/xml/
DSkXMLParser.cpp64 sk_realloc_throw,
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp295 vertices = (uint8_t*) sk_realloc_throw(vertices, maxVertices * vertexStride); in onPrepareDraws()
305 indices = (uint16_t*) sk_realloc_throw(indices, maxIndices * sizeof(uint16_t)); in onPrepareDraws()
DGrTriangulatingPathRenderer.cpp177 fVertices = sk_realloc_throw(fVertices, actualCount * fLockStride); in unlock()

12