/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 110 Assert.AreEqual(0, message.OneofUint32); in DefaultValues() 559 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 566 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 574 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 579 message.OneofUint32 = 20; in OneofProperties() 581 Assert.AreEqual(20, message.OneofUint32); in OneofProperties() 584 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in OneofProperties() 589 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 596 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 606 var message2 = new TestAllTypes { OneofUint32 = 0 }; in Oneof_DefaultValuesNotEqual() [all …]
|
/external/cronet/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 110 Assert.AreEqual(0, message.OneofUint32); in DefaultValues() 559 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 566 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 574 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 579 message.OneofUint32 = 20; in OneofProperties() 581 Assert.AreEqual(20, message.OneofUint32); in OneofProperties() 584 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in OneofProperties() 589 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 596 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 606 var message2 = new TestAllTypes { OneofUint32 = 0 }; in Oneof_DefaultValuesNotEqual() [all …]
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 111 Assert.AreEqual(0, message.OneofUint32); in DefaultValues() 605 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 612 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 620 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 625 message.OneofUint32 = 20; in OneofProperties() 627 Assert.AreEqual(20, message.OneofUint32); in OneofProperties() 630 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in OneofProperties() 635 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 642 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 652 var message2 = new TestAllTypes { OneofUint32 = 0 }; in Oneof_DefaultValuesNotEqual() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 111 Assert.AreEqual(0, message.OneofUint32); in DefaultValues() 605 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 612 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 620 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 625 message.OneofUint32 = 20; in OneofProperties() 627 Assert.AreEqual(20, message.OneofUint32); in OneofProperties() 630 Assert.AreEqual(TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in OneofProperties() 635 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 642 Assert.AreEqual(0, message.OneofUint32); in OneofProperties() 652 var message2 = new TestAllTypes { OneofUint32 = 0 }; in Oneof_DefaultValuesNotEqual() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 77 …Assert.AreEqual(message.OneofUint32, fields[TestProtos.TestAllTypes.OneofUint32FieldNumber].Access… in GetValue() 123 message.OneofUint32 = 10; in HasValue_Proto3_Oneof() 195 message.OneofUint32 = 10; in HasValue_Proto2_Oneof() 272 message.OneofUint32 = 10; in Oneof() 345 message.OneofUint32 = 100; in Clear_Proto3_Oneof() 346 … Assert.AreEqual(TestProtos.TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in Clear_Proto3_Oneof() 363 message.OneofUint32 = 100; in Clear_Proto2_Oneof() 364 … Assert.AreEqual(Proto2.TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in Clear_Proto2_Oneof()
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 77 …Assert.AreEqual(message.OneofUint32, fields[TestProtos.TestAllTypes.OneofUint32FieldNumber].Access… in GetValue() 123 message.OneofUint32 = 10; in HasValue_Proto3_Oneof() 195 message.OneofUint32 = 10; in HasValue_Proto2_Oneof() 272 message.OneofUint32 = 10; in Oneof() 345 message.OneofUint32 = 100; in Clear_Proto3_Oneof() 346 … Assert.AreEqual(TestProtos.TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in Clear_Proto3_Oneof() 363 message.OneofUint32 = 100; in Clear_Proto2_Oneof() 364 … Assert.AreEqual(Proto2.TestAllTypes.OneofFieldOneofCase.OneofUint32, message.OneofFieldCase); in Clear_Proto2_Oneof()
|
/external/golang-protobuf/internal/impl/ |
D | legacy_aberrant_test.go | 94 (*OneofUint32)(nil), 122 type OneofUint32 struct { struct 123 OneofUint32 uint32 `protobuf:"varint,55,opt,name=oneof_uint32,oneof,def=3200"` member 168 func (OneofUint32) isOneofUnion() {} argument
|
/external/golang-protobuf/internal/testprotos/nullable/ |
D | nullable.go | 85 OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,oneof"` member 192 OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,proto3,oneof"` member
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 73 …Assert.AreEqual(message.OneofUint32, fields[TestAllTypes.OneofUint32FieldNumber].Accessor.GetValue… in GetValue() 194 message.OneofUint32 = 10; in Oneof()
|
/external/cronet/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 73 …Assert.AreEqual(message.OneofUint32, fields[TestAllTypes.OneofUint32FieldNumber].Accessor.GetValue… in GetValue() 194 message.OneofUint32 = 10; in Oneof()
|
/external/golang-protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/ |
D | test.pb.go | 216 OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"` member 543 return x.OneofUint32 721 b.EncodeVarint(uint64(x.OneofUint32)) 966 n += proto.SizeVarint(uint64(x.OneofUint32))
|
/external/golang-protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/ |
D | test.pb.go | 216 OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"` member 543 return x.OneofUint32 721 b.EncodeVarint(uint64(x.OneofUint32)) 966 n += proto.SizeVarint(uint64(x.OneofUint32))
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | TestMessagesProto3.cs | 444 case OneofFieldOneofCase.OneofUint32: in TestAllTypesProto3() 445 OneofUint32 = other.OneofUint32; in TestAllTypesProto3() 1528 public uint OneofUint32 { property in ProtobufTestMessages.Proto3.TestAllTypesProto3 1529 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; } 1532 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; 2257 OneofUint32 = 111, enumerator 2388 if (OneofUint32 != other.OneofUint32) return false; in Equals() 2547 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode(); in GetHashCode() 2786 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { in WriteTo() 2788 output.WriteUInt32(OneofUint32); in WriteTo() [all …]
|
D | TestMessagesProto2.cs | 430 case OneofFieldOneofCase.OneofUint32: in TestAllTypesProto2() 431 OneofUint32 = other.OneofUint32; in TestAllTypesProto2() 1781 public uint OneofUint32 { property in ProtobufTestMessages.Proto2.TestAllTypesProto2 1785 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; 1792 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32; } 2921 OneofUint32 = 111, enumerator 3050 if (OneofUint32 != other.OneofUint32) return false; in Equals() 3194 if (HasOneofUint32) hash ^= OneofUint32.GetHashCode(); in GetHashCode() 3417 output.WriteUInt32(OneofUint32); in WriteTo() 3759 output.WriteUInt32(OneofUint32); in IBufferMessage.InternalWriteTo() [all …]
|
D | UnittestProto3.cs | 336 case OneofFieldOneofCase.OneofUint32: in TestAllTypes() 337 OneofUint32 = other.OneofUint32; in TestAllTypes() 881 public uint OneofUint32 { property in Google.Protobuf.TestProtos.TestAllTypes 882 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; } 885 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; 929 OneofUint32 = 111, enumerator 1007 if (OneofUint32 != other.OneofUint32) return false; in Equals() 1063 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode(); in GetHashCode() 1196 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { in WriteTo() 1198 output.WriteUInt32(OneofUint32); in WriteTo() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | TestMessagesProto3.cs | 444 case OneofFieldOneofCase.OneofUint32: in TestAllTypesProto3() 445 OneofUint32 = other.OneofUint32; in TestAllTypesProto3() 1528 public uint OneofUint32 { property in ProtobufTestMessages.Proto3.TestAllTypesProto3 1529 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; } 1532 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; 2257 OneofUint32 = 111, enumerator 2388 if (OneofUint32 != other.OneofUint32) return false; in Equals() 2547 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode(); in GetHashCode() 2786 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { in WriteTo() 2788 output.WriteUInt32(OneofUint32); in WriteTo() [all …]
|
D | TestMessagesProto2.cs | 430 case OneofFieldOneofCase.OneofUint32: in TestAllTypesProto2() 431 OneofUint32 = other.OneofUint32; in TestAllTypesProto2() 1781 public uint OneofUint32 { property in ProtobufTestMessages.Proto2.TestAllTypesProto2 1785 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; 1792 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32; } 2921 OneofUint32 = 111, enumerator 3050 if (OneofUint32 != other.OneofUint32) return false; in Equals() 3194 if (HasOneofUint32) hash ^= OneofUint32.GetHashCode(); in GetHashCode() 3417 output.WriteUInt32(OneofUint32); in WriteTo() 3759 output.WriteUInt32(OneofUint32); in IBufferMessage.InternalWriteTo() [all …]
|
D | UnittestProto3.cs | 336 case OneofFieldOneofCase.OneofUint32: in TestAllTypes() 337 OneofUint32 = other.OneofUint32; in TestAllTypes() 881 public uint OneofUint32 { property in Google.Protobuf.TestProtos.TestAllTypes 882 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; } 885 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; 929 OneofUint32 = 111, enumerator 1007 if (OneofUint32 != other.OneofUint32) return false; in Equals() 1063 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode(); in GetHashCode() 1196 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { in WriteTo() 1198 output.WriteUInt32(OneofUint32); in WriteTo() [all …]
|
/external/golang-protobuf/internal/testprotos/legacy/proto3_20180125_92554152/ |
D | test.pb.go | 231 OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"` member 796 return x.OneofUint32 974 b.EncodeVarint(uint64(x.OneofUint32)) 1219 n += proto.SizeVarint(uint64(x.OneofUint32))
|
/external/golang-protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/ |
D | test.pb.go | 269 OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"` member 834 return x.OneofUint32 1012 b.EncodeVarint(uint64(x.OneofUint32)) 1257 n += proto.SizeVarint(uint64(x.OneofUint32))
|
/external/golang-protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/ |
D | test.pb.go | 727 OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"` member 876 return x.OneofUint32 1054 b.EncodeVarint(uint64(x.OneofUint32)) 1299 n += proto.SizeVarint(uint64(x.OneofUint32))
|
/external/golang-protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/ |
D | test.pb.go | 736 OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"` member 885 return x.OneofUint32
|
/external/golang-protobuf/internal/testprotos/test3/ |
D | test.pb.go | 821 return x.OneofUint32 887 OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"` member
|
/external/golang-protobuf/cmd/protoc-gen-go/testdata/proto2/ |
D | fields.pb.go | 857 return x.OneofUint32 1002 OneofUint32 uint32 `protobuf:"varint,605,opt,name=oneof_uint32,json=oneofUint32,oneof"` member
|
/external/golang-protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/ |
D | test.pb.go | 427 OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"` member 1501 return x.OneofUint32 1831 b.EncodeVarint(uint64(x.OneofUint32)) 2283 n += proto.SizeVarint(uint64(x.OneofUint32))
|