Lines Matching refs:MemoryStream
16 MemoryStream::MemoryStream( in MemoryStream() function in brillo::MemoryStream
21 StreamPtr MemoryStream::OpenRef(const void* buffer, in OpenRef()
29 StreamPtr MemoryStream::OpenCopyOf(const void* buffer, in OpenCopyOf()
38 StreamPtr MemoryStream::OpenRef(const std::string& buffer, ErrorPtr* error) { in OpenRef()
44 StreamPtr MemoryStream::OpenCopyOf(std::string buffer, ErrorPtr* error) { in OpenCopyOf()
50 StreamPtr MemoryStream::OpenRef(const char* buffer, ErrorPtr* error) { in OpenRef()
54 StreamPtr MemoryStream::OpenCopyOf(const char* buffer, ErrorPtr* error) { in OpenCopyOf()
58 StreamPtr MemoryStream::Create(size_t reserve_size, ErrorPtr* error) { in Create()
64 StreamPtr MemoryStream::CreateRef(std::string* buffer, ErrorPtr* error) { in CreateRef()
70 StreamPtr MemoryStream::CreateRefForAppend(std::string* buffer, in CreateRefForAppend()
77 StreamPtr MemoryStream::CreateEx( in CreateEx()
82 return StreamPtr{new MemoryStream(std::move(container), stream_position)}; in CreateEx()
85 bool MemoryStream::IsOpen() const { return container_ != nullptr; } in IsOpen()
86 bool MemoryStream::CanRead() const { return IsOpen(); } in CanRead()
88 bool MemoryStream::CanWrite() const { in CanWrite()
92 bool MemoryStream::CanSeek() const { return IsOpen(); } in CanSeek()
93 bool MemoryStream::CanGetSize() const { return IsOpen(); } in CanGetSize()
95 uint64_t MemoryStream::GetSize() const { in GetSize()
99 bool MemoryStream::SetSizeBlocking(uint64_t size, ErrorPtr* error) { in SetSizeBlocking()
105 uint64_t MemoryStream::GetRemainingSize() const { in GetRemainingSize()
111 uint64_t MemoryStream::GetPosition() const { in GetPosition()
115 bool MemoryStream::Seek(int64_t offset, in Seek()
140 bool MemoryStream::ReadNonBlocking(void* buffer, in ReadNonBlocking()
157 bool MemoryStream::WriteNonBlocking(const void* buffer, in WriteNonBlocking()
171 bool MemoryStream::FlushBlocking(ErrorPtr* error) { in FlushBlocking()
175 bool MemoryStream::CloseBlocking(ErrorPtr* error) { in CloseBlocking()
181 bool MemoryStream::CheckContainer(ErrorPtr* error) const { in CheckContainer()
185 bool MemoryStream::WaitForData(AccessMode mode, in WaitForData()
192 bool MemoryStream::WaitForDataBlocking(AccessMode in_mode, in WaitForDataBlocking()