Home
last modified time | relevance | path

Searched refs:NewWithCopy (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/core/
DSkData.cpp95 SkData* SkData::NewWithCopy(const void* src, size_t length) { in NewWithCopy() function in SkData
180 return NewWithCopy(cstr, size); in NewWithCString()
DSkWriter32.cpp80 return SkData::NewWithCopy(fData, fUsed); in snapshotAsData()
DSkPictureRecord.h52 return SkData::NewWithCopy(fWriter.contiguousArray(), fWriter.bytesWritten()); in opData()
DSkStream.cpp288 return SkData::NewWithCopy(src, size); in newFromParams()
/external/skia/tools/
DLazyDecodeBitmap.cpp26 SkAutoDataUnref data(SkData::NewWithCopy(src, length)); in LazyDecodeBitmap()
/external/skia/include/core/
DSkData.h81 static SkData* NewWithCopy(const void* data, size_t length);
/external/skia/gm/
Detc1bitmap.cpp203 SkAutoDataUnref nonPOTData(SkData::NewWithCopy(am.get(), dataSz)); in onDraw()
/external/skia/tests/
DDataRefTest.cpp166 SkAutoTUnref<SkData> r0(SkData::NewWithCopy(str, len + 1)); in test_cstring()
212 SkAutoTUnref<SkData> r1(SkData::NewWithCopy(str, strlen(str))); in DEF_TEST()
DPDFPrimitivesTest.cpp97 SkAutoDataUnref streamData2(SkData::NewWithCopy(streamBytes2, in TestPDFStream()
DImageDecodingTest.cpp393 SkAutoDataUnref encoded(SkData::NewWithCopy(encodedWebP, in DEF_TEST()
/external/skia/src/image/
DSkImage_Raster.cpp154 SkAutoDataUnref data(SkData::NewWithCopy(pixels, info.height() * rowBytes)); in NewRasterCopy()
/external/skia/src/c/
Dsk_surface.cpp561 return ToData(SkData::NewWithCopy(src, length)); in sk_data_new_with_copy()
/external/skia/dm/
DDMSrcSink.cpp35 SkAutoTUnref<SkData> encoded(SkData::NewWithCopy(src, size)); in lazy_decode_bitmap()
/external/skia/src/pdf/
DSkPDFShader.cpp703 SkData::NewWithCopy(psCode.c_str(), psCode.size())); in make_ps_function()