Home
last modified time | relevance | path

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

/external/nanopb-c/tests/backwards_compatibility/
Ddecode_legacy.c122 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()
Dalltypes_legacy.h129 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…
Dencode_legacy.c110 strcpy(alltypes.opt_submsg.substuff1, "3056"); in main()
111 alltypes.opt_submsg.substuff2 = 3056; in main()
Dalltypes_legacy.c88 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/
Ddecode_alltypes.c120 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()
Dencode_alltypes.c119 strcpy(alltypes.opt_submsg.substuff1, "3056"); in main()
120 alltypes.opt_submsg.substuff2 = 3056; in main()
Dalltypes.proto100 optional SubMessage opt_submsg = 56; field
/external/nanopb-c/tests/alltypes_pointer/
Ddecode_alltypes_pointer.c99 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()
Dencode_alltypes_pointer.c83 SubMessage opt_submsg = {"3056", &opt_substuff}; in main() local
164 alltypes.opt_submsg = &opt_submsg; in main()
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c203 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()
Ddecode_alltypes_callback.c216 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/
Dalltypes.proto100 optional SubMessage opt_submsg = 10056; field
/external/nanopb-c/tests/field_size_32/
Dalltypes.proto100 optional SubMessage opt_submsg = 10056; field