Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs48 Assert.IsNull(message.BytesField); in NullIsDefault()
64 BytesField = ByteString.CopyFrom(1, 2, 3), in NonDefaultSingleValues()
78 Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), parsed.BytesField); in NonDefaultSingleValues()
94 BytesField = ByteString.Empty, in NonNullDefaultIsPreservedThroughSerialization()
108 Assert.AreEqual(ByteString.Empty, parsed.BytesField); in NonNullDefaultIsPreservedThroughSerialization()
125 Assert.Throws<ArgumentNullException>(() => message.BytesField.Add((ByteString) null)); in RepeatedWrappersProhibitNullItems()
134BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappersSerializeDeserialize()
183 BytesField = { in MapWrappersSerializeDeserialize()
211 BytesField = ByteString.CopyFrom(1, 2, 3), in Reflection_SingleValues()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs218 BytesField = other.BytesField; in TestWellKnownTypes()
408 public pb::ByteString BytesField { property in Google.Protobuf.TestProtos.TestWellKnownTypes
456 if (BytesField != other.BytesField) return false; in Equals()
480 if (bytesField_ != null) hash ^= BytesField.GetHashCode(); in GetHashCode()
551 _single_bytesField_codec.WriteTagAndValue(output, BytesField); in WriteTo()
613 size += _single_bytesField_codec.CalculateSizeWithTag(BytesField); in CalculateSize()
720 if (bytesField_ == null || other.BytesField != pb::ByteString.Empty) { in MergeFrom()
721 BytesField = other.BytesField; in MergeFrom()
861 BytesField = value; in MergeFrom()
1086 public pbc::RepeatedField<pb::ByteString> BytesField { property in Google.Protobuf.TestProtos.RepeatedWellKnownTypes
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs94 BytesField = ByteString.Empty, in SingularWrappers_DefaultNonNullValues()
112 BytesField = ByteString.CopyFrom(1, 2, 3), in SingularWrappers_NonDefaultValues()
179BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappers()
DJsonFormatterTest.cs264 BytesField = ByteString.FromBase64("ABCD"), in WrapperFormatting_Single()
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_bad_identifiers.proto145 repeated bytes BytesField = 24; // NO_PROTO3 field
/external/protobuf/conformance/
Dconformance_test.cc1182 "BytesField",