Searched refs:crunch (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/sh/
H A Dhash.c49 #define hash(str) (int)(((unsigned)(crunch(str) * FACTOR)) >> shift)
63 static unsigned int crunch();
162 crunch(key) function
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dhsearch.c141 static unsigned int crunch();
442 return (crunch(key) % length);
472 return ((int) (((unsigned) (crunch(key) * FACTOR)) >> SHIFT));
488 return ((int) (((unsigned) ((crunch(key) * FACTOR) << m) >> SHIFT) | 1));
495 crunch(POINTER key) function
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dhsearch.c142 static unsigned int crunch(POINTER);
481 return (crunch(key) % length);
496 return ((int)(((unsigned)(crunch(key) * FACTOR)) >> SHIFT));
508 return (((unsigned int)((crunch(key) * FACTOR) << m) >> SHIFT) | 1);
515 crunch(POINTER key) /* Convert multicharacter key to unsigned int */ function

Completed in 293 milliseconds