/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | CryptoPolicyParser.java | 55 ParsingException(int line, String expect, String actual) { argument
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicBoolean.java | 65 * @param expect the expected value 70 public final boolean compareAndSet(boolean expect, boolean update) { argument 72 (expect ? 1 : 0), 84 * @param expect the expected value 88 public boolean weakCompareAndSet(boolean expect, boolean update) { argument 90 (expect ? 1 : 0),
|
H A D | AtomicReference.java | 83 * @param expect the expected value 88 public final boolean compareAndSet(V expect, V update) { argument 89 return U.compareAndSwapObject(this, VALUE, expect, update); 100 * @param expect the expected value 104 public final boolean weakCompareAndSet(V expect, V update) { argument 105 return U.compareAndSwapObject(this, VALUE, expect, update);
|
H A D | AtomicInteger.java | 99 * @param expect the expected value 104 public final boolean compareAndSet(int expect, int update) { argument 105 return U.compareAndSwapInt(this, VALUE, expect, update); 116 * @param expect the expected value 120 public final boolean weakCompareAndSet(int expect, int update) { argument 121 return U.compareAndSwapInt(this, VALUE, expect, update);
|
H A D | AtomicIntegerFieldUpdater.java | 76 * @param expect the expected value 82 public abstract boolean compareAndSet(T obj, int expect, int update); argument 96 * @param expect the expected value 102 public abstract boolean weakCompareAndSet(T obj, int expect, int update); argument 439 public final boolean compareAndSet(T obj, int expect, int update) { argument 441 return U.compareAndSwapInt(obj, offset, expect, update); 444 public final boolean weakCompareAndSet(T obj, int expect, int update) { argument 446 return U.compareAndSwapInt(obj, offset, expect, update);
|
H A D | AtomicLong.java | 115 * @param expect the expected value 120 public final boolean compareAndSet(long expect, long update) { argument 121 return U.compareAndSwapLong(this, VALUE, expect, update); 132 * @param expect the expected value 136 public final boolean weakCompareAndSet(long expect, long update) { argument 137 return U.compareAndSwapLong(this, VALUE, expect, update);
|
H A D | AtomicReferenceArray.java | 142 * @param expect the expected value 147 public final boolean compareAndSet(int i, E expect, E update) { argument 148 return compareAndSetRaw(checkedByteOffset(i), expect, update); 151 private boolean compareAndSetRaw(long offset, E expect, E update) { argument 152 return U.compareAndSwapObject(array, offset, expect, update); 164 * @param expect the expected value 168 public final boolean weakCompareAndSet(int i, E expect, E update) { argument 169 return compareAndSet(i, expect, update);
|
H A D | AtomicReferenceFieldUpdater.java | 38 * boolean compareAndSetLeft(Node expect, Node update) { 39 * return leftUpdater.compareAndSet(this, expect, update); 98 * @param expect the expected value 102 public abstract boolean compareAndSet(T obj, V expect, V update); argument 116 * @param expect the expected value 120 public abstract boolean weakCompareAndSet(T obj, V expect, V update); argument 380 public final boolean compareAndSet(T obj, V expect, V update) { argument 383 return U.compareAndSwapObject(obj, offset, expect, update); 386 public final boolean weakCompareAndSet(T obj, V expect, V update) { argument 390 return U.compareAndSwapObject(obj, offset, expect, updat [all...] |
H A D | AtomicIntegerArray.java | 130 * @param expect the expected value 135 public final boolean compareAndSet(int i, int expect, int update) { argument 136 return compareAndSetRaw(checkedByteOffset(i), expect, update); 139 private boolean compareAndSetRaw(long offset, int expect, int update) { argument 140 return U.compareAndSwapInt(array, offset, expect, update); 152 * @param expect the expected value 156 public final boolean weakCompareAndSet(int i, int expect, int update) { argument 157 return compareAndSet(i, expect, update);
|
H A D | AtomicLongArray.java | 129 * @param expect the expected value 134 public final boolean compareAndSet(int i, long expect, long update) { argument 135 return compareAndSetRaw(checkedByteOffset(i), expect, update); 138 private boolean compareAndSetRaw(long offset, long expect, long update) { argument 139 return U.compareAndSwapLong(array, offset, expect, update); 151 * @param expect the expected value 155 public final boolean weakCompareAndSet(int i, long expect, long update) { argument 156 return compareAndSet(i, expect, update);
|
H A D | AtomicLongFieldUpdater.java | 79 * @param expect the expected value 85 public abstract boolean compareAndSet(T obj, long expect, long update); argument 99 * @param expect the expected value 105 public abstract boolean weakCompareAndSet(T obj, long expect, long update); argument 414 public final boolean compareAndSet(T obj, long expect, long update) { argument 416 return U.compareAndSwapLong(obj, offset, expect, update); 419 public final boolean weakCompareAndSet(T obj, long expect, long update) { argument 421 return U.compareAndSwapLong(obj, offset, expect, update); 544 public final boolean compareAndSet(T obj, long expect, long update) { argument 548 if (v != expect) 555 weakCompareAndSet(T obj, long expect, long update) argument [all...] |
/libcore/ojluni/src/main/java/sun/net/smtp/ |
H A D | SmtpClient.java | 60 void issueCommand(String cmd, int expect) throws IOException { argument 63 while ((reply = readServerResponse()) != expect)
|
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | GenericSignatureParser.java | 255 expect('>'); 269 expect(':'); 305 expect('L'); 332 expect(';'); 348 expect('>'); 380 expect('T'); 382 expect(';'); 416 expect('('); 420 expect(')'); 469 void expect(cha method in class:GenericSignatureParser [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
H A D | CharsetEncoderTest.java | 899 CharBuffer in, byte[] expect) { 901 assertByteArray(out, addSurrogate(expect)); 908 assertByteArray(out, addSurrogate(duplicateByteArray(expect, 3))); 898 assertCodingErrorAction(boolean endOfInput, ByteBuffer out, CharBuffer in, byte[] expect) argument
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ForkJoinTask.java | 1318 * @param expect the expected tag value 1321 * equal to {@code expect} and was changed to {@code update}. 1324 public final boolean compareAndSetForkJoinTaskTag(short expect, short update) { argument 1326 if ((short)(s = status) != expect)
|
H A D | ThreadPoolExecutor.java | 403 private boolean compareAndIncrementWorkerCount(int expect) { argument 404 return ctl.compareAndSet(expect, expect + 1); 410 private boolean compareAndDecrementWorkerCount(int expect) { argument 411 return ctl.compareAndSet(expect, expect - 1);
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
H A D | AbstractQueuedLongSynchronizer.java | 96 * @param expect the expected value 101 protected final boolean compareAndSetState(long expect, long update) { argument 102 return U.compareAndSwapLong(this, STATE, expect, update); 1827 private final boolean compareAndSetTail(Node expect, Node update) { argument 1828 return U.compareAndSwapObject(this, TAIL, expect, update);
|
H A D | AbstractQueuedSynchronizer.java | 490 final boolean compareAndSetWaitStatus(int expect, int update) { argument 491 return U.compareAndSwapInt(this, WAITSTATUS, expect, update); 495 final boolean compareAndSetNext(Node expect, Node update) { argument 496 return U.compareAndSwapObject(this, NEXT, expect, update); 563 * @param expect the expected value 568 protected final boolean compareAndSetState(int expect, int update) { argument 569 return U.compareAndSwapInt(this, STATE, expect, update); 2296 private final boolean compareAndSetTail(Node expect, Node update) { argument 2297 return U.compareAndSwapObject(this, TAIL, expect, update);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ForkJoinTaskTest.java | 319 protected final boolean compareAndSetControlState(int expect, argument 321 return controlStateUpdater.compareAndSet(this, expect, update);
|