HomeSort by relevance Sort by last modified time
    Searched refs:Checksum (Results 1 - 25 of 413) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /device/linaro/bootloader/edk2/ArmPlatformPkg/Include/Guid/
BootMonFsFileInfo.h 37 UINT32 Checksum;
43 OFFSET_OF (BOOTMON_FS_FILE_INFO, Region[BOOTMONFS_IMAGE_DESCRIPTION_REGION_MAX - 1].Checksum)
  /external/llvm/lib/DebugInfo/PDB/
IPDBSourceFile.cpp 27 std::string Checksum = getChecksum();
28 for (uint8_t c : Checksum)
31 OS << "No checksum";
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
LegacyCmos.c 3 checksum. The Legacy16 code or LegacyBiosPlatform.c is responsible for
58 Calculate the new standard CMOS checksum and write it.
62 @retval EFI_SUCCESS Calculate 16-bit checksum successfully
71 UINT16 Checksum;
73 for (Checksum = 0, Register = 0x10; Register < 0x2e; Register++) {
74 Checksum = (UINT16)(Checksum + LegacyReadStandardCmos (Register));
76 LegacyWriteStandardCmos (CMOS_2E, (UINT8)(Checksum >> 8));
77 LegacyWriteStandardCmos (CMOS_2F, (UINT8)(Checksum & 0xff));
  /device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/
FvbInfo.c 75 0, // CheckSum
114 UINT16 Checksum;
115 mPlatformFvbMediaInfo[Index].FvbInfo.Checksum = 0;
116 Checksum = CalculateCheckSum16 (
120 mPlatformFvbMediaInfo[Index].FvbInfo.Checksum = Checksum;
  /device/linaro/bootloader/edk2/OvmfPkg/SmbiosPlatformDxe/
X86Xen.c 41 UINT8 Checksum;
46 Checksum = 0;
49 Checksum = Checksum + (UINT8) BytePtr[Index];
52 if (Checksum != 0) {
  /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...]
  /device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/
Xen.h 29 UINT8 Checksum; // Set such that the sum over bytes 0..length == 0
  /device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/
BootMonFsImages.c 32 UINT32 Checksum;
36 Checksum = 0;
43 if (Word > ~Checksum) {
44 Checksum++;
47 Checksum += Word;
50 return ~Checksum;
72 // BootMon doesn't checksum the previous checksum
77 Description->Region[Index].Checksum = 0;
83 // Compute the checksum
    [all...]
BootMonFsHw.h 48 UINT32 Checksum;
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
AcpiCommon.h 46 UINT8 Checksum;
85 UINT8 Checksum;
  /device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/
Microcode.h 93 /// Checksum of Update Data and Header. Used to verify the integrity of
94 /// the update header and data. Checksum is correct when the
99 UINT32 Checksum;
139 /// Signature[n], processor flags[n] and checksum[n]) that exist in this
144 /// Checksum of update extended processor signature table. Used to
146 /// Checksum is correct when the summation of the DWORDs that
188 /// To calculate the Checksum, substitute the Primary Processor
191 /// Signature Table entries. The Checksum is correct when the
195 UINT32 Checksum;
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
CrcFunction.java 25 import java.util.zip.Checksum;
40 Checksum crc = new CRC32();
  /device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
WindowsUxCapsule.h 24 UINT8 Checksum;
  /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/pdfium/xfa/fxfa/parser/
cxfa_form.cpp 15 {XFA_Attribute::Checksum, XFA_AttributeType::CData, (void*)nullptr},
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/
Ffs.c 95 Verify checksum of the firmware volume header.
99 @retval TRUE Checksum verification passed
100 @retval FALSE Checksum verification failed
108 UINT16 Checksum;
110 Checksum = CalculateSum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength);
112 if (Checksum == 0) {
121 Verify checksum of the FFS file header.
125 @retval TRUE Checksum verification passed
126 @retval FALSE Checksum verification failed
141 HeaderChecksum = (UINT8) (HeaderChecksum - FfsHeader->State - FfsHeader->IntegrityCheck.Checksum.File);
    [all...]
  /device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
BootMode.c 79 UINT16 Checksum;
104 // Verify the header checksum
108 Checksum = 0;
110 Checksum = Checksum +*Ptr;
115 if (Checksum != 0) {
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
FvLib.c 582 UINT16 Checksum;
596 // Verify header checksum
598 Checksum = CalculateSum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength / sizeof (UINT16));
600 if (Checksum != 0) {
601 Error (NULL, 0, 0, "invalid FV header checksum", NULL);
634 UINT8 Checksum;
688 // Verify file header checksum
692 SavedChecksum = FfsHeader->IntegrityCheck.Checksum.File;
693 FfsHeader->IntegrityCheck.Checksum.File = 0;
694 Checksum = CalculateSum8 ((UINT8 *) FfsHeader, sizeof (EFI_FFS_FILE_HEADER));
    [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
IpSecImpl.c 1010 Ip address to the station address and recalculate the uplayyer's checksum.
1034 UINT16 *Checksum;
1040 Checksum = NULL;
1058 // Recalculate IpHeader Checksum
1060 if (((IP4_HEAD *)(IpPayload))->Checksum != 0 ) {
1061 ((IP4_HEAD *)(IpPayload))->Checksum = 0;
1062 ((IP4_HEAD *)(IpPayload))->Checksum = (UINT16) (~NetblockChecksum (
1076 Checksum = & UdpHeader->Checksum;
1077 *Checksum = 0;
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
FvLib.c 595 UINT16 Checksum;
609 // Verify header checksum
611 Checksum = CalculateSum16 ((UINT16 *) FvHeader, FvHeader->HeaderLength / sizeof (UINT16));
613 if (Checksum != 0) {
614 Error (NULL, 0, 0006, "invalid FV header checksum", NULL);
647 UINT8 Checksum;
694 // Verify file header checksum
698 SavedChecksum = FfsHeader->IntegrityCheck.Checksum.File;
699 FfsHeader->IntegrityCheck.Checksum.File = 0;
700 Checksum = CalculateSum8 ((UINT8 *) FfsHeader, FfsHeaderSize);
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
Acpi.h 38 UINT8 Checksum;
82 UINT8 Checksum;
  /external/tensorflow/tensorflow/core/common_runtime/gpu/
gpu_util.h 81 // Computes a checksum over the contents of "tensor", which is allocated
83 static uint64 Checksum(Device* gpu_device,
87 // Computes a checksum over the contents of "tensor", which is allocated
89 static uint64 Checksum(const Tensor& tensor);

Completed in 648 milliseconds

1 2 3 4 5 6 7 8 91011>>