/external/skia/src/xml/ |
D | SkXMLWriter.cpp | 217 SkXMLStreamWriter::SkXMLStreamWriter(SkWStream* stream) : fStream(*stream) in SkXMLStreamWriter() 229 fStream.writeText(" "); in onAddAttributeLen() 230 fStream.writeText(name); in onAddAttributeLen() 231 fStream.writeText("=\""); in onAddAttributeLen() 232 fStream.write(value, length); in onAddAttributeLen() 233 fStream.writeText("\""); in onAddAttributeLen() 240 fStream.writeText(">"); in onAddText() 241 fStream.newline(); in onAddText() 244 tab(fStream, fElems.count() + 1); in onAddText() 245 fStream.write(text, length); in onAddText() [all …]
|
D | SkXMLPullParser.cpp | 19 SkXMLPullParser::SkXMLPullParser() : fStream(NULL) in SkXMLPullParser() 25 SkXMLPullParser::SkXMLPullParser(SkStream* stream) : fStream(NULL) in SkXMLPullParser() 40 if (fStream && !stream) in setStream() 43 SkRefCnt_SafeAssign(fStream, stream); in setStream() 45 if (fStream) in setStream() 56 return fStream; in setStream()
|
/external/skia/src/images/ |
D | SkJpegUtility.cpp | 19 if (!src->fStream->rewind()) { in sk_init_source() 31 (void)src->fStream->skip(bo - src->current_offset); in sk_seek_input_data() 33 if (!src->fStream->rewind()) { in sk_seek_input_data() 38 (void)src->fStream->skip(bo); in sk_seek_input_data() 53 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); in sk_fill_input_buffer() 74 size_t bytes = src->fStream->skip(bytesToSkip); in sk_skip_input_data() 99 : fStream(stream) in skjpeg_source_mgr() 126 if (!dest->fStream->write(dest->fBuffer, in sk_empty_output_buffer() 142 if (!dest->fStream->write(dest->fBuffer, size)) { in sk_term_destination() 147 dest->fStream->flush(); in sk_term_destination() [all …]
|
D | SkDecodingImageGenerator.cpp | 28 SkAutoTDelete<SkStreamRewindable> fStream; member in __anon187143fa0111::DecodingImageGenerator 117 , fStream(stream) in DecodingImageGenerator() 136 if (!fStream->rewind()) { in onRefEncodedData() 139 size_t length = fStream->getLength(); in onRefEncodedData() 141 fData = SkData::NewFromStream(fStream, length); in onRefEncodedData() 160 SkAssertResult(fStream->rewind()); in onGetPixels() 161 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(fStream)); in onGetPixels() 172 const SkImageDecoder::Result decodeResult = decoder->decode(fStream, &bitmap, info.colorType(), in onGetPixels() 213 if (!fStream->rewind()) { in onGetYUV8Planes() 217 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(fStream)); in onGetYUV8Planes() [all …]
|
D | SkJpegUtility.h | 40 SkStream* fStream; member 57 SkWStream* fStream; member
|
/external/skia/src/doc/ |
D | SkDocument.cpp | 12 fStream = stream; // we do not own this object. in SkDocument() 66 bool success = this->onClose(fStream); in close() 69 fDoneProc(fStream, false); in close() 73 fStream = NULL; in close() 90 fDoneProc(fStream, true); in abort() 94 fStream = NULL; in abort()
|
/external/skia/bench/ |
D | SkipZeroesBench.cpp | 28 , fStream() in SkipZeroesBench() 65 fStream.setData(skdata.get()); in onPreDraw() 66 fDecoder.reset(SkImageDecoder::Factory(&fStream)); in onPreDraw() 86 SkDEBUGCODE(SkImageDecoder::Result result =) fDecoder->decode(&fStream, &bm, in onDraw() 94 SkDEBUGCODE(bool success =) fStream.rewind(); in onDraw() 108 SkMemoryStream fStream; member in SkipZeroesBench
|
D | DecodingSubsetBench.cpp | 46 fStream.reset(new SkMemoryStream(encoded)); in DecodingSubsetBench() 47 fDecoder.reset(SkImageDecoder::Factory(fStream)); in DecodingSubsetBench() 61 fDecoder->buildTileIndex(fStream->duplicate(), &w, &h); in onDraw()
|
D | DecodingSubsetBench.h | 34 SkAutoTDelete<SkMemoryStream> fStream; variable
|
/external/skia/src/utils/ |
D | SkFrontBufferedStream.cpp | 36 SkAutoTDelete<SkStream> fStream; member in FrontBufferedStream 76 : fStream(stream) in FrontBufferedStream() 91 return fStream->isAtEnd(); in isAtEnd() 129 const size_t buffered = fStream->read(buffer, bytesToBuffer); in bufferAndWriteTo() 148 const size_t bytesReadDirectly = fStream->read(dst, size); in readDirectlyFromStream() 195 if (size > 0 && fBufferedSoFar < fBufferSize && !fStream->isAtEnd()) { in read() 207 if (size > 0 && !fStream->isAtEnd()) { in read()
|
/external/skia/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 147 : fRefCount(1), fStream(stream) { in SkDWriteFontFileStreamWrapper() 192 const void* data = fStream->getMemoryBase(); in ReadFileFragment() 204 if (!fStream->seek(static_cast<size_t>(fileOffset))) { in ReadFileFragment() 208 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) { in ReadFileFragment() 223 *fileSize = fStream->getLength(); in GetFileSize()
|
D | SkDWriteFontFileStream.h | 76 SkAutoTDelete<SkStreamAsset> fStream; variable
|
/external/skia/src/codec/ |
D | SkJpegUtility.cpp | 25 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); in sk_fill_input_buffer() 46 if (bytesToSkip != src->fStream->skip(bytesToSkip)) { in sk_skip_input_data() 71 : fStream(stream) in skjpeg_source_mgr()
|
D | SkCodec.cpp | 74 , fStream(stream) in SkCodec() 86 return fStream->rewind() ? kRewound_RewindState in rewindIfNeeded()
|
D | SkJpegUtility.h | 41 SkStream* fStream; // unowned member
|
/external/skia/src/utils/ios/ |
D | SkFontHost_iOS.mm | 62 fStream->ref(); 63 return fStream; 67 SkStream* fStream; 74 fStream = stream; 75 fStream->ref(); 79 fStream->unref();
|
/external/skia/include/core/ |
D | SkDocument.h | 123 SkWStream* getStream() { return fStream; } in getStream() 133 SkWStream* fStream;
|
/external/skia/include/codec/ |
D | SkCodec.h | 177 return fStream.get(); in stream() 181 SkAutoTDelete<SkStream> fStream;
|
/external/skia/src/ports/ |
D | SkFontHost_linux.cpp | 76 , fStream(stream) in SkTypeface_Stream() 82 return fStream->duplicate(); in onOpenStream() 86 const SkAutoTDelete<const SkStreamAsset> fStream; member in SkTypeface_Stream 105 , fStream(c_CustomTypefaceRetain ? SkStream::NewFromFile(fPath.c_str()) : NULL) in SkTypeface_File() 111 if (fStream.get()) { in onOpenStream() 112 return fStream->duplicate(); in onOpenStream() 120 const SkAutoTDelete<SkStreamAsset> fStream; member in SkTypeface_File
|
D | SkFontMgr_android.cpp | 92 , fStream(stream) { } in SkTypeface_AndroidStream() 104 return fStream->duplicate(); in onOpenStream() 108 SkAutoTDelete<SkStreamAsset> fStream; member in SkTypeface_AndroidStream
|
/external/skia/tools/ |
D | PictureResultsWriter.h | 183 : fStream(filename) { in PictureJSONResultsWriter() 241 fStream.writeText(Json::FastWriter().write(data).c_str()); 245 fStream.flush(); in end() 297 SkFILEWStream fStream; variable
|
/external/skia/include/xml/ |
D | SkXMLParser.h | 94 SkStream* getStream() const { return fStream; } 146 SkStream* fStream;
|
/external/skia/src/core/ |
D | SkRWBuffer.cpp | 249 SkROBufferStreamAsset* fStream; member in SkROBufferStreamAsset::AutoValidate 251 AutoValidate(SkROBufferStreamAsset* stream) : fStream(stream) { stream->validate(); } in AutoValidate() 252 ~AutoValidate() { fStream->validate(); } in ~AutoValidate()
|
/external/skia/src/svg/parser/ |
D | SkSVGParser.cpp | 41 fXMLWriter(&fStream), fCurrElement(NULL), fInSVG(false), fSuppressPaint(false) { in SkSVGParser() 107 fStream.write("", 1); 108 return fStream.getStream();
|
/external/skia/include/svg/parser/ |
D | SkSVGParser.h | 65 SkDynamicMemoryWStream fStream; variable
|