Searched refs:sum2 (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libz/
H A Dadler32.c15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
62 unsigned long sum2; local
66 sum2 = (adler >> 16) & 0xffff;
74 sum2 += adler;
75 if (sum2 >= BASE)
76 sum2 -= BASE;
77 return adler | (sum2 << 16);
88 sum2 += adler;
92 MOD4(sum2); /* only added so many BASE's */
93 return adler | (sum2 << 1
134 unsigned long sum2; local
[all...]
/ast/src/lib/libsum/
H A Dsum-ast4.c38 uint32_t sum2; member in struct:Ast4_sum_s
60 a->tot.sum2 ^= a->cur.sum2;
61 a->cur.sum2 = 0;
93 a->sum2 = a->sum2 * 0x12345679 + 0x3ade68b1 + c;
105 sfprintf(sp, "%06..64u%06..64u%06..64u%06..64u", a->sum0, a->sum1, a->sum2, a->sum3);
/ast/src/cmd/INIT/
H A Dratz.c1119 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
1166 unsigned long sum2; local
1170 sum2 = (adler >> 16) & 0xffff;
1178 sum2 += adler;
1179 if (sum2 >= BASE)
1180 sum2 -= BASE;
1181 return adler | (sum2 << 16);
1192 sum2 += adler;
1196 MOD4(sum2); /* only added so many BASE's */
1197 return adler | (sum2 << 1
[all...]

Completed in 13 milliseconds