Lines Matching refs:hval
3259 uint_t hval, i, len;
3263 for (len = strlen(str), hval = 0, i = 0; i < len; i++) {
3264 hval += str[i];
3265 hval += (hval << 10);
3266 hval ^= (hval >> 6);
3269 hval += str[i];
3270 hval += (hval << 10);
3271 hval ^= (hval >> 6);
3273 hval += (hval << 3);
3274 hval ^= (hval >> 11);
3275 hval += (hval << 15);
3276 return (hval % htsize);