/libcore/luni/src/main/java/java/util/zip/ |
Checksum.java | 21 * The interface common to checksum classes such as {@link Adler32} and {@link CRC32}. 23 public interface Checksum { 26 * Returns the current calculated checksum value. 28 * @return the checksum. 33 * Resets the checksum value applied before beginning calculations on a new 39 * Updates the checksum with the given bytes. 51 * Updates the checksum value with the given byte. 54 * the byte to update the checksum with.
|
CheckedOutputStream.java | 24 * The {@code CheckedOutputStream} class is used to maintain a running checksum 25 * of all data written to a stream. The purpose of this checksum is to establish 26 * data integrity, by publishing the checksum to other parties wanting to read 31 private final Checksum check; 35 * {@code os}. The checksum is calculated using the algorithm implemented 39 * the output stream to calculate checksum for. 41 * an entity implementing the checksum algorithm. 43 public CheckedOutputStream(OutputStream os, Checksum cs) { 49 * Returns the checksum calculated on the stream read so far. 51 * @return the updated checksum [all...] |
CheckedInputStream.java | 25 * The {@code CheckedInputStream} class is used to maintain a checksum at the 26 * same time as the data, on which the checksum is computed, is read from a 27 * stream. The purpose of this checksum is to establish data integrity, 28 * comparing the computed checksum against a published checksum value. 32 private final Checksum check; 36 * {@code is}. The checksum will be calculated using the algorithm 43 * the input stream to calculate checksum from. 45 * an entity implementing the checksum algorithm. 47 public CheckedInputStream(InputStream is, Checksum csum) [all...] |
Adler32.java | 23 * The Adler-32 class is used to compute the {@code Adler32} checksum from a set 27 public class Adler32 implements Checksum { 32 * Returns the {@code Adler32} checksum for all input received. 34 * @return The checksum for this instance. 41 * Reset this instance to its initial checksum. 48 * Update this {@code Adler32} checksum with the single byte provided as 52 * the byte to update checksum with. 59 * Update this {@code Adler32} checksum using the contents of {@code buf}. 62 * bytes to update checksum with. 69 * Update this {@code Adler32} checksum with the contents of {@code buf} [all...] |
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. 35 * @return The checksum for this instance. 42 * Resets the CRC32 checksum to it initial state. 50 * Updates this checksum with the byte value provided as integer. 53 * represents the byte to update the checksum. 60 * Updates this checksum with the bytes contained in buffer {@code buf}. 63 * the buffer holding the data to update the checksum with. 70 * Update this {@code CRC32} checksum with the contents of {@code buf} [all...] |
/external/skia/gm/ |
gm_expectations.h | 31 // The actual type we use to represent a checksum is hidden in here. 32 typedef Json::UInt64 Checksum; 33 static inline Json::Value asJsonValue(Checksum checksum) { 34 return checksum; 92 bool match(Checksum actualChecksum) const { 94 Checksum allowedChecksum = this->fAllowedChecksums[i]; 121 Checksum allowedChecksum = this->fAllowedChecksums[i]; 129 SkTArray<Checksum> fAllowedChecksums;
|
gmmain.cpp | 102 const static char kJsonKey_ActualResults_AnyStatus_Checksum[] = "checksum"; 362 * CON: If we read a bitmap from disk, we need to take its checksum 367 * its checksum. (Although we're wasting lots of effort already 601 * Compares actual checksum to expectations. 625 Checksum actualChecksum = SkBitmapChecksummer::Compute64(actualBitmap); 670 Checksum actualChecksum, 692 // expected image checksum, but that gm test 757 * get this by computing the checksum of a single PNG file on disk. 762 * not, the checksum returned here may not match the 763 * checksum of actualBitmap, which *has* been run throug [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/ |
CrcFunction.java | 25 import java.util.zip.Checksum; 40 Checksum crc = new CRC32();
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
GZIPOutputStreamTest.java | 25 import java.util.zip.Checksum; 40 Checksum getChecksum() { 146 assertEquals("the checksum value was incorrect result of write from GZIP",
|
GZIPInputStreamTest.java | 27 import java.util.zip.Checksum; 45 Checksum getChecksum() { 142 "the checkSum value of the compressed and decompressed data does not equal", 260 assertEquals("the checkSum value of the compressed and decompressed data does not equal",
|
/external/guava/guava/src/com/google/common/io/ |
Files.java | 46 import java.util.zip.Checksum; 563 * Computes and returns the checksum value for a file. 564 * The checksum object is reset when this method returns successfully. 567 * @param checksum the checksum object 568 * @return the result of {@link Checksum#getValue} after updating the 569 * checksum object with all of the bytes in the file 572 public static long getChecksum(File file, Checksum checksum) 574 return ByteStreams.getChecksum(newInputStreamSupplier(file), checksum); [all...] |
ByteStreams.java | 37 import java.util.zip.Checksum; 722 * Computes and returns the checksum value for a supplied input stream. 723 * The checksum object is reset when this method returns successfully. 726 * @param checksum the checksum object 727 * @return the result of {@link Checksum#getValue} after updating the 728 * checksum object with all of the bytes in the stream 732 final Checksum checksum) throws IOException { 736 checksum.update(buf, off, len) [all...] |
/build/tools/droiddoc/templates-pdk/ |
sdkpage.cs | 102 <th>MD5 Checksum</th> 161 <th>MD5 Checksum</th>
|
/build/tools/droiddoc/templates-ds/ |
sdkpage.cs | 84 <th>MD5 Checksum</th> 207 <th>MD5 Checksum</th> 263 <th>MD5 Checksum</th>
|
/build/tools/droiddoc/templates-sac/ |
sdkpage.cs | 83 <th>MD5 Checksum</th> 206 <th>MD5 Checksum</th> 262 <th>MD5 Checksum</th>
|
/build/tools/droiddoc/templates-sdk/ |
sdkpage.cs | 83 <th>MD5 Checksum</th> 233 <th>MD5 Checksum</th> 289 <th>MD5 Checksum</th>
|
/packages/apps/Email/src/org/apache/commons/io/ |
FileUtils.java | 35 import java.util.zip.Checksum;
59 * <li>calculating a checksum
1678 checksum(file, crc); method 1699 public static Checksum checksum(File file, Checksum checksum) throws IOException { method in class:FileUtils [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.h | 65 /// which may change. Storing a pair of DIType and checksum. 101 unsigned Checksum(const ObjCInterfaceDecl *InterfaceDecl);
|
CGDebugInfo.cpp | [all...] |
/external/llvm/include/llvm/Support/ |
COFF.h | 365 uint32_t CheckSum; 437 uint16_t Checksum; 473 uint32_t CheckSum;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant.jar | |
/prebuilts/tools/common/ant/ |
ant.jar | |
/prebuilts/tools/common/m2/internal/org/apache/ant/ant/1.8.0/ |
ant-1.8.0.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |