Lines Matching defs:sum
85 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
99 int sum = 0;
138 sum += w[0];
140 sum += w[1];
141 sum += w[2]; sum += w[3]; sum += w[4]; sum += w[5];
142 sum += w[6]; sum += w[7];
144 sum += w[8];
146 sum += w[9];
147 sum += w[10]; sum += w[11]; sum += w[12]; sum += w[13];
148 sum += w[14]; sum += w[15];
150 sum += uph.phs[0]; sum += uph.phs[1];
151 sum += uph.phs[2]; sum += uph.phs[3];
174 sum <<= 8;
185 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3];
186 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7];
187 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11];
188 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15];
193 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3];
201 sum += *w++;
205 sum <<= 8;
209 sum += s_util.s;
236 sum += s_util.s;
250 sum <<= 8;
261 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3];
262 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7];
263 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11];
264 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15];
269 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3];
277 sum += *w++;
281 sum <<= 8;
285 sum += s_util.s;
299 sum += s_util.s;
302 return (~sum & 0xffff);