Lines Matching refs:StatusWithSize
21 StatusWithSize AlignedWriter::Write(std::span<const std::byte> data) { in Write()
30 return StatusWithSize(bytes_written_); in Write()
33 StatusWithSize AlignedWriter::Flush() { in Flush()
49 const StatusWithSize result(status, bytes_written_); in Flush()
54 StatusWithSize AlignedWriter::Write(Input& input, size_t size) { in Write()
57 StatusWithSize result = input.Read(buffer_ + bytes_in_buffer_, to_read); in Write()
59 return StatusWithSize(result.status(), bytes_written_); in Write()
65 return StatusWithSize(bytes_written_); in Write()
68 StatusWithSize AlignedWriter::AddBytesToBuffer(size_t bytes_added) { in AddBytesToBuffer()
73 StatusWithSize result = output_.Write(buffer_, write_size_); in AddBytesToBuffer()
81 return StatusWithSize(result.status(), bytes_written_); in AddBytesToBuffer()
85 return StatusWithSize(bytes_written_); in AddBytesToBuffer()