Lines Matching refs:BASE
14 #define BASE 65521 /* largest prime smaller than 65536 */ macro
38 if (a >= BASE) a -= BASE; \
56 if (a >= BASE) a -= BASE; \
59 # define MOD(a) a %= BASE
60 # define MOD28(a) a %= BASE
61 # define MOD63(a) a %= BASE
80 if (adler >= BASE)
81 adler -= BASE;
83 if (sum2 >= BASE)
84 sum2 -= BASE;
98 if (adler >= BASE)
99 adler -= BASE;
155 sum1 += (adler2 & 0xffff) + BASE - 1;
156 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
157 if (sum1 >= BASE) sum1 -= BASE;
158 if (sum1 >= BASE) sum1 -= BASE;
159 if (sum2 >= (BASE << 1)) sum2 -= (BASE << 1);
160 if (sum2 >= BASE) sum2 -= BASE;