/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()
|
D | SkTSearch.cpp | 95 lc = (char*)sk_malloc_throw(len + 1); in SkAutoAsciiToLC()
|
D | SkBlitter_RGB565.cpp | 90 fBuffer = (SkPMColor*)sk_malloc_throw(device.width() * (sizeof(SkPMColor))); in SkRGB565_Shader_Blitter()
|
D | SkFontStream.cpp | 129 fDir = reinterpret_cast<SkSFNTDirEntry*>(sk_malloc_throw(size)); in init()
|
D | SkRegionPriv.h | 91 RunHead* head = (RunHead*)sk_malloc_throw(size); in Alloc()
|
/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);
|
D | SkTArray.h | 470 fItemArray = (T*)sk_malloc_throw((size_t)fAllocCount, sizeof(T)); in init() 485 fItemArray = (T*)sk_malloc_throw(fAllocCount, sizeof(T)); in initWithPreallocatedStorage() 569 T* newItemArray = (T*)sk_malloc_throw((size_t)fAllocCount, sizeof(T)); in checkRealloc()
|
/third_party/skia/tests/ |
D | OverAlignedTest.cpp | 18 void* p = sk_malloc_throw(rand.nextRangeU(0,100)); in DEF_TEST()
|
D | CachedDataTest.cpp | 43 return new SkCachedData(sk_malloc_throw(size), size); in make_data()
|
D | NdkEncodeTest.cpp | 150 void* pixels = sk_malloc_throw(1024); in DEF_TEST() 217 void* pixels = sk_malloc_throw(info.computeByteSize(rowBytes)); in DEF_TEST()
|
/third_party/skia/src/codec/ |
D | SkColorTable.cpp | 16 fColors = reinterpret_cast<SkPMColor*>(sk_malloc_throw(count * sizeof(SkPMColor))); in SkColorTable()
|
/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/skia/src/gpu/ |
D | GrEagerVertexAllocator.cpp | 42 fVertices = sk_malloc_throw(eagerCount * stride); in lock()
|
/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/skia/tools/gpu/vk/ |
D | VkTestUtils.cpp | 373 (VkPhysicalDeviceProtectedMemoryFeatures*)sk_malloc_throw( in setup_features() 384 blend = (VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT*) sk_malloc_throw( in setup_features() 395 ycbcrFeature = (VkPhysicalDeviceSamplerYcbcrConversionFeatures*) sk_malloc_throw( in setup_features()
|
/third_party/skia/modules/canvaskit/ |
D | WasmCommon.h | 91 data = static_cast<T*>(sk_malloc_throw(len, sizeof(T))); in JSSpan()
|
/third_party/skia/src/gpu/ops/ |
D | AALinearizingConvexPathRenderer.cpp | 221 uint8_t* vertices = (uint8_t*) sk_malloc_throw(maxVertices * vertexStride); in onPrepareDraws() 222 uint16_t* indices = (uint16_t*) sk_malloc_throw(maxIndices * sizeof(uint16_t)); in onPrepareDraws()
|
/third_party/skia/src/xml/ |
D | SkXMLParser.cpp | 63 sk_malloc_throw,
|
/third_party/skia/tools/ |
D | SkMetaData.cpp | 247 return (Rec*)sk_malloc_throw(size); in Alloc()
|
/third_party/skia/src/gpu/gradients/ |
D | GrGradientBitmapCache.cpp | 30 fBuffer = sk_malloc_throw(size); in Entry()
|