OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:outputstreambuffer
(Results
1 - 4
of
4
) sorted by null
/system/nvram/messages/include/nvram/messages/
io.h
111
class NVRAM_EXPORT
OutputStreamBuffer
{
113
OutputStreamBuffer
() = default;
114
OutputStreamBuffer
(void* data, size_t size);
115
OutputStreamBuffer
(void* data, void* end);
116
virtual ~
OutputStreamBuffer
() = default;
139
// |
OutputStreamBuffer
| to place data in. |pos_| grows towards |end_| as
140
// writes occur. Once |pos_| hits |end_|, |
OutputStreamBuffer
| will call
147
// An |
OutputStreamBuffer
| backed by a single data buffer.
148
class NVRAM_EXPORT ArrayOutputStreamBuffer : public
OutputStreamBuffer
{
152
:
OutputStreamBuffer
(data, size), data_(pos_) {
[
all
...]
proto.hpp
458
bool Encode(const Struct& object,
OutputStreamBuffer
* stream) {
/system/nvram/messages/
io.cpp
39
bool EncodeVarint(
OutputStreamBuffer
* stream, uint64_t value) {
162
OutputStreamBuffer
::
OutputStreamBuffer
(void* data, size_t size)
163
:
OutputStreamBuffer
(data, static_cast<uint8_t*>(data) + size) {}
165
OutputStreamBuffer
::
OutputStreamBuffer
(void* start, void* end)
170
bool
OutputStreamBuffer
::Done() {
174
bool
OutputStreamBuffer
::Write(const void* data, size_t size) {
192
bool
OutputStreamBuffer
::WriteByte(uint8_t byte) {
204
bool
OutputStreamBuffer
::Advance()
[
all
...]
/system/nvram/messages/tests/
io_test.cpp
176
// An |
OutputStreamBuffer
| implementation backed by a sequence of buffer windows
180
class TestOutputStreamBuffer : public
OutputStreamBuffer
{
238
void WriteBuf(
OutputStreamBuffer
* buffer, size_t size, size_t pos) {
267
OutputStreamBuffer
buf(nullptr, nullptr);
Completed in 478 milliseconds