Searched refs:update (Results 1 - 25 of 154) sorted by relevance

1234567

/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DChecksum.java49 public void update(byte[] buf, int off, int nbytes); method in interface:Checksum
55 * the byte to update the checksum with.
57 public void update(int val); method in interface:Checksum
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);
82 public void update(byte[] buf, int off, int nbytes) { method in class:Adler32
H A DCRC32.java51 * represents the byte to update the checksum.
53 public void update(int val) { method in class:CRC32
61 * the buffer holding the data to update the checksum with.
63 public void update(byte[] buf) { method in class:CRC32
64 update(buf, 0, buf.length);
72 * the buffer to update the checksum.
78 public void update(byte[] buf, int off, int nbytes) { method in class:CRC32
H A DCheckedOutputStream.java69 check.update(val);
89 check.update(buf, off, nbytes);
/dalvik/libcore/luni/src/main/java/java/util/
H A DObserver.java39 void update(Observable observable, Object data); method in interface:Observer
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/
H A DDigest.java23 * update the message digest with a single byte.
27 public void update(byte in); method in interface:Digest
30 * update the message digest with a block of bytes.
36 public void update(byte[] in, int inOff, int len); method in interface:Digest
H A DSigner.java17 * update the internal digest with the byte b
19 public void update(byte b); method in interface:Signer
22 * update the internal digest with the byte array in
24 public void update(byte[] in, int off, int len); method in interface:Signer
H A DMac.java39 public void update(byte in) method in interface:Mac
49 public void update(byte[] in, int inOff, int len) method in interface:Mac
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/
H A DLineListener.java23 void update(LineEvent event); method in interface:LineListener
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DCRC32Test.java62 crc.update(Integer.MAX_VALUE);
67 "update(max) failed to update the checksum to the correct value ",
72 crc.update(byteEmpty);
77 "update(byte[]) failed to update the checksum to the correct value ",
81 crc.update(1);
85 // assertEquals("update(int) failed to update the checksum to the
105 crc.update(
[all...]
H A DAdler32Test.java62 adl.update(1);
66 "update(int) failed to update the checksum to the correct value ",
73 adl.update(Integer.MIN_VALUE);
77 "update(min) failed to update the checksum to the correct value ",
93 adl.update(1);
97 "update(int) failed to update the checksum to the correct value ",
105 * @tests java.util.zip.Adler32#update(in
[all...]
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/atomic/
H A DAtomicBoolean.java68 * @param update the new value
72 public final boolean compareAndSet(boolean expect, boolean update) { argument
74 int u = update ? 1 : 0;
87 * @param update the new value
90 public boolean weakCompareAndSet(boolean expect, boolean update) { argument
92 int u = update ? 1 : 0;
H A DAtomicReference.java72 * @param update the new value
76 public final boolean compareAndSet(V expect, V update) { argument
77 return unsafe.compareAndSwapObject(this, valueOffset, expect, update);
89 * @param update the new value
92 public final boolean weakCompareAndSet(V expect, V update) { argument
93 return unsafe.compareAndSwapObject(this, valueOffset, expect, update);
H A DAtomicReferenceFieldUpdater.java32 * boolean compareAndSetLeft(Node expect, Node update) {
33 * return leftUpdater.compareAndSet(this, expect, update);
87 * @param update the new value
90 public abstract boolean compareAndSet(T obj, V expect, V update); argument
105 * @param update the new value
108 public abstract boolean weakCompareAndSet(T obj, V expect, V update); argument
156 * Internal type checks within all update methods contain
215 void updateCheck(T obj, V update) { argument
217 (update != null && vclass != null && !vclass.isInstance(update)))
223 compareAndSet(T obj, V expect, V update) argument
231 weakCompareAndSet(T obj, V expect, V update) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/digests/
H A DShortenedDigest.java50 public void update(byte in) method in class:ShortenedDigest
52 baseDigest.update(in);
55 public void update(byte[] in, int inOff, int len) method in class:ShortenedDigest
57 baseDigest.update(in, inOff, len);
H A DGeneralDigest.java41 public void update( method in class:GeneralDigest
55 public void update( method in class:GeneralDigest
65 update(in[inOff]);
88 update(in[inOff]);
102 update((byte)128);
106 update((byte)0);
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DConnectionStateSSLv3.java122 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 DPRF.java84 sha.update(pref);
85 sha.update(secret);
86 sha.update(seed);
87 md5.update(secret);
88 md5.update(sha.digest());
114 // and to call HMAC.update on cancatenation, than twice call for
116 // time(HMAC.update(label+seed))
117 // < time(HMAC.update(label)) + time(HMAC.update(seed))
159 md5_mac.update(str_byt
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/macs/
H A DOldHMac.java55 digest.update(key, 0, key.length);
84 digest.update(inputPad, 0, inputPad.length);
92 public void update( method in class:OldHMac
95 digest.update(in);
98 public void update( method in class:OldHMac
103 digest.update(in, inOff, len);
113 digest.update(outputPad, 0, outputPad.length);
114 digest.update(tmp, 0, tmp.length);
136 digest.update(inputPad, 0, inputPad.length);
H A DHMac.java116 digest.update(key, 0, key.length);
145 digest.update(inputPad, 0, inputPad.length);
153 public void update( method in class:HMac
156 digest.update(in);
159 public void update( method in class:HMac
164 digest.update(in, inOff, len);
174 digest.update(outputPad, 0, outputPad.length);
175 digest.update(tmp, 0, tmp.length);
197 digest.update(inputPad, 0, inputPad.length);
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/generators/
H A DBaseKDFBytesGenerator.java110 digest.update(shared, 0, shared.length);
112 digest.update((byte)(counter >> 24));
113 digest.update((byte)(counter >> 16));
114 digest.update((byte)(counter >> 8));
115 digest.update((byte)counter);
119 digest.update(iv, 0, iv.length);
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DBrokenKDF2BytesGenerator.java101 digest.update(shared, 0, shared.length);
103 digest.update((byte)(counter & 0xff));
104 digest.update((byte)((counter >> 8) & 0xff));
105 digest.update((byte)((counter >> 16) & 0xff));
106 digest.update((byte)((counter >> 24) & 0xff));
108 digest.update(iv, 0, iv.length);
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/io/
H A DDigestOutputStream.java25 digest.update((byte)b);
35 digest.update(b, off, len);
H A DMacOutputStream.java25 mac.update((byte)b);
35 mac.update(b, off, len);
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/signers/
H A DISO9796d2PSSSigner.java207 * update the internal digest with the byte b
209 public void update( method in class:ISO9796d2PSSSigner
218 digest.update(b);
223 * update the internal digest with the byte array in
225 public void update( method in class:ISO9796d2PSSSigner
232 this.update(in[off]);
239 digest.update(in, off, len);
274 digest.update(C, 0, C.length);
276 digest.update(mBuf, 0, messageLength);
278 digest.update(m2Has
[all...]

Completed in 246 milliseconds

1234567