Home
last modified time | relevance | path

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

/external/skia/src/xml/
DSkXMLWriter.cpp212 SkXMLStreamWriter::SkXMLStreamWriter(SkWStream* stream) : fStream(*stream) in SkXMLStreamWriter()
224 fStream.writeText(" "); in onAddAttributeLen()
225 fStream.writeText(name); in onAddAttributeLen()
226 fStream.writeText("=\""); in onAddAttributeLen()
227 fStream.write(value, length); in onAddAttributeLen()
228 fStream.writeText("\""); in onAddAttributeLen()
236 tab(fStream, fElems.count()); in onEndElement()
237 fStream.writeText("</"); in onEndElement()
238 fStream.writeText(elem->fName.c_str()); in onEndElement()
239 fStream.writeText(">"); in onEndElement()
[all …]
DSkXMLPullParser.cpp12 SkXMLPullParser::SkXMLPullParser() : fStream(NULL) in SkXMLPullParser()
18 SkXMLPullParser::SkXMLPullParser(SkStream* stream) : fStream(NULL) in SkXMLPullParser()
33 if (fStream && !stream) in setStream()
36 SkRefCnt_SafeAssign(fStream, stream); in setStream()
38 if (fStream) in setStream()
49 return fStream; in setStream()
/external/skia/src/images/
DSkImageRef.cpp21 fStream = stream; in SkImageRef()
39 this, fConfig, (int)fStream->getLength()); in ~SkImageRef()
42 fStream->unref(); in ~SkImageRef()
107 fStream->rewind(); in prepareBitmap()
111 codec = fFactory->newDecoder(fStream); in prepareBitmap()
113 codec = SkImageDecoder::Factory(fStream); in prepareBitmap()
121 if (this->onDecode(codec, fStream, &fBitmap, fConfig, mode)) { in prepareBitmap()
178 fStream = SkNEW_ARGS(SkMemoryStream, (length)); in SkImageRef()
179 buffer.read((void*)fStream->getMemoryBase(), length); in SkImageRef()
191 size_t length = fStream->getLength(); in flatten()
[all …]
DSkJpegUtility.cpp25 src->fStream->rewind(); in sk_init_source()
32 (void)src->fStream->skip(byte_offset - src->current_offset); in sk_seek_input_data()
34 src->fStream->rewind(); in sk_seek_input_data()
35 (void)src->fStream->skip(byte_offset); in sk_seek_input_data()
49 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); in sk_fill_input_buffer()
68 long bytes = (long)src->fStream->skip(bytesToSkip); in sk_skip_input_data()
90 if (!src->fStream->rewind()) { in sk_resync_to_restart()
134 bool ownStream) : fStream(stream) { in skjpeg_source_mgr()
157 fStream->unref(); in ~skjpeg_source_mgr()
174 if (!dest->fStream->write(dest->fBuffer, in sk_empty_output_buffer()
[all …]
DSkImageRefPool.cpp179 ref->ramUsed(), (int)ref->fStream->getLength(), in dump()
/external/skia/src/pdf/
DSkPDFFormXObject.cpp34 fStream = new SkPDFStream(content.get()); in SkPDFFormXObject()
35 fStream->unref(); // SkRefPtr and new both took a reference. in SkPDFFormXObject()
70 fStream->emitObject(stream, catalog, indirect); in emitObject()
77 return fStream->getOutputSize(catalog, indirect); in getOutputSize()
89 return fStream->insert(key, value); in insert()
93 return fStream->insert(key, value); in insert()
DSkPDFImage.cpp289 fStream->emitObject(stream, catalog, indirect); in emitObject()
296 return fStream->getOutputSize(catalog, indirect); in getOutputSize()
313 fStream = new SkPDFStream(imageData); in SkPDFImage()
314 fStream->unref(); // SkRefPtr and new both took a reference. in SkPDFImage()
377 return fStream->insert(key, value); in insert()
381 return fStream->insert(key, value); in insert()
/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/include/images/
DSkBitmapRegionDecoder.h14 fStream = stream; in SkBitmapRegionDecoder()
20 fStream->unref(); in ~SkBitmapRegionDecoder()
33 SkStream *fStream; variable
DSkJpegUtility.h47 SkStream* fStream; member
65 SkWStream* fStream; member
DSkImageRef.h99 SkStream* fStream; variable
/external/skia/src/ports/
DSkXMLPullParser_expat.cpp163 size_t len = fStream->read(NULL, 0); in onInit()
166 fStream->rewind(); in onInit()
167 size_t len2 = fStream->read(fImpl->fBuffer, len); in onInit()
DSkFontHost_android.cpp294 fStream = stream; in StreamTypeface()
297 fStream->unref(); in ~StreamTypeface()
304 fStream->ref(); in openStream()
306 fStream->rewind(); in openStream()
307 return fStream; in openStream()
313 SkStream* fStream; member in StreamTypeface
DSkFontHost_simple.cpp288 fStream = stream; in StreamTypeface()
291 fStream->unref(); in ~StreamTypeface()
298 fStream->ref(); in openStream()
299 return fStream; in openStream()
305 SkStream* fStream; member in StreamTypeface
DSkFontHost_linux.cpp303 fStream = stream; in StreamTypeface()
306 fStream->unref(); in ~StreamTypeface()
313 fStream->ref(); in openStream()
314 return fStream; in openStream()
319 SkStream* fStream; member in StreamTypeface
/external/skia/include/xml/
DSkXMLParser.h102 SkStream* getStream() const { return fStream; }
154 SkStream* fStream;
DSkXMLWriter.h76 SkWStream& fStream;
/external/skia/include/pdf/
DSkPDFFormXObject.h69 SkRefPtr<SkPDFStream> fStream;
DSkPDFImage.h65 SkRefPtr<SkPDFStream> fStream;
/external/skia/src/svg/
DSkSVGParser.cpp49 fXMLWriter(&fStream), fCurrElement(NULL), fInSVG(false), fSuppressPaint(false) { in SkSVGParser()
114 fStream.write("", 1); in getFinal()
115 return fStream.getStream(); in getFinal()
/external/skia/src/animator/
DSkScriptTokenizer.cpp114 SkScriptEngine2::SkScriptEngine2(SkOperand2::OpType returnType) : fActiveStream(&fStream), in SkScriptEngine2()
737 if (fStream.getOffset() > 0) { in innerScript()
740 decompile((const unsigned char*)fStream.getStream(), fStream.getOffset()); in innerScript()
743 runtime.executeTokens((unsigned char*) fStream.getStream()); in innerScript()
1160 fActiveStream = &fStream; in processOp()
DSkScript2.h244 SkDynamicMemoryWStream fStream; variable