Searched refs:identityHashCode (Results 1 - 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
H A DObject.java101 * @see java.lang.System#identityHashCode
104 return identityHashCode(this);
107 // Android-changed: add a local helper for identityHashCode.
111 /* package-private */ static int identityHashCode(Object obj) { method in class:Object
H A DSystem.java890 public static int identityHashCode(Object x) { method in class:System
894 return Object.identityHashCode(x);
H A DThread.java1988 hash = System.identityHashCode(cl);
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldObjectTest.java42 int h1 = System.identityHashCode(o1);
43 int h2 = System.identityHashCode(o2);
H A DStringTest.java183 assertEquals(System.identityHashCode(programmatic), System.identityHashCode(literal));
H A DLambdaImplementationTest.java377 assertEquals(System.identityHashCode(r1), r1.hashCode());
H A DProcessBuilderTest.java518 assertEquals(System.identityHashCode(redirect), redirect.hashCode());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DSystemTest.java246 * java.lang.System#identityHashCode(java.lang.Object)
250 // java.lang.System.identityHashCode(java.lang.Object)
254 0, System.identityHashCode(null));
256 .identityHashCode(o) == o.hashCode());
258 .identityHashCode(s) != s.hashCode());
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DWeakCache.java282 return System.identityHashCode(value); // compare by identity
303 this.hash = System.identityHashCode(value); // compare by identity
345 this.hash = System.identityHashCode(key); // compare by identity
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DDistinctOpTest.java196 assertEquals(System.identityHashCode(l.get(0)),
197 System.identityHashCode(expectedElement));
/libcore/ojluni/src/main/java/java/util/
H A DIdentityHashMap.java65 * identity hash function ({@link System#identityHashCode(Object)})
128 * @see System#identityHashCode(Object)
294 int h = System.identityHashCode(x);
688 result += System.identityHashCode(k) ^
689 System.identityHashCode(tab[i + 1]);
899 return (System.identityHashCode(unmaskNull(traversalTable[index])) ^
900 System.identityHashCode(traversalTable[index+1]));
963 * @see System#identityHashCode(Object)
1011 result += System.identityHashCode(key);
1160 * <tt>System.identityHashCode(
[all...]
H A DHashMap.java1900 d = (System.identityHashCode(a) <= System.identityHashCode(b) ?
/libcore/ojluni/src/main/java/sun/security/util/
H A DDerValue.java797 return (System.identityHashCode(this.data)
798 > System.identityHashCode(other.data)) ?
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DForkJoinTask.java447 this.hashCode = System.identityHashCode(task);
459 int h = System.identityHashCode(this);
520 int h = System.identityHashCode(this);
562 int h = System.identityHashCode(this);
H A DConcurrentHashMap.java2800 d = (System.identityHashCode(a) <= System.identityHashCode(b) ?
/libcore/ojluni/src/main/java/java/io/
H A DObjectStreamClass.java2190 hash = System.identityHashCode(cl) + sigs.hashCode();
2340 hash = System.identityHashCode(cl);
H A DObjectOutputStream.java2444 return System.identityHashCode(obj) & 0x7FFFFFFF;
/libcore/json/src/test/java/org/json/
H A DJSONObjectTest.java115 assertEquals(a.hashCode(), System.identityHashCode(a));

Completed in 473 milliseconds