Lines Matching defs:sum
2659 register int sum = 0;2662 * Our algorithm is simple, using a 32 bit accumulator (sum),2668 sum += *w++;2675 sum += odd_byte;2681 sum = (sum >> 16) + (sum & 0xffff); /* add hi 16 to low 16 */2682 sum += (sum >> 16); /* add carry */2683 answer = ~sum; /* truncate to 16 bits */