Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 71) sorted by relevance

123

/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppSimpleType.java79 this.name.equals("std::string") ? "&" : "", in getParsingExpression()
94 } else if (this.name.equals("char") || this.name.equals("unsigned char")) { in getWritingExpression()
96 } else if (this.name.equals("bool")) { in getWritingExpression()
108 } else if (this.name.equals("char") || this.name.equals("unsigned char")) { in getWritingExpression()
110 } else if (this.name.equals("bool")) { in getWritingExpression()
/system/core/libcutils/
Dhashmap.cpp38 bool (*equals)(void* keyA, void* keyB); member
44 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB)) { in hashmapCreate()
46 assert(equals != NULL); in hashmapCreate()
70 map->equals = equals; in hashmapCreate()
182 bool (*equals)(void*, void*)) { in equalKeys()
189 return equals(keyA, keyB); in equalKeys()
213 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapPut()
230 if (equalKeys(entry->key, entry->hash, key, hash, map->equals)) { in hashmapGet()
247 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapRemove()
/system/update_engine/payload_generator/
Dblock_mapping.cc89 bool equals = false; in AddBlock() local
90 if (!existing_block.CompareData(block_data, &equals)) in AddBlock()
92 if (equals) in AddBlock()
115 bool* equals) { in CompareData() argument
117 *equals = block_data == other_block; in CompareData()
127 *equals = blob == other_block; in CompareData()
/system/tools/aidl/tests/java/src/android/aidl/tests/
DUnionTests.java103 assertTrue(a.equals(b)); in shouldBeTheSame()
104 assertTrue(b.equals(a)); in shouldBeTheSame()
105 assertTrue(a.equals(a)); in shouldBeTheSame()
106 assertTrue(b.equals(b)); in shouldBeTheSame()
111 assertFalse(a.equals(b)); in shouldBeDifferent()
112 assertFalse(b.equals(a)); in shouldBeDifferent()
DSimpleParcelable.java49 public boolean equals(Object o) { in equals() method in SimpleParcelable
58 (mName != null && !mName.equals(p.mName))) { in equals()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DZoneOffsetPeriod.java137 public boolean equals(Object o) { in equals() method in ZoneOffsetPeriod
147 Objects.equals(start, that.start) && in equals()
148 Objects.equals(end, that.end) && in equals()
149 Objects.equals(name, that.name); in equals()
180 public boolean equals(Object o) { in equals() method in ZoneOffsetPeriod.ZonePeriodsKey
188 return Objects.equals(periods, zoneKey.periods); in equals()
/system/timezone/apex/tests/src/java/android/tzdata/mts/
DTimeZoneRulesTest.java118 if (longDst.equals(longStd)) { in checkDisplayNames()
123 if (shortDst.equals(shortStd)) { in checkDisplayNames()
131 if (shortStd.equals(longDst)) { in checkDisplayNames()
135 if (longStd.equals(shortDst)) { in checkDisplayNames()
141 if (longDst.equals(shortDst) && !longDst.startsWith("GMT")) { in checkDisplayNames()
151 if (isGmtString(longDst) && !longDst.equals(gmtDst)) { in checkDisplayNames()
154 if (isGmtString(longStd) && !longStd.equals(gmtStd)) { in checkDisplayNames()
157 if (isGmtString(shortDst) && !shortDst.equals(gmtDst)) { in checkDisplayNames()
160 if (isGmtString(shortStd) && !shortStd.equals(gmtStd)) { in checkDisplayNames()
337 if (icuTimeZone.getID().equals(android.icu.util.TimeZone.UNKNOWN_ZONE_ID)) { in checkZoneIdsAreKnownToIcu()
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DStagedDistroOperation.java47 public boolean equals(Object o) { in equals() method in StagedDistroOperation
60 return distroVersion != null ? distroVersion.equals(that.distroVersion) in equals()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DZoneTabFile.java94 public boolean equals(Object o) { in equals() method in ZoneTabFile.CountryEntry
104 if (!isoCode.equals(that.isoCode)) { in equals()
107 return olsonId.equals(that.olsonId); in equals()
DBackwardFile.java56 if (fields.length < 3 || !fields[0].equals("Link")) { in parse()
92 if (fromId.equals(searchId)) { in getAllAlternativeIds()
96 } else if (toId.equals(searchId)) { in getAllAlternativeIds()
/system/tools/xsdc/src/com/android/xsdc/
DXsdHandler.java279 if ("true".equals(isAbstract)) { in makeElement()
291 if (maxOccurs.equals("0")) return null; in makeElement()
292 if (maxOccurs.equals("unbounded") || Integer.parseInt(maxOccurs) > 1) multiple = true; in makeElement()
317 if (use != null && use.equals("prohibited")) return null; in makeAttribute()
320 if (use != null && use.equals("required")) { in makeAttribute()
381 if ("true".equals(isAbstract)) { in makeComplexType()
384 if ("true".equals(mixed)) { in makeComplexType()
425 if ("true".equals(mixed)) { in makeComplexContent()
440 if (base.getRef() != null && base.getRef().getNamespaceURI().equals( in makeComplexContent()
598 if (maxOccurs != null && (maxOccurs.equals("unbounded") in makeSequence()
[all …]
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DUidRangeParcel.aidl36 @JavaDerive(equals=true, toString=true) @JavaOnlyImmutable
/system/netd/server/aidl_api/netd_aidl_interface/6/android/net/
DUidRangeParcel.aidl36 @JavaDerive(equals=true, toString=true) @JavaOnlyImmutable
/system/netd/server/aidl_api/netd_aidl_interface/7/android/net/
DUidRangeParcel.aidl36 @JavaDerive(equals=true, toString=true) @JavaOnlyImmutable
DNativeNetworkConfig.aidl36 @JavaDerive(equals=true, toString=true) @JavaOnlyImmutable
/system/netd/server/aidl_api/netd_aidl_interface/5/android/net/
DUidRangeParcel.aidl20 @JavaDerive(equals=true, toString=true) @JavaOnlyImmutable
/system/netd/server/binder/android/net/
DUidRangeParcel.aidl24 @JavaOnlyImmutable @JavaDerive(toString=true, equals=true)
DNativeNetworkConfig.aidl27 @JavaDerive(toString=true, equals=true)
/system/netd/server/aidl_api/netd_aidl_interface/7/android/net/netd/aidl/
DNativeUidRangeConfig.aidl36 @JavaDerive(equals=true, toString=true) @JavaOnlyImmutable
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/netd/aidl/
DNativeUidRangeConfig.aidl36 @JavaDerive(equals=true, toString=true) @JavaOnlyImmutable
/system/netd/server/binder/android/net/netd/aidl/
DNativeUidRangeConfig.aidl26 @JavaDerive(toString=true, equals=true)
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java80 if (args[0].equals("-c")) { in run()
82 } else if (args[0].equals("-s")) { in run()
141 if (result.equals(s)) { in Expect()
152 ExpectTrue(Objects.equals(l, r)); in ExpectEqual()
153 ExpectTrue(Objects.equals(r, l)); in ExpectEqual()
158 ExpectFalse(Objects.equals(l, r)); in ExpectNotEqual()
159 ExpectFalse(Objects.equals(r, l)); in ExpectNotEqual()
185 @Override public boolean equals(Object other) { in equals() method in HidlTestJava.BazCallback
256 ExpectTrue(Arrays.equals(result, in runClientMemoryTests()
276 ExpectTrue(Arrays.equals(HidlMemoryUtil.hidlMemoryToByteArray(out.mem1), in runClientMemoryTests()
[all …]
/system/tools/aidl/tests/android/aidl/tests/unions/
DUnionInUnion.aidl20 @JavaDerive(toString=true, equals=true)
DEnumUnion.aidl21 @JavaDerive(toString=true, equals=true)
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DProfileSession.java138 if (arg.equals("--trace-offcpu")) { in startRecording()
183 && mSimpleperfPath.equals(SIMPLEPERF_PATH_IN_IMAGE)) { in stopRecording()
333 if (!startFlag.equals("started")) { in createSimpleperfProcess()
346 if (!readReply().equals("ok")) { in sendCmd()

123