Home
last modified time | relevance | path

Searched refs:SingleBytes (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs49 …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/
DSampleMessages.cs52 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CreateFullTestAllTypes()
DGeneratedMessageTest.cs64 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()
DJsonFormatterTest.cs73 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in AllSingleFields()
DCodedInputStreamTest.cs258 var message = new TestAllTypes { SingleBytes = ByteString.CopyFrom(blob) }; in ReadHugeBlob()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs469 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()