Home
last modified time | relevance | path

Searched defs:expect (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DLibcore.java49 public static boolean compareAndSetOs(Os expect, Os update) { in compareAndSetOs()
DOs.java792 public static boolean compareAndSetDefault(Os expect, Os update) { in compareAndSetDefault()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicReferenceFieldUpdater.java136 public abstract boolean compareAndSet(T obj, V expect, V update); in compareAndSet()
154 public abstract boolean weakCompareAndSet(T obj, V expect, V update); in weakCompareAndSet()
452 public final boolean compareAndSet(T obj, V expect, V update) { in compareAndSet()
458 public final boolean weakCompareAndSet(T obj, V expect, V update) { in weakCompareAndSet()
DAtomicLongFieldUpdater.java117 public abstract boolean compareAndSet(T obj, long expect, long update); in compareAndSet()
135 public abstract boolean weakCompareAndSet(T obj, long expect, long update); in weakCompareAndSet()
472 public final boolean compareAndSet(T obj, long expect, long update) { in compareAndSet()
477 public final boolean weakCompareAndSet(T obj, long expect, long update) { in weakCompareAndSet()
624 public final boolean compareAndSet(T obj, long expect, long update) { in compareAndSet()
635 public final boolean weakCompareAndSet(T obj, long expect, long update) { in weakCompareAndSet()
DAtomicIntegerFieldUpdater.java114 public abstract boolean compareAndSet(T obj, int expect, int update); in compareAndSet()
132 public abstract boolean weakCompareAndSet(T obj, int expect, int update); in weakCompareAndSet()
506 public final boolean compareAndSet(T obj, int expect, int update) { in compareAndSet()
511 public final boolean weakCompareAndSet(T obj, int expect, int update) { in weakCompareAndSet()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/atomic/
DAtomicInteger.java67 public final boolean compareAndSet(int expect, int update) { in compareAndSet()
71 public final boolean weakCompareAndSet(int expect, int update) { in weakCompareAndSet()
/libcore/ojluni/src/main/java/javax/crypto/
DCryptoPolicyParser.java57 ParsingException(int line, String expect, String actual) { in ParsingException()
/libcore/ojluni/src/test/java/util/Base64/
DTestBase64Golden.java182 private static void assertEqual(Object result, Object expect) { in assertEqual()
/libcore/ojluni/src/test/java/lang/StackWalker/
DGetCallerClassTest.java55 public GetCallerClassTest(StackWalker sw, boolean expect) { in GetCallerClassTest()
/libcore/luni/src/main/java/libcore/reflect/
DGenericSignatureParser.java469 void expect(char c) { in expect() method in GenericSignatureParser
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java107 private boolean compareAndIncrementWorkerCount(int expect) { in compareAndIncrementWorkerCount()
111 private boolean compareAndDecrementWorkerCount(int expect) { in compareAndDecrementWorkerCount()
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java428 private boolean compareAndIncrementWorkerCount(int expect) { in compareAndIncrementWorkerCount()
435 private boolean compareAndDecrementWorkerCount(int expect) { in compareAndDecrementWorkerCount()
DForkJoinTask.java1332 public final boolean compareAndSetForkJoinTaskTag(short expect, short update) { in compareAndSetForkJoinTaskTag()
/libcore/ojluni/src/test/java/lang/invoke/
DRicochetTest.java253 … Object expect = lister.asSpreader(int[].class, listargs.length).invokeExact(listargs); in testIntCollects() local
293 … Object expect = lister.asSpreader(byte[].class, listargs.length).invokeExact(listargs); in testByteCollects() local
DInvokeGenericTest.java390 …public void testWrongArgumentCount(List<Class<?>> expect, List<Class<?>> observe) throws Throwable… in testWrongArgumentCount()
DLoopCombinatorTest.java251 static void assertEqualsFIXME(String expect, String actual) { in assertEqualsFIXME()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetEncoderTest.java902 CharBuffer in, byte[] expect) { in assertCodingErrorAction()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedSynchronizer.java555 protected final boolean compareAndSetState(int expect, int update) { in compareAndSetState()
DAbstractQueuedLongSynchronizer.java190 protected final boolean compareAndSetState(long expect, long update) { in compareAndSetState()
DStampedLock.java422 private boolean casState(long expect, long update) { in casState()