Lines Matching defs:checksum
158 // Set the checksum to 0.
179 // Set the partition checksum.
189 // Set the checksum to 0.
197 // Set the partition checksum.
1146 UInt32 cnt, checksum = 0;
1150 checksum += tmpBuffer[cnt];
1152 return checksum % 0x0000FFFF;
1157 UInt32 cnt, checksum, sum = 0;
1163 checksum = (sum >> 16) + (sum & 0x0000FFFF);
1164 if (checksum == 0x10000) checksum--;
1165 checksum = (checksum ^ 0x0000FFFF) & 0x0000FFFF;
1167 return checksum == 0;