Home
last modified time | relevance | path

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

/external/nanopb-c/tests/alltypes_pointer/
Ddecode_alltypes_pointer.c45 TEST(alltypes.req_submsg && alltypes.req_submsg->substuff1 in check_alltypes()
46 && strcmp(alltypes.req_submsg->substuff1, "1016") == 0); in check_alltypes()
47 TEST(alltypes.req_submsg && alltypes.req_submsg->substuff2 in check_alltypes()
48 && *alltypes.req_submsg->substuff2 == 1016); in check_alltypes()
Dencode_alltypes_pointer.c32 SubMessage req_submsg = {"1016", &req_substuff}; in main() local
122 alltypes.req_submsg = &req_submsg; in main()
/external/nanopb-c/tests/backwards_compatibility/
Dalltypes_legacy.h62 SubMessage req_submsg; 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]…
Dencode_legacy.c40 strcpy(alltypes.req_submsg.substuff1, "1016"); in main()
41 alltypes.req_submsg.substuff2 = 1016; in main()
Ddecode_legacy.c52 TEST(strcmp(alltypes.req_submsg.substuff1, "1016") == 0); in check_alltypes()
53 TEST(alltypes.req_submsg.substuff2 == 1016); in check_alltypes()
54 TEST(alltypes.req_submsg.substuff3 == 3); in check_alltypes()
Dalltypes_legacy.c54 PB_FIELD( 16, MESSAGE , REQUIRED, STATIC, AllTypes, req_submsg, req_bytes, &SubMessage_fields),
55 PB_FIELD( 17, ENUM , REQUIRED, STATIC, AllTypes, req_enum, req_submsg, 0),
/external/nanopb-c/tests/alltypes/
Ddecode_alltypes.c49 TEST(strcmp(alltypes.req_submsg.substuff1, "1016") == 0); in check_alltypes()
50 TEST(alltypes.req_submsg.substuff2 == 1016); in check_alltypes()
51 TEST(alltypes.req_submsg.substuff3 == 3); in check_alltypes()
Dencode_alltypes.c37 strcpy(alltypes.req_submsg.substuff1, "1016"); in main()
38 alltypes.req_submsg.substuff2 = 1016; in main()
Dalltypes.proto55 required SubMessage req_submsg = 16; field
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c187 SubMessage req_submsg = {"1016", 1016}; in main() local
256 alltypes.req_submsg.funcs.encode = &write_submsg; in main()
257 alltypes.req_submsg.arg = &req_submsg; in main()
Ddecode_alltypes_callback.c186 SubMessage req_submsg = {"1016", 1016}; in check_alltypes() local
272 alltypes.req_submsg.funcs.decode = &read_submsg; in check_alltypes()
273 alltypes.req_submsg.arg = &req_submsg; in check_alltypes()
/external/nanopb-c/tests/field_size_16/
Dalltypes.proto55 required SubMessage req_submsg = 16; field
/external/nanopb-c/tests/field_size_32/
Dalltypes.proto55 required SubMessage req_submsg = 16; field