OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ProtoWriter
(Results
1 - 10
of
10
) sorted by null
/external/protobuf/src/google/protobuf/util/internal/
proto_writer.h
75
class LIBPROTOBUF_EXPORT
ProtoWriter
: public StructuredObjectWriter {
78
ProtoWriter
(TypeResolver* type_resolver, const google::protobuf::Type& type,
80
virtual ~
ProtoWriter
();
83
virtual
ProtoWriter
* StartObject(StringPiece name);
84
virtual
ProtoWriter
* EndObject();
85
virtual
ProtoWriter
* StartList(StringPiece name);
86
virtual
ProtoWriter
* EndList();
87
virtual
ProtoWriter
* RenderBool(StringPiece name, bool value) {
90
virtual
ProtoWriter
* RenderInt32(StringPiece name, int32 value) {
93
virtual
ProtoWriter
* RenderUint32(StringPiece name, uint32 value)
[
all
...]
proto_writer.cc
60
ProtoWriter
::
ProtoWriter
(TypeResolver* type_resolver,
77
ProtoWriter
::
ProtoWriter
(const TypeInfo* typeinfo,
94
ProtoWriter
::~
ProtoWriter
() {
289
ProtoWriter
::ProtoElement::ProtoElement(const TypeInfo* typeinfo,
291
ProtoWriter
* enclosing)
301
ProtoWriter
::ProtoElement::ProtoElement(
ProtoWriter
::ProtoElement* parent
[
all
...]
protostream_objectwriter.cc
63
:
ProtoWriter
(type_resolver, type, output, listener),
71
:
ProtoWriter
(typeinfo, type, output, listener),
299
ow_->
ProtoWriter
::StartObject("");
302
ow_->
ProtoWriter
::EndObject();
419
ProtoWriter
::StartObject(name);
483
ProtoWriter
::RenderDataPiece("key",
545
// A regular message type. Pass it directly to
ProtoWriter
.
598
ProtoWriter
::StartObject(name);
612
ProtoWriter
::StartObject(name);
618
// Send the event to
ProtoWriter
so proper errors can be reported
[
all
...]
protostream_objectwriter.h
72
// the
ProtoWriter
class to write raw proto bytes.
75
class LIBPROTOBUF_EXPORT ProtoStreamObjectWriter : public
ProtoWriter
{
/system/nvram/messages/include/nvram/messages/
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);
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
* writer)
[
all
...]
io.h
282
// |
ProtoWriter
| contains logic to write raw data according to the protobuf wire
284
class NVRAM_EXPORT
ProtoWriter
{
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/
message_codec.cpp
30
ProtoWriter
* writer,
39
ProtoWriter
writer(&counting_stream);
43
bool MessageEncoderBase::Encode(
ProtoWriter
* writer) {
70
bool MessageEncoderBase::EncodeData(
ProtoWriter
* writer) {
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/
persistence.cpp
48
ProtoWriter
writer(&stream);
Completed in 73 milliseconds