Home
last modified time | relevance | path

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

12

/external/skia/tests/
DPDFJpegEmbedTest.cpp127 auto data = SkData::MakeWithoutCopy(goodJpeg, goodJpegLength); in DEF_TEST()
133 data = SkData::MakeWithoutCopy(goodJpeg, 1); in DEF_TEST()
137 data = SkData::MakeWithoutCopy(goodJpeg, 3); in DEF_TEST()
141 data = SkData::MakeWithoutCopy(goodJpeg, 5); in DEF_TEST()
145 data = SkData::MakeWithoutCopy(goodJpeg, 7); in DEF_TEST()
149 data = SkData::MakeWithoutCopy(goodJpeg, 89); in DEF_TEST()
161 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
173 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
185 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
197 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
[all …]
DCodecPriv.h20 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(SkData::MakeWithoutCopy(mem, size))); in decode_memory()
DCodecPartialTest.cpp357 sk_sp<SkData> data = SkData::MakeWithoutCopy(gNoGlobalColorMap, sizeof(gNoGlobalColorMap)); in DEF_TEST()
372 codec = SkCodec::MakeFromData(SkData::MakeWithoutCopy(gNoGlobalColorMap, 23)); in DEF_TEST()
DStreamBufferTest.cpp78 sk_sp<SkData> data(SkData::MakeWithoutCopy(gText, size)); in DEF_TEST()
/external/skqp/tests/
DPDFJpegEmbedTest.cpp127 auto data = SkData::MakeWithoutCopy(goodJpeg, goodJpegLength); in DEF_TEST()
133 data = SkData::MakeWithoutCopy(goodJpeg, 1); in DEF_TEST()
137 data = SkData::MakeWithoutCopy(goodJpeg, 3); in DEF_TEST()
141 data = SkData::MakeWithoutCopy(goodJpeg, 5); in DEF_TEST()
145 data = SkData::MakeWithoutCopy(goodJpeg, 7); in DEF_TEST()
149 data = SkData::MakeWithoutCopy(goodJpeg, 89); in DEF_TEST()
161 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
173 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
185 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
197 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
[all …]
DCodecPriv.h20 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(SkData::MakeWithoutCopy(mem, size))); in decode_memory()
DCodecPartialTest.cpp357 sk_sp<SkData> data = SkData::MakeWithoutCopy(gNoGlobalColorMap, sizeof(gNoGlobalColorMap)); in DEF_TEST()
372 codec = SkCodec::MakeFromData(SkData::MakeWithoutCopy(gNoGlobalColorMap, 23)); in DEF_TEST()
DStreamBufferTest.cpp78 sk_sp<SkData> data(SkData::MakeWithoutCopy(gText, size)); in DEF_TEST()
/external/skia/fuzz/oss_fuzz/
DFuzzDrawFunctions.cpp13 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
DFuzzAPIImageFilter.cpp13 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
DFuzzGradients.cpp14 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
DFuzzImage.cpp33 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput()
DFuzzRegionDeserialize.cpp39 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput()
DFuzzAnimatedImage.cpp43 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput()
DFuzzRegionSetPath.cpp41 sk_sp<SkData> bytes(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
DFuzzImageFilterDeserialize.cpp42 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput()
/external/skqp/fuzz/oss_fuzz/
DFuzzRegionDeserialize.cpp39 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput()
DFuzzRegionSetPath.cpp41 sk_sp<SkData> bytes(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp50 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc->asKey(), desc->keyLength()); in CreateProgram()
277 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc()->asKey(), desc()->keyLength()); in finalize()
290 *SkData::MakeWithoutCopy(data.get(), dataLength)); in finalize()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp50 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc->asKey(), desc->keyLength()); in CreateProgram()
286 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc()->asKey(), desc()->keyLength()); in finalize()
299 *SkData::MakeWithoutCopy(data.get(), dataLength)); in finalize()
/external/skqp/include/core/
DSkData.h107 static sk_sp<SkData> MakeWithoutCopy(const void* data, size_t length) { in MakeWithoutCopy() function
/external/skia/include/core/
DSkData.h107 static sk_sp<SkData> MakeWithoutCopy(const void* data, size_t length) { in MakeWithoutCopy() function
/external/skia/src/pdf/
DSkPDFGraphicState.cpp137 SkData::MakeWithoutCopy(psInvert, strlen(psInvert))); in make_invert_function()
/external/skqp/src/pdf/
DSkPDFGraphicState.cpp137 SkData::MakeWithoutCopy(psInvert, strlen(psInvert))); in make_invert_function()
/external/skqp/tools/
Dget_images_from_skps.cpp63 sk_sp<SkData> data(SkData::MakeWithoutCopy(ptr, len)); in sniff()

12