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) in adler32()
81 adler -= BASE; in adler32()
83 if (sum2 >= BASE) in adler32()
84 sum2 -= BASE; in adler32()
98 if (adler >= BASE) in adler32()
99 adler -= BASE; in adler32()
155 sum1 += (adler2 & 0xffff) + BASE - 1; in adler32_combine_()
156 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem; in adler32_combine_()
157 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
158 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
159 if (sum2 >= (BASE << 1)) sum2 -= (BASE << 1); in adler32_combine_()
160 if (sum2 >= BASE) sum2 -= BASE; in adler32_combine_()