Home
last modified time | relevance | path

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

/nanopb-3.4.0/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.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 == 3); in check_alltypes()
Dalltypes_legacy.proto79 repeated SubMessage rep_submsg = 36; field
Dalltypes_legacy.h119 SubMessage rep_submsg[5]; member
296 X(a, STATIC, REPEATED, MESSAGE, rep_submsg, 36) \
/nanopb-3.4.0/tests/without_64bit/
Dencode_alltypes.c49 strcpy(alltypes.rep_submsg[4].substuff1, "2016"); in main()
50 alltypes.rep_submsg[4].substuff2 = 2016; in main()
51 alltypes.rep_submsg[4].has_substuff3 = true; in main()
52 alltypes.rep_submsg[4].substuff3 = 2016; in main()
Ddecode_alltypes.c61 …TEST(strcmp(alltypes.rep_submsg[4].substuff1, "2016") == 0 && alltypes.rep_submsg[0].substuff1[0] … in check_alltypes()
62 TEST(alltypes.rep_submsg[4].substuff2 == 2016 && alltypes.rep_submsg[0].substuff2 == 0); in check_alltypes()
63 TEST(alltypes.rep_submsg[4].substuff3 == 2016 && alltypes.rep_submsg[0].substuff3 == 3); in check_alltypes()
Dalltypes.proto63 repeated SubMessage rep_submsg = 36; field
/nanopb-3.4.0/tests/alltypes_proto3/
Ddecode_alltypes.c48 …TEST(strcmp(alltypes.rep_submsg[4].substuff1, "2016") == 0 && alltypes.rep_submsg[0].substuff1[0] … in check_alltypes()
49 TEST(alltypes.rep_submsg[4].substuff2 == 2016 && alltypes.rep_submsg[0].substuff2 == 0); in check_alltypes()
50 TEST(alltypes.rep_submsg[4].substuff3 == 2016 && alltypes.rep_submsg[0].substuff3 == 0); in check_alltypes()
Dencode_alltypes.c39 strcpy(alltypes.rep_submsg[4].substuff1, "2016"); in main()
40 alltypes.rep_submsg[4].substuff2 = 2016; in main()
41 alltypes.rep_submsg[4].substuff3 = 2016; in main()
Dalltypes.proto82 repeated SubMessage rep_submsg = 36; field
/nanopb-3.4.0/tests/field_size_16_proto3/
Ddecode_alltypes.c48 …TEST(strcmp(alltypes.rep_submsg[4].substuff1, "2016") == 0 && alltypes.rep_submsg[0].substuff1[0] … in check_alltypes()
49 TEST(alltypes.rep_submsg[4].substuff2 == 2016 && alltypes.rep_submsg[0].substuff2 == 0); in check_alltypes()
50 TEST(alltypes.rep_submsg[4].substuff3 == 2016 && alltypes.rep_submsg[0].substuff3 == 0); in check_alltypes()
Dencode_alltypes.c39 strcpy(alltypes.rep_submsg[4].substuff1, "2016"); in main()
40 alltypes.rep_submsg[4].substuff2 = 2016; in main()
41 alltypes.rep_submsg[4].substuff3 = 2016; in main()
Dalltypes.proto82 repeated SubMessage rep_submsg = 36; field
/nanopb-3.4.0/tests/alltypes/
Dencode_alltypes.c68 strcpy(alltypes.rep_submsg[4].substuff1, "2016"); in main()
69 alltypes.rep_submsg[4].substuff2 = 2016; in main()
70 alltypes.rep_submsg[4].has_substuff3 = true; in main()
71 alltypes.rep_submsg[4].substuff3 = 2016; in main()
Ddecode_alltypes.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.proto102 repeated SubMessage rep_submsg = 36; field
/nanopb-3.4.0/tests/alltypes_pointer/
Ddecode_alltypes_pointer.c69 …TEST(strcmp(alltypes.rep_submsg[4].substuff1, "2016") == 0 && alltypes.rep_submsg[0].substuff1[0] … in check_alltypes()
70 TEST(*alltypes.rep_submsg[4].substuff2 == 2016 && *alltypes.rep_submsg[0].substuff2 == 0); in check_alltypes()
71 TEST(*alltypes.rep_submsg[4].substuff3 == 2016 && alltypes.rep_submsg[0].substuff3 == NULL); in check_alltypes()
Dencode_alltypes_pointer.c59 SubMessage rep_submsg[5] = {{"", &rep_sub2zero}, in main() local
172 alltypes.rep_submsg_count = 5; alltypes.rep_submsg = rep_submsg; in main()
/nanopb-3.4.0/tests/alltypes_proto3_callback/
Ddecode_alltypes_callback.c250 SubMessage rep_submsg[5] = {{"", 0, 0}, in check_alltypes() local
315 alltypes.rep_submsg.funcs.decode = &read_repeated_submsg; in check_alltypes()
316 alltypes.rep_submsg.arg = rep_submsg; in check_alltypes()
Dencode_alltypes_callback.c224 SubMessage rep_submsg = {"2016", 2016, 2016}; in main() local
284 alltypes.rep_submsg.funcs.encode = &write_repeated_submsg; in main()
285 alltypes.rep_submsg.arg = &rep_submsg; in main()
/nanopb-3.4.0/tests/alltypes_callback/
Ddecode_alltypes_callback.c260 SubMessage rep_submsg[5] = {{"", 0, 0, 3}, in check_alltypes() local
382 alltypes.rep_submsg.funcs.decode = &read_repeated_submsg; in check_alltypes()
383 alltypes.rep_submsg.arg = rep_submsg; in check_alltypes()
Dencode_alltypes_callback.c262 SubMessage rep_submsg = {"2016", 2016, true, 2016}; in main() local
382 alltypes.rep_submsg.funcs.encode = &write_repeated_submsg; in main()
383 alltypes.rep_submsg.arg = &rep_submsg; in main()
/nanopb-3.4.0/tests/field_size_16/
Dalltypes.proto101 repeated SubMessage rep_submsg = 10036; field
/nanopb-3.4.0/tests/field_size_32/
Dalltypes.proto101 repeated SubMessage rep_submsg = 10036; field
/nanopb-3.4.0/tests/common_unittests/
Dcommon_unittests.c59 …TEST(pb_field_iter_next(&iter) && iter.tag == 36 && iter.pData == &msg.rep_submsg && iter.pSize … in main()