Searched refs:ProtoWriter (Results 1 - 6 of 6) sorted by relevance
/system/nvram/messages/include/nvram/messages/ |
H A D | message_codec.h | 38 using EncodeFunction = bool(const void* object, ProtoWriter* writer); 73 ProtoWriter* writer, 82 bool Encode(ProtoWriter* writer); 85 bool EncodeData(ProtoWriter* writer);
|
H A D | proto.hpp | 107 // * |static bool Encode(const Type& object, ProtoWriter* writer)| writes the 134 NVRAM_NOINLINE bool EncodeField(const Type& value, ProtoWriter* writer) { 153 static bool Encode(const Blob& blob, ProtoWriter* writer) { 189 static bool Encode(const Type& value, ProtoWriter* writer) { 209 static bool Encode(const Vector<ElementType>& vector, ProtoWriter* writer) { 230 static bool Encode(const Optional<ValueType>& value, ProtoWriter* writer) { 317 static bool Encode(const TaggedUnionType& object, ProtoWriter* writer) { 336 static bool EncodeMember(const void* object, ProtoWriter* writer) { 395 static bool Encode(const StructType& object, ProtoWriter* writer) { 436 static bool Encode(const StructType& object, ProtoWriter* write [all...] |
H A D | io.h | 282 // |ProtoWriter| contains logic to write raw data according to the protobuf wire 284 class NVRAM_EXPORT ProtoWriter { class in namespace:nvram 286 // Construct a |ProtoWriter| which will send its output to |stream_buffer|. 287 // |stream_buffer| must remain valid for the life time of the |ProtoWriter|. 288 explicit ProtoWriter(OutputStreamBuffer* stream_buffer);
|
/system/nvram/messages/ |
H A D | message_codec.cpp | 30 ProtoWriter* writer, 39 ProtoWriter writer(&counting_stream); 43 bool MessageEncoderBase::Encode(ProtoWriter* writer) { 70 bool MessageEncoderBase::EncodeData(ProtoWriter* writer) {
|
H A D | io.cpp | 302 ProtoWriter::ProtoWriter(OutputStreamBuffer* stream_buffer) 305 bool ProtoWriter::WriteVarint(uint64_t value) { 310 bool ProtoWriter::WriteLengthDelimited(const void* data, size_t size) { 316 bool ProtoWriter::WriteLengthHeader(size_t size) { 321 bool ProtoWriter::WriteWireTag(WireType wire_type) {
|
/system/nvram/core/ |
H A D | persistence.cpp | 48 ProtoWriter writer(&stream);
|
Completed in 157 milliseconds