Lines Matching refs:pb_ostream_t

23 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
24 static bool checkreturn encode_array(pb_ostream_t *stream, pb_field_iter_t *field);
26 static bool checkreturn encode_basic_field(pb_ostream_t *stream, const pb_field_iter_t *field);
27 static bool checkreturn encode_callback_field(pb_ostream_t *stream, const pb_field_iter_t *field);
28 static bool checkreturn encode_field(pb_ostream_t *stream, pb_field_iter_t *field);
29 static bool checkreturn encode_extension_field(pb_ostream_t *stream, const pb_field_iter_t *field);
30 static bool checkreturn default_extension_encoder(pb_ostream_t *stream, const pb_extension_t *exten…
31 static bool checkreturn pb_encode_varint_32(pb_ostream_t *stream, uint32_t low, uint32_t high);
32 static bool checkreturn pb_enc_bool(pb_ostream_t *stream, const pb_field_iter_t *field);
33 static bool checkreturn pb_enc_varint(pb_ostream_t *stream, const pb_field_iter_t *field);
34 static bool checkreturn pb_enc_fixed(pb_ostream_t *stream, const pb_field_iter_t *field);
35 static bool checkreturn pb_enc_bytes(pb_ostream_t *stream, const pb_field_iter_t *field);
36 static bool checkreturn pb_enc_string(pb_ostream_t *stream, const pb_field_iter_t *field);
37 static bool checkreturn pb_enc_submessage(pb_ostream_t *stream, const pb_field_iter_t *field);
38 static bool checkreturn pb_enc_fixed_length_bytes(pb_ostream_t *stream, const pb_field_iter_t *fiel…
52 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in buf_write()
64 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize) in pb_ostream_from_buffer()
66 pb_ostream_t stream; in pb_ostream_from_buffer()
81 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write()
125 static bool checkreturn encode_array(pb_ostream_t *stream, pb_field_iter_t *field) in encode_array()
159 pb_ostream_t sizestream = PB_OSTREAM_SIZING; in encode_array()
359 static bool checkreturn encode_basic_field(pb_ostream_t *stream, const pb_field_iter_t *field) in encode_basic_field()
404 static bool checkreturn encode_callback_field(pb_ostream_t *stream, const pb_field_iter_t *field) in encode_callback_field()
415 static bool checkreturn encode_field(pb_ostream_t *stream, pb_field_iter_t *field) in encode_field()
471 static bool checkreturn default_extension_encoder(pb_ostream_t *stream, const pb_extension_t *exten… in default_extension_encoder()
484 static bool checkreturn encode_extension_field(pb_ostream_t *stream, const pb_field_iter_t *field) in encode_extension_field()
509 bool checkreturn pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct) in pb_encode()
533 bool checkreturn pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_str… in pb_encode_ex()
556 pb_ostream_t stream = PB_OSTREAM_SIZING; in pb_get_encoded_size()
570 static bool checkreturn pb_encode_varint_32(pb_ostream_t *stream, uint32_t low, uint32_t high) in pb_encode_varint_32()
604 bool checkreturn pb_encode_varint(pb_ostream_t *stream, pb_uint64_t value) in pb_encode_varint()
622 bool checkreturn pb_encode_svarint(pb_ostream_t *stream, pb_int64_t value) in pb_encode_svarint()
633 bool checkreturn pb_encode_fixed32(pb_ostream_t *stream, const void *value) in pb_encode_fixed32()
645 bool checkreturn pb_encode_fixed64(pb_ostream_t *stream, const void *value) in pb_encode_fixed64()
661 bool checkreturn pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number) in pb_encode_tag()
667 bool pb_encode_tag_for_field ( pb_ostream_t* stream, const pb_field_iter_t* field ) in pb_encode_tag_for_field()
702 bool checkreturn pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size) in pb_encode_string()
710 bool checkreturn pb_encode_submessage(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void … in pb_encode_submessage()
713 pb_ostream_t substream = PB_OSTREAM_SIZING; in pb_encode_submessage()
762 static bool checkreturn pb_enc_bool(pb_ostream_t *stream, const pb_field_iter_t *field) in pb_enc_bool()
769 static bool checkreturn pb_enc_varint(pb_ostream_t *stream, const pb_field_iter_t *field) in pb_enc_varint()
817 static bool checkreturn pb_enc_fixed(pb_ostream_t *stream, const pb_field_iter_t *field) in pb_enc_fixed()
842 static bool checkreturn pb_enc_bytes(pb_ostream_t *stream, const pb_field_iter_t *field) in pb_enc_bytes()
863 static bool checkreturn pb_enc_string(pb_ostream_t *stream, const pb_field_iter_t *field) in pb_enc_string()
916 static bool checkreturn pb_enc_submessage(pb_ostream_t *stream, const pb_field_iter_t *field) in pb_enc_submessage()
935 static bool checkreturn pb_enc_fixed_length_bytes(pb_ostream_t *stream, const pb_field_iter_t *fiel… in pb_enc_fixed_length_bytes()
941 bool pb_encode_float_as_double(pb_ostream_t *stream, float value) in pb_encode_float_as_double()