Searched refs:SubMessage_fields (Results 1 – 5 of 5) sorted by relevance
/external/nanopb-c/tests/backwards_compatibility/ |
D | alltypes_legacy.c | 31 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),
|
D | alltypes_legacy.h | 157 extern const pb_field_t SubMessage_fields[4];
|
/external/nanopb-c/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 47 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()
|
D | decode_alltypes_callback.c | 74 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/ |
D | reference.rst | 686 …submessages in a callback, simply use `pb_decode`_ and pass it the *SubMessage_fields* descriptor …
|