Lines Matching refs:SkData
17 static bool is_subset_of(SkData* smaller, SkData* larger) { in is_subset_of()
33 static sk_sp<SkData> load_resource( in load_resource()
35 sk_sp<SkData> data = GetResourceAsData(filename); in load_resource()
51 sk_sp<SkData> mandrillData(load_resource(r, test, "images/mandrill_512_q075.jpg")); in DEF_TEST()
52 sk_sp<SkData> cmykData(load_resource(r, test, "images/CMYK.jpg")); in DEF_TEST()
70 sk_sp<SkData> pdfData = pdf.detachAsData(); in DEF_TEST()
93 bool SkIsJFIF(const SkData* data, SkJFIFInfo* info) { in SkIsJFIF()
122 sk_sp<SkData> data(load_resource(r, "JpegIdentification", kTests[i].path)); in DEF_TEST()
172 auto data = SkData::MakeWithoutCopy(goodJpeg, goodJpegLength); in DEF_TEST()
178 data = SkData::MakeWithoutCopy(goodJpeg, 1); in DEF_TEST()
182 data = SkData::MakeWithoutCopy(goodJpeg, 3); in DEF_TEST()
186 data = SkData::MakeWithoutCopy(goodJpeg, 5); in DEF_TEST()
190 data = SkData::MakeWithoutCopy(goodJpeg, 7); in DEF_TEST()
194 data = SkData::MakeWithoutCopy(goodJpeg, 89); in DEF_TEST()
206 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
218 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
230 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
242 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
254 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()