/nanopb-3.4.0/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 | 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 == 3); in check_alltypes()
|
D | alltypes_legacy.proto | 79 repeated SubMessage rep_submsg = 36; field
|
D | alltypes_legacy.h | 119 SubMessage rep_submsg[5]; member 296 X(a, STATIC, REPEATED, MESSAGE, rep_submsg, 36) \
|
/nanopb-3.4.0/tests/without_64bit/ |
D | encode_alltypes.c | 49 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()
|
D | decode_alltypes.c | 61 …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()
|
D | alltypes.proto | 63 repeated SubMessage rep_submsg = 36; field
|
/nanopb-3.4.0/tests/alltypes_proto3/ |
D | decode_alltypes.c | 48 …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()
|
D | encode_alltypes.c | 39 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()
|
D | alltypes.proto | 82 repeated SubMessage rep_submsg = 36; field
|
/nanopb-3.4.0/tests/field_size_16_proto3/ |
D | decode_alltypes.c | 48 …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()
|
D | encode_alltypes.c | 39 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()
|
D | alltypes.proto | 82 repeated SubMessage rep_submsg = 36; field
|
/nanopb-3.4.0/tests/alltypes/ |
D | encode_alltypes.c | 68 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()
|
D | decode_alltypes.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.proto | 102 repeated SubMessage rep_submsg = 36; field
|
/nanopb-3.4.0/tests/alltypes_pointer/ |
D | decode_alltypes_pointer.c | 69 …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()
|
D | encode_alltypes_pointer.c | 59 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/ |
D | decode_alltypes_callback.c | 250 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()
|
D | encode_alltypes_callback.c | 224 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/ |
D | decode_alltypes_callback.c | 260 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()
|
D | encode_alltypes_callback.c | 262 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/ |
D | alltypes.proto | 101 repeated SubMessage rep_submsg = 10036; field
|
/nanopb-3.4.0/tests/field_size_32/ |
D | alltypes.proto | 101 repeated SubMessage rep_submsg = 10036; field
|
/nanopb-3.4.0/tests/common_unittests/ |
D | common_unittests.c | 59 …TEST(pb_field_iter_next(&iter) && iter.tag == 36 && iter.pData == &msg.rep_submsg && iter.pSize … in main()
|