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

12

/libcore/ojluni/src/main/java/java/util/
H A DObserver.java46 void update(Observable o, Object arg); method in interface:Observer
/libcore/ojluni/src/main/java/java/util/zip/
H A DChecksum.java38 * @param b the byte to update the checksum with
40 public void update(int b); method in interface:Checksum
44 * @param b the byte array to update the checksum with
46 * @param len the number of bytes to use for the update
48 public void update(byte[] b, int off, int len); method in interface:Checksum
H A DAdler32.java53 * @param b the byte to update the checksum with
55 public void update(int b) { method in class:Adler32
56 adler = update(adler, b);
62 public void update(byte[] b, int off, int len) { method in class:Adler32
75 * @param b the byte array to update the checksum with
77 public void update(byte[] b) { method in class:Adler32
91 * @param buffer the ByteBuffer to update the checksum with
93 private void update(ByteBuffer buffer) { method in class:Adler32
130 public void update(Adler32 adler32, ByteBuffer buf) {
131 adler32.update(bu
136 private native static int update(int adler, int b); method in class:Adler32
[all...]
H A DCRC32.java49 * @param b the byte to update the checksum with
51 public void update(int b) { method in class:CRC32
52 crc = update(crc, b);
58 public void update(byte[] b, int off, int len) { method in class:CRC32
71 * @param b the array of bytes to update the checksum with
73 public void update(byte[] b) { method in class:CRC32
91 private native static int update(int crc, int b); method in class:CRC32
/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/tzdata/tools/src/main/libcore/tzdata/update/tools/
H A DCreateTzDataBundle.java16 package libcore.tzdata.update.tools;
26 import libcore.tzdata.update.ConfigBundle;
27 import libcore.tzdata.update.FileUtils;
30 * A command-line tool for creating a TZ data update bundle.
H A DTzDataBundleBuilder.java16 package libcore.tzdata.update.tools;
25 import libcore.tzdata.update.ConfigBundle;
28 * A class for creating a {@link ConfigBundle} containing timezone update data.
61 * Builds a {@link libcore.tzdata.update.ConfigBundle}.
/libcore/luni/src/main/java/java/util/concurrent/atomic/
H A DAtomicBoolean.java66 * @param update the new value
70 public final boolean compareAndSet(boolean expect, boolean update) { argument
73 (update ? 1 : 0));
85 * @param update the new value
88 public boolean weakCompareAndSet(boolean expect, boolean update) { argument
91 (update ? 1 : 0));
H A DAtomicReference.java84 * @param update the new value
88 public final boolean compareAndSet(V expect, V update) { argument
89 return U.compareAndSwapObject(this, VALUE, expect, update);
101 * @param update the new value
104 public final boolean weakCompareAndSet(V expect, V update) { argument
105 return U.compareAndSwapObject(this, VALUE, expect, update);
164 * and the given update as the second argument.
166 * @param x the update value
188 * and the given update as the second argument.
190 * @param x the update valu
[all...]
H A DAtomicInteger.java100 * @param update the new value
104 public final boolean compareAndSet(int expect, int update) { argument
105 return U.compareAndSwapInt(this, VALUE, expect, update);
117 * @param update the new value
120 public final boolean weakCompareAndSet(int expect, int update) { argument
121 return U.compareAndSwapInt(this, VALUE, expect, update);
225 * and the given update as the second argument.
227 * @param x the update value
249 * and the given update as the second argument.
251 * @param x the update valu
[all...]
H A DAtomicIntegerFieldUpdater.java77 * @param update the new value
82 public abstract boolean compareAndSet(T obj, int expect, int update); argument
97 * @param update the new value
102 public abstract boolean weakCompareAndSet(T obj, int expect, int update); argument
294 * and the given update as the second argument.
297 * @param x the update value
319 * and the given update as the second argument.
322 * @param x the update value
439 public final boolean compareAndSet(T obj, int expect, int update) { argument
441 return U.compareAndSwapInt(obj, offset, expect, update);
444 weakCompareAndSet(T obj, int expect, int update) argument
[all...]
H A DAtomicLong.java116 * @param update the new value
120 public final boolean compareAndSet(long expect, long update) { argument
121 return U.compareAndSwapLong(this, VALUE, expect, update);
133 * @param update the new value
136 public final boolean weakCompareAndSet(long expect, long update) { argument
137 return U.compareAndSwapLong(this, VALUE, expect, update);
241 * and the given update as the second argument.
243 * @param x the update value
265 * and the given update as the second argument.
267 * @param x the update valu
[all...]
H A DAtomicReferenceArray.java143 * @param update the new 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);
165 * @param update the new value
168 public final boolean weakCompareAndSet(int i, E expect, E update) { argument
169 return compareAndSet(i, expect, update);
221 * argument, and the given update as the second argument.
224 * @param x the update valu
[all...]
H A DAtomicReferenceFieldUpdater.java38 * boolean compareAndSetLeft(Node expect, Node update) {
39 * return leftUpdater.compareAndSet(this, expect, update);
99 * @param update the new value
102 public abstract boolean compareAndSet(T obj, V expect, V update); argument
117 * @param update the new value
120 public abstract boolean weakCompareAndSet(T obj, V expect, V update); argument
214 * and the given update as the second argument.
217 * @param x the update value
239 * and the given update as the second argument.
242 * @param x the update valu
380 compareAndSet(T obj, V expect, V update) argument
386 weakCompareAndSet(T obj, V expect, V update) argument
[all...]
/libcore/tzdata/update/src/main/libcore/tzdata/update/
H A DConfigBundle.java16 package libcore.tzdata.update;
H A DTzDataBundleInstaller.java16 package libcore.tzdata.update;
57 Slog.i(logTag, "Applying time zone update");
97 Slog.i(logTag, "Unpacking update content to: " + targetDir);
H A DFileUtils.java16 package libcore.tzdata.update;
115 crc32.update(buffer, 0, count);
/libcore/ojluni/src/main/java/sun/security/util/
H A DManifestEntryVerifier.java92 * null it signifies that update/verify should ignore this entry.
157 * update the digests for the digests we are interested in
159 public void update(byte buffer) { method in class:ManifestEntryVerifier
163 digests.get(i).update(buffer);
168 * update the digests for the digests we are interested in
170 public void update(byte buffer[], int off, int len) { method in class:ManifestEntryVerifier
174 digests.get(i).update(buffer, off, len);
/libcore/tzdata/update/src/test/libcore/tzdata/update/
H A DConfigBundleTest.java16 package libcore.tzdata.update;
H A DTzDataBundleInstallerTest.java16 package libcore.tzdata.update;
23 import libcore.tzdata.update.tools.TzDataBundleBuilder;
26 * Tests for {@link libcore.tzdata.update.TzDataBundleInstaller}.
62 /** Tests the first update on a device */
71 * Tests an update on a device when there is a prior update already applied.
84 /** Tests that a bundle with a missing file will not update the content. */
97 * Tests that an update will be unpacked even if there is a partial update from a previous run.
110 * Tests that a bundle with a checksum entry that references a missing file will not update th
[all...]
H A DFileUtilsTest.java16 package libcore.tzdata.update;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DObservableTest.java32 public void update(Observable observed, Object arg) { method in class:ObservableTest.TestObserver
52 public void update(Observable observed, Object arg) { method in class:ObservableTest.DeleteTestObserver
/libcore/ojluni/src/main/java/java/security/
H A DMessageDigest.java45 * processed through it using the {@link #update(byte) update}
63 * md.update(toChapter1);
66 * md.update(toChapter2);
315 * @param input the byte with which to update the digest.
317 public void update(byte input) { method in class:MessageDigest
333 public void update(byte[] input, int offset, int len) { method in class:MessageDigest
349 public void update(byte[] input) { method in class:MessageDigest
364 public final void update(ByteBuffer input) { method in class:MessageDigest
413 * Performs a final update o
[all...]
/libcore/ojluni/src/main/java/javax/crypto/
H A DMac.java482 public final void update(byte input) throws IllegalStateException { method in class:Mac
498 public final void update(byte[] input) throws IllegalStateException { method in class:Mac
519 public final void update(byte[] input, int offset, int len) method in class:Mac
545 public final void update(ByteBuffer input) { method in class:Mac
564 * the same key, if desired, via new calls to <code>update</code> and
593 * the same key, if desired, via new calls to <code>update</code> and
636 * the same key, if desired, via new calls to <code>update</code> and
654 update(input);
666 * the same key, if desired, via new calls to <code>update</code> and

Completed in 2116 milliseconds

12