Home
last modified time | relevance | path

Searched refs:fStream (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/xml/
DSkXMLWriter.cpp204 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 …]
DSkXMLPullParser.cpp19 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/
DSkImageRef.cpp28 fStream = stream; in SkImageRef()
46 this, fConfig, (int)fStream->getLength()); in ~SkImageRef()
49 fStream->unref(); in ~SkImageRef()
114 fStream->rewind(); in prepareBitmap()
118 codec = fFactory->newDecoder(fStream); in prepareBitmap()
120 codec = SkImageDecoder::Factory(fStream); in prepareBitmap()
128 if (this->onDecode(codec, fStream, &fBitmap, fConfig, mode)) { in prepareBitmap()
185 fStream = SkNEW_ARGS(SkMemoryStream, (length)); in SkImageRef()
186 buffer.read((void*)fStream->getMemoryBase(), length); in SkImageRef()
198 size_t length = fStream->getLength(); in flatten()
[all …]
DSkJpegUtility.cpp18 src->fStream->rewind(); in sk_init_source()
25 (void)src->fStream->skip(byte_offset - src->current_offset); in sk_seek_input_data()
27 src->fStream->rewind(); in sk_seek_input_data()
28 (void)src->fStream->skip(byte_offset); in sk_seek_input_data()
42 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); in sk_fill_input_buffer()
61 long bytes = (long)src->fStream->skip(bytesToSkip); in sk_skip_input_data()
83 if (!src->fStream->rewind()) { in sk_resync_to_restart()
127 bool ownStream) : fStream(stream) { in skjpeg_source_mgr()
150 fStream->unref(); in ~skjpeg_source_mgr()
167 if (!dest->fStream->write(dest->fBuffer, in sk_empty_output_buffer()
[all …]
DSkImageRefPool.cpp186 ref->ramUsed(), (int)ref->fStream->getLength(), in dump()
/external/webkit/Source/WebCore/platform/graphics/android/
DBitmapAllocatorAndroid.cpp48 fStream = new SharedBufferStream(data); in BitmapAllocatorAndroid()
54 fStream->unref(); in ~BitmapAllocatorAndroid()
62 ref = new SkImageRef_ashmem(fStream, bitmap->config(), fSampleSize); in allocPixelRef()
65 ref = new SkImageRef_GlobalPool(fStream, bitmap->config(), fSampleSize); in allocPixelRef()
DBitmapAllocatorAndroid.h50 SharedBufferStream* fStream;
/external/skia/src/ports/
DSkFontHost_freetype_mac.cpp18 fStream = stream; in FTMacTypeface()
22 fStream->unref(); in ~FTMacTypeface()
25 SkStream* fStream; member in FTMacTypeface
71 tf->fStream->ref(); in OpenStream()
72 return tf->fStream; in OpenStream()
DSkXMLPullParser_expat.cpp155 size_t len = fStream->read(NULL, 0); in onInit()
158 fStream->rewind(); in onInit()
159 size_t len2 = fStream->read(fImpl->fBuffer, len); in onInit()
DSkFontHost_simple.cpp279 fStream = stream; in StreamTypeface()
282 fStream->unref(); in ~StreamTypeface()
289 fStream->ref(); in openStream()
290 return fStream; in openStream()
296 SkStream* fStream; member in StreamTypeface
DSkFontHost_linux.cpp293 fStream = stream; in StreamTypeface()
296 fStream->unref(); in ~StreamTypeface()
303 fStream->ref(); in openStream()
304 return fStream; in openStream()
309 SkStream* fStream; member in StreamTypeface
DSkFontHost_android.cpp327 fStream = stream; in StreamTypeface()
331 fStream->unref(); in ~StreamTypeface()
338 fStream->ref(); in openStream()
340 fStream->rewind(); in openStream()
341 return fStream; in openStream()
347 SkStream* fStream; member in StreamTypeface
/external/skia/include/images/
DSkBitmapRegionDecoder.h22 fStream = stream; in SkBitmapRegionDecoder()
28 fStream->unref(); in ~SkBitmapRegionDecoder()
41 SkStream *fStream; variable
DSkJpegUtility.h40 SkStream* fStream; member
58 SkWStream* fStream; member
DSkImageRef.h92 SkStream* fStream; variable
/external/skia/include/xml/
DSkXMLParser.h94 SkStream* getStream() const { return fStream; }
146 SkStream* fStream;
DSkXMLWriter.h69 SkWStream& fStream;
/external/skia/src/svg/
DSkSVGParser.cpp41 fXMLWriter(&fStream), fCurrElement(NULL), fInSVG(false), fSuppressPaint(false) { in SkSVGParser()
107 fStream.write("", 1);
108 return fStream.getStream();
/external/skia/src/animator/
DSkScript2.h251 SkDynamicMemoryWStream fStream; variable
DSkScriptTokenizer.cpp122 SkScriptEngine2::SkScriptEngine2(SkOperand2::OpType returnType) : fActiveStream(&fStream), in SkScriptEngine2()
746 if (fStream.getOffset() > 0) { in innerScript()
748 SkAutoDataUnref data(fStream.copyToData()); in innerScript()
1156 SkAutoDataUnref data(fStream.copyToData()); in processOp()
1172 fActiveStream = &fStream; in processOp()