Home
last modified time | relevance | path

Searched refs:MakeFromMalloc (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/core/
DSkAutoPixmapStorage.cpp61 sk_sp<SkData> data = SkData::MakeFromMalloc(fStorage, this->computeByteSize()); in detachPixelsAsData()
DSkData.cpp99 sk_sp<SkData> SkData::MakeFromMalloc(const void* data, size_t length) { in MakeFromMalloc() function in SkData
DSkICC.cpp349 return SkData::MakeFromMalloc(profile.release(), kICCProfileSize); in SkWriteICCProfile()
DSkReadBuffer.cpp265 return SkData::MakeFromMalloc(buffer.release(), numBytes); in readByteArrayAsData()
DSkStream.cpp301 fData = SkData::MakeFromMalloc(src, size); in setMemoryOwned()
/external/skqp/src/core/
DSkAutoPixmapStorage.cpp61 sk_sp<SkData> data = SkData::MakeFromMalloc(fStorage, this->computeByteSize()); in detachPixelsAsData()
DSkData.cpp99 sk_sp<SkData> SkData::MakeFromMalloc(const void* data, size_t length) { in MakeFromMalloc() function in SkData
DSkICC.cpp349 return SkData::MakeFromMalloc(profile.release(), kICCProfileSize); in SkWriteICCProfile()
DSkReadBuffer.cpp265 return SkData::MakeFromMalloc(buffer.release(), numBytes); in readByteArrayAsData()
DSkStream.cpp301 fData = SkData::MakeFromMalloc(src, size); in setMemoryOwned()
/external/skqp/include/core/
DSkData.h115 static sk_sp<SkData> MakeFromMalloc(const void* data, size_t length);
/external/skia/include/core/
DSkData.h115 static sk_sp<SkData> MakeFromMalloc(const void* data, size_t length);
/external/skia/modules/canvaskit/
Dskottie_bindings.cpp221 auto bytes = SkData::MakeFromMalloc(assetDatas[i], assetSizes[i]); in EMSCRIPTEN_BINDINGS()
Dcanvaskit_bindings.cpp587 sk_sp<SkData> bytes = SkData::MakeFromMalloc(imgData, length); in EMSCRIPTEN_BINDINGS()
624 sk_sp<SkData> pixelData = SkData::MakeFromMalloc(pixels, plen); in EMSCRIPTEN_BINDINGS()
869 sk_sp<SkData> fontData = SkData::MakeFromMalloc(font, flen); in EMSCRIPTEN_BINDINGS()
/external/skia/src/codec/
DSkIcoCodec.cpp145 sk_sp<SkData> data(SkData::MakeFromMalloc(buffer.release(), size)); in MakeFromStream()
/external/skqp/src/codec/
DSkIcoCodec.cpp145 sk_sp<SkData> data(SkData::MakeFromMalloc(buffer.release(), size)); in MakeFromStream()
/external/skia/src/c/
Dsk_surface.cpp419 return ToData(SkData::MakeFromMalloc(memory, length).release()); in sk_data_new_from_malloc()
/external/skqp/src/c/
Dsk_surface.cpp419 return ToData(SkData::MakeFromMalloc(memory, length).release()); in sk_data_new_from_malloc()
/external/skqp/experimental/canvaskit/
Dcanvaskit_bindings.cpp548 sk_sp<SkData> pixelData = SkData::MakeFromMalloc(pixels, plen); in EMSCRIPTEN_BINDINGS()
776 sk_sp<SkData> fontData = SkData::MakeFromMalloc(font, flen); in EMSCRIPTEN_BINDINGS()