OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:submessage_fields
(Results
1 - 5
of
5
) sorted by null
/external/nanopb-c/tests/backwards_compatibility/
alltypes_legacy.c
31
const pb_field_t
SubMessage_fields
[4] = {
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
),
alltypes_legacy.h
157
extern const pb_field_t
SubMessage_fields
[4];
/external/nanopb-c/tests/alltypes_callback/
encode_alltypes_callback.c
47
pb_encode_submessage(stream,
SubMessage_fields
, *arg);
132
pb_encode_submessage(stream,
SubMessage_fields
, &dummy) &&
134
pb_encode_submessage(stream,
SubMessage_fields
, &dummy) &&
136
pb_encode_submessage(stream,
SubMessage_fields
, &dummy) &&
138
pb_encode_submessage(stream,
SubMessage_fields
, &dummy) &&
140
pb_encode_submessage(stream,
SubMessage_fields
, *arg);
decode_alltypes_callback.c
74
if (!pb_decode(stream,
SubMessage_fields
, &submsg))
148
if (!pb_decode(stream,
SubMessage_fields
, &decoded))
/external/nanopb-c/docs/
reference.rst
686
Finally, for decoding submessages in a callback, simply use `pb_decode`_ and pass it the *
SubMessage_fields
* descriptor array.
[
all
...]
Completed in 462 milliseconds