Lines Matching refs:BASE
12 #define BASE 65521U /* largest prime smaller than 65536 */ macro
36 if (a >= BASE) a -= BASE; \
54 if (a >= BASE) a -= BASE; \
57 # define MOD(a) a %= BASE
58 # define MOD28(a) a %= BASE
59 # define MOD63(a) a %= BASE
78 if (adler >= BASE)
79 adler -= BASE;
81 if (sum2 >= BASE)
82 sum2 -= BASE;
96 if (adler >= BASE)
97 adler -= BASE;
162 sum1 += (adler2 & 0xffff) + BASE - 1;
163 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
164 if (sum1 >= BASE) sum1 -= BASE;
165 if (sum1 >= BASE) sum1 -= BASE;
166 if (sum2 >= ((unsigned long)BASE << 1)) sum2 -= ((unsigned long)BASE << 1);
167 if (sum2 >= BASE) sum2 -= BASE;