Searched refs:InputStreamBuffer (Results 1 – 6 of 6) sorted by relevance
/system/nvram/messages/include/nvram/messages/ |
D | io.h | 37 class NVRAM_EXPORT InputStreamBuffer { 39 InputStreamBuffer() = default; 40 InputStreamBuffer(const void* data, size_t size); 41 InputStreamBuffer(const void* start, const void* end); 42 virtual ~InputStreamBuffer() = default; 80 class NVRAM_EXPORT NestedInputStreamBuffer : public InputStreamBuffer { 85 NestedInputStreamBuffer(InputStreamBuffer* delegate, size_t size); 97 static const uint8_t* ClampEnd(InputStreamBuffer* delegate, size_t size); 99 InputStreamBuffer* delegate_; 236 explicit ProtoReader(InputStreamBuffer* stream_buffer); [all …]
|
D | proto.hpp | 470 bool Decode(Struct* object, InputStreamBuffer* stream) { in Decode()
|
/system/nvram/messages/ |
D | io.cpp | 52 bool DecodeVarint(InputStreamBuffer* stream_buffer, uint64_t* value) { in DecodeVarint() 74 InputStreamBuffer::InputStreamBuffer(const void* data, size_t size) in InputStreamBuffer() function in nvram::InputStreamBuffer 75 : InputStreamBuffer(data, static_cast<const uint8_t*>(data) + size) {} in InputStreamBuffer() 77 InputStreamBuffer::InputStreamBuffer(const void* start, const void* end) in InputStreamBuffer() function in nvram::InputStreamBuffer 83 bool InputStreamBuffer::Done() { in Done() 87 bool InputStreamBuffer::Read(void* data, size_t size) { in Read() 105 bool InputStreamBuffer::ReadByte(uint8_t* byte) { in ReadByte() 117 bool InputStreamBuffer::Skip(size_t size) { in Skip() 131 bool InputStreamBuffer::Advance() { in Advance() 135 NestedInputStreamBuffer::NestedInputStreamBuffer(InputStreamBuffer* delegate, in NestedInputStreamBuffer() [all …]
|
D | nvram_messages.cpp | 194 InputStreamBuffer stream(data, size); in Decode()
|
/system/nvram/messages/tests/ |
D | io_test.cpp | 32 class TestInputStreamBuffer : public InputStreamBuffer { 68 void CheckRead(InputStreamBuffer* buffer, size_t size, size_t pos) { in CheckRead() 96 InputStreamBuffer buf(nullptr, nullptr); in TEST()
|
/system/nvram/core/ |
D | persistence.cpp | 68 InputStreamBuffer stream(blob.data(), blob.size()); in DecodeObject()
|