/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
D | WrappersTest.cs | 48 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() 134 … BytesField = { 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/WellKnownTypes/ |
D | WrappersTest.cs | 48 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() 134 … BytesField = { 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/python/apitools/samples/iam_sample/iam_v1/ |
D | iam_v1_messages.py | 592 etag = _messages.BytesField(3) 740 etag = _messages.BytesField(4) 799 privateKeyData = _messages.BytesField(2) 801 publicKeyData = _messages.BytesField(4) 826 bytesToSign = _messages.BytesField(1) 838 signature = _messages.BytesField(2)
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestWellKnownTypes.cs | 224 BytesField = other.BytesField; in TestWellKnownTypes() 442 public pb::ByteString BytesField { property in Google.Protobuf.TestProtos.TestWellKnownTypes 494 if (BytesField != other.BytesField) return false; in Equals() 519 if (bytesField_ != null) hash ^= BytesField.GetHashCode(); in GetHashCode() 595 _single_bytesField_codec.WriteTagAndValue(output, BytesField); in WriteTo() 661 size += _single_bytesField_codec.CalculateSizeWithTag(BytesField); in CalculateSize() 772 if (bytesField_ == null || other.BytesField != pb::ByteString.Empty) { in MergeFrom() 773 BytesField = other.BytesField; in MergeFrom() 915 BytesField = value; in MergeFrom() 1165 public pbc::RepeatedField<pb::ByteString> BytesField { property in Google.Protobuf.TestProtos.RepeatedWellKnownTypes [all …]
|
/external/golang-protobuf/proto/ |
D | clone_test.go | 289 src: &pb.Communique{Union: &pb.Communique_Msg{&pb.Strings{BytesField: []byte{1, 2, 3}}}}, 291 want: &pb.Communique{Union: &pb.Communique_Msg{&pb.Strings{BytesField: []byte{1, 2, 3}}}}, 300 dst: &pb.Communique{Union: &pb.Communique_Msg{&pb.Strings{BytesField: []byte{1, 2, 3}}}}, 301 …nion: &pb.Communique_Msg{&pb.Strings{StringField: proto.String("123"), BytesField: []byte{1, 2, 3}…
|
/external/python/apitools/apitools/base/protorpclite/ |
D | protojson.py | 165 if isinstance(field, messages.BytesField): 322 elif isinstance(field, messages.BytesField):
|
D | descriptor.py | 136 messages.BytesField: lambda value: codecs.escape_encode(value)[0], 145 messages.BytesField: lambda value: codecs.escape_decode(value)[0],
|
D | test_util.py | 298 bytes_value = messages.BytesField(8, variant=messages.Variant.BYTES) 331 bytes_value = messages.BytesField(8,
|
D | messages_test.py | 531 messages.BytesField, 606 messages.BytesField: b'abc', 722 messages.BytesField: b'abc', 758 messages.BytesField: 10.20, 819 messages.BytesField: (b'abc',),
|
D | descriptor_test.py | 139 (messages.BytesField,
|
D | messages.py | 1500 class BytesField(Field): class
|
/external/python/apitools/apitools/base/py/ |
D | base_api_test.py | 46 bytes_field = messages.BytesField(2) 74 nextPageToken = messages.BytesField(7) # pylint:disable=invalid-name
|
D | encoding_test.py | 36 field = messages.BytesField(1) 37 repfield = messages.BytesField(2, repeated=True) 171 value = messages.BytesField(2)
|
D | base_api.py | 537 if isinstance(field, messages.BytesField) and value is not None:
|
D | encoding_helper.py | 570 RegisterFieldTypeCodec(_SafeEncodeBytes, _SafeDecodeBytes)(messages.BytesField)
|
/external/perfetto/src/trace_processor/util/ |
D | protozero_to_text_unittests.cc | 212 TEST(ProtozeroToTextTest, BytesField) { in TEST() argument
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 94 BytesField = ByteString.Empty, in SingularWrappers_DefaultNonNullValues() 112 BytesField = ByteString.CopyFrom(1, 2, 3), in SingularWrappers_NonDefaultValues() 182 … BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappers()
|
D | JsonFormatterTest.cs | 301 BytesField = ByteString.FromBase64("ABCD"), in WrapperFormatting_Single()
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 94 BytesField = ByteString.Empty, in SingularWrappers_DefaultNonNullValues() 112 BytesField = ByteString.CopyFrom(1, 2, 3), in SingularWrappers_NonDefaultValues() 182 … BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappers()
|
/external/python/apitools/apitools/gen/ |
D | extended_descriptor.py | 332 if field_type in [messages.BytesField, messages.StringField]: 528 if field_type in [messages.BytesField, messages.StringField]:
|
D | message_registry.py | 71 variant=messages.BytesField.DEFAULT_VARIANT),
|
/external/protobuf/java/core/src/test/proto/com/google/protobuf/ |
D | test_bad_identifiers.proto | 144 repeated bytes BytesField = 24; // NO_PROTO3 field
|
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/ |
D | servicemanagement_v1_messages.py | 399 fileContents = _messages.BytesField(2) 1932 value = _messages.BytesField(2)
|
/external/python/apitools/samples/storage_sample/storage_v1/ |
D | storage_v1_messages.py | 784 etag = _messages.BytesField(2)
|
/external/python/apitools/samples/bigquery_sample/bigquery_v2/ |
D | bigquery_v2_messages.py | 414 qualifierEncoded = _messages.BytesField(4)
|