Home
last modified time | relevance | path

Searched refs:getReference (Results 1 – 13 of 13) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicStampedReferenceTest.java32 assertSame(one, ai.getReference()); in testConstructor()
35 assertNull(a2.getReference()); in testConstructor()
45 assertSame(one, ai.getReference()); in testGetSet()
50 assertSame(two, ai.getReference()); in testGetSet()
55 assertSame(one, ai.getReference()); in testGetSet()
114 assertSame(three, ai.getReference()); in testCompareAndSetInMultipleThreads()
134 assertSame(one, ai.getReference()); in testCompareAndSetInMultipleThreads2()
DAtomicMarkableReferenceTest.java32 assertSame(one, ai.getReference()); in testConstructor()
35 assertNull(a2.getReference()); in testConstructor()
45 assertSame(one, ai.getReference()); in testGetSet()
50 assertSame(two, ai.getReference()); in testGetSet()
55 assertSame(one, ai.getReference()); in testGetSet()
114 assertSame(three, ai.getReference()); in testCompareAndSetInMultipleThreads()
134 assertSame(one, ai.getReference()); in testCompareAndSetInMultipleThreads2()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAtomicMarkableReferenceTest.java55 assertSame(one, ai.getReference()); in testConstructor()
58 assertNull(a2.getReference()); in testConstructor()
68 assertSame(one, ai.getReference()); in testGetSet()
73 assertSame(two, ai.getReference()); in testGetSet()
78 assertSame(one, ai.getReference()); in testGetSet()
137 assertSame(three, ai.getReference()); in testCompareAndSetInMultipleThreads()
157 assertSame(one, ai.getReference()); in testCompareAndSetInMultipleThreads2()
DAtomicStampedReferenceTest.java55 assertSame(one, ai.getReference()); in testConstructor()
58 assertNull(a2.getReference()); in testConstructor()
68 assertSame(one, ai.getReference()); in testGetSet()
73 assertSame(two, ai.getReference()); in testGetSet()
78 assertSame(one, ai.getReference()); in testGetSet()
137 assertSame(three, ai.getReference()); in testCompareAndSetInMultipleThreads()
157 assertSame(one, ai.getReference()); in testCompareAndSetInMultipleThreads2()
/libcore/ojluni/src/main/java/jdk/internal/misc/
DInnocuousThread.java161 UNSAFE.getReference(Thread.currentThread(), tg);
164 ThreadGroup parent = (ThreadGroup)UNSAFE.getReference(group, gp);
DUnsafe.java182 public native Object getReference(Object o, long offset); in getReference() method in Unsafe
4201 return getReference(o, offset); in getObject()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicStampedReference.java85 public V getReference() { in getReference() method in AtomicStampedReference
DAtomicMarkableReference.java85 public V getReference() { in getReference() method in AtomicMarkableReference
/libcore/luni/src/test/java/libcore/dalvik/system/
DEmulatedStackFrameTest.java298 assertEquals(Integer.valueOf(-1), stackFrame.getReference(0, Integer.class)); in testGetSetReference()
300 assertEquals("Hello", stackFrame.getReference(2, String.class)); in testGetSetReference()
/libcore/ojluni/src/main/java/java/util/zip/
DZipUtils.java300 return (byte[]) unsafe.getReference(byteBuffer, byteBufferArrayOffset); in getBufferArray()
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java220 public <T> T getReference(int idx, Class<T> referenceType) { in getReference() method in EmulatedStackFrame
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java122 throw emulatedStackFrame.getReference(0, exceptionType); in transform()
1186 MethodHandle target = emulatedStackFrame.getReference(0, MethodHandle.class); in transform()
1288 final Object arrayObj = callerFrame.getReference(arrayOffset, arrayType); in transform()
/libcore/api/
Dcurrent.txt16687 method public V getReference();
16770 method public V getReference();