Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkData.cpp71 SkData* SkData::NewWithCopy(const void* data, size_t length) { in NewWithCopy() function in SkData
157 return NewWithCopy(cstr, size); in NewWithCString()
DSkPictureRecord.h85 return SkData::NewWithCopy(fWriter.contiguousArray(), fWriter.bytesWritten()); in opData()
DSkStream.cpp307 return SkData::NewWithCopy(src, size); in newFromParams()
/external/skia/tools/
DLazyDecodeBitmap.cpp29 SkAutoDataUnref data(SkData::NewWithCopy(src, length)); in LazyDecodeBitmap()
/external/chromium_org/third_party/skia/tools/
DLazyDecodeBitmap.cpp29 SkAutoDataUnref data(SkData::NewWithCopy(src, length)); in LazyDecodeBitmap()
/external/chromium_org/third_party/skia/src/core/
DSkData.cpp115 SkData* SkData::NewWithCopy(const void* src, size_t length) { in NewWithCopy() function in SkData
200 return NewWithCopy(cstr, size); in NewWithCString()
DSkPictureRecord.h86 return SkData::NewWithCopy(fWriter.contiguousArray(), fWriter.bytesWritten()); in opData()
DSkStream.cpp288 return SkData::NewWithCopy(src, size); in newFromParams()
/external/skia/include/core/
DSkData.h70 static SkData* NewWithCopy(const void* data, size_t length);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DDecodingImageGenerator.cpp60 return SkData::NewWithCopy(buffer->data(), buffer->size()); in onRefEncodedData()
/external/chromium_org/third_party/skia/include/core/
DSkData.h81 static SkData* NewWithCopy(const void* data, size_t length);
/external/chromium_org/third_party/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.cpp138 SkAutoDataUnref streamData2(SkData::NewWithCopy(streamBytes2, in TestPDFStream()
DImageDecodingTest.cpp454 SkAutoDataUnref encoded(SkData::NewWithCopy(encodedWebP, in DEF_TEST()
/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.cpp137 SkAutoDataUnref streamData2(SkData::NewWithCopy(streamBytes2, in TestPDFStream()
DImageDecodingTest.cpp453 SkAutoDataUnref encoded(SkData::NewWithCopy(encodedWebP, in DEF_TEST()
/external/chromium_org/third_party/skia/gm/
Detc1bitmap.cpp205 SkAutoDataUnref nonPOTData(SkData::NewWithCopy(am.get(), dataSz)); in onDraw()
/external/skia/gm/
Detc1bitmap.cpp195 SkAutoDataUnref nonPOTData(SkData::NewWithCopy(am.get(), dataSz)); in onDraw()
/external/skia/src/image/
DSkImage_Raster.cpp166 SkAutoDataUnref data(SkData::NewWithCopy(pixels, info.fHeight * rowBytes)); in NewRasterCopy()
/external/chromium_org/third_party/skia/src/image/
DSkImage_Raster.cpp181 SkAutoDataUnref data(SkData::NewWithCopy(pixels, info.height() * rowBytes)); in NewRasterCopy()
/external/chromium_org/cc/resources/
Dpicture.cc64 return SkData::NewWithCopy(&data.front(), data.size()); in EncodeBitmap()
/external/chromium_org/content/renderer/gpu/
Dgpu_benchmarking_extension.cc56 return SkData::NewWithCopy(&vector.front() , vector.size()); in EncodeBitmapToData()
/external/skia/src/pdf/
DSkPDFShader.cpp1165 SkAutoDataUnref funcData(SkData::NewWithCopy(psCode.c_str(), in makePSFunction()
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFShader.cpp1164 SkAutoDataUnref funcData(SkData::NewWithCopy(psCode.c_str(), psCode.size())); in makePSFunction()