Lines Matching refs:SkMemoryStream
363 class SK_API SkMemoryStream : public SkStreamMemory {
365 SkMemoryStream();
368 SkMemoryStream(size_t length);
371 SkMemoryStream(const void* data, size_t length, bool copyData = false);
374 SkMemoryStream(sk_sp<SkData> data);
377 static std::unique_ptr<SkMemoryStream> MakeCopy(const void* data, size_t length);
380 static std::unique_ptr<SkMemoryStream> MakeDirect(const void* data, size_t length);
383 static std::unique_ptr<SkMemoryStream> Make(sk_sp<SkData> data);
410 std::unique_ptr<SkMemoryStream> duplicate() const { in duplicate()
411 return std::unique_ptr<SkMemoryStream>(this->onDuplicate()); in duplicate()
418 std::unique_ptr<SkMemoryStream> fork() const { in fork()
419 return std::unique_ptr<SkMemoryStream>(this->onFork()); in fork()
427 SkMemoryStream* onDuplicate() const override;
428 SkMemoryStream* onFork() const override;