Lines Matching refs:a

158 #define mix(a,b,c) \  argument
160 a -= c; a ^= rot(c, 4); c += b; \
161 b -= a; b ^= rot(a, 6); a += c; \
162 c -= b; c ^= rot(b, 8); b += a; \
163 a -= c; a ^= rot(c,16); c += b; \
164 b -= a; b ^= rot(a,19); a += c; \
165 c -= b; c ^= rot(b, 4); b += a; \
193 #define final(a,b,c) \ argument
196 a ^= c; a -= rot(c,11); \
197 b ^= a; b -= rot(a,25); \
199 a ^= c; a -= rot(c,4); \
200 b ^= a; b -= rot(a,14); \
234 uint32_t a,b,c; /* internal state */ in hashlittle() local
238 a = b = c = 0xdeadbeef + ((uint32_t)length) + initval; in hashlittle()
247 a += k[0]; in hashlittle()
250 mix(a,b,c); in hashlittle()
269 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in hashlittle()
270 case 11: c+=k[2]&0xffffff; b+=k[1]; a+=k[0]; break; in hashlittle()
271 case 10: c+=k[2]&0xffff; b+=k[1]; a+=k[0]; break; in hashlittle()
272 case 9 : c+=k[2]&0xff; b+=k[1]; a+=k[0]; break; in hashlittle()
273 case 8 : b+=k[1]; a+=k[0]; break; in hashlittle()
274 case 7 : b+=k[1]&0xffffff; a+=k[0]; break; in hashlittle()
275 case 6 : b+=k[1]&0xffff; a+=k[0]; break; in hashlittle()
276 case 5 : b+=k[1]&0xff; a+=k[0]; break; in hashlittle()
277 case 4 : a+=k[0]; break; in hashlittle()
278 case 3 : a+=k[0]&0xffffff; break; in hashlittle()
279 case 2 : a+=k[0]&0xffff; break; in hashlittle()
280 case 1 : a+=k[0]&0xff; break; in hashlittle()
289 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in hashlittle()
293 case 8 : b+=k[1]; a+=k[0]; break; in hashlittle()
297 case 4 : a+=k[0]; break; in hashlittle()
298 case 3 : a+=((uint32_t)k8[2])<<16; /* fall through */ in hashlittle()
299 case 2 : a+=((uint32_t)k8[1])<<8; /* fall through */ in hashlittle()
300 case 1 : a+=k8[0]; break; in hashlittle()
313 a += k[0] + (((uint32_t)k[1])<<16); in hashlittle()
316 mix(a,b,c); in hashlittle()
327 a+=k[0]+(((uint32_t)k[1])<<16); in hashlittle()
332 a+=k[0]+(((uint32_t)k[1])<<16); in hashlittle()
336 a+=k[0]+(((uint32_t)k[1])<<16); in hashlittle()
340 a+=k[0]+(((uint32_t)k[1])<<16); in hashlittle()
343 case 4 : a+=k[0]+(((uint32_t)k[1])<<16); in hashlittle()
345 case 3 : a+=((uint32_t)k8[2])<<16; /* fall through */ in hashlittle()
346 case 2 : a+=k[0]; in hashlittle()
348 case 1 : a+=k8[0]; in hashlittle()
359 a += k[0]; in hashlittle()
360 a += ((uint32_t)k[1])<<8; in hashlittle()
361 a += ((uint32_t)k[2])<<16; in hashlittle()
362 a += ((uint32_t)k[3])<<24; in hashlittle()
371 mix(a,b,c); in hashlittle()
387 case 4 : a+=((uint32_t)k[3])<<24; in hashlittle()
388 case 3 : a+=((uint32_t)k[2])<<16; in hashlittle()
389 case 2 : a+=((uint32_t)k[1])<<8; in hashlittle()
390 case 1 : a+=k[0]; in hashlittle()
396 final(a,b,c); in hashlittle()