/libcore/ojluni/src/main/java/java/util/zip/ |
Checksum.java | 29 * An interface representing a data checksum. 34 interface Checksum { 36 * Updates the current checksum with the specified byte. 38 * @param b the byte to update the checksum with 43 * Updates the current checksum with the specified array of bytes. 44 * @param b the byte array to update the checksum with 51 * Returns the current checksum value. 52 * @return the current checksum value 57 * Resets the checksum to its initial value.
|
CheckedOutputStream.java | 33 * An output stream that also maintains a checksum of the data being 34 * written. The checksum can then be used to verify the integrity of 37 * @see Checksum 42 private Checksum cksum; 45 * Creates an output stream with the specified Checksum. 47 * @param cksum the checksum 49 public CheckedOutputStream(OutputStream out, Checksum cksum) { 78 * Returns the Checksum for this output stream. 79 * @return the Checksum 81 public Checksum getChecksum() [all...] |
CheckedInputStream.java | 33 * An input stream that also maintains a checksum of the data being read. 34 * The checksum can then be used to verify the integrity of the input data. 36 * @see Checksum 41 private Checksum cksum; 44 * Creates an input stream using the specified Checksum. 46 * @param cksum the Checksum 48 public CheckedInputStream(InputStream in, Checksum cksum) { 110 * Returns the Checksum for this input stream. 111 * @return the Checksum value 113 public Checksum getChecksum() [all...] |
CRC32.java | 31 * @see Checksum 35 class CRC32 implements Checksum { 46 * Updates the CRC-32 checksum with the specified byte (the low 49 * @param b the byte to update the checksum with 56 * Updates the CRC-32 checksum with the specified array of bytes. 69 * Updates the CRC-32 checksum with the specified array of bytes. 71 * @param b the array of bytes to update the checksum with
|
Adler32.java | 32 * A class that can be used to compute the Adler-32 checksum of a data 33 * stream. An Adler-32 checksum is almost as reliable as a CRC-32 but 36 * @see Checksum 40 class Adler32 implements Checksum { 50 * Updates the checksum with the specified byte (the low eight 53 * @param b the byte to update the checksum with 60 * Updates the checksum with the specified array of bytes. 73 * Updates the checksum with the specified array of bytes. 75 * @param b the byte array to update the checksum with 82 * Updates the checksum with the bytes from the specified buffer [all...] |
/external/llvm/lib/DebugInfo/PDB/ |
IPDBSourceFile.cpp | 26 std::string Checksum = getChecksum(); 27 for (uint8_t c : Checksum) 30 OS << "No checksum";
|
/external/guava/guava/src/com/google/common/hash/ |
ChecksumHashFunction.java | 23 import java.util.zip.Checksum; 26 * {@link HashFunction} adapter for {@link Checksum} instances. 32 private final Supplier<? extends Checksum> checksumSupplier; 36 ChecksumHashFunction(Supplier<? extends Checksum> checksumSupplier, int bits, String toString) { 59 * Hasher that updates a checksum. 63 private final Checksum checksum; field in class:ChecksumHashFunction.ChecksumHasher 65 private ChecksumHasher(Checksum checksum) { 66 this.checksum = checkNotNull(checksum) [all...] |
Hashing.java | 27 import java.util.zip.Checksum; 229 * Returns a hash function implementing the CRC32C checksum algorithm (32 hash bits) as described 243 * Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits) by delegating 244 * to the {@link CRC32} {@link Checksum}. 246 * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a 261 * Returns a hash function implementing the Adler-32 checksum algorithm (32 hash bits) by 262 * delegating to the {@link Adler32} {@link Checksum}. 264 * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a 282 enum ChecksumType implements Supplier<Checksum> { 285 public Checksum get() [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/ |
CrcFunction.java | 25 import java.util.zip.Checksum; 40 Checksum crc = new CRC32();
|
/external/guava/guava-tests/test/com/google/common/hash/ |
ChecksumHashFunctionTest.java | 24 import java.util.zip.Checksum; 67 private static void assertChecksum(Supplier<Checksum> supplier, String input) { 70 Checksum checksum = supplier.get(); local 71 checksum.update(bytes, 0, bytes.length); 72 long value = checksum.getValue(); 80 private static void assertHash32(int expected, Supplier<Checksum> supplier, String input) {
|
/external/e2fsprogs/tests/scripts/ |
resize_test | 31 echo Checksum is $CSUM_1 >> $LOG 67 echo Checksum is $CSUM_2 >> $LOG 92 echo Checksum is $CSUM_2 >> $LOG 117 echo Checksum is $CSUM_2 >> $LOG 142 echo Checksum is $CSUM_2 >> $LOG
|
/external/rmi4utils/rmi4update/ |
firmware_image.cpp | 28 unsigned long FirmwareImage::Checksum(unsigned short * data, unsigned long len) 30 unsigned long checksum = 0xFFFFFFFF; local 31 unsigned long lsw = checksum & 0xFFFF; 32 unsigned long msw = checksum >> 16; 41 checksum = msw << 16 | lsw; 43 return checksum; 78 unsigned long calculated_checksum = Checksum((uint16_t *)&(m_memBlock[4]), 82 fprintf(stderr, "Firmware image checksum verification failed, saw 0x%08lX, calculated 0x%08lX\n", 129 fprintf(stdout, "Checksum:\t\t0x%lx\n", m_checksum);
|
firmware_image.h | 66 unsigned long Checksum(unsigned short * data, unsigned long len);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
GZIPOutputStreamTest.java | 25 import java.util.zip.Checksum; 40 Checksum getChecksum() { 151 assertEquals("the checksum value was incorrect result of write from GZIP",
|
GZIPInputStreamTest.java | 27 import java.util.zip.Checksum; 45 Checksum getChecksum() { 132 "the checkSum value of the compressed and decompressed data does not equal", 244 assertEquals("the checkSum value of the compressed and decompressed data does not equal",
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
ChecksumBenchmark.java | 26 import java.util.zip.Checksum; 29 * Benchmarks for comparing {@link Checksum}s and {@link HashFunction}s that wrap {@link Checksum}s. 60 CRC32 checksum = new CRC32(); local 61 checksum.update(testBytes); 62 result ^= checksum.getValue(); 76 Adler32 checksum = new Adler32(); local 77 checksum.update(testBytes); 78 result ^= checksum.getValue();
|
/external/llvm/include/llvm/DebugInfo/PDB/ |
PDBExtras.h | 26 raw_ostream &operator<<(raw_ostream &OS, const PDB_Checksum &Checksum);
|
/external/skia/tests/ |
ChecksumTest.cpp | 18 DEF_TEST(Checksum, r) {
|
/external/libchrome/base/metrics/ |
bucket_ranges_unittest.cc | 22 EXPECT_EQ(0u, ranges.checksum()); 50 // Checksum does not match. 60 TEST(BucketRangesTest, Checksum) { 67 EXPECT_EQ(289217253u, ranges.checksum()); 73 EXPECT_EQ(2843835776u, ranges.checksum()); 81 uint32_t checksum = i; local 84 if (checksum & 1) 85 checksum = kReversedPolynomial ^ (checksum >> 1); 87 checksum >>= 1 [all...] |
/external/llvm/lib/IR/ |
GCOV.cpp | 37 if (!Buffer.readInt(Checksum)) 69 if (Checksum != GCDAChecksum) { 70 errs() << "File checksums do not match: " << Checksum 88 return false; // checksum 132 if (!Buff.readInt(Checksum)) 266 if (Checksum != GCDAChecksum) { 267 errs() << "Function checksums do not match: " << Checksum
|
/external/llvm/include/llvm/Support/ |
GCOV.h | 235 : GCNOInitialized(false), Checksum(0), Functions(), RunCount(0), 239 uint32_t getChecksum() const { return Checksum; } 246 uint32_t Checksum; 288 uint32_t Checksum;
|
/external/sfntly/cpp/src/sfntly/data/ |
readable_font_data.h | 56 // Gets a computed checksum for the data. This checksum uses the OpenType spec 61 // @return the checksum 62 int64_t Checksum(); 64 // Sets the bounds to use for computing the checksum. These bounds are in 68 // @param ranges the range bounds to use for the checksum 283 // Compute the checksum for the font data using any ranges set for the 287 // Do the actual computation of the checksum for a range using the 288 // TrueType/OpenType checksum algorithm. The range used is from the low bound 296 // @return the checksum for the total rang [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusmetaheader.h | 72 INT16 Checksum;
|
/external/sfntly/cpp/src/sfntly/table/ |
table.cc | 49 return data_->Checksum();
|
/build/tools/droiddoc/templates-pdk/ |
sdkpage.cs | 102 <th>MD5 Checksum</th> 161 <th>MD5 Checksum</th>
|