Lines Matching refs:checksum
157 // Set the checksum to 0.
178 // Set the partition checksum.
188 // Set the checksum to 0.
196 // Set the partition checksum.
1166 UInt32 cnt, checksum = 0;
1170 checksum += tmpBuffer[cnt];
1172 return checksum % 0x0000FFFF;
1177 UInt32 cnt, checksum, sum = 0;
1183 checksum = (sum >> 16) + (sum & 0x0000FFFF);
1184 if (checksum == 0x10000) checksum--;
1185 checksum = (checksum ^ 0x0000FFFF) & 0x0000FFFF;
1187 return checksum == 0;