Lines Matching refs:pb_ostream_t
38 bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
67 bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
72 bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
78 bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_stru…
95 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
115 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
124 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field);
128 bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
133 bool pb_encode_varint(pb_ostream_t *stream, uint64_t value);
135 bool pb_encode_varint(pb_ostream_t *stream, uint32_t value);
141 bool pb_encode_svarint(pb_ostream_t *stream, int64_t value);
143 bool pb_encode_svarint(pb_ostream_t *stream, int32_t value);
147 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
151 bool pb_encode_fixed32(pb_ostream_t *stream, const void *value);
156 bool pb_encode_fixed64(pb_ostream_t *stream, const void *value);
164 bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);