/external/skia/src/xml/ |
D | SkXMLWriter.cpp | 212 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 …]
|
D | SkXMLPullParser.cpp | 12 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/ |
D | SkImageRef.cpp | 21 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 …]
|
D | SkJpegUtility.cpp | 25 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 …]
|
D | SkImageRefPool.cpp | 179 ref->ramUsed(), (int)ref->fStream->getLength(), in dump()
|
/external/skia/src/pdf/ |
D | SkPDFFormXObject.cpp | 34 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()
|
D | SkPDFImage.cpp | 289 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/ |
D | BitmapAllocatorAndroid.cpp | 48 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()
|
D | BitmapAllocatorAndroid.h | 50 SharedBufferStream* fStream;
|
/external/skia/include/images/ |
D | SkBitmapRegionDecoder.h | 14 fStream = stream; in SkBitmapRegionDecoder() 20 fStream->unref(); in ~SkBitmapRegionDecoder() 33 SkStream *fStream; variable
|
D | SkJpegUtility.h | 47 SkStream* fStream; member 65 SkWStream* fStream; member
|
D | SkImageRef.h | 99 SkStream* fStream; variable
|
/external/skia/src/ports/ |
D | SkXMLPullParser_expat.cpp | 163 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()
|
D | SkFontHost_android.cpp | 294 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
|
D | SkFontHost_simple.cpp | 288 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
|
D | SkFontHost_linux.cpp | 303 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/ |
D | SkXMLParser.h | 102 SkStream* getStream() const { return fStream; } 154 SkStream* fStream;
|
D | SkXMLWriter.h | 76 SkWStream& fStream;
|
/external/skia/include/pdf/ |
D | SkPDFFormXObject.h | 69 SkRefPtr<SkPDFStream> fStream;
|
D | SkPDFImage.h | 65 SkRefPtr<SkPDFStream> fStream;
|
/external/skia/src/svg/ |
D | SkSVGParser.cpp | 49 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/ |
D | SkScriptTokenizer.cpp | 114 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()
|
D | SkScript2.h | 244 SkDynamicMemoryWStream fStream; variable
|