/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/ |
IPDBSourceFile.cpp | 29 std::string Checksum = getChecksum(); 30 for (uint8_t c : Checksum) 33 OS << "No 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/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;
|
/external/dtc/libfdt/ |
libacpi.h | 41 uint8_t Checksum; /* Sum of all fields must be 0 */ 71 /* checksum byte by byte for acpi table */
|
/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))
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/ |
DebugChecksumsSubsection.h | 34 FileChecksumKind Kind; // The type of checksum. 35 ArrayRef<uint8_t> Checksum; // The bytes of the checksum.
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
NorFlashFvbDxe.c | 108 FirmwareVolumeHeader->Checksum = CalculateCheckSum16 ((UINT16*)FirmwareVolumeHeader,FirmwareVolumeHeader->HeaderLength);
140 UINT16 Checksum;
173 // Verify the header checksum
174 Checksum = CalculateSum16((UINT16*)FwVolHeader, FwVolHeader->HeaderLength);
175 if (Checksum != 0) {
176 DEBUG ((EFI_D_INFO, "%a: FV checksum is invalid (Checksum:0x%X)\n",
177 __FUNCTION__, Checksum));
|
/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/CorebootModulePkg/CbSupportPei/ |
CbSupportPei.c | 82 UINT16 Checksum;
96 Checksum = CalculateCheckSum16 ((UINT16 *) FwVolHeader, FwVolHeader->HeaderLength);
97 if (Checksum != 0) {
99 "ERROR - Invalid Firmware Volume Header Checksum, change 0x%04x to 0x%04x\r\n",
100 FwVolHeader->Checksum,
101 (UINT16)( Checksum + FwVolHeader->Checksum )));
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/ |
EfiFirmwareFileSystem.h | 63 // FFS_FIXED_CHECKSUM is the default checksum value used when the
104 } Checksum;
|