Searched defs:update (Results 1 - 25 of 27) sorted by relevance

12

/libcore/luni/src/main/java/java/util/
H A DObserver.java39 void update(Observable observable, Object data); method in interface:Observer
H A DFormatter.java563 public NativeDecimalFormat update(LocaleData localeData, String pattern) { method in class:Formatter.CachedDecimalFormat
592 return cachedDecimalFormat.get().update(localeData, pattern);
/libcore/luni/src/main/java/java/net/
H A DExtendedResponseCache.java50 void update(CacheResponse conditionalCacheHit, HttpURLConnection httpConnection); method in interface:ExtendedResponseCache
/libcore/luni/src/main/java/java/util/zip/
H A DAdler32.java52 * the byte to update checksum with.
54 public void update(int i) { method in class:Adler32
62 * bytes to update checksum with.
64 public void update(byte[] buf) { method in class:Adler32
65 update(buf, 0, buf.length);
72 public void update(byte[] buf, int offset, int byteCount) { method in class:Adler32
H A DCRC32.java53 * represents the byte to update the checksum.
55 public void update(int val) { method in class:CRC32
63 * the buffer holding the data to update the checksum with.
65 public void update(byte[] buf) { method in class:CRC32
66 update(buf, 0, buf.length);
73 public void update(byte[] buf, int offset, int byteCount) { method in class:CRC32
H A DChecksum.java48 public void update(byte[] buf, int off, int nbytes); method in interface:Checksum
54 * the byte to update the checksum with.
56 public void update(int val); method in interface:Checksum
/libcore/luni/src/test/java/libcore/java/util/
H A DOldObserverTest.java28 public void update(Observable observed, Object arg) { method in class:OldObserverTest.Mock_Observer
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldLogRecordTest.java76 public LogRecord lr = null; //will be update by the thread
79 update();
82 public synchronized void update(){ method in class:OldLogRecordTest.MockThread
/libcore/luni/src/main/java/java/util/concurrent/atomic/
H A DAtomicBoolean.java65 * @param update the new value
69 public final boolean compareAndSet(boolean expect, boolean update) { argument
71 int u = update ? 1 : 0;
84 * @param update the new value
87 public boolean weakCompareAndSet(boolean expect, boolean update) { argument
89 int u = update ? 1 : 0;
H A DAtomicReference.java80 * @param update the new value
84 public final boolean compareAndSet(V expect, V update) { argument
85 return unsafe.compareAndSwapObject(this, valueOffset, expect, update);
97 * @param update the new value
100 public final boolean weakCompareAndSet(V expect, V update) { argument
101 return unsafe.compareAndSwapObject(this, valueOffset, expect, update);
H A DAtomicReferenceFieldUpdater.java30 * boolean compareAndSetLeft(Node expect, Node update) {
31 * return leftUpdater.compareAndSet(this, expect, update);
84 * @param update the new value
87 public abstract boolean compareAndSet(T obj, V expect, V update); argument
102 * @param update the new value
105 public abstract boolean weakCompareAndSet(T obj, V expect, V update); argument
161 * Internal type checks within all update methods contain
216 void updateCheck(T obj, V update) { argument
218 (update != null && vclass != null && !vclass.isInstance(update)))
224 compareAndSet(T obj, V expect, V update) argument
232 weakCompareAndSet(T obj, V expect, V update) argument
[all...]
H A DAtomicInteger.java101 * @param update the new value
105 public final boolean compareAndSet(int expect, int update) { argument
106 return unsafe.compareAndSwapInt(this, valueOffset, expect, update);
118 * @param update the new value
121 public final boolean weakCompareAndSet(int expect, int update) { argument
122 return unsafe.compareAndSwapInt(this, valueOffset, expect, update);
H A DAtomicIntegerArray.java133 * @param update the new value
137 public final boolean compareAndSet(int i, int expect, int update) { argument
138 return compareAndSetRaw(checkedByteOffset(i), expect, update);
141 private boolean compareAndSetRaw(long offset, int expect, int update) { argument
142 return unsafe.compareAndSwapInt(array, offset, expect, update);
155 * @param update the new value
158 public final boolean weakCompareAndSet(int i, int expect, int update) { argument
159 return compareAndSet(i, expect, update);
H A DAtomicIntegerFieldUpdater.java64 * @param update the new value
69 public abstract boolean compareAndSet(T obj, int expect, int update); argument
84 * @param update the new value
89 public abstract boolean weakCompareAndSet(T obj, int expect, int update); argument
282 public boolean compareAndSet(T obj, int expect, int update) { argument
284 return unsafe.compareAndSwapInt(obj, offset, expect, update);
287 public boolean weakCompareAndSet(T obj, int expect, int update) { argument
289 return unsafe.compareAndSwapInt(obj, offset, expect, update);
H A DAtomicLong.java115 * @param update the new value
119 public final boolean compareAndSet(long expect, long update) { argument
120 return unsafe.compareAndSwapLong(this, valueOffset, expect, update);
132 * @param update the new value
135 public final boolean weakCompareAndSet(long expect, long update) { argument
136 return unsafe.compareAndSwapLong(this, valueOffset, expect, update);
H A DAtomicLongArray.java133 * @param update the new value
137 public final boolean compareAndSet(int i, long expect, long update) { argument
138 return compareAndSetRaw(checkedByteOffset(i), expect, update);
141 private boolean compareAndSetRaw(long offset, long expect, long update) { argument
142 return unsafe.compareAndSwapLong(array, offset, expect, update);
155 * @param update the new value
158 public final boolean weakCompareAndSet(int i, long expect, long update) { argument
159 return compareAndSet(i, expect, update);
H A DAtomicLongFieldUpdater.java67 * @param update the new value
72 public abstract boolean compareAndSet(T obj, long expect, long update); argument
87 * @param update the new value
92 public abstract boolean weakCompareAndSet(T obj, long expect, long update); argument
280 public boolean compareAndSet(T obj, long expect, long update) { argument
282 return unsafe.compareAndSwapLong(obj, offset, expect, update);
285 public boolean weakCompareAndSet(T obj, long expect, long update) { argument
287 return unsafe.compareAndSwapLong(obj, offset, expect, update);
365 public boolean compareAndSet(T obj, long expect, long update) { argument
371 unsafe.putLong(obj, offset, update);
376 weakCompareAndSet(T obj, long expect, long update) argument
[all...]
H A DAtomicReferenceArray.java148 * @param update the new value
152 public final boolean compareAndSet(int i, E expect, E update) { argument
153 return compareAndSetRaw(checkedByteOffset(i), expect, update);
156 private boolean compareAndSetRaw(long offset, E expect, E update) { argument
157 return unsafe.compareAndSwapObject(array, offset, expect, update);
170 * @param update the new value
173 public final boolean weakCompareAndSet(int i, E expect, E update) { argument
174 return compareAndSet(i, expect, update);
/libcore/luni/src/main/java/javax/crypto/
H A DMac.java237 public final void update(byte input) throws IllegalStateException { method in class:Mac
260 public final void update(byte[] input, int offset, int len) throws IllegalStateException { method in class:Mac
281 public final void update(byte[] input) throws IllegalStateException { method in class:Mac
300 public final void update(ByteBuffer input) { method in class:Mac
313 * {@link #update} calls.
332 * {@link #update} calls and stores the digest in the specified {@code
373 * {@link #update} calls and on the final bytes specified by {@code input}
H A DCipher.java849 public final byte[] update(byte[] input) { method in class:Cipher
882 public final byte[] update(byte[] input, int inputOffset, int inputLen) { method in class:Cipher
936 public final int update(byte[] input, int inputOffset, int inputLen, method in class:Cipher
938 return update(input, inputOffset, inputLen, output, 0);
971 public final int update(byte[] input, int inputOffset, int inputLen, method in class:Cipher
1017 public final int update(ByteBuffer input, ByteBuffer output) method in class:Cipher
1032 * update} calls.
1056 * update} calls.
1092 * buffered in previous {@code update} calls.
1119 * update} call
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DDigitalSignature.java37 * specification, 7.4.3. It allow to init, update and sign hash. Hash algorithm
136 public void update(byte[] data) { method in class:DigitalSignature
138 sha.update(data);
141 md5.update(data);
173 signature.update(md5_hash);
175 cipher.update(md5_hash);
184 signature.update(sha_hash);
186 cipher.update(sha_hash);
214 signature.update(sha_hash);
/libcore/luni/src/main/java/java/security/
H A DMessageDigest.java36 * digester.update(bytes, 0, byteCount);
42 * call {@link #update(byte[],int,int)} for each block of input data, and then call {@link #digest}
179 * the {@code byte} to update this {@code MessageDigest} with
182 public void update(byte arg0) { method in class:MessageDigest
192 * the index of the first byte in {@code input} to update from
194 * the number of bytes in {@code input} to update from
199 public void update(byte[] input, int offset, int len) { method in class:MessageDigest
218 public void update(byte[] input) { method in class:MessageDigest
266 * Performs the final update and then computes and returns the final hash
276 update(inpu
368 public final void update(ByteBuffer input) { method in class:MessageDigest
[all...]
H A DSignature.java419 * the byte to update with.
424 public final void update(byte b) throws SignatureException { method in class:Signature
436 * the byte array to update with.
441 public final void update(byte[] data) throws SignatureException { method in class:Signature
453 * the byte array to update with.
462 public final void update(byte[] data, int off, int len) method in class:Signature
479 * the {@code ByteBuffer} to update with.
484 public final void update(ByteBuffer data) throws SignatureException { method in class:Signature
/libcore/luni/src/test/java/tests/api/java/util/
H A DObservableTest.java31 public void update(Observable observed, Object arg) { method in class:ObservableTest.TestObserver
51 public void update(Observable observed, Object arg) { method in class:ObservableTest.DeleteTestObserver
/libcore/luni/src/main/java/libcore/net/http/
H A DHttpResponseCache.java179 public void update(CacheResponse conditionalCacheHit, HttpURLConnection httpConnection) { method in class:HttpResponseCache

Completed in 396 milliseconds

12