Home
last modified time | relevance | path

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

/nanopb-3.4.0/
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_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_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…
114 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.h315 typedef struct pb_msgdesc_s pb_msgdesc_t; typedef
318 const pb_msgdesc_t * const * submsg_info;
330 const pb_msgdesc_t *descriptor; /* Pointer to message descriptor constant */
347 …const pb_msgdesc_t *submsg_desc; /* For submessage fields, pointer to field descriptor for the sub…
503 const pb_msgdesc_t* const structname ## _submsg_info[] = \
508 const pb_msgdesc_t structname ## _msg = \
Dpb_encode.c511 bool checkreturn pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct) in pb_encode()
535 bool checkreturn pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_str… in pb_encode_ex()
556 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct) in pb_get_encoded_size()
723 bool checkreturn pb_encode_submessage(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void … in pb_encode_submessage()
Dpb_decode.c989 static bool checkreturn pb_decode_inner(pb_istream_t *stream, const pb_msgdesc_t *fields, void *des… in pb_decode_inner()
1153 bool checkreturn pb_decode_ex(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct, … in pb_decode_ex()
1181 bool checkreturn pb_decode(pb_istream_t *stream, const pb_msgdesc_t *fields, void *dest_struct) in pb_decode()
1319 void pb_release(const pb_msgdesc_t *fields, void *dest_struct) in pb_release()
1335 void pb_release(const pb_msgdesc_t *fields, void *dest_struct) in pb_release()
DCHANGELOG.txt114 NOTE: version 0.4.3 changes layout of pb_msgdesc_t. It requires recompiling .pb.c files and
/nanopb-3.4.0/spm_headers/nanopb/
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_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_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…
114 void pb_release(const pb_msgdesc_t *fields, void *dest_struct);
Dpb.h315 typedef struct pb_msgdesc_s pb_msgdesc_t; typedef
318 const pb_msgdesc_t * const * submsg_info;
330 const pb_msgdesc_t *descriptor; /* Pointer to message descriptor constant */
347 …const pb_msgdesc_t *submsg_desc; /* For submessage fields, pointer to field descriptor for the sub…
503 const pb_msgdesc_t* const structname ## _submsg_info[] = \
508 const pb_msgdesc_t structname ## _msg = \
/nanopb-3.4.0/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-3.4.0/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-3.4.0/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-3.4.0/docs/
Dreference.md243 ### pb_msgdesc_t subsection
249 typedef struct pb_msgdesc_s pb_msgdesc_t;
253 const pb_msgdesc_t * const * submsg_info;
275 const pb_msgdesc_t *descriptor;
292 const pb_msgdesc_t *submsg_desc;
297 | descriptor | Pointer to `pb_msgdesc_t` for the message that contains this field.
448 This macro generates the [pb_msgdesc_t](#pb_msgdesc_t) and associated
507 bool pb_encode(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct);
526 …bool pb_encode_ex(pb_ostream_t *stream, const pb_msgdesc_t *fields, const void *src_struct, unsign…
545 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.md382 These macros will in combination generate `pb_msgdesc_t`
386 const pb_msgdesc_t * const Person_PhoneNumber_submsg_info[] = { ... };
387 const pb_msgdesc_t Person_PhoneNumber_msg = {
Dmigration.md85 ### pb_msgdesc_t struct has new fields
88 `largest_tag` were added to `pb_msgdesc_t`
140 `.pb.h` files are now of type `pb_msgdesc_t`.