• Home
  • Raw
  • Download

Lines Matching refs:c

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
195 c ^= b; c -= rot(b,14); \
196 a ^= c; a -= rot(c,11); \
198 c ^= b; c -= rot(b,16); \
199 a ^= c; a -= rot(c,4); \
201 c ^= b; c -= rot(b,24); \
234 uint32_t a,b,c; /* internal state */ in hashlittle() local
238 a = b = c = 0xdeadbeef + ((uint32_t)length) + initval; in hashlittle()
249 c += k[2]; 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()
281 case 0 : return c; /* zero length strings require no mixing */ in hashlittle()
289 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in hashlittle()
290 case 11: c+=((uint32_t)k8[10])<<16; /* fall through */ in hashlittle()
291 case 10: c+=((uint32_t)k8[9])<<8; /* fall through */ in hashlittle()
292 case 9 : c+=k8[8]; /* fall through */ in hashlittle()
301 case 0 : return c; in hashlittle()
315 c += k[4] + (((uint32_t)k[5])<<16); in hashlittle()
316 mix(a,b,c); in hashlittle()
325 case 12: c+=k[4]+(((uint32_t)k[5])<<16); in hashlittle()
329 case 11: c+=((uint32_t)k8[10])<<16; /* fall through */ in hashlittle()
330 case 10: c+=k[4]; in hashlittle()
334 case 9 : c+=k8[8]; /* fall through */ in hashlittle()
350 case 0 : return c; /* zero length requires no mixing */ in hashlittle()
367 c += k[8]; in hashlittle()
368 c += ((uint32_t)k[9])<<8; in hashlittle()
369 c += ((uint32_t)k[10])<<16; in hashlittle()
370 c += ((uint32_t)k[11])<<24; in hashlittle()
371 mix(a,b,c); in hashlittle()
379 case 12: c+=((uint32_t)k[11])<<24; in hashlittle()
380 case 11: c+=((uint32_t)k[10])<<16; in hashlittle()
381 case 10: c+=((uint32_t)k[9])<<8; in hashlittle()
382 case 9 : c+=k[8]; in hashlittle()
392 case 0 : return c; in hashlittle()
396 final(a,b,c); in hashlittle()
397 return c; in hashlittle()
482 struct lh_entry *c; in lh_table_free() local
483 for(c = t->head; c != NULL; c = c->next) { in lh_table_free()
485 t->free_fn(c); in lh_table_free()