Home
last modified time | relevance | path

Searched refs:checksum (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/zip/
DChecksumBase.java39 public static void testAll(Checksum checksum, long expected) { in testAll() argument
40 testBytes(checksum, expected); in testAll()
41 testByteArray(checksum, expected); in testAll()
42 testWrappedByteBuffer(checksum, expected); in testAll()
43 testReadonlyByteBuffer(checksum, expected); in testAll()
44 testDirectByteBuffer(checksum, expected); in testAll()
45 testByteArrayOffset(checksum, expected); in testAll()
46 testDirectByteBufferOffset(checksum, expected); in testAll()
47 testLittleEndianDirectByteBufferOffset(checksum, expected); in testAll()
48 testWrappedByteBufferOffset(checksum, expected); in testAll()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DAdler32Test.java163 Adler32 checksum = new Adler32(); in assertChecksumFromByteBuffer() local
164 checksum.update(byteBuffer); in assertChecksumFromByteBuffer()
166 expectedChecksum, checksum.getValue()); in assertChecksumFromByteBuffer()
187 Adler32 checksum = new Adler32(); in test_update$ByteBuffer() local
189 checksum.update((ByteBuffer)null); in test_update$ByteBuffer()
DCRC32Test.java180 CRC32 checksum = new CRC32(); in assertChecksumFromByteBuffer() local
181 checksum.update(byteBuffer); in assertChecksumFromByteBuffer()
183 expectedChecksum, checksum.getValue()); in assertChecksumFromByteBuffer()
204 CRC32 checksum = new CRC32(); in test_update$ByteBuffer() local
206 checksum.update((ByteBuffer)null); in test_update$ByteBuffer()
/libcore/tools/upstream/
Dpkg-status218 self.baseline_sum = self.checksum(self.baseline)
219 self.release_sum = self.checksum(self.release)
220 self.upstream_sum = self.checksum(self.upstream)
221 self.current_sum = self.checksum(self.current)
374 def checksum(path): member in JavaFile