Home
last modified time | relevance | path

Searched refs:SubMessage_fields (Results 1 – 5 of 5) sorted by relevance

/external/nanopb-c/tests/backwards_compatibility/
Dalltypes_legacy.c31 const pb_field_t SubMessage_fields[4] = { variable
54 PB_FIELD( 16, MESSAGE , REQUIRED, STATIC, AllTypes, req_submsg, req_bytes, &SubMessage_fields),
71 PB_FIELD( 36, MESSAGE , REPEATED, STATIC, AllTypes, rep_submsg, rep_bytes, &SubMessage_fields),
88 PB_FIELD( 56, MESSAGE , OPTIONAL, STATIC, AllTypes, opt_submsg, opt_bytes, &SubMessage_fields),
Dalltypes_legacy.h157 extern const pb_field_t SubMessage_fields[4];
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c47 pb_encode_submessage(stream, SubMessage_fields, *arg); in write_submsg()
132 pb_encode_submessage(stream, SubMessage_fields, &dummy) && in write_repeated_submsg()
134 pb_encode_submessage(stream, SubMessage_fields, &dummy) && in write_repeated_submsg()
136 pb_encode_submessage(stream, SubMessage_fields, &dummy) && in write_repeated_submsg()
138 pb_encode_submessage(stream, SubMessage_fields, &dummy) && in write_repeated_submsg()
140 pb_encode_submessage(stream, SubMessage_fields, *arg); in write_repeated_submsg()
Ddecode_alltypes_callback.c74 if (!pb_decode(stream, SubMessage_fields, &submsg)) in read_submsg()
148 if (!pb_decode(stream, SubMessage_fields, &decoded)) in read_repeated_submsg()
/external/nanopb-c/docs/
Dreference.rst686 …submessages in a callback, simply use `pb_decode`_ and pass it the *SubMessage_fields* descriptor …