/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));
|
/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.
|
/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/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;
|
/external/toolchain-utils/crosperf/ |
image_checksummer.py | 2 """Compute image checksum.""" 14 """Compute image checksum.""" 17 """Compute checksum for an image.""" 25 def Checksum(self): 29 "Acquiring checksum for '%s'." % self.label.name) 32 raise RuntimeError('Called Checksum on non-local image!') 37 logger.GetLogger().LogOutput('Computed checksum is ' 40 raise RuntimeError('Checksum computing error.') 41 logger.GetLogger().LogOutput('Checksum is: %s' % self._checksum) 55 def Checksum(self, label, log_level) [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)
|
/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/MdePkg/Include/IndustryStandard/ |
WindowsUxCapsule.h | 24 UINT8 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) {
|
/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) {
|
/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", 135 fprintf(stdout, "Checksum:\t\t0x%lx\n", m_checksum);
|
/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/MdeModulePkg/Universal/Network/Ip4Dxe/ |
Ip4Icmp.c | 245 Icmp->Head.Checksum = 0;
246 Icmp->Head.Checksum = (UINT16) (~NetblockChecksum ((UINT8 *) Icmp, Data->TotalSize));
338 UINT16 Checksum;
350 Checksum = (UINT16) (~NetbufChecksum (Packet));
351 if ((Icmp.Checksum != 0) && (Checksum != 0)) {
|
Ip4Igmp.h | 32 UINT16 Checksum;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
ModuleSubstreamVisitor.h | 37 FileChecksumKind Kind; // The type of checksum. 38 ArrayRef<uint8_t> Checksum; // The bytes of the checksum. 123 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize))
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/CodeView/ |
ModuleSubstreamVisitor.h | 37 FileChecksumKind Kind; // The type of checksum. 38 ArrayRef<uint8_t> Checksum; // The bytes of the checksum. 123 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize))
|
/prebuilts/go/darwin-x86/src/hash/adler32/ |
adler32.go | 5 // Package adler32 implements the Adler-32 checksum. 11 // Adler-32 checksum is stored as s2*65536 + s1 in most- 29 // The size of an Adler-32 checksum in bytes. 32 // digest represents the partial evaluation of a checksum. 38 // New returns a new hash.Hash32 computing the Adler-32 checksum. Its 91 // Add p to the running checksum d. 133 // Checksum returns the Adler-32 checksum of data. 134 func Checksum(data []byte) uint32 { return uint32(update(1, data)) }
|
/prebuilts/go/linux-x86/src/hash/adler32/ |
adler32.go | 5 // Package adler32 implements the Adler-32 checksum. 11 // Adler-32 checksum is stored as s2*65536 + s1 in most- 29 // The size of an Adler-32 checksum in bytes. 32 // digest represents the partial evaluation of a checksum. 38 // New returns a new hash.Hash32 computing the Adler-32 checksum. Its 91 // Add p to the running checksum d. 133 // Checksum returns the Adler-32 checksum of data. 134 func Checksum(data []byte) uint32 { return uint32(update(1, data)) }
|
/device/linaro/bootloader/edk2/DuetPkg/DxeIpl/ |
HobGeneration.c | 811 0, // CheckSum
831 UINT16 Checksum;
881 Checksum = 0;
887 Checksum = (UINT16) (Checksum + (*Ptr));
889 NvStorageFvbHeader.Checksum = (UINT16) (0x10000 - Checksum);
[all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
MemoryCallback.c | 321 UINT16 Checksum;
337 // Verify the header checksum
341 Checksum = 0;
343 Checksum = *Ptr++;
347 if (Checksum != 0) {
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
ModuleSubstreamVisitor.h | 69 FileChecksumKind Kind; // The type of checksum. 70 ArrayRef<uint8_t> Checksum; // The bytes of the checksum. 83 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize))
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/DebugInfo/CodeView/ |
DebugChecksumsSubsection.h | 28 FileChecksumKind Kind; // The type of checksum. 29 ArrayRef<uint8_t> Checksum; // The bytes of the checksum.
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/DebugInfo/CodeView/ |
DebugChecksumsSubsection.h | 28 FileChecksumKind Kind; // The type of checksum. 29 ArrayRef<uint8_t> Checksum; // The bytes of the checksum.
|