Lines Matching refs:fStream
54 fStream = SkNEW_ARGS(SkMemoryStream, (fData)); in SkDecodingImageGenerator()
55 SkASSERT(fStream != NULL); in SkDecodingImageGenerator()
56 SkASSERT(fStream->unique()); in SkDecodingImageGenerator()
62 , fStream(stream) in SkDecodingImageGenerator()
65 SkASSERT(fStream != NULL); in SkDecodingImageGenerator()
66 SkASSERT(fStream->unique()); in SkDecodingImageGenerator()
71 fStream->unref(); in ~SkDecodingImageGenerator()
88 if (!fStream->rewind()) { in refEncodedData()
91 size_t length = fStream->getLength(); in refEncodedData()
96 SkCheckResult(fStream->read(buffer, length), length); in refEncodedData()
109 SkAssertResult(fStream->rewind()); in getInfo()
110 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(fStream)); in getInfo()
115 if (!decoder->decode(fStream, &bitmap, in getInfo()
153 SkAssertResult(fStream->rewind()); in getPixels()
154 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(fStream)); in getPixels()
177 bool success = decoder->decode(fStream, &bitmap, in getPixels()