Home
last modified time | relevance | path

Searched refs:pb_msgdesc_t (Results 1 – 23 of 23) sorted by relevance

/nanopb-2.7.6/
Dpb_encode.h67 bool pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
83 bool pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigne…
91 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct);
179 bool pb_encode_submessage(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
Dpb_common.h16 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_msgdesc_t *desc, void *message);
24 bool pb_field_iter_begin_const(pb_field_iter_t *iter, const pb_msgdesc_t *desc, const void *message…
Dpb_decode.h74 bool pb_decode(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct);
102 bool pb_decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int…
115 void pb_release(const pb_msgdesc_t *fields, void *dest_struct);
Dpb_common.c156 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_msgdesc_t *desc, void *message) in pb_field_iter_begin()
168 const pb_msgdesc_t *msg = (const pb_msgdesc_t*)extension->type->arg; in pb_field_iter_begin_extension()
290 bool pb_field_iter_begin_const(pb_field_iter_t *iter, const pb_msgdesc_t *desc, const void *message) in pb_field_iter_begin_const()
Dpb.h279 typedef struct pb_msgdesc_s pb_msgdesc_t; typedef
282 const pb_msgdesc_t * const * submsg_info;
294 const pb_msgdesc_t *descriptor; /* Pointer to message descriptor constant */
311 …const pb_msgdesc_t *submsg_desc; /* For submessage fields, pointer to field descriptor for the sub…
466 const pb_msgdesc_t* const structname ## _submsg_info[] = \
471 const pb_msgdesc_t structname ## _msg = \
Dpb_encode.c509 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()
554 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct) in pb_get_encoded_size()
710 bool checkreturn pb_encode_submessage(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void … in pb_encode_submessage()
Dpb_decode.c978 static bool checkreturn pb_decode_inner(pb_istream_t *stream, const pb_msgdesc_t *fields, void *des… in pb_decode_inner()
1142 bool checkreturn pb_decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, … in pb_decode_ex()
1170 bool checkreturn pb_decode(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct) in pb_decode()
1308 void pb_release(const pb_msgdesc_t *fields, void *dest_struct) in pb_release()
DCHANGELOG.txt46 NOTE: version 0.4.3 changes layout of pb_msgdesc_t. It requires recompiling .pb.c files and
/nanopb-2.7.6/spm_headers/nanopb/
Dpb_encode.h67 bool pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
83 bool pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsigne…
91 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct);
179 bool pb_encode_submessage(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
Dpb_common.h16 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_msgdesc_t *desc, void *message);
24 bool pb_field_iter_begin_const(pb_field_iter_t *iter, const pb_msgdesc_t *desc, const void *message…
Dpb_decode.h74 bool pb_decode(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct);
102 bool pb_decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, unsigned int…
115 void pb_release(const pb_msgdesc_t *fields, void *dest_struct);
Dpb.h279 typedef struct pb_msgdesc_s pb_msgdesc_t; typedef
282 const pb_msgdesc_t * const * submsg_info;
294 const pb_msgdesc_t *descriptor; /* Pointer to message descriptor constant */
311 …const pb_msgdesc_t *submsg_desc; /* For submessage fields, pointer to field descriptor for the sub…
466 const pb_msgdesc_t* const structname ## _submsg_info[] = \
471 const pb_msgdesc_t structname ## _msg = \
/nanopb-2.7.6/examples/using_union_messages/
Ddecode.c18 const pb_msgdesc_t* decode_unionmessage_type(pb_istream_t *stream) in decode_unionmessage_type()
44 bool decode_unionmessage_contents(pb_istream_t *stream, const pb_msgdesc_t *messagetype, void *dest… in decode_unionmessage_contents()
63 const pb_msgdesc_t *type = decode_unionmessage_type(&stream); in main()
Dencode.c18 bool encode_unionmessage(pb_ostream_t *stream, const pb_msgdesc_t *messagetype, void *message) in encode_unionmessage()
/nanopb-2.7.6/tests/fuzztest/
Dvalidation.h9 void validate_message(const void *msg, size_t structsize, const pb_msgdesc_t *msgtype);
Dfuzztest.c65 static bool do_decode(const uint8_t *buffer, size_t msglen, size_t structsize, const pb_msgdesc_t *… in do_decode()
112 …t *buffer, size_t msglen, size_t fail_after, size_t structsize, const pb_msgdesc_t *msgtype, bool … in do_stream_decode()
198 void do_roundtrip(const uint8_t *buffer, size_t msglen, size_t structsize, const pb_msgdesc_t *msgt… in do_roundtrip()
Dvalidation.c144 void validate_message(const void *msg, size_t structsize, const pb_msgdesc_t *msgtype) in validate_message()
/nanopb-2.7.6/tests/backwards_compatibility/
Dalltypes_legacy.h322 extern const pb_msgdesc_t SubMessage_msg;
324 extern const pb_msgdesc_t EmptyMessage_msg;
326 extern const pb_msgdesc_t Limits_msg;
328 extern const pb_msgdesc_t AllTypes_msg;
/nanopb-2.7.6/docs/
Dreference.md230 ### pb_msgdesc_t subsection
236 typedef struct pb_msgdesc_s pb_msgdesc_t;
240 const pb_msgdesc_t * const * submsg_info;
262 const pb_msgdesc_t *descriptor;
279 const pb_msgdesc_t *submsg_desc;
284 | descriptor | Pointer to `pb_msgdesc_t` for the message that contains this field.
435 This macro generates the [pb_msgdesc_t](#pb_msgdesc_t) and associated
494 bool pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
513 …bool pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsign…
532 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct);
[all …]
Dindex.md24 `pb_msgdesc_t` structure, which describes the fields of a message
95 extern const pb_msgdesc_t Example_msg;
Dsecurity.md29 `pb_msgdesc_t`.
Dconcepts.md381 These macros will in combination generate `pb_msgdesc_t`
385 const pb_msgdesc_t * const Person_PhoneNumber_submsg_info[] = { ... };
386 const pb_msgdesc_t Person_PhoneNumber_msg = {
Dmigration.md28 ### pb_msgdesc_t struct has new fields
31 `largest_tag` were added to `pb_msgdesc_t`
83 `.pb.h` files are now of type `pb_msgdesc_t`.