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