/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
H A D | FieldAccessTest.cs | 49 Assert.AreEqual(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)); in GetValue() 106 SingleBytes = ByteString.Empty, in Clear() 140 SingleBytes = ByteString.CopyFrom(99, 98, 97), in SetValue_SingleFields()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
H A D | SampleMessages.cs | 52 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CreateFullTestAllTypes()
|
H A 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()
|
H A D | CodedInputStreamTest.cs | 258 var message = new TestAllTypes { SingleBytes = ByteString.CopyFrom(blob) };
in ReadHugeBlob()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | GeneratedMessageTest.cs | 65 Assert.AreEqual(ByteString.Empty, message.SingleBytes);
in DefaultValues() 123 Assert.Throws<ArgumentNullException>(() => message.SingleBytes = null);
in NullStringAndBytesRejected() 146 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4),
in RoundTrip_SingleValues() 491 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4),
in CloneSingleNonMessageValues()
|
H A D | SampleMessages.cs | 55 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CreateFullTestAllTypes()
|
H A D | JsonFormatterTest.cs | 105 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in AllSingleFields()
|
H A D | CodedInputStreamTest.cs | 357 var message = new TestAllTypes { SingleBytes = ByteString.CopyFrom(blob) };
in ReadHugeBlob() 915 message.SingleBytes = ByteString.CopyFrom(value);
in GenerateBigSerializedMessage()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
H A D | FieldAccessTest.cs | 53 Assert.AreEqual(message.SingleBytes, fields[TestProtos.TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)); in GetValue() 226 SingleBytes = ByteString.CopyFrom(99, 98, 97), in SetValue_SingleFields() 297 SingleBytes = ByteString.Empty, in Clear()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
H A D | UnittestProto3.cs | 162 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestAllTypes), global::Google.Protobuf.TestProtos.TestAllTypes.Parser, new[]{ "SingleInt32", "SingleInt64", "SingleUint32", "SingleUint64", "SingleSint32", "SingleSint64", "SingleFixed32", "SingleFixed64", "SingleSfixed32", "SingleSfixed64", "SingleFloat", "SingleDouble", "SingleBool", "SingleString", "SingleBytes", "SingleNestedMessage", "SingleForeignMessage", "SingleImportMessage", "SingleNestedEnum", "SingleForeignEnum", "SingleImportEnum", "SinglePublicImportMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedImportMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedImportEnum", "RepeatedPublicImportMessage", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes" }, new[]{ "OneofField" }, new[]{ typeof(global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage), global::Google.Protobuf.TestProtos.TestAllTypes.Types.NestedMessage.Parser, new[]{ "Bb" }, null, null, null, null)}), in UnittestProto3Reflection() 514 public pb::ByteString SingleBytes { property in Google.Protobuf.TestProtos.TestAllTypes 919 if (SingleBytes != other.SingleBytes) return false; in Equals() 974 if (SingleBytes.Length != 0) hash ^= SingleBytes.GetHashCode(); in GetHashCode() 1081 if (SingleBytes.Length != 0) { in WriteTo() 1083 output.WriteBytes(SingleBytes); in WriteTo() 1216 if (SingleBytes.Length != 0) { in IBufferMessage.InternalWriteTo() 1218 output.WriteBytes(SingleBytes); in IBufferMessage.InternalWriteTo() [all...] |