Searched refs:rep_submsg (Results 1 – 13 of 13) sorted by relevance
/external/nanopb-c/tests/backwards_compatibility/ |
D | encode_legacy.c | 65 strcpy(alltypes.rep_submsg[4].substuff1, "2016"); in main() 66 alltypes.rep_submsg[4].substuff2 = 2016; in main() 67 alltypes.rep_submsg[4].has_substuff3 = true; in main() 68 alltypes.rep_submsg[4].substuff3 = 2016; in main()
|
D | decode_legacy.c | 78 …TEST(strcmp(alltypes.rep_submsg[4].substuff1, "2016") == 0 && alltypes.rep_submsg[0].substuff1[0] … in check_alltypes() 79 TEST(alltypes.rep_submsg[4].substuff2 == 2016 && alltypes.rep_submsg[0].substuff2 == 0); in check_alltypes() 80 TEST(alltypes.rep_submsg[4].substuff3 == 2016 && alltypes.rep_submsg[0].substuff3 == 3); in check_alltypes()
|
D | alltypes_legacy.h | 95 SubMessage rep_submsg[5]; member 162 STATIC_ASSERT((pb_membersize(AllTypes, req_submsg) < 256 && pb_membersize(AllTypes, rep_submsg[0]) … 166 STATIC_ASSERT((pb_membersize(AllTypes, req_submsg) < 65536 && pb_membersize(AllTypes, rep_submsg[0]…
|
D | alltypes_legacy.c | 71 PB_FIELD( 36, MESSAGE , REPEATED, STATIC, AllTypes, rep_submsg, rep_bytes, &SubMessage_fields), 72 PB_FIELD( 37, ENUM , REPEATED, STATIC, AllTypes, rep_enum, rep_submsg, 0),
|
/external/nanopb-c/tests/alltypes/ |
D | decode_alltypes.c | 75 …TEST(strcmp(alltypes.rep_submsg[4].substuff1, "2016") == 0 && alltypes.rep_submsg[0].substuff1[0] … in check_alltypes() 76 TEST(alltypes.rep_submsg[4].substuff2 == 2016 && alltypes.rep_submsg[0].substuff2 == 0); in check_alltypes() 77 TEST(alltypes.rep_submsg[4].substuff3 == 2016 && alltypes.rep_submsg[0].substuff3 == 3); in check_alltypes()
|
D | encode_alltypes.c | 62 strcpy(alltypes.rep_submsg[4].substuff1, "2016"); in main() 63 alltypes.rep_submsg[4].substuff2 = 2016; in main() 64 alltypes.rep_submsg[4].has_substuff3 = true; in main() 65 alltypes.rep_submsg[4].substuff3 = 2016; in main()
|
D | alltypes.proto | 78 repeated SubMessage rep_submsg = 36; field
|
/external/nanopb-c/tests/alltypes_pointer/ |
D | decode_alltypes_pointer.c | 72 …TEST(strcmp(alltypes.rep_submsg[4].substuff1, "2016") == 0 && alltypes.rep_submsg[0].substuff1[0] … in check_alltypes() 73 TEST(*alltypes.rep_submsg[4].substuff2 == 2016 && *alltypes.rep_submsg[0].substuff2 == 0); in check_alltypes() 74 TEST(*alltypes.rep_submsg[4].substuff3 == 2016 && alltypes.rep_submsg[0].substuff3 == NULL); in check_alltypes()
|
D | encode_alltypes_pointer.c | 58 SubMessage rep_submsg[5] = {{"", &rep_sub2zero}, in main() local 142 alltypes.rep_submsg_count = 5; alltypes.rep_submsg = rep_submsg; in main()
|
/external/nanopb-c/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 195 SubMessage rep_submsg = {"2016", 2016, true, 2016}; in main() local 310 alltypes.rep_submsg.funcs.encode = &write_repeated_submsg; in main() 311 alltypes.rep_submsg.arg = &rep_submsg; in main()
|
D | decode_alltypes_callback.c | 203 SubMessage rep_submsg[5] = {{"", 0, 0, 3}, in check_alltypes() local 326 alltypes.rep_submsg.funcs.decode = &read_repeated_submsg; in check_alltypes() 327 alltypes.rep_submsg.arg = rep_submsg; in check_alltypes()
|
/external/nanopb-c/tests/field_size_32/ |
D | alltypes.proto | 78 repeated SubMessage rep_submsg = 10036; field
|
/external/nanopb-c/tests/field_size_16/ |
D | alltypes.proto | 78 repeated SubMessage rep_submsg = 10036; field
|