Lines Matching refs:SkMemoryStream
256 SkMemoryStream::SkMemoryStream() { in SkMemoryStream() function in SkMemoryStream
261 SkMemoryStream::SkMemoryStream(size_t size) { in SkMemoryStream() function in SkMemoryStream
266 SkMemoryStream::SkMemoryStream(const void* src, size_t size, bool copyData) { in SkMemoryStream() function in SkMemoryStream
271 SkMemoryStream::SkMemoryStream(sk_sp<SkData> data) : fData(std::move(data)) { in SkMemoryStream() function in SkMemoryStream
278 void SkMemoryStream::setMemoryOwned(const void* src, size_t size) { in setMemoryOwned()
283 void SkMemoryStream::setMemory(const void* src, size_t size, bool copyData) { in setMemory()
288 void SkMemoryStream::setData(sk_sp<SkData> data) { in setData()
297 void SkMemoryStream::skipToAlign4() { in skipToAlign4()
302 size_t SkMemoryStream::read(void* buffer, size_t size) { in read()
315 size_t SkMemoryStream::peek(void* buffer, size_t size) const { in peek()
319 SkMemoryStream* nonConstThis = const_cast<SkMemoryStream*>(this); in peek()
325 bool SkMemoryStream::isAtEnd() const { in isAtEnd()
329 bool SkMemoryStream::rewind() { in rewind()
334 SkMemoryStream* SkMemoryStream::duplicate() const { return new SkMemoryStream(fData); } in duplicate()
336 size_t SkMemoryStream::getPosition() const { in getPosition()
340 bool SkMemoryStream::seek(size_t position) { in seek()
347 bool SkMemoryStream::move(long offset) { in move()
351 SkMemoryStream* SkMemoryStream::fork() const { in fork()
352 std::unique_ptr<SkMemoryStream> that(this->duplicate()); in fork()
357 size_t SkMemoryStream::getLength() const { in getLength()
361 const void* SkMemoryStream::getMemoryBase() { in getMemoryBase()
365 const void* SkMemoryStream::getAtPos() { in getAtPos()
806 return skstd::make_unique<SkMemoryStream>(std::move(data)); in MakeFromFile()