| /libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
| D | AtomicBoolean.java | 101 public final boolean compareAndSet(boolean expectedValue, boolean newValue) { in compareAndSet() 124 public boolean weakCompareAndSet(boolean expectedValue, boolean newValue) { in weakCompareAndSet() 140 public boolean weakCompareAndSetPlain(boolean expectedValue, boolean newValue) { in weakCompareAndSetPlain() 267 public final boolean compareAndExchange(boolean expectedValue, boolean newValue) { in compareAndExchange() 285 public final boolean compareAndExchangeAcquire(boolean expectedValue, boolean newValue) { in compareAndExchangeAcquire() 303 public final boolean compareAndExchangeRelease(boolean expectedValue, boolean newValue) { in compareAndExchangeRelease() 320 public final boolean weakCompareAndSetVolatile(boolean expectedValue, boolean newValue) { in weakCompareAndSetVolatile() 337 public final boolean weakCompareAndSetAcquire(boolean expectedValue, boolean newValue) { in weakCompareAndSetAcquire() 354 public final boolean weakCompareAndSetRelease(boolean expectedValue, boolean newValue) { in weakCompareAndSetRelease()
|
| D | AtomicReference.java | 122 public final boolean compareAndSet(V expectedValue, V newValue) { in compareAndSet() 143 public final boolean weakCompareAndSet(V expectedValue, V newValue) { in weakCompareAndSet() 157 public final boolean weakCompareAndSetPlain(V expectedValue, V newValue) { in weakCompareAndSetPlain() 360 public final V compareAndExchange(V expectedValue, V newValue) { in compareAndExchange() 376 public final V compareAndExchangeAcquire(V expectedValue, V newValue) { in compareAndExchangeAcquire() 392 public final V compareAndExchangeRelease(V expectedValue, V newValue) { in compareAndExchangeRelease() 407 public final boolean weakCompareAndSetVolatile(V expectedValue, V newValue) { in weakCompareAndSetVolatile() 422 public final boolean weakCompareAndSetAcquire(V expectedValue, V newValue) { in weakCompareAndSetAcquire() 437 public final boolean weakCompareAndSetRelease(V expectedValue, V newValue) { in weakCompareAndSetRelease()
|
| D | AtomicInteger.java | 150 public final boolean compareAndSet(int expectedValue, int newValue) { in compareAndSet() 173 public final boolean weakCompareAndSet(int expectedValue, int newValue) { in weakCompareAndSet() 189 public final boolean weakCompareAndSetPlain(int expectedValue, int newValue) { in weakCompareAndSetPlain() 517 public final int compareAndExchange(int expectedValue, int newValue) { in compareAndExchange() 535 public final int compareAndExchangeAcquire(int expectedValue, int newValue) { in compareAndExchangeAcquire() 553 public final int compareAndExchangeRelease(int expectedValue, int newValue) { in compareAndExchangeRelease() 570 public final boolean weakCompareAndSetVolatile(int expectedValue, int newValue) { in weakCompareAndSetVolatile() 587 public final boolean weakCompareAndSetAcquire(int expectedValue, int newValue) { in weakCompareAndSetAcquire() 604 public final boolean weakCompareAndSetRelease(int expectedValue, int newValue) { in weakCompareAndSetRelease()
|
| D | AtomicLong.java | 167 public final boolean compareAndSet(long expectedValue, long newValue) { in compareAndSet() 190 public final boolean weakCompareAndSet(long expectedValue, long newValue) { in weakCompareAndSet() 206 public final boolean weakCompareAndSetPlain(long expectedValue, long newValue) { in weakCompareAndSetPlain() 532 public final long compareAndExchange(long expectedValue, long newValue) { in compareAndExchange() 550 public final long compareAndExchangeAcquire(long expectedValue, long newValue) { in compareAndExchangeAcquire() 568 public final long compareAndExchangeRelease(long expectedValue, long newValue) { in compareAndExchangeRelease() 585 public final boolean weakCompareAndSetVolatile(long expectedValue, long newValue) { in weakCompareAndSetVolatile() 602 public final boolean weakCompareAndSetAcquire(long expectedValue, long newValue) { in weakCompareAndSetAcquire() 619 public final boolean weakCompareAndSetRelease(long expectedValue, long newValue) { in weakCompareAndSetRelease()
|
| D | AtomicReferenceArray.java | 152 public final boolean compareAndSet(int i, E expectedValue, E newValue) { in compareAndSet() 174 public final boolean weakCompareAndSet(int i, E expectedValue, E newValue) { in weakCompareAndSet() 189 public final boolean weakCompareAndSetPlain(int i, E expectedValue, E newValue) { in weakCompareAndSetPlain() 441 public final E compareAndExchange(int i, E expectedValue, E newValue) { in compareAndExchange() 459 public final E compareAndExchangeAcquire(int i, E expectedValue, E newValue) { in compareAndExchangeAcquire() 477 public final E compareAndExchangeRelease(int i, E expectedValue, E newValue) { in compareAndExchangeRelease() 493 public final boolean weakCompareAndSetVolatile(int i, E expectedValue, E newValue) { in weakCompareAndSetVolatile() 509 public final boolean weakCompareAndSetAcquire(int i, E expectedValue, E newValue) { in weakCompareAndSetAcquire() 525 public final boolean weakCompareAndSetRelease(int i, E expectedValue, E newValue) { in weakCompareAndSetRelease()
|
| D | AtomicLongArray.java | 145 public final boolean compareAndSet(int i, long expectedValue, long newValue) { in compareAndSet() 167 public final boolean weakCompareAndSet(int i, long expectedValue, long newValue) { in weakCompareAndSet() 182 public final boolean weakCompareAndSetPlain(int i, long expectedValue, long newValue) { in weakCompareAndSetPlain() 477 public final long compareAndExchange(int i, long expectedValue, long newValue) { in compareAndExchange() 495 public final long compareAndExchangeAcquire(int i, long expectedValue, long newValue) { in compareAndExchangeAcquire() 513 public final long compareAndExchangeRelease(int i, long expectedValue, long newValue) { in compareAndExchangeRelease() 529 public final boolean weakCompareAndSetVolatile(int i, long expectedValue, long newValue) { in weakCompareAndSetVolatile() 545 public final boolean weakCompareAndSetAcquire(int i, long expectedValue, long newValue) { in weakCompareAndSetAcquire() 561 public final boolean weakCompareAndSetRelease(int i, long expectedValue, long newValue) { in weakCompareAndSetRelease()
|
| D | AtomicIntegerArray.java | 145 public final boolean compareAndSet(int i, int expectedValue, int newValue) { in compareAndSet() 167 public final boolean weakCompareAndSet(int i, int expectedValue, int newValue) { in weakCompareAndSet() 182 public final boolean weakCompareAndSetPlain(int i, int expectedValue, int newValue) { in weakCompareAndSetPlain() 477 public final int compareAndExchange(int i, int expectedValue, int newValue) { in compareAndExchange() 495 public final int compareAndExchangeAcquire(int i, int expectedValue, int newValue) { in compareAndExchangeAcquire() 513 public final int compareAndExchangeRelease(int i, int expectedValue, int newValue) { in compareAndExchangeRelease() 529 public final boolean weakCompareAndSetVolatile(int i, int expectedValue, int newValue) { in weakCompareAndSetVolatile() 545 public final boolean weakCompareAndSetAcquire(int i, int expectedValue, int newValue) { in weakCompareAndSetAcquire() 561 public final boolean weakCompareAndSetRelease(int i, int expectedValue, int newValue) { in weakCompareAndSetRelease()
|
| /libcore/luni/src/test/java/libcore/libcore/io/ |
| D | MemoryMappedFileTest.java | 241 short expectedValue = (short) ((bytes[0] << 8) | bytes[1]); in testReadShort_bigEndian() local 263 short expectedValue = (short) ((bytes[1] << 8) | bytes[0]); in testReadShort_littleEndian() local 303 int expectedValue = (bytes[0] << 24) | (bytes[1] << 16) | (bytes[2] << 8) | bytes[3]; in testReadInt_bigEndian() local 325 int expectedValue = (bytes[3] << 24) | (bytes[2] << 16) | (bytes[1] << 8) | bytes[0]; in testReadInt_littleEndian() local 609 private static void assertReadIntSucceeds(BufferIterator iterator, int expectedValue) { in assertReadIntSucceeds() 625 private static void assertReadShortSucceeds(BufferIterator iterator, short expectedValue) { in assertReadShortSucceeds() 642 private static void assertReadByteSucceeds(BufferIterator iterator, byte expectedValue) { in assertReadByteSucceeds()
|
| /libcore/ojluni/src/test/java/time/tck/java/time/format/ |
| D | TCKLocalizedFieldParser.java | 105 …d test_parse_textField(String pattern, String text, int pos, int expectedPos, long expectedValue) { in test_parse_textField() 157 …rse_textLocalDate(String pattern, String text, int pos, int expectedPos, LocalDate expectedValue) { in test_parse_textLocalDate() 194 …rse_WeekBasedYear(String pattern, String text, int pos, int expectedPos, LocalDate expectedValue) { in test_parse_WeekBasedYear() 268 LocalDate expectedValue = LocalDate.of(2012, 07, 20); in test_adjacentValuePatterns3() local
|
| D | TCKDateTimeParseResolver.java | 832 … public void test_resolveClockHourOfAmPm(ResolverStyle style, long value, Integer expectedValue) { in test_resolveClockHourOfAmPm() 875 … test_resolveAmPm(ResolverStyle style, long value, LocalTime expectedTime, Integer expectedValue) { in test_resolveAmPm()
|
| /libcore/ojluni/src/test/java/time/test/java/time/format/ |
| D | TestFractionPrinterParser.java | 248 int expectedValue = fixParsedValue(maxWidth, value); in test_reverseParse() local 259 int expectedValue = fixParsedValue(maxWidth, value); in test_reverseParse_noDecimalPoint() local 266 int expectedValue = fixParsedValue(maxWidth, value); in test_reverseParse_followedByNonDigit() local 284 int expectedValue = fixParsedValue(maxWidth, value); in test_reverseParse_preceededByNonDigit() local
|
| D | TestNumberParser.java | 167 …nStyle signStyle, int subsequentWidth, String text, int pos, int expectedPos, long expectedValue) { in test_parse_fresh() 180 assertEquals(parsed.getLong(DAY_OF_MONTH), expectedValue); in test_parse_fresh() local 187 …nStyle signStyle, int subsequentWidth, String text, int pos, int expectedPos, long expectedValue) { in test_parse_textField() 200 assertEquals(parsed.getLong(DAY_OF_WEEK), expectedValue); in test_parse_textField() local
|
| D | TestTextParserWithLocale.java | 151 …StandaloneText(Locale locale, TemporalField field, TextStyle style, int expectedValue, String inpu… in test_parseStandaloneText() 180 …public void test_parseLenientText(Locale locale, TemporalField field, int expectedValue, String in… in test_parseLenientText()
|
| /libcore/ojluni/src/test/java/io/Serializable/records/ |
| D | StreamRefTest.java | 216 static void assertExpectedIntValue(int expectedValue, byte[] bytes, int offset) in assertExpectedIntValue() 220 assertEquals(dis.readInt(), expectedValue); in assertExpectedIntValue() local 223 static void updateIntValue(int expectedValue, int newValue, byte[] bytes, int offset) in updateIntValue()
|
| /libcore/ojluni/src/test/java/lang/Thread/ |
| D | ITLConstructor.java | 70 int expectedValue = 1; in test() local
|
| /libcore/ojluni/annotations/mmodule/sun/misc/ |
| D | Unsafe.annotated.java | 54 public native boolean compareAndSwapInt(java.lang.Object obj, long offset, int expectedValue, int n… in compareAndSwapInt() 57 public native boolean compareAndSwapLong(java.lang.Object obj, long offset, long expectedValue, lon… in compareAndSwapLong() 60 …lean compareAndSwapObject(java.lang.Object obj, long offset, java.lang.Object expectedValue, java.… in compareAndSwapObject()
|
| /libcore/luni/src/test/java/libcore/java/util/ |
| D | AbstractListTest.java | 85 Integer expectedValue = list.get(2); in spliterator_modification_failFast() local
|
| D | LinkedHashMapTest.java | 393 Object expectedValue = expected.getValue(); in check_eldest_comparibleWithIterationOrder() local
|
| /libcore/ojluni/annotations/hiddenapi/sun/misc/ |
| D | Unsafe.java | 67 java.lang.Object obj, long offset, int expectedValue, int newValue); in compareAndSwapInt() 71 java.lang.Object obj, long offset, long expectedValue, long newValue); in compareAndSwapLong() 77 java.lang.Object expectedValue, in compareAndSwapObject()
|
| /libcore/ojluni/src/main/java/sun/misc/ |
| D | Unsafe.java | 136 int expectedValue, int newValue); in compareAndSwapInt() 152 long expectedValue, long newValue); in compareAndSwapLong() 168 Object expectedValue, Object newValue); in compareAndSwapObject()
|
| /libcore/ojluni/src/main/java/jdk/internal/misc/ |
| D | Unsafe.java | 4256 int expectedValue, int newValue); in compareAndSwapInt() 4272 long expectedValue, long newValue); in compareAndSwapLong() 4288 Object expectedValue, Object newValue); in compareAndSwapObject()
|
| /libcore/ojluni/src/test/java/util/concurrent/tck/ |
| D | CompletableFutureTest.java | 107 <T> void checkCompletedNormally(CompletableFuture<T> f, T expectedValue) { in checkCompletedNormally()
|