Searched refs:opt_submsg (Results 1 – 13 of 13) sorted by relevance
/external/nanopb-c/tests/backwards_compatibility/ |
D | decode_legacy.c | 122 TEST(strcmp(alltypes.opt_submsg.substuff1, "1") == 0); in check_alltypes() 123 TEST(alltypes.opt_submsg.substuff2 == 2); in check_alltypes() 124 TEST(alltypes.opt_submsg.substuff3 == 3); in check_alltypes() 166 TEST(strcmp(alltypes.opt_submsg.substuff1, "3056") == 0); in check_alltypes() 167 TEST(alltypes.opt_submsg.substuff2 == 3056); in check_alltypes() 168 TEST(alltypes.opt_submsg.substuff3 == 3); in check_alltypes()
|
D | alltypes_legacy.h | 129 SubMessage opt_submsg; member 162 …b_membersize(AllTypes, rep_submsg[0]) < 256 && pb_membersize(AllTypes, opt_submsg) < 256), YOU_MUS… 166 …membersize(AllTypes, rep_submsg[0]) < 65536 && pb_membersize(AllTypes, opt_submsg) < 65536), YOU_M…
|
D | encode_legacy.c | 110 strcpy(alltypes.opt_submsg.substuff1, "3056"); in main() 111 alltypes.opt_submsg.substuff2 = 3056; in main()
|
D | alltypes_legacy.c | 88 PB_FIELD( 56, MESSAGE , OPTIONAL, STATIC, AllTypes, opt_submsg, opt_bytes, &SubMessage_fields), 89 …PB_FIELD( 57, ENUM , OPTIONAL, STATIC, AllTypes, opt_enum, opt_submsg, &AllTypes_opt_enum_defau…
|
/external/nanopb-c/tests/alltypes/ |
D | decode_alltypes.c | 120 TEST(strcmp(alltypes.opt_submsg.substuff1, "1") == 0); in check_alltypes() 121 TEST(alltypes.opt_submsg.substuff2 == 2); in check_alltypes() 122 TEST(alltypes.opt_submsg.substuff3 == 3); in check_alltypes() 165 TEST(strcmp(alltypes.opt_submsg.substuff1, "3056") == 0); in check_alltypes() 166 TEST(alltypes.opt_submsg.substuff2 == 3056); in check_alltypes() 167 TEST(alltypes.opt_submsg.substuff3 == 3); in check_alltypes()
|
D | encode_alltypes.c | 119 strcpy(alltypes.opt_submsg.substuff1, "3056"); in main() 120 alltypes.opt_submsg.substuff2 = 3056; in main()
|
D | alltypes.proto | 100 optional SubMessage opt_submsg = 56; field
|
/external/nanopb-c/tests/alltypes_pointer/ |
D | decode_alltypes_pointer.c | 99 TEST(alltypes.opt_submsg == NULL); in check_alltypes() 123 TEST(alltypes.opt_submsg && strcmp(alltypes.opt_submsg->substuff1, "3056") == 0); in check_alltypes() 124 TEST(alltypes.opt_submsg && *alltypes.opt_submsg->substuff2 == 3056); in check_alltypes()
|
D | encode_alltypes_pointer.c | 83 SubMessage opt_submsg = {"3056", &opt_substuff}; in main() local 164 alltypes.opt_submsg = &opt_submsg; in main()
|
/external/nanopb-c/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 203 SubMessage opt_submsg = {"3056", 3056}; in main() local 368 alltypes.opt_submsg.funcs.encode = &write_submsg; in main() 369 alltypes.opt_submsg.arg = &opt_submsg; in main()
|
D | decode_alltypes_callback.c | 216 SubMessage opt_submsg = {"3056", 3056}; in check_alltypes() local 387 alltypes.opt_submsg.funcs.decode = &read_submsg; in check_alltypes() 388 alltypes.opt_submsg.arg = &opt_submsg; in check_alltypes()
|
/external/nanopb-c/tests/field_size_16/ |
D | alltypes.proto | 100 optional SubMessage opt_submsg = 10056; field
|
/external/nanopb-c/tests/field_size_32/ |
D | alltypes.proto | 100 optional SubMessage opt_submsg = 10056; field
|