/external/nanopb-c/tests/alltypes_callback/ |
decode_alltypes_callback.c | 203 SubMessage rep_submsg[5] = {{"", 0, 0, 3}, local 326 alltypes.rep_submsg.funcs.decode = &read_repeated_submsg; 327 alltypes.rep_submsg.arg = rep_submsg;
|
encode_alltypes_callback.c | 195 SubMessage rep_submsg = {"2016", 2016, true, 2016}; local 310 alltypes.rep_submsg.funcs.encode = &write_repeated_submsg; 311 alltypes.rep_submsg.arg = &rep_submsg;
|
/external/nanopb-c/tests/alltypes_pointer/ |
encode_alltypes_pointer.c | 58 SubMessage rep_submsg[5] = {{"", &rep_sub2zero}, local 142 alltypes.rep_submsg_count = 5; alltypes.rep_submsg = rep_submsg;
|
/external/nanopb-c/tests/backwards_compatibility/ |
alltypes_legacy.h | 95 SubMessage rep_submsg[5]; member in struct:_AllTypes 162 STATIC_ASSERT((pb_membersize(AllTypes, req_submsg) < 256 && pb_membersize(AllTypes, rep_submsg[0]) < 256 && pb_membersize(AllTypes, opt_submsg) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_SubMessage_AllTypes) 166 STATIC_ASSERT((pb_membersize(AllTypes, req_submsg) < 65536 && pb_membersize(AllTypes, rep_submsg[0]) < 65536 && pb_membersize(AllTypes, opt_submsg) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_SubMessage_AllTypes)
|