Home
last modified time | relevance | path

Searched refs:Equals (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DMapUnittestProto3.cs396 public override bool Equals(object other) { in Equals() method in Google.Protobuf.TestProtos.TestMap
397 return Equals(other as TestMap); in Equals()
401 public bool Equals(TestMap other) { in Equals() method in Google.Protobuf.TestProtos.TestMap
408 if (!MapInt32Int32.Equals(other.MapInt32Int32)) return false; in Equals()
409 if (!MapInt64Int64.Equals(other.MapInt64Int64)) return false; in Equals()
410 if (!MapUint32Uint32.Equals(other.MapUint32Uint32)) return false; in Equals()
411 if (!MapUint64Uint64.Equals(other.MapUint64Uint64)) return false; in Equals()
412 if (!MapSint32Sint32.Equals(other.MapSint32Sint32)) return false; in Equals()
413 if (!MapSint64Sint64.Equals(other.MapSint64Sint64)) return false; in Equals()
414 if (!MapFixed32Fixed32.Equals(other.MapFixed32Fixed32)) return false; in Equals()
[all …]
DUnittestProto3.cs867 public override bool Equals(object other) { in Equals() method in Google.Protobuf.TestProtos.TestAllTypes
868 return Equals(other as TestAllTypes); in Equals()
872 public bool Equals(TestAllTypes other) { in Equals() method in Google.Protobuf.TestProtos.TestAllTypes
894 if (!object.Equals(SingleNestedMessage, other.SingleNestedMessage)) return false; in Equals()
895 if (!object.Equals(SingleForeignMessage, other.SingleForeignMessage)) return false; in Equals()
896 if (!object.Equals(SingleImportMessage, other.SingleImportMessage)) return false; in Equals()
900 if (!object.Equals(SinglePublicImportMessage, other.SinglePublicImportMessage)) return false; in Equals()
901 if(!repeatedInt32_.Equals(other.repeatedInt32_)) return false; in Equals()
902 if(!repeatedInt64_.Equals(other.repeatedInt64_)) return false; in Equals()
903 if(!repeatedUint32_.Equals(other.repeatedUint32_)) return false; in Equals()
[all …]
DUnittestIssues.cs117 public override bool Equals(object other) { in Equals() method in UnitTest.Issues.TestProtos.Issue307
118 return Equals(other as Issue307); in Equals()
122 public bool Equals(Issue307 other) { in Equals() method in UnitTest.Issues.TestProtos.Issue307
208 public override bool Equals(object other) { in Equals() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce
209 return Equals(other as NestedOnce); in Equals()
213 public bool Equals(NestedOnce other) { in Equals() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce
299 public override bool Equals(object other) { in Equals() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Types.NestedTwice
300 return Equals(other as NestedTwice); in Equals()
304 public bool Equals(NestedTwice other) { in Equals() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Types.NestedTwice
432 public override bool Equals(object other) { in Equals() method in UnitTest.Issues.TestProtos.NegativeEnumMessage
[all …]
DUnittestWellKnownTypes.cs452 public override bool Equals(object other) { in Equals() method in Google.Protobuf.TestProtos.TestWellKnownTypes
453 return Equals(other as TestWellKnownTypes); in Equals()
457 public bool Equals(TestWellKnownTypes other) { in Equals() method in Google.Protobuf.TestProtos.TestWellKnownTypes
464 if (!object.Equals(AnyField, other.AnyField)) return false; in Equals()
465 if (!object.Equals(ApiField, other.ApiField)) return false; in Equals()
466 if (!object.Equals(DurationField, other.DurationField)) return false; in Equals()
467 if (!object.Equals(EmptyField, other.EmptyField)) return false; in Equals()
468 if (!object.Equals(FieldMaskField, other.FieldMaskField)) return false; in Equals()
469 if (!object.Equals(SourceContextField, other.SourceContextField)) return false; in Equals()
470 if (!object.Equals(StructField, other.StructField)) return false; in Equals()
[all …]
DUnittestImportPublicProto3.cs83 public override bool Equals(object other) { in Equals() method in Google.Protobuf.TestProtos.PublicImportMessage
84 return Equals(other as PublicImportMessage); in Equals()
88 public bool Equals(PublicImportMessage other) { in Equals() method in Google.Protobuf.TestProtos.PublicImportMessage
DUnittestImportProto3.cs97 public override bool Equals(object other) { in Equals() method in Google.Protobuf.TestProtos.ImportMessage
98 return Equals(other as ImportMessage); in Equals()
102 public bool Equals(ImportMessage other) { in Equals() method in Google.Protobuf.TestProtos.ImportMessage
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DEqualityTester.cs47 Assert.IsTrue(first.Equals(second));
48 Assert.IsTrue(first.Equals((object) second));
54 Assert.IsFalse(first.Equals(second));
55 Assert.IsFalse(first.Equals((object) second));
/frameworks/base/tools/aapt2/
DResourceValues.h95 virtual bool Equals(const Value* value) const = 0;
167 bool Equals(const Value* value) const override;
186 bool Equals(const Value* value) const override;
199 bool Equals(const Value* value) const override;
233 bool Equals(const Value* value) const override;
250 bool Equals(const Value* value) const override;
270 bool Equals(const Value* value) const override;
284 bool Equals(const Value* value) const override;
306 bool Equals(const Value* value) const override;
334 bool Equals(const Value* value) const override;
[all …]
DResourceValues_test.cpp54 EXPECT_FALSE(a.Equals(&b)); in TEST()
55 EXPECT_TRUE(a.Equals(&c)); in TEST()
66 EXPECT_TRUE(a.Equals(b.get())); in TEST()
87 EXPECT_FALSE(a.Equals(&b)); in TEST()
88 EXPECT_FALSE(a.Equals(&c)); in TEST()
89 EXPECT_FALSE(b.Equals(&c)); in TEST()
90 EXPECT_TRUE(a.Equals(&d)); in TEST()
101 EXPECT_TRUE(a.Equals(b.get())); in TEST()
147 EXPECT_FALSE(a->Equals(b.get())); in TEST()
148 EXPECT_FALSE(a->Equals(c.get())); in TEST()
[all …]
DResourceValues.cpp72 bool RawString::Equals(const Value* value) const { in Equals() function in aapt::RawString
108 bool Reference::Equals(const Value* value) const { in Equals() function in aapt::Reference
213 bool Id::Equals(const Value* value) const { in Equals() function in aapt::Id
234 bool String::Equals(const Value* value) const { in Equals() function in aapt::String
290 bool StyledString::Equals(const Value* value) const { in Equals() function in aapt::StyledString
342 bool FileReference::Equals(const Value* value) const { in Equals() function in aapt::FileReference
394 bool BinaryPrimitive::Equals(const Value* value) const { in Equals() function in aapt::BinaryPrimitive
542 bool Attribute::Equals(const Value* value) const { in Equals() function in aapt::Attribute
572 return a->symbol.Equals(&b->symbol) && a->value == b->value; in Equals()
577 if (Equals(&attr)) { in IsCompatibleWith()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DWrappers.cs105 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.DoubleValue
106 return Equals(other as DoubleValue); in Equals()
110 public bool Equals(DoubleValue other) { in Equals() method in Google.Protobuf.WellKnownTypes.DoubleValue
230 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.FloatValue
231 return Equals(other as FloatValue); in Equals()
235 public bool Equals(FloatValue other) { in Equals() method in Google.Protobuf.WellKnownTypes.FloatValue
355 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.Int64Value
356 return Equals(other as Int64Value); in Equals()
360 public bool Equals(Int64Value other) { in Equals() method in Google.Protobuf.WellKnownTypes.Int64Value
480 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.UInt64Value
[all …]
DStruct.cs124 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.Struct
125 return Equals(other as Struct); in Equals()
129 public bool Equals(Struct other) { in Equals() method in Google.Protobuf.WellKnownTypes.Struct
136 if (!Fields.Equals(other.Fields)) return false; in Equals()
358 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.Value
359 return Equals(other as Value); in Equals()
363 public bool Equals(Value other) { in Equals() method in Google.Protobuf.WellKnownTypes.Value
374 if (!object.Equals(StructValue, other.StructValue)) return false; in Equals()
375 if (!object.Equals(ListValue, other.ListValue)) return false; in Equals()
578 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.ListValue
[all …]
DType.cs213 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.Type
214 return Equals(other as Type); in Equals()
218 public bool Equals(Type other) { in Equals() method in Google.Protobuf.WellKnownTypes.Type
226 if(!fields_.Equals(other.fields_)) return false; in Equals()
227 if(!oneofs_.Equals(other.oneofs_)) return false; in Equals()
228 if(!options_.Equals(other.options_)) return false; in Equals()
229 if (!object.Equals(SourceContext, other.SourceContext)) return false; in Equals()
537 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.Field
538 return Equals(other as Field); in Equals()
542 public bool Equals(Field other) { in Equals() method in Google.Protobuf.WellKnownTypes.Field
[all …]
DApi.cs211 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.Api
212 return Equals(other as Api); in Equals()
216 public bool Equals(Api other) { in Equals() method in Google.Protobuf.WellKnownTypes.Api
224 if(!methods_.Equals(other.methods_)) return false; in Equals()
225 if(!options_.Equals(other.options_)) return false; in Equals()
227 if (!object.Equals(SourceContext, other.SourceContext)) return false; in Equals()
228 if(!mixins_.Equals(other.mixins_)) return false; in Equals()
504 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.Method
505 return Equals(other as Method); in Equals()
509 public bool Equals(Method other) { in Equals() method in Google.Protobuf.WellKnownTypes.Method
[all …]
DFieldMask.cs287 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.FieldMask
288 return Equals(other as FieldMask); in Equals()
292 public bool Equals(FieldMask other) { in Equals() method in Google.Protobuf.WellKnownTypes.FieldMask
299 if(!paths_.Equals(other.paths_)) return false; in Equals()
DSourceContext.cs92 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.SourceContext
93 return Equals(other as SourceContext); in Equals()
97 public bool Equals(SourceContext other) { in Equals() method in Google.Protobuf.WellKnownTypes.SourceContext
DDuration.cs151 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.Duration
152 return Equals(other as Duration); in Equals()
156 public bool Equals(Duration other) { in Equals() method in Google.Protobuf.WellKnownTypes.Duration
DTimestamp.cs162 public override bool Equals(object other) { in Equals() method in Google.Protobuf.WellKnownTypes.Timestamp
163 return Equals(other as Timestamp); in Equals()
167 public bool Equals(Timestamp other) { in Equals() method in Google.Protobuf.WellKnownTypes.Timestamp
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs220 public override bool Equals(object other) { in Equals() method in Google.Protobuf.Reflection.FileDescriptorSet
221 return Equals(other as FileDescriptorSet); in Equals()
225 public bool Equals(FileDescriptorSet other) { in Equals() method in Google.Protobuf.Reflection.FileDescriptorSet
232 if(!file_.Equals(other.file_)) return false; in Equals()
487 public override bool Equals(object other) { in Equals() method in Google.Protobuf.Reflection.FileDescriptorProto
488 return Equals(other as FileDescriptorProto); in Equals()
492 public bool Equals(FileDescriptorProto other) { in Equals() method in Google.Protobuf.Reflection.FileDescriptorProto
501 if(!dependency_.Equals(other.dependency_)) return false; in Equals()
502 if(!publicDependency_.Equals(other.publicDependency_)) return false; in Equals()
503 if(!weakDependency_.Equals(other.weakDependency_)) return false; in Equals()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DConformance.cs319 public override bool Equals(object other) { in Equals() method in Conformance.ConformanceRequest
320 return Equals(other as ConformanceRequest); in Equals()
324 public bool Equals(ConformanceRequest other) { in Equals() method in Conformance.ConformanceRequest
603 public override bool Equals(object other) { in Equals() method in Conformance.ConformanceResponse
604 return Equals(other as ConformanceResponse); in Equals()
608 public bool Equals(ConformanceResponse other) { in Equals() method in Conformance.ConformanceResponse
2094 public override bool Equals(object other) { in Equals() method in Conformance.TestAllTypes
2095 return Equals(other as TestAllTypes); in Equals()
2099 public bool Equals(TestAllTypes other) { in Equals() method in Conformance.TestAllTypes
2121 if (!object.Equals(OptionalNestedMessage, other.OptionalNestedMessage)) return false; in Equals()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonToken.cs108 public override bool Equals(object obj) in Equals() method in Google.Protobuf.JsonToken
110 return Equals(obj as JsonToken); in Equals()
156 public bool Equals(JsonToken other) in Equals() method in Google.Protobuf.JsonToken
163 …rn other.type == type && other.stringValue == stringValue && other.numberValue.Equals(numberValue); in Equals()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DAddressbook.cs130 public override bool Equals(object other) { in Equals() method in Google.Protobuf.Examples.AddressBook.Person
131 return Equals(other as Person); in Equals()
135 public bool Equals(Person other) { in Equals() method in Google.Protobuf.Examples.AddressBook.Person
145 if(!phones_.Equals(other.phones_)) return false; in Equals()
308 public override bool Equals(object other) { in Equals() method in Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber
309 return Equals(other as PhoneNumber); in Equals()
313 public bool Equals(PhoneNumber other) { in Equals() method in Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber
448 public override bool Equals(object other) { in Equals() method in Google.Protobuf.Examples.AddressBook.AddressBook
449 return Equals(other as AddressBook); in Equals()
453 public bool Equals(AddressBook other) { in Equals() method in Google.Protobuf.Examples.AddressBook.AddressBook
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs219 Assert.IsFalse(list.Equals((RepeatedField<string>) null)); in Equals_RepeatedField()
220 Assert.IsTrue(list.Equals(list)); in Equals_RepeatedField()
221 Assert.IsFalse(list.Equals(new RepeatedField<string> { "first", "third" })); in Equals_RepeatedField()
222 Assert.IsFalse(list.Equals(new RepeatedField<string> { "first" })); in Equals_RepeatedField()
223 Assert.IsTrue(list.Equals(new RepeatedField<string> { "first", "second" })); in Equals_RepeatedField()
230 Assert.IsFalse(list.Equals((object) null)); in Equals_Object()
231 Assert.IsTrue(list.Equals((object) list)); in Equals_Object()
232 Assert.IsFalse(list.Equals((object) new RepeatedField<string> { "first", "third" })); in Equals_Object()
233 Assert.IsFalse(list.Equals((object) new RepeatedField<string> { "first" })); in Equals_Object()
234 Assert.IsTrue(list.Equals((object) new RepeatedField<string> { "first", "second" })); in Equals_Object()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DMapField.cs134 return list.Any(pair => comparer.Equals(pair.Value, value)); in ContainsValue()
294 && EqualityComparer<TValue>.Default.Equals(item.Value, value); in Contains()
321 EqualityComparer<TValue>.Default.Equals(item.Value, node.Value.Value)) in Remove()
350 public override bool Equals(object other) in Equals() method in Google.Protobuf.Collections.MapField
352 return Equals(other as MapField<TKey, TValue>); in Equals()
380 public bool Equals(MapField<TKey, TValue> other) in Equals() method in Google.Protobuf.Collections.MapField
402 if (!valueComparer.Equals(value, pair.Value)) in Equals()
DRepeatedField.cs383 public override bool Equals(object obj) in Equals() method in Google.Protobuf.Collections.RepeatedField
385 return Equals(obj as RepeatedField<T>); in Equals()
420 public bool Equals(RepeatedField<T> other) in Equals() method in Google.Protobuf.Collections.RepeatedField
437 if (!comparer.Equals(array[i], other.array[i])) in Equals()
457 if (comparer.Equals(array[i], item)) in IndexOf()

12