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

/darwin-on-arm/xnu/bsd/net/
H A Dbsd_comp.c520 int hval, disp, ent, ilen; local
619 hval = BSD_HASH(ent, c, hshift);
620 dictp = &db->dict[hval];
631 disp = (hval == 0) ? 1 : hval;
633 hval += disp;
634 if (hval >= db->hsize)
635 hval -= db->hsize;
636 dictp = &db->dict[hval];
659 dictp2->cptr = hval;
733 u_int32_t hval, disp; local
1076 u_int32_t hval, disp; local
[all...]
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dfasttrap.c266 uint_t hval = 0; local
269 hval = (hval << 4) + *p++;
270 if ((g = (hval & 0xf0000000)) != 0)
271 hval ^= g >> 24;
272 hval &= ~g;
274 return (hval);
H A Ddtrace.c7228 uint_t hval = 0;
7231 hval = (hval << 4) + *p++;
7232 if ((g = (hval & 0xf0000000)) != 0)
7233 hval ^= g >> 24;
7234 hval &= ~g;
7236 return (hval);
7527 int hval = dtrace_hash_str((char *)str) % DTRACE_ERRHASHSZ;
7529 int hval = dtrace_hash_str(str) % DTRACE_ERRHASHSZ;
7542 if (dtrace_errhash[hval]
[all...]

Completed in 41 milliseconds