Home
last modified time | relevance | path

Searched refs:ProtoWriter (Results 1 – 6 of 6) sorted by relevance

/system/nvram/messages/include/nvram/messages/
Dmessage_codec.h38 using EncodeFunction = bool(const void* object, ProtoWriter* writer);
73 ProtoWriter* writer,
82 bool Encode(ProtoWriter* writer);
85 bool EncodeData(ProtoWriter* writer);
Dproto.hpp134 NVRAM_NOINLINE bool EncodeField(const Type& value, ProtoWriter* writer) { in EncodeField()
153 static bool Encode(const Blob& blob, ProtoWriter* writer) { in Encode()
189 static bool Encode(const Type& value, ProtoWriter* writer) { in Encode()
209 static bool Encode(const Vector<ElementType>& vector, ProtoWriter* writer) { in Encode()
230 static bool Encode(const Optional<ValueType>& value, ProtoWriter* writer) { in Encode()
317 static bool Encode(const TaggedUnionType& object, ProtoWriter* writer) { in Encode()
336 static bool EncodeMember(const void* object, ProtoWriter* writer) { in EncodeMember()
395 static bool Encode(const StructType& object, ProtoWriter* writer) { in Encode()
436 static bool Encode(const StructType& object, ProtoWriter* writer) { in Encode()
459 ProtoWriter writer(stream); in Encode()
Dio.h284 class NVRAM_EXPORT ProtoWriter {
288 explicit ProtoWriter(OutputStreamBuffer* stream_buffer);
/system/nvram/messages/
Dmessage_codec.cpp30 ProtoWriter* writer, in Encode()
39 ProtoWriter writer(&counting_stream); in GetSize()
43 bool MessageEncoderBase::Encode(ProtoWriter* writer) { in Encode()
70 bool MessageEncoderBase::EncodeData(ProtoWriter* writer) { in EncodeData()
Dio.cpp302 ProtoWriter::ProtoWriter(OutputStreamBuffer* stream_buffer) in ProtoWriter() function in nvram::ProtoWriter
305 bool ProtoWriter::WriteVarint(uint64_t value) { in WriteVarint()
310 bool ProtoWriter::WriteLengthDelimited(const void* data, size_t size) { in WriteLengthDelimited()
316 bool ProtoWriter::WriteLengthHeader(size_t size) { in WriteLengthHeader()
321 bool ProtoWriter::WriteWireTag(WireType wire_type) { in WriteWireTag()
/system/nvram/core/
Dpersistence.cpp48 ProtoWriter writer(&stream); in EncodeObject()