Searched refs:OneofUint32 (Results 1 – 5 of 5) sorted by relevance
/external/protobuf/csharp/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/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 852 case OneofFieldOneofCase.OneofUint32: in TestAllTypes() 853 OneofUint32 = other.OneofUint32; in TestAllTypes() 1463 public uint OneofUint32 { property in Conformance.TestAllTypes 1464 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; } 1467 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; 1925 OneofUint32 = 111, enumerator 2013 if (OneofUint32 != other.OneofUint32) return false; in Equals() 2127 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode(); in GetHashCode() 2310 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { in WriteTo() 2312 output.WriteUInt32(OneofUint32); in WriteTo() [all …]
|
/external/protobuf/csharp/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/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 303 case OneofFieldOneofCase.OneofUint32: in TestAllTypes() 304 OneofUint32 = other.OneofUint32; in TestAllTypes() 755 public uint OneofUint32 { property in Google.Protobuf.TestProtos.TestAllTypes 756 get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; } 759 oneofFieldCase_ = OneofFieldOneofCase.OneofUint32; 797 OneofUint32 = 111, enumerator 867 if (OneofUint32 != other.OneofUint32) return false; in Equals() 921 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode(); in GetHashCode() 1044 if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) { in WriteTo() 1046 output.WriteUInt32(OneofUint32); in WriteTo() [all …]
|
/external/golang-protobuf/conformance/internal/conformance_proto/ |
D | conformance.pb.go | 945 OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"` member 977 return x.OneofUint32
|