/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/skia/src/images/ |
D | SkImageRef.cpp | 28 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 …]
|
D | SkJpegUtility.cpp | 18 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 …]
|
D | SkImageRefPool.cpp | 186 ref->ramUsed(), (int)ref->fStream->getLength(), in dump()
|
/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/src/ports/ |
D | SkFontHost_freetype_mac.cpp | 18 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()
|
D | SkXMLPullParser_expat.cpp | 155 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()
|
D | SkFontHost_simple.cpp | 279 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
|
D | SkFontHost_linux.cpp | 293 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
|
D | SkFontHost_android.cpp | 327 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/ |
D | SkBitmapRegionDecoder.h | 22 fStream = stream; in SkBitmapRegionDecoder() 28 fStream->unref(); in ~SkBitmapRegionDecoder() 41 SkStream *fStream; variable
|
D | SkJpegUtility.h | 40 SkStream* fStream; member 58 SkWStream* fStream; member
|
D | SkImageRef.h | 92 SkStream* fStream; variable
|
/external/skia/include/xml/ |
D | SkXMLParser.h | 94 SkStream* getStream() const { return fStream; } 146 SkStream* fStream;
|
D | SkXMLWriter.h | 69 SkWStream& fStream;
|
/external/skia/src/svg/ |
D | SkSVGParser.cpp | 41 fXMLWriter(&fStream), fCurrElement(NULL), fInSVG(false), fSuppressPaint(false) { in SkSVGParser() 107 fStream.write("", 1); 108 return fStream.getStream();
|
/external/skia/src/animator/ |
D | SkScript2.h | 251 SkDynamicMemoryWStream fStream; variable
|
D | SkScriptTokenizer.cpp | 122 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()
|