Searched refs:AlignedWriter (Results 1 – 3 of 3) sorted by relevance
/external/pigweed/pw_kvs/public/pw_kvs/ |
D | alignment.h | 48 class AlignedWriter { 50 AlignedWriter(std::span<std::byte> buffer, in AlignedWriter() function 62 ~AlignedWriter() { Flush(); } in ~AlignedWriter() 103 class AlignedWriterBuffer : public AlignedWriter { 107 : AlignedWriter(buffer_, std::forward<Args>(aligned_writer_args)...) {} in AlignedWriterBuffer()
|
/external/pigweed/pw_kvs/ |
D | alignment.cc | 21 StatusWithSize AlignedWriter::Write(std::span<const std::byte> data) { in Write() 33 StatusWithSize AlignedWriter::Flush() { in Flush() 54 StatusWithSize AlignedWriter::Write(Input& input, size_t size) { in Write() 68 StatusWithSize AlignedWriter::AddBytesToBuffer(size_t bytes_added) { in AddBytesToBuffer()
|
D | alignment_test.cc | 140 TEST(AlignedWriter, Write_VaryingLengths) { in TEST() argument 167 TEST(AlignedWriter, DestructorFlushes) { in TEST() argument 209 TEST(AlignedWriter, Write_NoFurtherWritesOnFailure) { in TEST() argument 223 TEST(AlignedWriter, Write_ReturnsTotalBytesWritten) { in TEST() argument 249 TEST(AlignedWriter, Flush_Ok_ReturnsTotalBytesWritten) { in TEST() argument 263 TEST(AlignedWriter, Flush_Error_ReturnsTotalBytesWritten) { in TEST() argument 304 TEST(AlignedWriter, WriteFromInput_Successful) { in TEST() argument 317 TEST(AlignedWriter, WriteFromInput_InputError) { in TEST() argument 328 TEST(AlignedWriter, WriteFromInput_OutputError) { in TEST() argument
|