Home
last modified time | relevance | path

Searched refs:src_struct (Results 1 – 4 of 4) sorted by relevance

/nanopb-latest/spm_headers/nanopb/
Dpb_encode.h77 bool pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
93 bool pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigne…
101 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct);
189 bool pb_encode_submessage(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
/nanopb-latest/
Dpb_encode.h77 bool pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
93 bool pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigne…
101 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct);
189 bool pb_encode_submessage(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
Dpb_encode.c512 bool checkreturn pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct) in pb_encode() argument
515 if (!pb_field_iter_begin_const(&iter, fields, src_struct)) in pb_encode()
536 …ncode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigned int fl… in pb_encode_ex() argument
540 return pb_encode_submessage(stream, fields, src_struct); in pb_encode_ex()
546 if (!pb_encode(stream, fields, src_struct)) in pb_encode_ex()
553 return pb_encode(stream, fields, src_struct); in pb_encode_ex()
557 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct) in pb_get_encoded_size() argument
561 if (!pb_encode(&stream, fields, src_struct)) in pb_get_encoded_size()
724 …turn pb_encode_submessage(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct) in pb_encode_submessage() argument
733 if (!pb_encode(&substream, fields, src_struct)) in pb_encode_submessage()
[all …]
/nanopb-latest/docs/
Dreference.md572 bool pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
578 | src_struct | Pointer to the message structure. Must match `fields` descriptor.
591 …bool pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsign…
597 | src_struct | Pointer to the message structure. Must match `fields` descriptor.
610 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct);
616 | src_struct | Pointer to the data that will be serialized.
769 …ool pb_encode_submessage(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);