Searched refs:skdata (Results 1 – 4 of 4) sorted by relevance
14 JpegSegment(const SkData* skdata) in JpegSegment() argument15 : fData(static_cast<const char*>(skdata->data())) in JpegSegment()16 , fSize(skdata->size()) in JpegSegment()78 bool SkIsJFIF(const SkData* skdata, SkJFIFInfo* info) { in SkIsJFIF() argument81 JpegSegment segment(skdata); in SkIsJFIF()
29 bool SkIsJFIF(const SkData* skdata, SkJFIFInfo* info);
32 static void data_unref_proc(void* skdata, const void*, size_t) { in data_unref_proc() argument33 SkASSERT(skdata); in data_unref_proc()34 static_cast<SkData*>(skdata)->unref(); in data_unref_proc()39 SkData* skdata = SkCopyStreamToData(stream); in SkStreamToDataProvider() local40 if (!skdata) { in SkStreamToDataProvider()44 return CGDataProviderCreateWithData(skdata, skdata->data(), skdata->size(), data_unref_proc); in SkStreamToDataProvider()
64 SkAutoTUnref<SkData> skdata(SkData::NewFromMalloc(data, size)); in onDelayedSetup() local65 fStream.setData(skdata.get()); in onDelayedSetup()