/external/protobuf/src/google/protobuf/ |
D | repeated_field_reflection_unittest.cc | 47 using unittest::ForeignMessage; 100 const RepeatedPtrField<ForeignMessage>& rpf_foreign_message = in TEST() 101 refl->GetRepeatedPtrField<ForeignMessage>( in TEST() 110 RepeatedPtrField<ForeignMessage>* mrpf_foreign_message = in TEST() 111 refl->MutableRepeatedPtrField<ForeignMessage>( in TEST() 124 EXPECT_EQ(down_cast<const ForeignMessage*>(&rpf_message.Get(i))->c(), in TEST() 132 EXPECT_EQ(down_cast<const ForeignMessage*>(&mrpf_message->Get(i))->c(), in TEST() 144 down_cast<ForeignMessage*>(mrpf_message->Mutable(i))->set_c(Func(i, 7)); in TEST() 234 const RepeatedFieldRef<ForeignMessage> rf_foreign_message = in TEST() 235 refl->GetRepeatedFieldRef<ForeignMessage>( in TEST() [all …]
|
D | extension_set_unittest.cc | 76 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 112 EXPECT_NE(&unittest::ForeignMessage::default_instance(), in TEST() 152 unittest::ForeignMessage* foreign_message = new unittest::ForeignMessage(); in TEST() 167 new unittest::ForeignMessage()); in TEST() 360 unittest::ForeignMessage* foreign_message = new unittest::ForeignMessage(); in TEST() 369 unittest::ForeignMessage* released_message = message->ReleaseExtension( in TEST() 695 unittest::ForeignMessage foreign; in TEST() 770 int min_expected_size = sizeof(RepeatedPtrField<unittest::ForeignMessage>) + in TEST() 772 unittest::ForeignMessage prototype; in TEST() 1178 const unittest::ForeignMessage* typed_sub_message = in TEST() [all …]
|
D | map_unittest.proto | 61 map<int32 , ForeignMessage> map_int32_foreign_message = 17; 62 map<string , ForeignMessage> map_string_foreign_message = 18; 108 map<int32 , ForeignMessage> map_int32_foreign_message = 17; 109 map<int32, .protobuf_unittest_no_arena.ForeignMessage>
|
D | map_test.cc | 85 using google::protobuf::unittest::ForeignMessage; 951 Map<int32, ForeignMessage>* map_int32_foreign_message = in TEST_F() 1042 const ForeignMessage& value_int32_message = in TEST_F() 1043 down_cast<const ForeignMessage&>( in TEST_F() 1079 const ForeignMessage& value_int32_message = in TEST_F() 1080 down_cast<const ForeignMessage&>( in TEST_F() 1117 ForeignMessage* value_int32_message = down_cast<ForeignMessage*>( in TEST_F() 1142 Map<int32, ForeignMessage>* map_int32_foreign_message = in TEST_F() 1272 const ForeignMessage& value_int32_message = in TEST_F() 1273 down_cast<const ForeignMessage&>( in TEST_F() [all …]
|
D | unittest_no_field_presence.proto | 73 ForeignMessage optional_foreign_message = 19; 105 repeated ForeignMessage repeated_foreign_message = 49; 130 message ForeignMessage { message
|
D | unittest_proto3.proto | 97 ForeignMessage single_foreign_message = 19; 126 repeated ForeignMessage repeated_foreign_message = 49; 158 message ForeignMessage { message 235 ForeignMessage MessageField = 4; 240 repeated ForeignMessage RepeatedMessageField = 10;
|
D | generated_message_reflection_unittest.cc | 90 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST() 149 EXPECT_NE(&unittest::ForeignMessage::default_instance(), in TEST() 360 const protobuf_unittest::ForeignMessage* expected = in TEST() 383 const protobuf_unittest::ForeignMessage* expected = message.MutableExtension( in TEST() 829 message, unittest::ForeignMessage::descriptor()->FindFieldByName("c")), in TEST() 837 message, unittest::ForeignMessage::descriptor()->FindFieldByName("c")), in TEST()
|
/external/golang-protobuf/conformance/internal/conformance_proto/ |
D | conformance.pb.go | 378 …OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_m… 401 …RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign… 423 …MapStringForeignMessage map[string]*ForeignMessage `protobuf:"bytes,72,rep,name=map_st… 618 func (m *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage { 772 func (m *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage { 919 func (m *TestAllTypes) GetMapStringForeignMessage() map[string]*ForeignMessage { 1354 type ForeignMessage struct { struct 1361 func (m *ForeignMessage) Reset() { *m = ForeignMessage{} } argument 1362 func (m *ForeignMessage) String() string { return proto.CompactTextString(m) } argument 1363 func (*ForeignMessage) ProtoMessage() {} argument [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | MessageTest.java | 33 import protobuf_unittest.UnittestProto.ForeignMessage; 57 .setOptionalForeignMessage(ForeignMessage.getDefaultInstance()) 65 .setOptionalForeignMessage(ForeignMessage.newBuilder().setC(3).build()) 337 .setOptionalForeignMessage(ForeignMessage.getDefaultInstance()) in testDynamicRepeatedMessageNotNull() 339 .addRepeatedForeignMessage(ForeignMessage.getDefaultInstance()) in testDynamicRepeatedMessageNotNull() 340 .addRepeatedForeignMessage(ForeignMessage.getDefaultInstance()) in testDynamicRepeatedMessageNotNull()
|
D | GeneratedMessageTest.java | 57 import protobuf_unittest.UnittestProto.ForeignMessage; 113 builder.setOptionalForeignMessage(ForeignMessage.newBuilder().setC(1)); in testUsingBuilderMultipleTimes() 114 builder.addRepeatedForeignMessage(ForeignMessage.newBuilder().setC(1)); in testUsingBuilderMultipleTimes() 132 builder.setOptionalForeignMessage(ForeignMessage.newBuilder().setC(2)); in testUsingBuilderMultipleTimes() 133 builder.setRepeatedForeignMessage(0, ForeignMessage.newBuilder().setC(2)); in testUsingBuilderMultipleTimes() 161 builder.addRepeatedForeignMessage(ForeignMessage.getDefaultInstance()); in testProtosShareRepeatedArraysIfDidntChange() 175 builder.addRepeatedForeignMessage(ForeignMessage.getDefaultInstance()); in testRepeatedArraysAreImmutable() 357 ForeignMessage foreignMessage = in testRepeatedAppend() 358 ForeignMessage.newBuilder().setC(12).build(); in testRepeatedAppend() 372 ForeignMessage foreignMessage = in testRepeatedAppendRejectsNull() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 58 SingleForeignMessage = new ForeignMessage { C = 10 }, in CreateFullTestAllTypes() 80 RepeatedForeignMessage = { new ForeignMessage(), new ForeignMessage { C = 10 } }, in CreateFullTestAllTypes()
|
D | GeneratedMessageTest.cs | 53 var message1 = new TestAllTypes { SingleForeignMessage = new ForeignMessage() }; in EmptyMessageFieldDistinctFromMissingMessageField() 149 SingleForeignMessage = new ForeignMessage { C = 10 }, in RoundTrip_SingleValues() 183 RepeatedForeignMessage = { new ForeignMessage(), new ForeignMessage { C = 10 } }, in RoundTrip_RepeatedValues() 223 { 0, new ForeignMessage { C = 10 } }, in RoundTrip_Maps() 224 { 5, new ForeignMessage() }, in RoundTrip_Maps() 260 var nestedMessage = new ForeignMessage { C = 20 }; in MapWithOnlyValue() 302 Assert.AreEqual(new ForeignMessage(), parsed.MapInt32ForeignMessage[key]); in MapWithOnlyKey_MessageValue() 701 var message = new ForeignMessage { C = 31 }; in CustomDiagnosticMessage_DirectToStringCall() 709 var message = new TestAllTypes { SingleForeignMessage = new ForeignMessage { C = 16 } }; in CustomDiagnosticMessage_Nested() 717 var message = new ForeignMessage { C = 31 }; in CustomDiagnosticMessage_DirectToTextWriterCall()
|
D | FieldCodecTest.cs | 62 new FieldCodecTestData<ForeignMessage>( 63 … FieldCodec.ForMessage(100, ForeignMessage.Parser), new ForeignMessage { C = 10 }, "Message"),
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
D | RepeatedFieldTest.cs | 300 var message1 = new ForeignMessage { C = 2000 }; in AddEntriesFrom_Message() 301 var message2 = new ForeignMessage { C = -250 }; in AddEntriesFrom_Message() 313 var field = new RepeatedField<ForeignMessage>(); in AddEntriesFrom_Message() 316 field.AddEntriesFrom(input, FieldCodec.ForMessage(tag, ForeignMessage.Parser)); in AddEntriesFrom_Message() 387 var message1 = new ForeignMessage { C = 20 }; in WriteTo_Message() 388 var message2 = new ForeignMessage { C = 25 }; in WriteTo_Message() 390 var field = new RepeatedField<ForeignMessage> { message1, message2 }; in WriteTo_Message() 393 field.WriteTo(output, FieldCodec.ForMessage(tag, ForeignMessage.Parser)); in WriteTo_Message() 399 Assert.AreEqual(message1, input.ReadMessage(ForeignMessage.Parser)); in WriteTo_Message() 401 Assert.AreEqual(message2, input.ReadMessage(ForeignMessage.Parser)); in WriteTo_Message()
|
D | MapFieldTest.cs | 51 var message = new ForeignMessage { C = 20 }; in Clone_ClonesMessages() 52 var map = new MapField<string, ForeignMessage> { { "x", message } }; in Clone_ClonesMessages() 79 var map = new MapField<string, ForeignMessage>(); in Add_ForbidsNullKeys() 80 Assert.Throws<ArgumentNullException>(() => map.Add(null, new ForeignMessage())); in Add_ForbidsNullKeys() 86 var map = new MapField<string, ForeignMessage>(); in Indexer_ForbidsNullKeys() 87 Assert.Throws<ArgumentNullException>(() => map[null] = new ForeignMessage()); in Indexer_ForbidsNullKeys()
|
/external/protobuf/python/google/protobuf/internal/ |
D | more_extensions.proto | 48 message ForeignMessage { message 55 optional ForeignMessage optional_message_extension = 2; 58 repeated ForeignMessage repeated_message_extension = 4;
|
/external/protobuf/js/ |
D | proto3_test.proto | 54 ForeignMessage optional_foreign_message = 19; 73 repeated ForeignMessage repeated_foreign_message = 49; 79 ForeignMessage oneof_foreign_message = 112;
|
D | testbinary.proto | 61 optional ForeignMessage optional_foreign_message = 19; 85 repeated ForeignMessage repeated_foreign_message = 49; 105 ForeignMessage oneof_foreign_message = 112; 112 message ForeignMessage { message
|
D | proto3_test.js | 144 var submsg = new proto.jspb.test.ForeignMessage(); 164 submsg = new proto.jspb.test.ForeignMessage(); 236 var submsg = new proto.jspb.test.ForeignMessage(); 277 msg.setOptionalForeignMessage(new proto.jspb.test.ForeignMessage());
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 194 …r::GeneratedClrTypeInfo(typeof(global::Conformance.ForeignMessage), global::Conformance.ForeignMes… in ConformanceReflection() 1037 private global::Conformance.ForeignMessage optionalForeignMessage_; 1038 public global::Conformance.ForeignMessage OptionalForeignMessage { 1244 …private static readonly pb::FieldCodec<global::Conformance.ForeignMessage> _repeated_repeatedForei… 1245 = pb::FieldCodec.ForMessage(394, global::Conformance.ForeignMessage.Parser); 1246 …dField<global::Conformance.ForeignMessage> repeatedForeignMessage_ = new pbc::RepeatedField<global… 1247 public pbc::RepeatedField<global::Conformance.ForeignMessage> RepeatedForeignMessage { 1436 …private static readonly pbc::MapField<string, global::Conformance.ForeignMessage>.Codec _map_mapSt… 1437 …obal::Conformance.ForeignMessage>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18… 1438 …ing, global::Conformance.ForeignMessage> mapStringForeignMessage_ = new pbc::MapField<string, glob… [all …]
|
/external/tensorflow/tensorflow/tools/proto_text/ |
D | test.proto | 43 ForeignMessage optional_foreign_message = 19; 99 message ForeignMessage { message
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | MapUnittestProto3.cs | 367 …private static readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage>.Code… 368 ….TestProtos.ForeignMessage>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global… 369 …rotobuf.TestProtos.ForeignMessage> mapInt32ForeignMessage_ = new pbc::MapField<int, global::Google… 370 …public pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage> MapInt32ForeignMessag… 1067 …private static readonly pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage>.Code… 1068 ….TestProtos.ForeignMessage>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForMessage(18, global… 1069 …rotobuf.TestProtos.ForeignMessage> mapInt32ForeignMessage_ = new pbc::MapField<int, global::Google… 1070 …public pbc::MapField<int, global::Google.Protobuf.TestProtos.ForeignMessage> MapInt32ForeignMessag…
|
D | UnittestProto3.cs | 159 …(typeof(global::Google.Protobuf.TestProtos.ForeignMessage), global::Google.Protobuf.TestProtos.For… in UnittestProto3Reflection() 488 private global::Google.Protobuf.TestProtos.ForeignMessage singleForeignMessage_; 489 public global::Google.Protobuf.TestProtos.ForeignMessage SingleForeignMessage { 698 …private static readonly pb::FieldCodec<global::Google.Protobuf.TestProtos.ForeignMessage> _repeate… 699 = pb::FieldCodec.ForMessage(394, global::Google.Protobuf.TestProtos.ForeignMessage.Parser); 700 …rotobuf.TestProtos.ForeignMessage> repeatedForeignMessage_ = new pbc::RepeatedField<global::Google… 701 …public pbc::RepeatedField<global::Google.Protobuf.TestProtos.ForeignMessage> RepeatedForeignMessag… 1224 singleForeignMessage_ = new global::Google.Protobuf.TestProtos.ForeignMessage(); in MergeFrom() 1364 singleForeignMessage_ = new global::Google.Protobuf.TestProtos.ForeignMessage(); in MergeFrom() 1925 public sealed partial class ForeignMessage : pb::IMessage<ForeignMessage> { class [all …]
|
D | ForeignMessagePartial.cs | 38 public partial class ForeignMessage : ICustomDiagnosticMessage class
|
/external/protobuf/python/google/protobuf/pyext/ |
D | python.proto | 48 optional ForeignMessage cc = 2; 56 message ForeignMessage { message
|