Home | History | Annotate | Download | only in images

Lines Matching defs:sk_stream

101     SkStream* sk_stream = (SkStream*) png_ptr->io_ptr;
102 size_t bytes = sk_stream->read(data, length);
109 SkStream* sk_stream = (SkStream*) png_ptr->io_ptr;
110 sk_stream->rewind();
111 (void)sk_stream->skip(offset);
184 bool SkPNGImageDecoder::onDecodeInit(SkStream* sk_stream,
219 png_set_read_fn(png_ptr, (void *)sk_stream, sk_read_fn);
261 bool SkPNGImageDecoder::onDecode(SkStream* sk_stream, SkBitmap* decodedBitmap,
266 if (onDecodeInit(sk_stream, &png_ptr, &info_ptr) == false) {
439 bool SkPNGImageDecoder::onBuildTileIndex(SkStream* sk_stream, int *width,
446 if (onDecodeInit(sk_stream, &png_ptr, &info_ptr) == false) {
804 SkWStream* sk_stream = (SkWStream*)png_ptr->io_ptr;
805 if (!sk_stream->write(data, len)) {