Searched refs:testmessage (Results 1 – 6 of 6) sorted by relevance
67 TestMessage testmessage = {{{NULL}}}; in main() local73 testmessage.submsg.stringvalue.funcs.decode = &print_string; in main()74 testmessage.submsg.stringvalue.arg = "submsg {\n stringvalue: \"%s\"\n"; in main()75 testmessage.submsg.int32value.funcs.decode = &print_int32; in main()76 testmessage.submsg.int32value.arg = " int32value: %ld\n"; in main()77 testmessage.submsg.fixed32value.funcs.decode = &print_fixed32; in main()78 testmessage.submsg.fixed32value.arg = " fixed32value: %ld\n"; in main()79 testmessage.submsg.fixed64value.funcs.decode = &print_fixed64; in main()80 testmessage.submsg.fixed64value.arg = " fixed64value: %ld\n}\n"; in main()82 testmessage.stringvalue.funcs.decode = &print_string; in main()[all …]
67 TestMessage testmessage = {{{NULL}}}; in main() local71 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()[all …]
4 message testmessage { message