Home
last modified time | relevance | path

Searched refs:submsg (Results 1 – 25 of 41) sorted by relevance

12

/external/nanopb-c/tests/regression/issue_256/
Dsubmsg_array.c16 msg.submsg.rep_uint32_count = 3; in main()
17 msg.submsg.rep_uint32[0] = 0; in main()
18 msg.submsg.rep_uint32[1] = 1; in main()
19 msg.submsg.rep_uint32[2] = 2; in main()
29 TEST(msg2.submsg.rep_uint32_count == 3); in main()
30 TEST(msg2.submsg.rep_uint32[0] == 0); in main()
31 TEST(msg2.submsg.rep_uint32[1] == 1); in main()
32 TEST(msg2.submsg.rep_uint32[2] == 2); in main()
Dsubmsg_array.proto9 SubMessage submsg = 1; field
/external/grpc-grpc/third_party/nanopb/tests/callbacks/
Ddecode_callbacks.c73 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()
Dencode_callbacks.c77 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()
Dcallbacks.proto15 optional SubMessage submsg = 5; field
/external/nanopb-c/tests/callbacks/
Ddecode_callbacks.c73 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()
Dencode_callbacks.c77 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()
/external/nanopb-c/tests/alltypes_callback/
Ddecode_alltypes_callback.c72 SubMessage submsg = {""}; in read_submsg() local
75 if (!pb_decode(stream, SubMessage_fields, &submsg)) in read_submsg()
78 TEST(strcmp(submsg.substuff1, ref->substuff1) == 0); in read_submsg()
79 TEST(submsg.substuff2 == ref->substuff2); in read_submsg()
80 TEST(submsg.has_substuff3 == ref->has_substuff3); in read_submsg()
81 TEST(submsg.substuff3 == ref->substuff3); in read_submsg()
151 SubMessage submsg = {""}; in read_repeated_submsg() local
152 if (!pb_decode(stream, SubMessage_fields, &submsg)) in read_repeated_submsg()
155 TEST(strcmp(submsg.substuff1, (*expected)->substuff1) == 0); in read_repeated_submsg()
156 TEST(submsg.substuff2 == (*expected)->substuff2); in read_repeated_submsg()
[all …]
/external/grpc-grpc/third_party/nanopb/tests/encode_unittests/
Dencode_unittests.c302 msg.submsg.data.funcs.encode = &fieldcallback; in main()
303 msg2.submsg.submsg.data.funcs.encode = &fieldcallback; in main()
311 msg.submsg.data.funcs.encode = &crazyfieldcallback; in main()
312 msg.submsg.data.arg = &state; in main()
313 msg2.submsg.submsg.data.funcs.encode = &crazyfieldcallback; in main()
314 msg2.submsg.submsg.data.arg = &state; in main()
/external/nanopb-c/tests/encode_unittests/
Dencode_unittests.c302 msg.submsg.data.funcs.encode = &fieldcallback; in main()
303 msg2.submsg.submsg.data.funcs.encode = &fieldcallback; in main()
311 msg.submsg.data.funcs.encode = &crazyfieldcallback; in main()
312 msg.submsg.data.arg = &state; in main()
313 msg2.submsg.submsg.data.funcs.encode = &crazyfieldcallback; in main()
314 msg2.submsg.submsg.data.arg = &state; in main()
/external/nanopb-c/tests/alltypes_proto3_callback/
Ddecode_alltypes_callback.c72 SubMessage submsg = {""}; in read_submsg() local
75 if (!pb_decode(stream, SubMessage_fields, &submsg)) in read_submsg()
78 TEST(strcmp(submsg.substuff1, ref->substuff1) == 0); in read_submsg()
79 TEST(submsg.substuff2 == ref->substuff2); in read_submsg()
80 TEST(submsg.substuff3 == ref->substuff3); in read_submsg()
150 SubMessage submsg = {""}; in read_repeated_submsg() local
151 if (!pb_decode(stream, SubMessage_fields, &submsg)) in read_repeated_submsg()
154 TEST(strcmp(submsg.substuff1, (*expected)->substuff1) == 0); in read_repeated_submsg()
155 TEST(submsg.substuff2 == (*expected)->substuff2); in read_repeated_submsg()
156 TEST(submsg.substuff3 == (*expected)->substuff3); in read_repeated_submsg()
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dprinttss.c29 const char* submsg; in print_tpm2_response_code() local
31 TSS_ResponseCode_toString(&msg, &submsg, &num, rc); in print_tpm2_response_code()
32 printf("%s: %s%s%s\n", operation, msg, submsg, num); in print_tpm2_response_code()
/external/protobuf/js/
Dproto3_test.js144 var submsg = new proto.jspb.test.ForeignMessage();
145 submsg.setC(16);
146 msg.setOptionalForeignMessage(submsg);
164 submsg = new proto.jspb.test.ForeignMessage();
165 submsg.setC(1000);
166 msg.setRepeatedForeignMessageList([submsg]);
236 var submsg = new proto.jspb.test.ForeignMessage();
237 msg.setOneofForeignMessage(submsg);
239 assertEquals(msg.getOneofForeignMessage(), submsg);
/external/grpc-grpc/third_party/nanopb/tests/common/
Dunittestproto.proto29 required IntegerArray submsg = 1; field
33 required CallbackArray submsg = 1; field
37 required CallbackContainer submsg = 1; field
/external/nanopb-c/tests/regression/issue_249/
Dtest.c42 msg.submsg.foo.funcs.encode = &write_array; in main()
51 msg.submsg.foo.funcs.decode = &read_array; in main()
52 msg.submsg.foo.arg = ∑ in main()
Dtest.proto8 SubMessage submsg = 1; field
/external/nanopb-c/tests/common/
Dunittestproto.proto29 required IntegerArray submsg = 1; field
33 required CallbackArray submsg = 1; field
37 required CallbackContainer submsg = 1; field
/external/protobuf/js/binary/
Dproto_test.js122 var submsg = new proto.jspb.test.ForeignMessage();
123 submsg.setC(16);
124 msg.setOptionalForeignMessage(submsg);
146 submsg = new proto.jspb.test.ForeignMessage();
147 submsg.setC(1000);
148 msg.setRepeatedForeignMessageList([submsg]);
539 var submsg = new proto.jspb.test.ExtendsWithMessage();
540 submsg.setFoo(16);
542 proto.jspb.test.ExtendsWithMessage.optionalExtension, submsg);
577 submsg = new proto.jspb.test.ExtendsWithMessage();
[all …]
/external/nanopb-c/tests/regression/issue_247/
Dpadding.c16 msg.submsg.boolfield = false; in main()
17 msg.submsg.intfield = 0; in main()
Dpadding.proto10 SubMessage submsg = 1; field
/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c192 MessageHeader* submsg; in appendsubmsg_handler() local
197 TypedData_Get_Struct(submsg_rb, MessageHeader, &Message_type, submsg); in appendsubmsg_handler()
198 return submsg; in appendsubmsg_handler()
209 MessageHeader* submsg; in submsg_handler() local
217 TypedData_Get_Struct(submsg_rb, MessageHeader, &Message_type, submsg); in submsg_handler()
218 return submsg; in submsg_handler()
374 MessageHeader* submsg; in oneofsubmsg_handler() local
391 TypedData_Get_Struct(submsg_rb, MessageHeader, &Message_type, submsg); in oneofsubmsg_handler()
392 return submsg; in oneofsubmsg_handler()
877 static void putsubmsg(VALUE submsg, const upb_fielddef *f, upb_sink *sink, in putsubmsg() argument
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddecoder.py731 submsg = message_type._concrete_class()
742 submsg.Clear()
743 if submsg._InternalParse(buffer, pos, new_pos) != new_pos:
749 value[submsg.key].MergeFrom(submsg.value)
751 value[submsg.key] = submsg.value
/external/grpc-grpc/third_party/nanopb/tests/alltypes_callback/
Ddecode_alltypes_callback.c72 SubMessage submsg = {""}; in read_submsg() local
74 if (!pb_decode(stream, SubMessage_fields, &submsg)) in read_submsg()
77 TEST(memcmp(&submsg, *arg, sizeof(submsg))); in read_submsg()
/external/grpc-grpc/third_party/nanopb/tests/multiple_files/subdir/
Dmultifile2.proto9 required SubMessage submsg = 2; field
/external/nanopb-c/tests/multiple_files/subdir/
Dmultifile2.proto9 required SubMessage submsg = 2; field

12