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()
71 sk_sp<SkData> pdfData = pdf.detachAsData(); in DEF_TEST()
94 bool SkIsJFIF(const SkData* data, SkJFIFInfo* info) { in SkIsJFIF()
123 sk_sp<SkData> data(load_resource(r, "JpegIdentification", kTests[i].path)); in DEF_TEST()
173 auto data = SkData::MakeWithoutCopy(goodJpeg, goodJpegLength); in DEF_TEST()
179 data = SkData::MakeWithoutCopy(goodJpeg, 1); in DEF_TEST()
183 data = SkData::MakeWithoutCopy(goodJpeg, 3); in DEF_TEST()
187 data = SkData::MakeWithoutCopy(goodJpeg, 5); in DEF_TEST()
191 data = SkData::MakeWithoutCopy(goodJpeg, 7); in DEF_TEST()
195 data = SkData::MakeWithoutCopy(goodJpeg, 89); in DEF_TEST()
207 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
219 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
231 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
243 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()
255 auto data = SkData::MakeWithoutCopy(jpeg, jpegLength); in DEF_TEST()