/libcore/benchmarks/src/benchmarks/regression/ |
ChecksumBenchmark.java | 23 import java.util.zip.CRC32; 41 CRC32 crc = new CRC32(); 47 CRC32 crc = new CRC32();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
CRC32Test.java | 19 import java.util.zip.CRC32; 24 * java.util.zip.CRC32#CRC32() 27 // test methods of java.util.zip.CRC32() 28 CRC32 crc = new CRC32(); 29 assertEquals("Constructor of CRC32 failed", 0, crc.getValue()); 33 * java.util.zip.CRC32#getValue() 36 // test methods of java.util.zip.crc32.getValue() 37 CRC32 crc = new CRC32() [all...] |
CheckedInputStreamTest.java | 23 import java.util.zip.CRC32; 36 CheckedInputStream checkIn = new CheckedInputStream(checkInput, new CRC32()); 49 CheckedInputStream checkEmpty = new CheckedInputStream(inEmp, new CRC32()); 58 CheckedInputStream checkIn = new CheckedInputStream(checkInput, new CRC32()); 68 CheckedInputStream checkIn2 = new CheckedInputStream(checkInput, new CRC32()); 83 CheckedInputStream checkIn = new CheckedInputStream(checkInput, new CRC32()); 101 new CRC32()); 118 new CRC32());
|
CheckedOutputStreamTest.java | 23 import java.util.zip.CRC32; 38 new CRC32()); 93 new CRC32()); 118 new CRC32());
|
ZipOutputStreamTest.java | 24 import java.util.zip.CRC32; 153 CRC32 tempCrc = new CRC32();
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/ |
CrcFunction.java | 24 import java.util.zip.CRC32; 40 Checksum crc = new CRC32();
|
/libcore/luni/src/main/native/ |
java_util_zip_CRC32.cpp | 18 #define LOG_TAG "CRC32" 31 jlong result = crc32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len); 36 return crc32(crc, reinterpret_cast<const Bytef*>(&val), 1); 40 NATIVE_METHOD(CRC32, updateImpl, "([BIIJ)J"), 41 NATIVE_METHOD(CRC32, updateByteImpl, "(BJ)J"), 44 jniRegisterNativeMethods(env, "java/util/zip/CRC32", gMethods, NELEM(gMethods));
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
crypt.h | 30 #define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8)) 50 (*(pkeys+0)) = CRC32((*(pkeys+0)), c); 55 (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift);
|
/external/zlib/src/contrib/minizip/ |
crypt.h | 30 #define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8)) 50 (*(pkeys+0)) = CRC32((*(pkeys+0)), c); 55 (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift);
|
/frameworks/multidex/library/src/android/support/multidex/ |
ZipUtil.java | 26 import java.util.zip.CRC32; 49 * Compute crc32 of the central directory of an apk. The central directory contains 50 * the crc32 of each entries in the zip so the computed result is considered valid for the whole 108 CRC32 crc = new CRC32();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidChecksumTest.java | 22 import java.util.zip.CRC32; 25 * tests for CRC32 and Adler32 checksum algorithms. 56 CRC32 crc = new CRC32();
|
ZipFileTest.java | 35 import java.util.zip.CRC32; 143 CRC32 crc = new CRC32(); 261 CRC32 crc = new CRC32(); 461 // setCrc takes a long, not an int, so -1 isn't a valid CRC32 (because it's 64 bits). 467 // You can set the CRC32 to 0xffffffff if you're slightly more careful though...
|
/libcore/luni/src/main/java/java/util/zip/ |
CRC32.java | 23 * The CRC32 class is used to compute a CRC32 checksum from data provided as 26 public class CRC32 implements Checksum { 33 * Returns the CRC32 checksum for all input received. 42 * Resets the CRC32 checksum to it initial state. 70 * Update this {@code CRC32} checksum with the contents of {@code buf},
|
GZIPOutputStream.java | 47 protected CRC32 crc = new CRC32();
|
GZIPInputStream.java | 71 protected CRC32 crc = new CRC32(); 214 CRC32 crc, byte[] scratch) throws IOException { 272 private static void readZeroTerminated(InputStream in, CRC32 crc, boolean hcrc)
|
ZipInputStream.java | 86 private final CRC32 crc = new CRC32();
|
/external/okhttp/okio/src/main/java/okio/ |
GzipSource.java | 20 import java.util.zip.CRC32; 54 private final CRC32 crc = new CRC32(); 166 // | CRC32 | ISIZE |
|
/libcore/luni/src/test/java/libcore/java/io/ |
FilterInputStreamNullSourceTest.java | 29 import java.util.zip.CRC32; 45 assertReadsFailWithNullPointerException(new CheckedInputStream(null, new CRC32()));
|
/packages/apps/Launcher3/util/com/android/launcher3/ |
DecoderRing.java | 39 import java.util.zip.CRC32; 247 CRC32 checksum = new CRC32(); 317 CRC32 checksum = new CRC32();
|
/external/okhttp/okio/src/test/java/okio/ |
GzipSourceTest.java | 19 import java.util.zip.CRC32; 39 CRC32 hcrc = new CRC32();
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 37 import java.util.zip.CRC32; 186 // Read the given file from backup to a file, calculating a CRC32 along the way 191 CRC32 crc = new CRC32();
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 30 import java.util.zip.CRC32; 136 CRC32 checkSummer = new CRC32();
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/ |
AbstractTransformTask.java | 170 CRC32 crc = new CRC32();
|
/frameworks/base/core/java/android/os/ |
FileUtils.java | 38 import java.util.zip.CRC32; 296 * Computes the checksum of a file using the CRC32 checksum routine. 303 CRC32 checkSummer = new CRC32();
|
/external/lzma/Asm/x86/ |
7zCrcOpt.asm | 1 ; 7zCrcOpt.asm -- CRC32 calculation : optimized version
|