Home
last modified time | relevance | path

Searched refs:rep_submsg (Results 1 – 13 of 13) sorted by relevance

/external/nanopb-c/tests/backwards_compatibility/
Dencode_legacy.c65 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()
Ddecode_legacy.c78 …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()
Dalltypes_legacy.h95 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]…
Dalltypes_legacy.c71 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/
Ddecode_alltypes.c75 …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()
Dencode_alltypes.c62 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()
Dalltypes.proto78 repeated SubMessage rep_submsg = 36; field
/external/nanopb-c/tests/alltypes_pointer/
Ddecode_alltypes_pointer.c72 …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()
Dencode_alltypes_pointer.c58 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/
Dencode_alltypes_callback.c195 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()
Ddecode_alltypes_callback.c203 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/
Dalltypes.proto78 repeated SubMessage rep_submsg = 10036; field
/external/nanopb-c/tests/field_size_16/
Dalltypes.proto78 repeated SubMessage rep_submsg = 10036; field