Searched defs:Sum (Results 1 - 8 of 8) sorted by relevance
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/ |
H A D | CheckSum.c | 33 @return Sum The sum of Buffer with carry bits dropped during additions. 43 UINT8 Sum; local 49 for (Sum = 0, Count = 0; Count < Length; Count++) { 50 Sum = (UINT8) (Sum + *(Buffer + Count)); 53 return Sum; 108 @return Sum The sum of Buffer with carry bits dropped during additions. 118 UINT16 Sum; local 128 for (Sum = 0, Count = 0; Count < Total; Count++) { 129 Sum 200 UINT32 Sum; local 282 UINT64 Sum; local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/ |
H A D | AcpiSupportAcpiSupportProtocol.c | 1620 UINT8 Sum; local 1623 Sum = 0; 1638 Sum = (UINT8) (Sum + (*Ptr++)); 1644 Ptr[ChecksumOffset] = (UINT8) (0xff - Sum + 1);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/AcpiTableDxe/ |
H A D | AcpiTableProtocol.c | 1574 UINT8 Sum; local 1577 Sum = 0; 1592 Sum = (UINT8) (Sum + (*Ptr++)); 1598 Ptr[ChecksumOffset] = (UINT8) (0xff - Sum + 1);
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/ |
H A D | CommonLib.c | 371 UINT8 Sum; local 373 Sum = 0; 379 Sum = (UINT8) (Sum + Buffer[Index]); 382 return Sum; 433 UINT16 Sum; local 435 Sum = 0; 441 Sum = (UINT16) (Sum + Buffer[Index]); 444 return (UINT16) Sum; [all...] |
H A D | FirmwareVolumeBuffer.c | 1560 UINT16 Sum; local 1562 Sum = 0; 1568 Sum = (UINT16) (Sum + Buffer[Index]); 1571 return (UINT16) Sum; 1626 UINT8 Sum; local 1628 Sum = 0; 1634 Sum = (UINT8) (Sum + Buffer[Index]); 1637 return Sum; [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeNetLib/ |
H A D | NetBuffer.c | 1660 register UINT32 Sum; local 1662 Sum = 0; 1665 Sum += *(UINT16 *) Bulk; 1674 Sum += *(UINT8 *) Bulk; 1680 while ((Sum >> 16) != 0) { 1681 Sum = (Sum & 0xffff) + (Sum >> 16); 1685 return (UINT16) Sum; 1705 UINT32 Sum; local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellNetwork1CommandsLib/ |
H A D | Ping.c | 154 UINT32 Sum; local 160 Sum = 0; 164 Sum += *Packet++; 168 Sum += *(UINT8 *) Packet; 171 Sum = (Sum & 0xffff) + (Sum >> 16); 176 Sum += Sum >> 16; 178 return (UINT16) Sum; [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Enquire/ |
H A D | Enquire.c | 2148 #undef Sum macro 2204 #define Sum fSum macro 2292 #define Sum dSum macro 2382 #define Sum ldSum macro 2642 Number Sum ARGS2(Number, a, Number, b) {Number r; Store(a+b, &r); return r; } 2799 do { a=Sum(a, a); } 2800 while (Diff(Diff(Sum(a, ONE), a), ONE) == ZERO); 2812 do { b=Sum(b, b); } while ((base=Diff(Sum(a, b), a)) == ZERO); 2837 while (Diff(Diff(Sum( [all...] |
Completed in 115 milliseconds