Searched refs:testmessage (Results 1 - 2 of 2) sorted by relevance

/external/nanopb-c/tests/callbacks/
H A Ddecode_callbacks.c67 TestMessage testmessage = {{{NULL}}}; local
73 testmessage.submsg.stringvalue.funcs.decode = &print_string;
74 testmessage.submsg.stringvalue.arg = "submsg {\n stringvalue: \"%s\"\n";
75 testmessage.submsg.int32value.funcs.decode = &print_int32;
76 testmessage.submsg.int32value.arg = " int32value: %ld\n";
77 testmessage.submsg.fixed32value.funcs.decode = &print_fixed32;
78 testmessage.submsg.fixed32value.arg = " fixed32value: %ld\n";
79 testmessage.submsg.fixed64value.funcs.decode = &print_fixed64;
80 testmessage.submsg.fixed64value.arg = " fixed64value: %ld\n}\n";
82 testmessage
[all...]
H A Dencode_callbacks.c67 TestMessage testmessage = {{{NULL}}}; local
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
[all...]

Completed in 171 milliseconds