Home
last modified time | relevance | path

Searched refs:GetHashCode (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DConformance.cs339 public override int GetHashCode() { in GetHashCode() method in Conformance.ConformanceRequest
341 if (payloadCase_ == PayloadOneofCase.ProtobufPayload) hash ^= ProtobufPayload.GetHashCode(); in GetHashCode()
342 if (payloadCase_ == PayloadOneofCase.JsonPayload) hash ^= JsonPayload.GetHashCode(); in GetHashCode()
343 if (RequestedOutputFormat != 0) hash ^= RequestedOutputFormat.GetHashCode(); in GetHashCode()
626 public override int GetHashCode() { in GetHashCode() method in Conformance.ConformanceResponse
628 if (resultCase_ == ResultOneofCase.ParseError) hash ^= ParseError.GetHashCode(); in GetHashCode()
629 if (resultCase_ == ResultOneofCase.SerializeError) hash ^= SerializeError.GetHashCode(); in GetHashCode()
630 if (resultCase_ == ResultOneofCase.RuntimeError) hash ^= RuntimeError.GetHashCode(); in GetHashCode()
631 if (resultCase_ == ResultOneofCase.ProtobufPayload) hash ^= ProtobufPayload.GetHashCode(); in GetHashCode()
632 if (resultCase_ == ResultOneofCase.JsonPayload) hash ^= JsonPayload.GetHashCode(); in GetHashCode()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DEqualityTester.cs49 Assert.AreEqual(first.GetHashCode(), second.GetHashCode());
60 Assert.AreNotEqual(first.GetHashCode(), second.GetHashCode());
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs237 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Reflection.FileDescriptorSet
239 hash ^= file_.GetHashCode(); in GetHashCode()
515 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Reflection.FileDescriptorProto
517 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
518 if (Package.Length != 0) hash ^= Package.GetHashCode(); in GetHashCode()
519 hash ^= dependency_.GetHashCode(); in GetHashCode()
520 hash ^= publicDependency_.GetHashCode(); in GetHashCode()
521 hash ^= weakDependency_.GetHashCode(); in GetHashCode()
522 hash ^= messageType_.GetHashCode(); in GetHashCode()
523 hash ^= enumType_.GetHashCode(); in GetHashCode()
[all …]
DDescriptorPool.cs362 public override int GetHashCode() in GetHashCode() method
364 return descriptor.GetHashCode()*((1 << 16) - 1) + number; in GetHashCode()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs932 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.TestProtos.TestAllTypes
934 if (SingleInt32 != 0) hash ^= SingleInt32.GetHashCode(); in GetHashCode()
935 if (SingleInt64 != 0L) hash ^= SingleInt64.GetHashCode(); in GetHashCode()
936 if (SingleUint32 != 0) hash ^= SingleUint32.GetHashCode(); in GetHashCode()
937 if (SingleUint64 != 0UL) hash ^= SingleUint64.GetHashCode(); in GetHashCode()
938 if (SingleSint32 != 0) hash ^= SingleSint32.GetHashCode(); in GetHashCode()
939 if (SingleSint64 != 0L) hash ^= SingleSint64.GetHashCode(); in GetHashCode()
940 if (SingleFixed32 != 0) hash ^= SingleFixed32.GetHashCode(); in GetHashCode()
941 if (SingleFixed64 != 0UL) hash ^= SingleFixed64.GetHashCode(); in GetHashCode()
942 if (SingleSfixed32 != 0) hash ^= SingleSfixed32.GetHashCode(); in GetHashCode()
[all …]
DUnittestWellKnownTypes.cs487 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.TestProtos.TestWellKnownTypes
489 if (anyField_ != null) hash ^= AnyField.GetHashCode(); in GetHashCode()
490 if (apiField_ != null) hash ^= ApiField.GetHashCode(); in GetHashCode()
491 if (durationField_ != null) hash ^= DurationField.GetHashCode(); in GetHashCode()
492 if (emptyField_ != null) hash ^= EmptyField.GetHashCode(); in GetHashCode()
493 if (fieldMaskField_ != null) hash ^= FieldMaskField.GetHashCode(); in GetHashCode()
494 if (sourceContextField_ != null) hash ^= SourceContextField.GetHashCode(); in GetHashCode()
495 if (structField_ != null) hash ^= StructField.GetHashCode(); in GetHashCode()
496 if (timestampField_ != null) hash ^= TimestampField.GetHashCode(); in GetHashCode()
497 if (typeField_ != null) hash ^= TypeField.GetHashCode(); in GetHashCode()
[all …]
DMapUnittestProto3.cs429 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.TestProtos.TestMap
431 hash ^= MapInt32Int32.GetHashCode(); in GetHashCode()
432 hash ^= MapInt64Int64.GetHashCode(); in GetHashCode()
433 hash ^= MapUint32Uint32.GetHashCode(); in GetHashCode()
434 hash ^= MapUint64Uint64.GetHashCode(); in GetHashCode()
435 hash ^= MapSint32Sint32.GetHashCode(); in GetHashCode()
436 hash ^= MapSint64Sint64.GetHashCode(); in GetHashCode()
437 hash ^= MapFixed32Fixed32.GetHashCode(); in GetHashCode()
438 hash ^= MapFixed64Fixed64.GetHashCode(); in GetHashCode()
439 hash ^= MapSfixed32Sfixed32.GetHashCode(); in GetHashCode()
[all …]
DUnittestIssues.cs133 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.Issue307
224 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce
315 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Types.NestedTwice
451 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.NegativeEnumMessage
453 if (Value != 0) hash ^= Value.GetHashCode(); in GetHashCode()
454 hash ^= values_.GetHashCode(); in GetHashCode()
455 hash ^= packedValues_.GetHashCode(); in GetHashCode()
573 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.DeprecatedChild
743 public override int GetHashCode() { in GetHashCode() method in UnitTest.Issues.TestProtos.DeprecatedFieldsMessage
745 if (PrimitiveValue != 0) hash ^= PrimitiveValue.GetHashCode(); in GetHashCode()
[all …]
DUnittestImportPublicProto3.cs100 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.TestProtos.PublicImportMessage
102 if (E != 0) hash ^= E.GetHashCode(); in GetHashCode()
DUnittestImportProto3.cs114 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.TestProtos.ImportMessage
116 if (D != 0) hash ^= D.GetHashCode(); in GetHashCode()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DApi.cs234 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Api
236 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
237 hash ^= methods_.GetHashCode(); in GetHashCode()
238 hash ^= options_.GetHashCode(); in GetHashCode()
239 if (Version.Length != 0) hash ^= Version.GetHashCode(); in GetHashCode()
240 if (sourceContext_ != null) hash ^= SourceContext.GetHashCode(); in GetHashCode()
241 hash ^= mixins_.GetHashCode(); in GetHashCode()
242 if (Syntax != 0) hash ^= Syntax.GetHashCode(); in GetHashCode()
527 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Method
529 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
[all …]
DType.cs235 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Type
237 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
238 hash ^= fields_.GetHashCode(); in GetHashCode()
239 hash ^= oneofs_.GetHashCode(); in GetHashCode()
240 hash ^= options_.GetHashCode(); in GetHashCode()
241 if (sourceContext_ != null) hash ^= SourceContext.GetHashCode(); in GetHashCode()
242 if (Syntax != 0) hash ^= Syntax.GetHashCode(); in GetHashCode()
563 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Field
565 if (Kind != 0) hash ^= Kind.GetHashCode(); in GetHashCode()
566 if (Cardinality != 0) hash ^= Cardinality.GetHashCode(); in GetHashCode()
[all …]
DWrappers.cs122 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.DoubleValue
124 if (Value != 0D) hash ^= Value.GetHashCode(); in GetHashCode()
247 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.FloatValue
249 if (Value != 0F) hash ^= Value.GetHashCode(); in GetHashCode()
372 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Int64Value
374 if (Value != 0L) hash ^= Value.GetHashCode(); in GetHashCode()
497 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.UInt64Value
499 if (Value != 0UL) hash ^= Value.GetHashCode(); in GetHashCode()
622 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Int32Value
624 if (Value != 0) hash ^= Value.GetHashCode(); in GetHashCode()
[all …]
DStruct.cs141 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Struct
143 hash ^= Fields.GetHashCode(); in GetHashCode()
381 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Value
383 if (kindCase_ == KindOneofCase.NullValue) hash ^= NullValue.GetHashCode(); in GetHashCode()
384 if (kindCase_ == KindOneofCase.NumberValue) hash ^= NumberValue.GetHashCode(); in GetHashCode()
385 if (kindCase_ == KindOneofCase.StringValue) hash ^= StringValue.GetHashCode(); in GetHashCode()
386 if (kindCase_ == KindOneofCase.BoolValue) hash ^= BoolValue.GetHashCode(); in GetHashCode()
387 if (kindCase_ == KindOneofCase.StructValue) hash ^= StructValue.GetHashCode(); in GetHashCode()
388 if (kindCase_ == KindOneofCase.ListValue) hash ^= ListValue.GetHashCode(); in GetHashCode()
595 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.ListValue
[all …]
DDuration.cs169 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Duration
171 if (Seconds != 0L) hash ^= Seconds.GetHashCode(); in GetHashCode()
172 if (Nanos != 0) hash ^= Nanos.GetHashCode(); in GetHashCode()
DTimestamp.cs180 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Timestamp
182 if (Seconds != 0L) hash ^= Seconds.GetHashCode(); in GetHashCode()
183 if (Nanos != 0) hash ^= Nanos.GetHashCode(); in GetHashCode()
DAny.cs210 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.Any
212 if (TypeUrl.Length != 0) hash ^= TypeUrl.GetHashCode(); in GetHashCode()
213 if (Value.Length != 0) hash ^= Value.GetHashCode(); in GetHashCode()
DSourceContext.cs109 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.SourceContext
111 if (FileName.Length != 0) hash ^= FileName.GetHashCode(); in GetHashCode()
DFieldMask.cs304 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.WellKnownTypes.FieldMask
306 hash ^= paths_.GetHashCode(); in GetHashCode()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DAddressbook.cs150 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Examples.AddressBook.Person
152 if (Name.Length != 0) hash ^= Name.GetHashCode(); in GetHashCode()
153 if (Id != 0) hash ^= Id.GetHashCode(); in GetHashCode()
154 if (Email.Length != 0) hash ^= Email.GetHashCode(); in GetHashCode()
155 hash ^= phones_.GetHashCode(); in GetHashCode()
326 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber
328 if (Number.Length != 0) hash ^= Number.GetHashCode(); in GetHashCode()
329 if (Type != 0) hash ^= Type.GetHashCode(); in GetHashCode()
465 public override int GetHashCode() { in GetHashCode() method in Google.Protobuf.Examples.AddressBook.AddressBook
467 hash ^= people_.GetHashCode(); in GetHashCode()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonToken.cs113 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.JsonToken
119 hash = hash * 31 + stringValue == null ? 0 : stringValue.GetHashCode(); in GetHashCode()
120 hash = hash * 31 + numberValue.GetHashCode(); in GetHashCode()
DByteString.cs301 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.ByteString
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DReadOnlyDictionary.cs137 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.Collections.ReadOnlyDictionary
139 return wrapped.GetHashCode(); in GetHashCode()
DMapField.cs361 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.Collections.MapField
367 hash ^= pair.Key.GetHashCode() * 31 + valueComparer.GetHashCode(pair.Value); in GetHashCode()
DRepeatedField.cs405 public override int GetHashCode() in GetHashCode() method in Google.Protobuf.Collections.RepeatedField
410 hash = hash * 31 + array[i].GetHashCode(); in GetHashCode()

12