/external/chromium_org/third_party/skia/src/xml/ |
D | SkXMLWriter.cpp | 204 SkXMLStreamWriter::SkXMLStreamWriter(SkWStream* stream) : fStream(*stream) in SkXMLStreamWriter() 216 fStream.writeText(" "); in onAddAttributeLen() 217 fStream.writeText(name); in onAddAttributeLen() 218 fStream.writeText("=\""); in onAddAttributeLen() 219 fStream.write(value, length); in onAddAttributeLen() 220 fStream.writeText("\""); in onAddAttributeLen() 228 tab(fStream, fElems.count()); in onEndElement() 229 fStream.writeText("</"); in onEndElement() 230 fStream.writeText(elem->fName.c_str()); in onEndElement() 231 fStream.writeText(">"); in onEndElement() [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/xml/ |
D | SkXMLWriter.cpp | 204 SkXMLStreamWriter::SkXMLStreamWriter(SkWStream* stream) : fStream(*stream) in SkXMLStreamWriter() 216 fStream.writeText(" "); in onAddAttributeLen() 217 fStream.writeText(name); in onAddAttributeLen() 218 fStream.writeText("=\""); in onAddAttributeLen() 219 fStream.write(value, length); in onAddAttributeLen() 220 fStream.writeText("\""); in onAddAttributeLen() 228 tab(fStream, fElems.count()); in onEndElement() 229 fStream.writeText("</"); in onEndElement() 230 fStream.writeText(elem->fName.c_str()); in onEndElement() 231 fStream.writeText(">"); in onEndElement() [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/chromium_org/third_party/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(SkRef(stream)) in skjpeg_source_mgr() 114 SkSafeUnref(fStream); in ~skjpeg_source_mgr() 130 if (!dest->fStream->write(dest->fBuffer, in sk_empty_output_buffer() 146 if (!dest->fStream->write(dest->fBuffer, size)) { in sk_term_destination() [all …]
|
D | SkDecodingImageGenerator.cpp | 28 SkStreamRewindable* fStream; member in __anon28a2c9b10111::DecodingImageGenerator 118 , fStream(stream) in DecodingImageGenerator() 129 fStream->unref(); in ~DecodingImageGenerator() 140 if (!fStream->rewind()) { in onRefEncodedData() 143 size_t length = fStream->getLength(); in onRefEncodedData() 148 SkCheckResult(fStream->read(buffer, length), length); in onRefEncodedData() 163 SkAssertResult(fStream->rewind()); in onGetPixels() 164 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(fStream)); in onGetPixels() 176 bool success = decoder->decode(fStream, &bitmap, info.colorType(), in onGetPixels()
|
D | SkJpegUtility.h | 41 SkStream* fStream; member 58 SkWStream* fStream; member
|
/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(SkRef(stream)) in skjpeg_source_mgr() 114 SkSafeUnref(fStream); in ~skjpeg_source_mgr() 130 if (!dest->fStream->write(dest->fBuffer, in sk_empty_output_buffer() 146 if (!dest->fStream->write(dest->fBuffer, size)) { in sk_term_destination() [all …]
|
D | SkDecodingImageGenerator.cpp | 28 SkStreamRewindable* fStream; member in __anonac83aa9e0111::DecodingImageGenerator 118 , fStream(stream) in DecodingImageGenerator() 129 fStream->unref(); in ~DecodingImageGenerator() 140 if (!fStream->rewind()) { in onRefEncodedData() 143 size_t length = fStream->getLength(); in onRefEncodedData() 148 SkCheckResult(fStream->read(buffer, length), length); in onRefEncodedData() 163 SkAssertResult(fStream->rewind()); in onGetPixels() 164 SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(fStream)); in onGetPixels() 176 bool success = decoder->decode(fStream, &bitmap, info.colorType(), in onGetPixels()
|
D | SkJpegUtility.h | 41 SkStream* fStream; member 58 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/chromium_org/third_party/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/chromium_org/third_party/skia/bench/ |
D | SkipZeroesBench.cpp | 28 , fStream() in SkipZeroesBench() 66 fStream.setData(skdata.get()); in onPreDraw() 67 fDecoder.reset(SkImageDecoder::Factory(&fStream)); in onPreDraw() 87 SkDEBUGCODE(bool success =) fDecoder->decode(&fStream, &bm, in onDraw() 95 SkDEBUGCODE(success =) fStream.rewind(); in onDraw() 109 SkMemoryStream fStream; member in SkipZeroesBench
|
D | ImageDecodeBench.cpp | 26 , fStream() in ImageDecodeBench() 50 fStream.setData(skdata.get()); in onPreDraw() 65 SkDEBUGCODE(bool success =) SkImageDecoder::DecodeStream(&fStream, &bm); in onDraw() 72 SkDEBUGCODE(success =) fStream.rewind(); in onDraw() 85 SkMemoryStream fStream; member in ImageDecodeBench
|
/external/skia/bench/ |
D | SkipZeroesBench.cpp | 28 , fStream() in SkipZeroesBench() 66 fStream.setData(skdata.get()); in onPreDraw() 67 fDecoder.reset(SkImageDecoder::Factory(&fStream)); in onPreDraw() 87 SkDEBUGCODE(bool success =) fDecoder->decode(&fStream, &bm, in onDraw() 95 SkDEBUGCODE(success =) fStream.rewind(); in onDraw() 109 SkMemoryStream fStream; member in SkipZeroesBench
|
D | ImageDecodeBench.cpp | 26 , fStream() in ImageDecodeBench() 50 fStream.setData(skdata.get()); in onPreDraw() 65 SkDEBUGCODE(bool success =) SkImageDecoder::DecodeStream(&fStream, &bm); in onDraw() 72 SkDEBUGCODE(success =) fStream.rewind(); in onDraw() 85 SkMemoryStream fStream; member in ImageDecodeBench
|
/external/skia/src/utils/ |
D | SkFrontBufferedStream.cpp | 34 SkAutoTUnref<SkStream> fStream; member in FrontBufferedStream 74 : fStream(SkRef(stream)) in FrontBufferedStream() 89 return fStream->isAtEnd(); in isAtEnd() 126 const size_t buffered = fStream->read(buffer, bytesToBuffer); in bufferAndWriteTo() 145 const size_t bytesReadDirectly = fStream->read(dst, size); in readDirectlyFromStream() 178 if (size > 0 && fBufferedSoFar < fBufferSize && !fStream->isAtEnd()) { in read() 190 if (size > 0 && !fStream->isAtEnd()) { in read()
|
/external/chromium_org/third_party/skia/src/utils/ |
D | SkFrontBufferedStream.cpp | 34 SkAutoTUnref<SkStream> fStream; member in FrontBufferedStream 74 : fStream(SkRef(stream)) in FrontBufferedStream() 89 return fStream->isAtEnd(); in isAtEnd() 126 const size_t buffered = fStream->read(buffer, bytesToBuffer); in bufferAndWriteTo() 145 const size_t bytesReadDirectly = fStream->read(dst, size); in readDirectlyFromStream() 190 if (size > 0 && !fStream->isAtEnd()) { in read()
|
/external/chromium_org/third_party/skia/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 145 : fRefCount(1), fStream(SkRef(stream)) { in SkDWriteFontFileStreamWrapper() 190 const void* data = fStream->getMemoryBase(); in ReadFileFragment() 202 if (!fStream->rewind()) { in ReadFileFragment() 205 if (fStream->skip(static_cast<size_t>(fileOffset)) != fileOffset) { in ReadFileFragment() 209 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) { in ReadFileFragment() 224 *fileSize = fStream->getLength(); in GetFileSize()
|
/external/skia/src/utils/win/ |
D | SkDWriteFontFileStream.cpp | 145 : fRefCount(1), fStream(SkRef(stream)) { in SkDWriteFontFileStreamWrapper() 190 const void* data = fStream->getMemoryBase(); in ReadFileFragment() 202 if (!fStream->rewind()) { in ReadFileFragment() 205 if (fStream->skip(static_cast<size_t>(fileOffset)) != fileOffset) { in ReadFileFragment() 209 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) { in ReadFileFragment() 224 *fileSize = fStream->getLength(); in GetFileSize()
|
/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/chromium_org/third_party/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/xml/ |
D | SkXMLParser.h | 94 SkStream* getStream() const { return fStream; } 146 SkStream* fStream;
|
/external/chromium_org/third_party/skia/include/xml/ |
D | SkXMLParser.h | 94 SkStream* getStream() const { return fStream; } 146 SkStream* fStream;
|
/external/chromium_org/third_party/skia/src/ports/ |
D | SkFontHost_linux.cpp | 81 , fStream(SkRef(stream)) in SkTypeface_Stream() 89 return fStream->duplicate(); in onOpenStream() 93 SkAutoTUnref<SkStream> fStream; member in SkTypeface_Stream
|