/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactLookupKey.java | 62 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF; 123 int hashCode = 0; 133 hashCode = 0; 139 hashCode = hashCode * 10 + (c - '0'); 247 segment.accountHashCode = hashCode;
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
GeneratedMessageLite.java | 108 public int hashCode() { 112 memoizedHashCode = visitor.hashCode; 118 int hashCode(HashCodeVisitor visitor) { 120 int inProgressHashCode = visitor.hashCode; 121 visitor.hashCode = 0; 123 memoizedHashCode = visitor.hashCode; 124 visitor.hashCode = inProgressHashCode; [all...] |
UnknownFieldSetLite.java | 246 public int hashCode() { 247 int hashCode = 17; 249 hashCode = 31 * hashCode + count; 250 hashCode = 31 * hashCode + Arrays.hashCode(tags); 251 hashCode = 31 * hashCode + Arrays.deepHashCode(objects); 253 return hashCode; [all...] |
/external/guice/core/src/com/google/inject/ |
Key.java | 60 private final int hashCode; 80 this.hashCode = computeHashCode(); 102 this.hashCode = computeHashCode(); 122 this.hashCode = computeHashCode(); 133 this.hashCode = computeHashCode(); 141 this.hashCode = computeHashCode(); 149 return typeLiteral.hashCode() * 31 + annotationStrategy.hashCode(); 223 @Override public final int hashCode() { 224 return this.hashCode; [all...] |
/external/guava/guava/src/com/google/common/base/ |
Predicates.java | 330 @Override public int hashCode() { 331 return ~predicate.hashCode(); 365 @Override public int hashCode() { 367 return components.hashCode() + 0x12472c2c; 399 @Override public int hashCode() { 401 return components.hashCode() + 0x053c91cf; 428 @Override public int hashCode() { 429 return target.hashCode(); 457 @Override public int hashCode() { 458 return clazz.hashCode(); [all...] |
Functions.java | 133 @Override public int hashCode() { 134 return map.hashCode(); 181 @Override public int hashCode() { 182 return Objects.hashCode(map, defaultValue); 227 @Override public int hashCode() { 228 return f.hashCode() ^ g.hashCode(); 269 @Override public int hashCode() { 270 return predicate.hashCode(); 310 @Override public int hashCode() { [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableBiMap.java | 43 private final transient int hashCode; 61 int hashCode = 0; 69 int keyHash = key.hashCode(); 70 int valueHash = value.hashCode(); 91 hashCode += keyHash ^ valueHash; 97 this.hashCode = hashCode; 110 int hashCode = 0; 118 int keyHash = key.hashCode(); 119 int valueHash = value.hashCode(); [all...] |
/external/proguard/src/proguard/util/ |
ArrayUtil.java | 151 public static int hashCode(byte[] array, int size) 153 int hashCode = 0; 157 hashCode ^= array[index]; 160 return hashCode; 170 public static int hashCode(short[] array, int size) 172 int hashCode = 0; 176 hashCode ^= array[index]; 179 return hashCode; 189 public static int hashCode(int[] array, int size) 191 int hashCode = 0 [all...] |
/external/guava/guava-tests/test/com/google/common/net/ |
HostAndPortTest.java | 201 assertEquals(hp1.hashCode(), hp1.hashCode()); 202 assertEquals(hp1.hashCode(), hp2.hashCode()); 203 assertFalse(hp1.hashCode() == hp3.hashCode()); 204 assertFalse(hp3.hashCode() == hp4.hashCode()); 205 assertEquals(hp4.hashCode(), hp5.hashCode()); [all...] |
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
ResName.java | 20 public final int hashCode; 27 hashCode = computeHashCode(); 40 hashCode = computeHashCode(); 118 if (hashCode() != resName.hashCode()) return false; 128 public int hashCode() { 129 return hashCode; 157 int result = packageName.hashCode(); 158 result = 31 * result + type.hashCode(); 159 result = 31 * result + name.hashCode(); [all...] |
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
ConstructorTest.java | 104 public int hashCode() { 107 result = 31 * result + (embedded != null ? embedded.hashCode() : 0); 148 public int hashCode() { 151 result = 31 * result + (mEmbedded != null ? mEmbedded.hashCode() : 0); 175 public int hashCode() { 176 return text != null ? text.hashCode() : 0; 216 public int hashCode() { 217 int result = id.hashCode(); 218 result = 31 * result + username.hashCode(); 219 result = 31 * result + (displayName != null ? displayName.hashCode() : 0) [all...] |
GenericEntityTest.java | 106 public int hashCode() { 107 int result = id.hashCode(); 108 result = 31 * result + (mField != null ? mField.hashCode() : 0); 138 public int hashCode() { 139 int result = super.hashCode(); 140 result = 31 * result + (name != null ? name.hashCode() : 0);
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
Predicates.java | 267 @Override public int hashCode() { 268 return ~predicate.hashCode(); 302 @Override public int hashCode() { 304 return components.hashCode() + 0x12472c2c; 336 @Override public int hashCode() { 338 return components.hashCode() + 0x053c91cf; 365 @Override public int hashCode() { 366 return target.hashCode(); 408 @Override public int hashCode() { 409 return target.hashCode(); [all...] |
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
InternalNano.java | 273 public static int hashCode(int[] field) { 274 return field == null || field.length == 0 ? 0 : Arrays.hashCode(field); 281 public static int hashCode(long[] field) { 282 return field == null || field.length == 0 ? 0 : Arrays.hashCode(field); 289 public static int hashCode(float[] field) { 290 return field == null || field.length == 0 ? 0 : Arrays.hashCode(field); 297 public static int hashCode(double[] field) { 298 return field == null || field.length == 0 ? 0 : Arrays.hashCode(field); 305 public static int hashCode(boolean[] field) { 306 return field == null || field.length == 0 ? 0 : Arrays.hashCode(field) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1Sequence.java | 288 public int hashCode() 291 int hashCode = size(); 296 hashCode *= 17; 298 hashCode ^= o.hashCode(); 301 return hashCode;
|
/external/desugar/java/com/google/devtools/common/options/testing/ |
ConverterTester.java | 145 + "\" did not have a consistent hashCode when converted twice " 147 .that(convertedAgain.hashCode()) 148 .isEqualTo(converted.hashCode()); 158 + "\" did not have a consistent hashCode when converted twice " 160 .that(convertedDifferentConverterInstance.hashCode()) 161 .isEqualTo(converted.hashCode()); 186 public int hashCode() { 187 return wrapped.hashCode();
|
/external/guava/guava/src/com/google/common/hash/ |
Funnels.java | 111 @Override public int hashCode() { 112 return StringCharsetFunnel.class.hashCode() ^ charset.hashCode(); 190 @Override public int hashCode() { 191 return SequentialFunnel.class.hashCode() ^ elementFunnel.hashCode();
|
/frameworks/base/telecomm/java/android/telecom/ |
DisconnectCause.java | 236 public int hashCode() { 237 return Objects.hashCode(mDisconnectCode) 238 + Objects.hashCode(mDisconnectLabel) 239 + Objects.hashCode(mDisconnectDescription) 240 + Objects.hashCode(mDisconnectReason) 241 + Objects.hashCode(mToneToPlay);
|
/frameworks/base/telephony/java/android/telephony/ |
PreciseDataConnectionState.java | 190 public int hashCode() { 195 result = prime * result + ((mAPNType == null) ? 0 : mAPNType.hashCode()); 196 result = prime * result + ((mAPN == null) ? 0 : mAPN.hashCode()); 197 result = prime * result + ((mReason == null) ? 0 : mReason.hashCode()); 198 result = prime * result + ((mLinkProperties == null) ? 0 : mLinkProperties.hashCode()); 199 result = prime * result + ((mFailCause == null) ? 0 : mFailCause.hashCode());
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/ |
User.java | 153 public int hashCode() { 155 result = 31 * result + (mName != null ? mName.hashCode() : 0); 156 result = 31 * result + (mLastName != null ? mLastName.hashCode() : 0); 160 result = 31 * result + (mBirthday != null ? mBirthday.hashCode() : 0); 161 result = 31 * result + (mCustomField != null ? mCustomField.hashCode() : 0); 162 result = 31 * result + (mWorkDays != null ? mWorkDays.hashCode() : 0);
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathTest.java | 76 * Test for <code>hashCode()</code> method<br> 84 assertTrue(cp1.hashCode() == cp2.hashCode()); 85 assertTrue(cp1.hashCode() != cp3.hashCode()); 89 * Test for <code>hashCode()</code> method<br> 95 assertTrue((cp1.hashCode() == cp2.hashCode()) && cp1.equals(cp2));
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
Handler.java | 96 protected int hashCode(URL u) { 101 h += protocol.hashCode(); 107 return h + file.hashCode(); 113 h += enclosedURL.hashCode(); 115 h += fileWithoutEntry.hashCode(); 119 h += entry.hashCode();
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKClock_System.java | 185 assertEquals(a.hashCode(), a.hashCode()); 186 assertEquals(a.hashCode(), b.hashCode()); 189 assertEquals(a.hashCode() == c.hashCode(), false);
|
/cts/tools/vm-tests-tf/src/util/build/ |
D8BuildStep.java | 75 public int hashCode() { 76 return inputFile.hashCode() ^ outputFile.hashCode();
|
/external/annotation-tools/scene-lib/src/annotations/el/ |
ATypeElementWithType.java | 88 public int hashCode() { 89 return super.hashCode() + type.hashCode();
|