Searched refs:InputStreamBuffer (Results 1 - 6 of 6) sorted by relevance
/system/nvram/messages/include/nvram/messages/ |
H A D | io.h | 31 // |InputStreamBuffer| maintains a window of the data to be read. Access to the 37 class NVRAM_EXPORT InputStreamBuffer { class in namespace:nvram 39 InputStreamBuffer() = default; 40 InputStreamBuffer(const void* data, size_t size); 41 InputStreamBuffer(const void* start, const void* end); 42 virtual ~InputStreamBuffer() = default; 67 // Pointers to the buffer to read from. |InputStreamBuffer| only advances 78 // An |InputStreamBuffer| implementation that pulls its data from a delegate, 80 class NVRAM_EXPORT NestedInputStreamBuffer : public InputStreamBuffer { 85 NestedInputStreamBuffer(InputStreamBuffer* delegat [all...] |
H A D | proto.hpp | 66 // nvram::InputStreamBuffer stream(buffer_start, buffer_size); 470 bool Decode(Struct* object, InputStreamBuffer* stream) {
|
/system/nvram/messages/ |
H A D | io.cpp | 52 bool DecodeVarint(InputStreamBuffer* stream_buffer, uint64_t* value) { 74 InputStreamBuffer::InputStreamBuffer(const void* data, size_t size) function in class:nvram::InputStreamBuffer 75 : InputStreamBuffer(data, static_cast<const uint8_t*>(data) + size) {} 77 InputStreamBuffer::InputStreamBuffer(const void* start, const void* end) function in class:nvram::InputStreamBuffer 83 bool InputStreamBuffer::Done() { 87 bool InputStreamBuffer::Read(void* data, size_t size) { 105 bool InputStreamBuffer::ReadByte(uint8_t* byte) { 117 bool InputStreamBuffer [all...] |
H A D | nvram_messages.cpp | 194 InputStreamBuffer stream(data, size);
|
/system/nvram/messages/tests/ |
H A D | io_test.cpp | 28 // A simple |InputStreamBuffer| implementation that sets up a sequence of 32 class TestInputStreamBuffer : public InputStreamBuffer { 68 void CheckRead(InputStreamBuffer* buffer, size_t size, size_t pos) { 96 InputStreamBuffer buf(nullptr, nullptr);
|
/system/nvram/core/ |
H A D | persistence.cpp | 68 InputStreamBuffer stream(blob.data(), blob.size());
|
Completed in 67 milliseconds