Lines Matching refs:pb_ostream_t
23 typedef bool (*pb_encoder_t)(pb_ostream_t *stream, const pb_field_t *field, const void *src) checkr…
25 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
26 static bool checkreturn encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pDa…
27 static bool checkreturn encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pDa…
28 static bool checkreturn default_extension_encoder(pb_ostream_t *stream, const pb_extension_t *exten…
29 static bool checkreturn encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const…
31 static bool checkreturn pb_enc_varint(pb_ostream_t *stream, const pb_field_t *field, const void *sr…
32 static bool checkreturn pb_enc_uvarint(pb_ostream_t *stream, const pb_field_t *field, const void *s…
33 static bool checkreturn pb_enc_svarint(pb_ostream_t *stream, const pb_field_t *field, const void *s…
34 static bool checkreturn pb_enc_fixed32(pb_ostream_t *stream, const pb_field_t *field, const void *s…
35 static bool checkreturn pb_enc_fixed64(pb_ostream_t *stream, const pb_field_t *field, const void *s…
36 static bool checkreturn pb_enc_bytes(pb_ostream_t *stream, const pb_field_t *field, const void *src…
37 static bool checkreturn pb_enc_string(pb_ostream_t *stream, const pb_field_t *field, const void *sr…
38 static bool checkreturn pb_enc_submessage(pb_ostream_t *stream, const pb_field_t *field, const void…
39 static bool checkreturn pb_enc_fixed_length_bytes(pb_ostream_t *stream, const pb_field_t *field, co…
45 static bool checkreturn pb_encode_negative_varint(pb_ostream_t *stream, pb_uint64_t value);
72 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in buf_write()
84 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize) in pb_ostream_from_buffer()
86 pb_ostream_t stream; in pb_ostream_from_buffer()
101 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write()
126 static bool checkreturn encode_array(pb_ostream_t *stream, const pb_field_t *field, in encode_array()
156 pb_ostream_t sizestream = PB_OSTREAM_SIZING; in encode_array()
307 static bool checkreturn encode_basic_field(pb_ostream_t *stream, in encode_basic_field()
396 static bool checkreturn encode_callback_field(pb_ostream_t *stream, in encode_callback_field()
416 static bool checkreturn encode_field(pb_ostream_t *stream, in encode_field()
435 static bool checkreturn default_extension_encoder(pb_ostream_t *stream, in default_extension_encoder()
455 static bool checkreturn encode_extension_field(pb_ostream_t *stream, in encode_extension_field()
494 bool checkreturn pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode()
518 bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode_delimited()
523 bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_stru… in pb_encode_nullterminated()
535 pb_ostream_t stream = PB_OSTREAM_SIZING; in pb_get_encoded_size()
549 bool checkreturn pb_encode_negative_varint(pb_ostream_t *stream, pb_uint64_t value) in pb_encode_negative_varint()
574 bool checkreturn pb_encode_varint(pb_ostream_t *stream, pb_uint64_t value) in pb_encode_varint()
596 bool checkreturn pb_encode_svarint(pb_ostream_t *stream, pb_int64_t value) in pb_encode_svarint()
607 bool checkreturn pb_encode_fixed32(pb_ostream_t *stream, const void *value) in pb_encode_fixed32()
619 bool checkreturn pb_encode_fixed64(pb_ostream_t *stream, const void *value) in pb_encode_fixed64()
635 bool checkreturn pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number) in pb_encode_tag()
641 bool checkreturn pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field) in pb_encode_tag_for_field()
674 bool checkreturn pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size) in pb_encode_string()
682 bool checkreturn pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *… in pb_encode_submessage()
685 pb_ostream_t substream = PB_OSTREAM_SIZING; in pb_encode_submessage()
734 static bool checkreturn pb_enc_varint(pb_ostream_t *stream, const pb_field_t *field, const void *sr… in pb_enc_varint()
757 static bool checkreturn pb_enc_uvarint(pb_ostream_t *stream, const pb_field_t *field, const void *s… in pb_enc_uvarint()
775 static bool checkreturn pb_enc_svarint(pb_ostream_t *stream, const pb_field_t *field, const void *s… in pb_enc_svarint()
793 static bool checkreturn pb_enc_fixed64(pb_ostream_t *stream, const pb_field_t *field, const void *s… in pb_enc_fixed64()
804 static bool checkreturn pb_enc_fixed32(pb_ostream_t *stream, const pb_field_t *field, const void *s… in pb_enc_fixed32()
810 static bool checkreturn pb_enc_bytes(pb_ostream_t *stream, const pb_field_t *field, const void *src) in pb_enc_bytes()
831 static bool checkreturn pb_enc_string(pb_ostream_t *stream, const pb_field_t *field, const void *sr… in pb_enc_string()
857 static bool checkreturn pb_enc_submessage(pb_ostream_t *stream, const pb_field_t *field, const void… in pb_enc_submessage()
865 static bool checkreturn pb_enc_fixed_length_bytes(pb_ostream_t *stream, const pb_field_t *field, co… in pb_enc_fixed_length_bytes()