Lines Matching full:testmessage
67 TestMessage testmessage = {{{NULL}}};
71 testmessage.stringvalue.funcs.encode = &encode_string;
72 testmessage.int32value.funcs.encode = &encode_int32;
73 testmessage.fixed32value.funcs.encode = &encode_fixed32;
74 testmessage.fixed64value.funcs.encode = &encode_fixed64;
76 testmessage.has_submsg = true;
77 testmessage.submsg.stringvalue.funcs.encode = &encode_string;
78 testmessage.submsg.int32value.funcs.encode = &encode_int32;
79 testmessage.submsg.fixed32value.funcs.encode = &encode_fixed32;
80 testmessage.submsg.fixed64value.funcs.encode = &encode_fixed64;
82 testmessage.repeatedstring.funcs.encode = &encode_repeatedstring;
84 if (!pb_encode(&stream, TestMessage_fields, &testmessage))