Searched refs:SingleBytes (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 49 …Assert.AreEqual(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue… in GetValue() 106 SingleBytes = ByteString.Empty, in Clear() 140 SingleBytes = ByteString.CopyFrom(99, 98, 97), in SetValue_SingleFields()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 52 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CreateFullTestAllTypes()
|
D | GeneratedMessageTest.cs | 64 Assert.AreEqual(ByteString.Empty, message.SingleBytes); in DefaultValues() 122 Assert.Throws<ArgumentNullException>(() => message.SingleBytes = null); in NullStringAndBytesRejected() 143 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in RoundTrip_SingleValues() 445 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CloneSingleNonMessageValues()
|
D | JsonFormatterTest.cs | 73 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in AllSingleFields()
|
D | CodedInputStreamTest.cs | 258 var message = new TestAllTypes { SingleBytes = ByteString.CopyFrom(blob) }; in ReadHugeBlob()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 469 public pb::ByteString SingleBytes { property in Google.Protobuf.TestProtos.TestAllTypes 837 if (SingleBytes != other.SingleBytes) return false; in Equals() 891 if (SingleBytes.Length != 0) hash ^= SingleBytes.GetHashCode(); in GetHashCode() 990 if (SingleBytes.Length != 0) { in WriteTo() 992 output.WriteBytes(SingleBytes); in WriteTo() 1106 if (SingleBytes.Length != 0) { in CalculateSize() 1107 size += 1 + pb::CodedOutputStream.ComputeBytesSize(SingleBytes); in CalculateSize() 1213 if (other.SingleBytes.Length != 0) { in MergeFrom() 1214 SingleBytes = other.SingleBytes; in MergeFrom() 1352 SingleBytes = input.ReadBytes(); in MergeFrom()
|