/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicBoolean.java | 240 public final boolean getAcquire() { in getAcquire() method in AtomicBoolean 241 return (int)VALUE.getAcquire(this) != 0; in getAcquire()
|
D | AtomicLong.java | 501 public final long getAcquire() { in getAcquire() method in AtomicLong 504 return (long)VALUE.getAcquire(this); in getAcquire()
|
D | AtomicInteger.java | 486 public final int getAcquire() { in getAcquire() method in AtomicInteger 489 return (int)VALUE.getAcquire(this); in getAcquire()
|
D | AtomicReference.java | 333 public final V getAcquire() { in getAcquire() method in AtomicReference 334 return (V)VALUE.getAcquire(this); in getAcquire()
|
D | AtomicLongArray.java | 447 public final long getAcquire(int i) { in getAcquire() method in AtomicLongArray 448 return (long)AA.getAcquire(array, i); in getAcquire()
|
D | AtomicIntegerArray.java | 447 public final int getAcquire(int i) { in getAcquire() method in AtomicIntegerArray 448 return (int)AA.getAcquire(array, i); in getAcquire()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | AtomicLongTest.java | 72 assertEquals(42, val.getAcquire()); in testGetAcquire() 74 assertEquals(0, val.getAcquire()); in testGetAcquire() 76 assertEquals(5, val.getAcquire()); in testGetAcquire()
|
D | AtomicIntegerTest.java | 72 assertEquals(42, val.getAcquire()); in testGetAcquire() 74 assertEquals(0, val.getAcquire()); in testGetAcquire() 76 assertEquals(5, val.getAcquire()); in testGetAcquire()
|
D | AtomicReferenceTest.java | 170 assertSame(currentValue, val.getAcquire()); in testGetAcquire() 171 assertEquals(42, val.getAcquire().intValue()); in testGetAcquire() 175 assertSame(currentValue, val.getAcquire()); in testGetAcquire() 176 assertEquals(0, val.getAcquire().intValue()); in testGetAcquire() 180 assertSame(currentValue, val.getAcquire()); in testGetAcquire() 181 assertEquals(5, val.getAcquire().intValue()); in testGetAcquire()
|
D | AtomicBooleanTest.java | 93 assertEquals(true, val.getAcquire()); in testGetAcquire() 95 assertEquals(false, val.getAcquire()); in testGetAcquire() 97 assertEquals(true, val.getAcquire()); in testGetAcquire()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Exchanger.java | 363 Node q = (Node)AA.getAcquire(a, j); in arenaExchange() 393 else if (AA.getAcquire(a, j) != p) in arenaExchange() 399 if (AA.getAcquire(a, j) == p) { in arenaExchange() 407 else if (AA.getAcquire(a, j) == p && in arenaExchange()
|
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestMethodTypeDouble.java | 283 double x = (double) vh.getAcquire(null); in testInstanceFieldWrongMethodType() 286 double x = (double) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType() 289 double x = (double) vh.getAcquire(0); in testInstanceFieldWrongMethodType() 293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 300 double x = (double) vh.getAcquire(); in testInstanceFieldWrongMethodType() 303 double x = (double) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 1036 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType() 1039 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType() 1042 double x = (double) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeFloat.java | 283 float x = (float) vh.getAcquire(null); in testInstanceFieldWrongMethodType() 286 float x = (float) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType() 289 float x = (float) vh.getAcquire(0); in testInstanceFieldWrongMethodType() 293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 300 float x = (float) vh.getAcquire(); in testInstanceFieldWrongMethodType() 303 float x = (float) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 1036 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType() 1039 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType() 1042 float x = (float) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestByteArrayAsShort.java | 222 short x = (short) vh.getAcquire(array, ci); in testArrayNPE() 263 short x = (short) vh.getAcquire(array, ci); in testArrayNPE() 615 short x = (short) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds() 664 short x = (short) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds() 707 short x = (short) vh.getAcquire(array, ci); in testArrayMisalignedAccess() 749 short x = (short) vh.getAcquire(array, ci); in testArrayMisalignedAccess() 806 short x = (short) vh.getAcquire(array, i); in testArrayReadWrite() 852 short x = (short) vh.getAcquire(array, i); in testArrayReadWrite() 900 short x = (short) vh.getAcquire(array, i); in testArrayReadOnly()
|
D | VarHandleTestByteArrayAsChar.java | 222 char x = (char) vh.getAcquire(array, ci); in testArrayNPE() 263 char x = (char) vh.getAcquire(array, ci); in testArrayNPE() 615 char x = (char) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds() 664 char x = (char) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds() 707 char x = (char) vh.getAcquire(array, ci); in testArrayMisalignedAccess() 749 char x = (char) vh.getAcquire(array, ci); in testArrayMisalignedAccess() 806 char x = (char) vh.getAcquire(array, i); in testArrayReadWrite() 852 char x = (char) vh.getAcquire(array, i); in testArrayReadWrite() 900 char x = (char) vh.getAcquire(array, i); in testArrayReadOnly()
|
D | VarHandleTestMethodTypeString.java | 283 String x = (String) vh.getAcquire(null); in testInstanceFieldWrongMethodType() 286 String x = (String) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType() 289 String x = (String) vh.getAcquire(0); in testInstanceFieldWrongMethodType() 293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 300 String x = (String) vh.getAcquire(); in testInstanceFieldWrongMethodType() 303 String x = (String) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 914 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType() 917 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType() 920 String x = (String) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeBoolean.java | 283 boolean x = (boolean) vh.getAcquire(null); in testInstanceFieldWrongMethodType() 286 boolean x = (boolean) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType() 289 boolean x = (boolean) vh.getAcquire(0); in testInstanceFieldWrongMethodType() 293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 296 int x = (int) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 300 boolean x = (boolean) vh.getAcquire(); in testInstanceFieldWrongMethodType() 303 boolean x = (boolean) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 1218 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType() 1221 int x = (int) vh.getAcquire(); in testStaticFieldWrongMethodType() 1224 boolean x = (boolean) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleMethodReferenceTest.java | 67 r = vh::getAcquire; in testMethodReferences()
|
D | VarHandleTestMethodTypeLong.java | 283 long x = (long) vh.getAcquire(null); in testInstanceFieldWrongMethodType() 286 long x = (long) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType() 289 long x = (long) vh.getAcquire(0); in testInstanceFieldWrongMethodType() 293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 300 long x = (long) vh.getAcquire(); in testInstanceFieldWrongMethodType() 303 long x = (long) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType() 1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType() 1346 long x = (long) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeInt.java | 283 int x = (int) vh.getAcquire(null); in testInstanceFieldWrongMethodType() 286 int x = (int) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType() 289 int x = (int) vh.getAcquire(0); in testInstanceFieldWrongMethodType() 293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 300 int x = (int) vh.getAcquire(); in testInstanceFieldWrongMethodType() 303 int x = (int) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType() 1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType() 1346 int x = (int) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeByte.java | 283 byte x = (byte) vh.getAcquire(null); in testInstanceFieldWrongMethodType() 286 byte x = (byte) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType() 289 byte x = (byte) vh.getAcquire(0); in testInstanceFieldWrongMethodType() 293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 300 byte x = (byte) vh.getAcquire(); in testInstanceFieldWrongMethodType() 303 byte x = (byte) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType() 1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType() 1346 byte x = (byte) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeShort.java | 283 short x = (short) vh.getAcquire(null); in testInstanceFieldWrongMethodType() 286 short x = (short) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType() 289 short x = (short) vh.getAcquire(0); in testInstanceFieldWrongMethodType() 293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 300 short x = (short) vh.getAcquire(); in testInstanceFieldWrongMethodType() 303 short x = (short) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType() 1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType() 1346 short x = (short) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestMethodTypeChar.java | 283 char x = (char) vh.getAcquire(null); in testInstanceFieldWrongMethodType() 286 char x = (char) vh.getAcquire(Void.class); in testInstanceFieldWrongMethodType() 289 char x = (char) vh.getAcquire(0); in testInstanceFieldWrongMethodType() 293 Void x = (Void) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 296 boolean x = (boolean) vh.getAcquire(recv); in testInstanceFieldWrongMethodType() 300 char x = (char) vh.getAcquire(); in testInstanceFieldWrongMethodType() 303 char x = (char) vh.getAcquire(recv, Void.class); in testInstanceFieldWrongMethodType() 1340 Void x = (Void) vh.getAcquire(); in testStaticFieldWrongMethodType() 1343 boolean x = (boolean) vh.getAcquire(); in testStaticFieldWrongMethodType() 1346 char x = (char) vh.getAcquire(Void.class); in testStaticFieldWrongMethodType() [all …]
|
D | VarHandleTestByteArrayAsFloat.java | 222 float x = (float) vh.getAcquire(array, ci); in testArrayNPE() 306 float x = (float) vh.getAcquire(array, ci); in testArrayNPE() 617 float x = (float) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds() 710 float x = (float) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds() 796 float x = (float) vh.getAcquire(array, ci); in testArrayMisalignedAccess() 882 float x = (float) vh.getAcquire(array, ci); in testArrayMisalignedAccess() 982 float x = (float) vh.getAcquire(array, i); in testArrayReadWrite() 1155 float x = (float) vh.getAcquire(array, i); in testArrayReadWrite() 1330 float x = (float) vh.getAcquire(array, i); in testArrayReadOnly()
|
D | VarHandleTestByteArrayAsDouble.java | 222 double x = (double) vh.getAcquire(array, ci); in testArrayNPE() 306 double x = (double) vh.getAcquire(array, ci); in testArrayNPE() 617 double x = (double) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds() 710 double x = (double) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds() 796 double x = (double) vh.getAcquire(array, ci); in testArrayMisalignedAccess() 882 double x = (double) vh.getAcquire(array, ci); in testArrayMisalignedAccess() 982 double x = (double) vh.getAcquire(array, i); in testArrayReadWrite() 1155 double x = (double) vh.getAcquire(array, i); in testArrayReadWrite() 1330 double x = (double) vh.getAcquire(array, i); in testArrayReadOnly()
|