/libcore/luni/src/main/java/java/util/zip/ |
H A D | Checksum.java | 48 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
|
H A D | Adler32.java | 52 * 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 D | CRC32.java | 53 * 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 D | CheckedOutputStream.java | 69 check.update(val); 89 check.update(buf, off, nbytes);
|
H A D | CheckedInputStream.java | 65 check.update(x); 91 check.update(buf, off, x);
|
/libcore/luni/src/main/java/java/util/ |
H A D | Observer.java | 39 void update(Observable observable, Object data); method in interface:Observer
|
/libcore/luni/src/main/java/java/net/ |
H A D | ExtendedResponseCache.java | 50 void update(CacheResponse conditionalCacheHit, HttpURLConnection httpConnection); method in interface:ExtendedResponseCache
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | ConnectionStateSSLv3.java | 122 md5.update(client_key); 123 md5.update(clientRandom); 124 md5.update(serverRandom); 127 md5.update(server_key); 128 md5.update(serverRandom); 129 md5.update(clientRandom); 135 md5.update(clientRandom); 136 md5.update(serverRandom); 138 md5.update(serverRandom); 139 md5.update(clientRando [all...] |
H A D | PRF.java | 81 sha.update(pref); 82 sha.update(secret); 83 sha.update(seed); 84 md5.update(secret); 85 md5.update(sha.digest()); 111 // and to call HMAC.update on cancatenation, than twice call for 113 // time(HMAC.update(label+seed)) 114 // < time(HMAC.update(label)) + time(HMAC.update(seed)) 156 md5_mac.update(str_byt [all...] |
H A D | DigitalSignature.java | 37 * 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/test/java/libcore/java/util/zip/ |
H A D | OldAndroidChecksumTest.java | 44 adler.update(values); 50 adler.update(values[i]); 59 crc.update(values); 65 crc.update(values[i]); 85 adler.update(bytes); 89 adler.update(bytes[i]);
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicBoolean.java | 65 * @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 D | AtomicReference.java | 80 * @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 D | AtomicReferenceFieldUpdater.java | 30 * 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 D | AtomicIntegerArray.java | 133 * @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 D | AtomicLongArray.java | 133 * @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 D | AtomicInteger.java | 101 * @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 D | AtomicLong.java | 115 * @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 D | AtomicLongFieldUpdater.java | 67 * @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 D | AtomicIntegerFieldUpdater.java | 64 * @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);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | NullCipherTest.java | 98 * Class under test for byte[] update(byte[]) 102 byte [] r = c.update(b); 108 * Class under test for byte[] update(byte[], int, int) 112 byte [] r = c.update(b, 0, 5); 116 r = c.update(b, 1, 3); 124 * Class under test for int update(byte[], int, int, byte[]) 129 c.update(b, 0, 5, r); 134 * Class under test for int update(byte[], int, int, byte[], int) 139 c.update(b, 0, 5, r, 0); 187 * Class under test for byte[] update(byt [all...] |
/libcore/luni/src/main/java/java/security/ |
H A D | DigestInputStream.java | 88 // update digest only if 92 digest.update((byte)byteRead); 121 // update digest only if 125 digest.update(b, off, bytesRead);
|
H A D | DigestOutputStream.java | 82 // update digest only if digest functionality is on 84 digest.update((byte)b); 105 // update digest only if digest functionality is on 107 digest.update(b, off, len);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | SignatureTest.java | 335 * Class under test for void update(byte) 340 s.update((byte)1); 346 s.update((byte) 1); 348 s.update((byte) 1); 351 assertTrue("update() failed", s.runEngineUpdate1); 355 sig.update((byte) 42); 363 * Class under test for void update(byte[]) 369 s.update(b); 375 s.update(b); 377 s.update( [all...] |
H A D | MessageDigest1Test.java | 46 * java.security.MessageDigest#update(byte) 50 md.update((byte) 1); 55 * java.security.MessageDigest#update(byte[], int, int) 60 md.update(bytes, 1, 2); 66 md.update(null, 0, 1); 72 md.update(bytes, 0, bytes.length + 1); 78 md.update(bytes, Integer.MAX_VALUE, 1); 94 md.update(bytes, offset, len); 99 * java.security.MessageDigest#update(byte[]) 104 md.update( [all...] |