Home
last modified time | relevance | path

Searched refs:hashCode (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/dalvik/libcore/luni/src/main/java/org/apache/harmony/misc/
DHashCode.java71 private int hashCode = EMPTY_HASH_CODE; field in HashCode
76 public final int hashCode() { in hashCode() method in HashCode
77 return hashCode; in hashCode()
86 public static int combine(int hashCode, boolean value) { in combine() argument
88 return combine(hashCode, v); in combine()
97 public static int combine(int hashCode, long value) { in combine() argument
99 return combine(hashCode, v); in combine()
108 public static int combine(int hashCode, float value) { in combine() argument
110 return combine(hashCode, v); in combine()
119 public static int combine(int hashCode, double value) { in combine() argument
[all …]
/dalvik/libcore/text/src/main/java/java/text/
DDateFormatSymbols.java347 public int hashCode() { in hashCode() method in DateFormatSymbols
351 int hashCode; in hashCode() local
352 hashCode = localPatternChars.hashCode(); in hashCode()
354 hashCode += element.hashCode(); in hashCode()
357 hashCode += element.hashCode(); in hashCode()
360 hashCode += element.hashCode(); in hashCode()
363 hashCode += element.hashCode(); in hashCode()
366 hashCode += element.hashCode(); in hashCode()
369 hashCode += element.hashCode(); in hashCode()
374 hashCode += element[j].hashCode(); in hashCode()
[all …]
/dalvik/libcore/security/src/test/java/tests/security/spec/
DECPointTest.java261 int hc = f.hashCode(); in testHashCode01()
262 assertTrue(hc == f.hashCode() && in testHashCode01()
263 hc == f.hashCode() && in testHashCode01()
264 hc == f.hashCode() && in testHashCode01()
265 hc == f.hashCode() && in testHashCode01()
266 hc == f.hashCode() && in testHashCode01()
267 hc == f.hashCode() && in testHashCode01()
268 hc == f.hashCode() && in testHashCode01()
269 hc == f.hashCode()); in testHashCode01()
273 hc = ECPoint.POINT_INFINITY.hashCode(); in testHashCode01()
[all …]
DECFieldF2mTest.java354 int hc = f.hashCode(); in testHashCode01()
355 assertTrue(hc == f.hashCode() && in testHashCode01()
356 hc == f.hashCode() && in testHashCode01()
357 hc == f.hashCode() && in testHashCode01()
358 hc == f.hashCode() && in testHashCode01()
359 hc == f.hashCode() && in testHashCode01()
360 hc == f.hashCode() && in testHashCode01()
361 hc == f.hashCode() && in testHashCode01()
362 hc == f.hashCode()); in testHashCode01()
379 int hc = f.hashCode(); in testHashCode02()
[all …]
DECFieldFpTest.java152 int hc = f.hashCode(); in testHashCode01()
153 assertTrue(hc == f.hashCode() && in testHashCode01()
154 hc == f.hashCode() && in testHashCode01()
155 hc == f.hashCode() && in testHashCode01()
156 hc == f.hashCode() && in testHashCode01()
157 hc == f.hashCode() && in testHashCode01()
158 hc == f.hashCode() && in testHashCode01()
159 hc == f.hashCode() && in testHashCode01()
160 hc == f.hashCode()); in testHashCode01()
176 assertTrue(new ECFieldFp(BigInteger.valueOf(23L)).hashCode() == in testHashCode02()
[all …]
/dalvik/dx/tests/090-dex-unify-arrays/
DBlort.java30 return o.hashCode(); in test2()
35 return o.hashCode(); in test3()
40 return o.hashCode(); in test4()
45 return o.hashCode(); in test5()
50 return o.hashCode(); in test6()
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/
DMidiDevice.java66 public final int hashCode() { in hashCode() method in MidiDevice.Info
68 int result = super.hashCode(); in hashCode()
69 result = PRIME * result + ((description == null) ? 0 : description.hashCode()); in hashCode()
70 result = PRIME * result + ((name == null) ? 0 : name.hashCode()); in hashCode()
71 result = PRIME * result + ((vendor == null) ? 0 : vendor.hashCode()); in hashCode()
72 result = PRIME * result + ((version == null) ? 0 : version.hashCode()); in hashCode()
/dalvik/libcore/security/src/test/java/tests/api/java/security/
DAccessControlContextTest.java371 assertTrue(acc1.hashCode() == acc1.hashCode()); in test_hashCode()
372 assertTrue(acc2.hashCode() == acc2.hashCode()); in test_hashCode()
373 assertTrue(acc3.hashCode() == acc3.hashCode()); in test_hashCode()
375 assertTrue(acc1.hashCode() == acc2.hashCode()); in test_hashCode()
376 assertTrue(acc2.hashCode() != acc3.hashCode()); in test_hashCode()
377 assertTrue(acc3.hashCode() != acc1.hashCode()); in test_hashCode()
387 assertTrue(acc4.hashCode() == acc4.hashCode()); in test_hashCode()
388 assertTrue(acc5.hashCode() == acc5.hashCode()); in test_hashCode()
389 assertTrue(acc6.hashCode() == acc6.hashCode()); in test_hashCode()
391 assertTrue(acc4.hashCode() == acc5.hashCode()); in test_hashCode()
[all …]
/dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/
DBigIntegerHashCodeTest.java52 int code1 = aNumber1.hashCode(); in testSameObject()
58 int code2 = aNumber1.hashCode(); in testSameObject()
76 int code1 = aNumber1.hashCode(); in testEqualObjects()
77 int code2 = aNumber2.hashCode(); in testEqualObjects()
98 int code1 = aNumber1.hashCode(); in testUnequalObjectsUnequal()
99 int code2 = aNumber2.hashCode(); in testUnequalObjectsUnequal()
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/
DMixer.java57 public final int hashCode() { in hashCode() method in Mixer.Info
58 … return name.hashCode() + vendor.hashCode() + description.hashCode() + version.hashCode(); in hashCode()
DPort.java72 public final int hashCode() { in hashCode() method in Port.Info
73 return name.hashCode() ^ getLineClass().hashCode(); in hashCode()
/dalvik/libcore/math/src/test/java/tests/api/java/math/
DMathContextTest.java122 mcIntRm6hd.hashCode(), mcStr6hd.hashCode() ); in test_MathContextConstruction()
124 mcInt6.hashCode() == mcStr6hd.hashCode() ); in test_MathContextConstruction()
126 mcInt6.hashCode() == mcInt134.hashCode() ); in test_MathContextConstruction()
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
DDSAParameters.java70 public int hashCode() in hashCode() method in DSAParameters
72 return getP().hashCode() ^ getQ().hashCode() ^ getG().hashCode(); in hashCode()
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/lang/annotation/
DAnnotationMember.java259 public int hashCode() { in hashCode() method in AnnotationMember
260 int hash = name.hashCode() * 127; in hashCode()
264 return hash ^ Arrays.hashCode((int[])value); in hashCode()
266 return hash ^ Arrays.hashCode((byte[])value); in hashCode()
268 return hash ^ Arrays.hashCode((short[])value); in hashCode()
270 return hash ^ Arrays.hashCode((long[])value); in hashCode()
272 return hash ^ Arrays.hashCode((char[])value); in hashCode()
274 return hash ^ Arrays.hashCode((boolean[])value); in hashCode()
276 return hash ^ Arrays.hashCode((float[])value); in hashCode()
278 return hash ^ Arrays.hashCode((double[])value); in hashCode()
[all …]
/dalvik/dx/tests/088-ssa-combine-blocks/
DBlort.java31 hashCode(); in edgeSplitMoveException()
32 hashCode(); in edgeSplitMoveException()
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
DX509Extension.java40 public int hashCode() in hashCode() method in X509Extension
44 return this.getValue().hashCode(); in hashCode()
48 return ~this.getValue().hashCode(); in hashCode()
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
DTimestampTest.java159 assertTrue(one.hashCode() == two.hashCode()); in testHashCode()
160 assertTrue(one.hashCode() != three.hashCode()); in testHashCode()
161 assertTrue(two.hashCode() != three.hashCode()); in testHashCode()
164 four.hashCode(); in testHashCode()
/dalvik/libcore/archive/src/main/java/java/util/jar/
DAttributes.java57 private int hashCode; field in Attributes.Name
238 || object.hashCode() != hashCode()) { in equals()
251 public int hashCode() { in hashCode() method in Attributes.Name
252 if (hashCode == 0) { in hashCode()
260 hashCode = hash; in hashCode()
262 return hashCode; in hashCode()
452 public int hashCode() { in hashCode() method in Attributes
453 return map.hashCode(); in hashCode()
/dalvik/dx/tests/098-dex-jsr-ret-throw/
DViewDebug$ViewServer.classViewDebug.java package android.view android.view.ViewDebug$ViewServer extends java.lang. ...
/dalvik/dx/tests/086-ssa-edge-split/
DBlort.java49 hashCode(); in edgeSplitMoveException()
50 hashCode(); in edgeSplitMoveException()
/dalvik/libcore/security/src/main/java/java/security/spec/
DECPoint.java121 public int hashCode() { in hashCode() method in ECPoint
123 return affineX.hashCode() * 31 + affineY.hashCode(); in hashCode()
/dalvik/libcore/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
DAnnotationTest.java112 assertEquals("same hashcode", a1.hashCode(), a2.hashCode()); in test_equals()
127 if (a1.hashCode() != a2.hashCode()) { in test_equals()
144 assertEquals(a1.hashCode(), (127 * "value".hashCode() ^ "foobar".hashCode())); in test_hashCode()
148 int arrHc = Arrays.hashCode(new Object[]{}); in test_hashCode()
156 (127 * "arrAnno".hashCode() ^ arrHc) + in test_hashCode()
157 (127 * "arrString".hashCode() ^ arrHc)+ in test_hashCode()
158 (127 * "arrClass".hashCode() ^ arrHc) + in test_hashCode()
159 (127 * "arrEnum".hashCode() ^ arrHc) in test_hashCode()
161 m1.getDeclaredAnnotations()[0].hashCode()); in test_hashCode()
165 (127 * "i".hashCode() ^ 12345), in test_hashCode()
[all …]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DCharacter_SubsetTest.java92 assertFalse(subset1.hashCode() == subset2.hashCode()); in test_hashCode()
93 assertFalse(subset1.hashCode() == subset3.hashCode()); in test_hashCode()
/dalvik/dx/tests/062-dex-synch-method/
DBlort.java24 x.hashCode(); in testInstance2()
48 x.hashCode(); in testStatic2()
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
DProxyTest.java117 assertTrue(proxy1.hashCode() == proxy2.hashCode()); in test_hashCode()
121 assertTrue(proxy1.hashCode() == proxy2.hashCode()); in test_hashCode()
123 assertTrue(proxy1.hashCode() != proxy4.hashCode()); in test_hashCode()
129 assertTrue(proxy5.hashCode() != proxy6.hashCode()); in test_hashCode()
224 assertTrue(proxy1.hashCode() == proxy2.hashCode()); in test_equalsLjava_lang_Object_Equals()
231 assertTrue(proxy3.hashCode() == proxy4.hashCode()); in test_equalsLjava_lang_Object_Equals()

12345678910>>...15