Lines Matching refs:BASE
13 #define BASE 65521U /* largest prime smaller than 65536 */ macro
37 if (a >= BASE) a -= BASE; \
55 if (a >= BASE) a -= BASE; \
58 # define MOD(a) a %= BASE
59 # define MOD28(a) a %= BASE
60 # define MOD63(a) a %= BASE
79 if (adler >= BASE)
80 adler -= BASE;
82 if (sum2 >= BASE)
83 sum2 -= BASE;
97 if (adler >= BASE)
98 adler -= BASE;
163 sum1 += (adler2 & 0xffff) + BASE - 1;
164 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
165 if (sum1 >= BASE) sum1 -= BASE;
166 if (sum1 >= BASE) sum1 -= BASE;
167 if (sum2 >= ((unsigned long)BASE << 1)) sum2 -= ((unsigned long)BASE << 1);
168 if (sum2 >= BASE) sum2 -= BASE;