HomeSort by relevance Sort by last modified time
    Searched refs:req_submsg (Results 1 - 10 of 10) sorted by null

  /external/nanopb-c/tests/backwards_compatibility/
alltypes_legacy.h 62 SubMessage req_submsg; member in struct:_AllTypes
162 STATIC_ASSERT((pb_membersize(AllTypes, req_submsg) < 256 && pb_membersize(AllTypes, rep_submsg[0]) < 256 && pb_membersize(AllTypes, opt_submsg) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_SubMessage_AllTypes)
166 STATIC_ASSERT((pb_membersize(AllTypes, req_submsg) < 65536 && pb_membersize(AllTypes, rep_submsg[0]) < 65536 && pb_membersize(AllTypes, opt_submsg) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_SubMessage_AllTypes)
encode_legacy.c 40 strcpy(alltypes.req_submsg.substuff1, "1016");
41 alltypes.req_submsg.substuff2 = 1016;
decode_legacy.c 52 TEST(strcmp(alltypes.req_submsg.substuff1, "1016") == 0);
53 TEST(alltypes.req_submsg.substuff2 == 1016);
54 TEST(alltypes.req_submsg.substuff3 == 3);
alltypes_legacy.c 54 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_pointer/
decode_alltypes_pointer.c 45 TEST(alltypes.req_submsg && alltypes.req_submsg->substuff1
46 && strcmp(alltypes.req_submsg->substuff1, "1016") == 0);
47 TEST(alltypes.req_submsg && alltypes.req_submsg->substuff2
48 && *alltypes.req_submsg->substuff2 == 1016);
encode_alltypes_pointer.c 32 SubMessage req_submsg = {"1016", &req_substuff}; local
122 alltypes.req_submsg = &req_submsg;
  /external/nanopb-c/tests/alltypes/
encode_alltypes.c 37 strcpy(alltypes.req_submsg.substuff1, "1016");
38 alltypes.req_submsg.substuff2 = 1016;
decode_alltypes.c 49 TEST(strcmp(alltypes.req_submsg.substuff1, "1016") == 0);
50 TEST(alltypes.req_submsg.substuff2 == 1016);
51 TEST(alltypes.req_submsg.substuff3 == 3);
  /external/nanopb-c/tests/alltypes_callback/
decode_alltypes_callback.c 186 SubMessage req_submsg = {"1016", 1016}; local
272 alltypes.req_submsg.funcs.decode = &read_submsg;
273 alltypes.req_submsg.arg = &req_submsg;
encode_alltypes_callback.c 187 SubMessage req_submsg = {"1016", 1016}; local
256 alltypes.req_submsg.funcs.encode = &write_submsg;
257 alltypes.req_submsg.arg = &req_submsg;

Completed in 387 milliseconds