Searched refs:SkStreamAsset (Results 1 – 16 of 16) sorted by relevance
19 class SkStreamAsset; variable46 static SkStreamAsset* NewFromFile(const char path[]);159 class SK_API SkStreamAsset : public SkStreamSeekable {161 virtual SkStreamAsset* duplicate() const SK_OVERRIDE = 0;162 virtual SkStreamAsset* fork() const SK_OVERRIDE = 0;169 class SK_API SkStreamMemory : public SkStreamAsset {237 class SK_API SkFILEStream : public SkStreamAsset {271 virtual SkStreamAsset* duplicate() const SK_OVERRIDE;276 virtual SkStreamAsset* fork() const SK_OVERRIDE;289 typedef SkStreamAsset INHERITED;[all …]
61 SkAutoTUnref<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams()71 SkAutoTUnref<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams()94 SkAutoTUnref<SkStreamAsset> stream(ds.detachAsStream()); in TestWStream()99 SkAutoTUnref<SkStreamAsset> stream2(stream->duplicate()); in TestWStream()102 SkAutoTUnref<SkStreamAsset> stream3(stream->fork()); in TestWStream()124 SkAutoTUnref<SkStreamAsset> stream(ds.detachAsStream()); in TestWStream()128 SkAutoTUnref<SkStreamAsset> stream2(stream->duplicate()); in TestWStream()
16 class SkStreamAsset; variable146 virtual SkStreamAsset* getData(int dataId) const = 0;
251 SkStreamAsset* SkFILEStream::duplicate() const { in duplicate()286 SkStreamAsset* SkFILEStream::fork() const { in fork()287 SkAutoTUnref<SkStreamAsset> that(this->duplicate()); in fork()686 class SkBlockMemoryStream : public SkStreamAsset {789 SkStreamAsset* SkDynamicMemoryWStream::detachAsStream() { in detachAsStream()839 SkStreamAsset* SkStream::NewFromFile(const char path[]) { in NewFromFile()
192 SkAutoTUnref<SkStreamAsset> stream(SkStream::NewFromFile(src.c_str())); in resolve()
223 SkAutoTUnref<SkStreamAsset> stream(fProxy->getData(id.fDataId)); in createTypefaceFromFontId()
460 static ErrorCombination write_document(const SkString& path, SkStreamAsset* asset) { in write_document()1038 SkAutoTUnref<SkStreamAsset> pictReadback(storage.detachAsStream()); in stream_to_new_picture()1079 SkAutoTUnref<SkStreamAsset> documentStream(document.detachAsStream()); in test_drawing()1119 SkAutoTUnref<SkStreamAsset> documentStream(document.detachAsStream()); in test_drawing()
475 virtual SkStreamAsset* getData(int dataId) const SK_OVERRIDE { in getData()