Lines Matching refs:SkStreamAsset
21 class SkStreamAsset; variable
49 static std::unique_ptr<SkStreamAsset> MakeFromFile(const char path[]);
195 class SK_API SkStreamAsset : public SkStreamSeekable {
200 std::unique_ptr<SkStreamAsset> duplicate() const { in duplicate()
201 return std::unique_ptr<SkStreamAsset>(this->onDuplicate()); in duplicate()
203 std::unique_ptr<SkStreamAsset> fork() const { in fork()
204 return std::unique_ptr<SkStreamAsset>(this->onFork()); in fork()
207 SkStreamAsset* onDuplicate() const override = 0;
208 SkStreamAsset* onFork() const override = 0;
212 class SK_API SkStreamMemory : public SkStreamAsset {
302 class SK_API SkFILEStream : public SkStreamAsset {
333 std::unique_ptr<SkStreamAsset> duplicate() const { in duplicate()
334 return std::unique_ptr<SkStreamAsset>(this->onDuplicate()); in duplicate()
341 std::unique_ptr<SkStreamAsset> fork() const { in fork()
342 return std::unique_ptr<SkStreamAsset>(this->onFork()); in fork()
351 SkStreamAsset* onDuplicate() const override;
352 SkStreamAsset* onFork() const override;
360 typedef SkStreamAsset INHERITED;
491 std::unique_ptr<SkStreamAsset> detachAsStream();