Lines Matching refs:BASE
10 #define BASE 65521U /* largest prime smaller than 65536 */ macro
34 if (a >= BASE) a -= BASE; \
52 if (a >= BASE) a -= BASE; \
55 # define MOD(a) a %= BASE
56 # define MOD28(a) a %= BASE
57 # define MOD63(a) a %= BASE
73 if (adler >= BASE) in adler32_z()
74 adler -= BASE; in adler32_z()
76 if (sum2 >= BASE) in adler32_z()
77 sum2 -= BASE; in adler32_z()
91 if (adler >= BASE) in adler32_z()
92 adler -= BASE; in adler32_z()
151 sum1 += (adler2 & 0xffff) + BASE - 1; in adler32_combine_()
152 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem; in adler32_combine_()
153 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
154 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
155 if (sum2 >= ((unsigned long)BASE << 1)) sum2 -= ((unsigned long)BASE << 1); in adler32_combine_()
156 if (sum2 >= BASE) sum2 -= BASE; in adler32_combine_()