/external/nanopb-c/tests/callbacks/ |
D | decode_callbacks.c | 73 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()
|
D | encode_callbacks.c | 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()
|
D | callbacks.proto | 13 optional SubMessage submsg = 5; field
|
/external/nanopb-c/tests/encode_unittests/ |
D | encode_unittests.c | 301 msg.submsg.data.funcs.encode = &fieldcallback; in main() 302 msg2.submsg.submsg.data.funcs.encode = &fieldcallback; in main() 310 msg.submsg.data.funcs.encode = &crazyfieldcallback; in main() 311 msg.submsg.data.arg = &state; in main() 312 msg2.submsg.submsg.data.funcs.encode = &crazyfieldcallback; in main() 313 msg2.submsg.submsg.data.arg = &state; in main()
|
/external/protobuf/js/ |
D | proto3_test.js | 144 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/nanopb-c/tests/common/ |
D | unittestproto.proto | 27 required IntegerArray submsg = 1; field 31 required CallbackArray submsg = 1; field 35 required CallbackContainer submsg = 1; field
|
/external/protobuf/js/binary/ |
D | proto_test.js | 122 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/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 192 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/ |
D | decoder.py | 731 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
|
D | message_test.py | 1323 submsg = msg.map_int32_foreign_message[5] 1324 self.assertIs(submsg, msg.map_int32_foreign_message.get(5)) 1570 submsg = msg.map_int32_foreign_message[111] 1571 self.assertIs(submsg, msg.map_int32_foreign_message[111]) 1572 self.assertIsInstance(submsg, unittest_pb2.ForeignMessage) 1574 submsg.c = 5
|
/external/nanopb-c/tests/multiple_files/ |
D | callbacks2.proto | 7 required SubMessage submsg = 2; field
|
D | callbacks.proto | 13 optional SubMessage submsg = 5; field
|
/external/nanopb-c/tests/alltypes_callback/ |
D | decode_alltypes_callback.c | 72 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/python/cpython2/Doc/library/ |
D | multifile.rst | 181 submsg = mimetools.Message(file) 184 mimetools.decode(file, data, submsg.getencoding()) 187 if submsg.gettype() == mimetype:
|
/external/nanopb-c/generator/ |
D | nanopb_generator.py | 606 for submsg in submsgs: 607 sub_names = names + submsg.name 608 yield sub_names, submsg 610 for x in iterate_messages(submsg, sub_names):
|
/external/protobuf/src/google/protobuf/ |
D | arena_unittest.cc | 915 Message* submsg = refl->MutableMessage(message, msg_field); in TEST() local 921 submsg = refl->ReleaseMessage(message, msg_field); in TEST() 923 EXPECT_TRUE(submsg->GetArena() == NULL); in TEST() 924 delete submsg; in TEST()
|
/external/nanopb-c/tests/decode_unittests/ |
D | decode_unittests.c | 299 dest.submsg.data_count == 5) in main()
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 1662 submsg = payload[0] 1663 self.assertIsInstance(submsg, Message) 1664 eq(submsg['subject'], 'An enclosed message') 1665 eq(submsg.get_payload(), 'Here is the body of the message.\n')
|
D | test_email.py | 1743 submsg = payload[0] 1744 self.assertIsInstance(submsg, Message) 1745 eq(submsg['subject'], 'An enclosed message') 1746 eq(submsg.get_payload(), 'Here is the body of the message.\n')
|
/external/protobuf/conformance/ |
D | conformance_test.cc | 143 string submsg(uint32_t fn, const string& buf) { in submsg() function
|