Home
last modified time | relevance | path

Searched refs:getOpaque (Results 1 – 25 of 46) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicBoolean.java218 public final boolean getOpaque() { in getOpaque() method in AtomicBoolean
219 return (int)VALUE.getOpaque(this) != 0; in getOpaque()
DAtomicLong.java475 public final long getOpaque() { in getOpaque() method in AtomicLong
478 return (long)VALUE.getOpaque(this); in getOpaque()
DAtomicInteger.java460 public final int getOpaque() { in getOpaque() method in AtomicInteger
463 return (int)VALUE.getOpaque(this); in getOpaque()
DAtomicReference.java311 public final V getOpaque() { in getOpaque() method in AtomicReference
312 return (V)VALUE.getOpaque(this); in getOpaque()
DAtomicLongArray.java423 public final long getOpaque(int i) { in getOpaque() method in AtomicLongArray
424 return (long)AA.getOpaque(array, i); in getOpaque()
DAtomicIntegerArray.java423 public final int getOpaque(int i) { in getOpaque() method in AtomicIntegerArray
424 return (int)AA.getOpaque(array, i); in getOpaque()
DAtomicReferenceArray.java387 public final E getOpaque(int i) { in getOpaque() method in AtomicReferenceArray
388 return (E)AA.getOpaque(array, i); in getOpaque()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAtomicLongTest.java82 assertEquals(42, val.getOpaque()); in testGetOpaque()
84 assertEquals(0, val.getOpaque()); in testGetOpaque()
86 assertEquals(5, val.getOpaque()); in testGetOpaque()
DAtomicIntegerTest.java82 assertEquals(42, val.getOpaque()); in testGetOpaque()
84 assertEquals(0, val.getOpaque()); in testGetOpaque()
86 assertEquals(5, val.getOpaque()); in testGetOpaque()
DAtomicReferenceTest.java188 assertSame(currentValue, val.getOpaque()); in testGetOpaque()
189 assertEquals(42, val.getOpaque().intValue()); in testGetOpaque()
193 assertSame(currentValue, val.getOpaque()); in testGetOpaque()
194 assertEquals(0, val.getOpaque().intValue()); in testGetOpaque()
198 assertSame(currentValue, val.getOpaque()); in testGetOpaque()
199 assertEquals(5, val.getOpaque().intValue()); in testGetOpaque()
DAtomicBooleanTest.java103 assertEquals(true, val.getOpaque()); in testGetOpaque()
105 assertEquals(false, val.getOpaque()); in testGetOpaque()
107 assertEquals(true, val.getOpaque()); in testGetOpaque()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestMethodTypeDouble.java233 double x = (double) vh.getOpaque(null); in testInstanceFieldWrongMethodType()
236 double x = (double) vh.getOpaque(Void.class); in testInstanceFieldWrongMethodType()
239 double x = (double) vh.getOpaque(0); in testInstanceFieldWrongMethodType()
243 Void x = (Void) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
246 boolean x = (boolean) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
250 double x = (double) vh.getOpaque(); in testInstanceFieldWrongMethodType()
253 double x = (double) vh.getOpaque(recv, Void.class); in testInstanceFieldWrongMethodType()
1009 Void x = (Void) vh.getOpaque(); in testStaticFieldWrongMethodType()
1012 boolean x = (boolean) vh.getOpaque(); in testStaticFieldWrongMethodType()
1015 double x = (double) vh.getOpaque(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeFloat.java233 float x = (float) vh.getOpaque(null); in testInstanceFieldWrongMethodType()
236 float x = (float) vh.getOpaque(Void.class); in testInstanceFieldWrongMethodType()
239 float x = (float) vh.getOpaque(0); in testInstanceFieldWrongMethodType()
243 Void x = (Void) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
246 boolean x = (boolean) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
250 float x = (float) vh.getOpaque(); in testInstanceFieldWrongMethodType()
253 float x = (float) vh.getOpaque(recv, Void.class); in testInstanceFieldWrongMethodType()
1009 Void x = (Void) vh.getOpaque(); in testStaticFieldWrongMethodType()
1012 boolean x = (boolean) vh.getOpaque(); in testStaticFieldWrongMethodType()
1015 float x = (float) vh.getOpaque(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestByteArrayAsShort.java226 short x = (short) vh.getOpaque(array, ci); in testArrayNPE()
267 short x = (short) vh.getOpaque(array, ci); in testArrayNPE()
619 short x = (short) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
668 short x = (short) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
711 short x = (short) vh.getOpaque(array, ci); in testArrayMisalignedAccess()
753 short x = (short) vh.getOpaque(array, ci); in testArrayMisalignedAccess()
813 short x = (short) vh.getOpaque(array, i); in testArrayReadWrite()
859 short x = (short) vh.getOpaque(array, i); in testArrayReadWrite()
906 short x = (short) vh.getOpaque(array, i); in testArrayReadOnly()
DVarHandleTestByteArrayAsChar.java226 char x = (char) vh.getOpaque(array, ci); in testArrayNPE()
267 char x = (char) vh.getOpaque(array, ci); in testArrayNPE()
619 char x = (char) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
668 char x = (char) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
711 char x = (char) vh.getOpaque(array, ci); in testArrayMisalignedAccess()
753 char x = (char) vh.getOpaque(array, ci); in testArrayMisalignedAccess()
813 char x = (char) vh.getOpaque(array, i); in testArrayReadWrite()
859 char x = (char) vh.getOpaque(array, i); in testArrayReadWrite()
906 char x = (char) vh.getOpaque(array, i); in testArrayReadOnly()
DVarHandleTestMethodTypeString.java233 String x = (String) vh.getOpaque(null); in testInstanceFieldWrongMethodType()
236 String x = (String) vh.getOpaque(Void.class); in testInstanceFieldWrongMethodType()
239 String x = (String) vh.getOpaque(0); in testInstanceFieldWrongMethodType()
243 Void x = (Void) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
246 boolean x = (boolean) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
250 String x = (String) vh.getOpaque(); in testInstanceFieldWrongMethodType()
253 String x = (String) vh.getOpaque(recv, Void.class); in testInstanceFieldWrongMethodType()
887 Void x = (Void) vh.getOpaque(); in testStaticFieldWrongMethodType()
890 boolean x = (boolean) vh.getOpaque(); in testStaticFieldWrongMethodType()
893 String x = (String) vh.getOpaque(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeBoolean.java233 boolean x = (boolean) vh.getOpaque(null); in testInstanceFieldWrongMethodType()
236 boolean x = (boolean) vh.getOpaque(Void.class); in testInstanceFieldWrongMethodType()
239 boolean x = (boolean) vh.getOpaque(0); in testInstanceFieldWrongMethodType()
243 Void x = (Void) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
246 int x = (int) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
250 boolean x = (boolean) vh.getOpaque(); in testInstanceFieldWrongMethodType()
253 boolean x = (boolean) vh.getOpaque(recv, Void.class); in testInstanceFieldWrongMethodType()
1191 Void x = (Void) vh.getOpaque(); in testStaticFieldWrongMethodType()
1194 int x = (int) vh.getOpaque(); in testStaticFieldWrongMethodType()
1197 boolean x = (boolean) vh.getOpaque(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleMethodReferenceTest.java65 r = vh::getOpaque; in testMethodReferences()
DVarHandleTestMethodTypeLong.java233 long x = (long) vh.getOpaque(null); in testInstanceFieldWrongMethodType()
236 long x = (long) vh.getOpaque(Void.class); in testInstanceFieldWrongMethodType()
239 long x = (long) vh.getOpaque(0); in testInstanceFieldWrongMethodType()
243 Void x = (Void) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
246 boolean x = (boolean) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
250 long x = (long) vh.getOpaque(); in testInstanceFieldWrongMethodType()
253 long x = (long) vh.getOpaque(recv, Void.class); in testInstanceFieldWrongMethodType()
1313 Void x = (Void) vh.getOpaque(); in testStaticFieldWrongMethodType()
1316 boolean x = (boolean) vh.getOpaque(); in testStaticFieldWrongMethodType()
1319 long x = (long) vh.getOpaque(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeInt.java233 int x = (int) vh.getOpaque(null); in testInstanceFieldWrongMethodType()
236 int x = (int) vh.getOpaque(Void.class); in testInstanceFieldWrongMethodType()
239 int x = (int) vh.getOpaque(0); in testInstanceFieldWrongMethodType()
243 Void x = (Void) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
246 boolean x = (boolean) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
250 int x = (int) vh.getOpaque(); in testInstanceFieldWrongMethodType()
253 int x = (int) vh.getOpaque(recv, Void.class); in testInstanceFieldWrongMethodType()
1313 Void x = (Void) vh.getOpaque(); in testStaticFieldWrongMethodType()
1316 boolean x = (boolean) vh.getOpaque(); in testStaticFieldWrongMethodType()
1319 int x = (int) vh.getOpaque(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeByte.java233 byte x = (byte) vh.getOpaque(null); in testInstanceFieldWrongMethodType()
236 byte x = (byte) vh.getOpaque(Void.class); in testInstanceFieldWrongMethodType()
239 byte x = (byte) vh.getOpaque(0); in testInstanceFieldWrongMethodType()
243 Void x = (Void) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
246 boolean x = (boolean) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
250 byte x = (byte) vh.getOpaque(); in testInstanceFieldWrongMethodType()
253 byte x = (byte) vh.getOpaque(recv, Void.class); in testInstanceFieldWrongMethodType()
1313 Void x = (Void) vh.getOpaque(); in testStaticFieldWrongMethodType()
1316 boolean x = (boolean) vh.getOpaque(); in testStaticFieldWrongMethodType()
1319 byte x = (byte) vh.getOpaque(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeShort.java233 short x = (short) vh.getOpaque(null); in testInstanceFieldWrongMethodType()
236 short x = (short) vh.getOpaque(Void.class); in testInstanceFieldWrongMethodType()
239 short x = (short) vh.getOpaque(0); in testInstanceFieldWrongMethodType()
243 Void x = (Void) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
246 boolean x = (boolean) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
250 short x = (short) vh.getOpaque(); in testInstanceFieldWrongMethodType()
253 short x = (short) vh.getOpaque(recv, Void.class); in testInstanceFieldWrongMethodType()
1313 Void x = (Void) vh.getOpaque(); in testStaticFieldWrongMethodType()
1316 boolean x = (boolean) vh.getOpaque(); in testStaticFieldWrongMethodType()
1319 short x = (short) vh.getOpaque(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestMethodTypeChar.java233 char x = (char) vh.getOpaque(null); in testInstanceFieldWrongMethodType()
236 char x = (char) vh.getOpaque(Void.class); in testInstanceFieldWrongMethodType()
239 char x = (char) vh.getOpaque(0); in testInstanceFieldWrongMethodType()
243 Void x = (Void) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
246 boolean x = (boolean) vh.getOpaque(recv); in testInstanceFieldWrongMethodType()
250 char x = (char) vh.getOpaque(); in testInstanceFieldWrongMethodType()
253 char x = (char) vh.getOpaque(recv, Void.class); in testInstanceFieldWrongMethodType()
1313 Void x = (Void) vh.getOpaque(); in testStaticFieldWrongMethodType()
1316 boolean x = (boolean) vh.getOpaque(); in testStaticFieldWrongMethodType()
1319 char x = (char) vh.getOpaque(Void.class); in testStaticFieldWrongMethodType()
[all …]
DVarHandleTestByteArrayAsFloat.java226 float x = (float) vh.getOpaque(array, ci); in testArrayNPE()
310 float x = (float) vh.getOpaque(array, ci); in testArrayNPE()
621 float x = (float) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
714 float x = (float) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
800 float x = (float) vh.getOpaque(array, ci); in testArrayMisalignedAccess()
886 float x = (float) vh.getOpaque(array, ci); in testArrayMisalignedAccess()
989 float x = (float) vh.getOpaque(array, i); in testArrayReadWrite()
1162 float x = (float) vh.getOpaque(array, i); in testArrayReadWrite()
1336 float x = (float) vh.getOpaque(array, i); in testArrayReadOnly()
DVarHandleTestByteArrayAsDouble.java226 double x = (double) vh.getOpaque(array, ci); in testArrayNPE()
310 double x = (double) vh.getOpaque(array, ci); in testArrayNPE()
621 double x = (double) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
714 double x = (double) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
800 double x = (double) vh.getOpaque(array, ci); in testArrayMisalignedAccess()
886 double x = (double) vh.getOpaque(array, ci); in testArrayMisalignedAccess()
989 double x = (double) vh.getOpaque(array, i); in testArrayReadWrite()
1162 double x = (double) vh.getOpaque(array, i); in testArrayReadWrite()
1336 double x = (double) vh.getOpaque(array, i); in testArrayReadOnly()

12