Home
last modified time | relevance | path

Searched refs:hfunc (Results 1 – 3 of 3) sorted by relevance

/mirbsd/src/gnu/usr.sbin/sendmail/sendmail/
Dstab.c49 register int hfunc; local
60 hfunc = type;
62 hfunc = ((hfunc << 1) ^ (SM_LOWER(*p) & 0377)) % STABSIZE;
65 sm_dprintf("(hfunc=%d) ", hfunc);
67 ps = &SymTab[hfunc];
Ddomain.c592 int hfunc; local
605 hfunc = seed;
612 hfunc = ((hfunc << 1) ^ c) % 2003;
615 hfunc &= 0xff;
616 hfunc++;
619 sm_dprintf(" = %d\n", hfunc);
620 return hfunc;
/mirbsd/src/usr.bin/host/
Dhost.c5450 register unsigned int hfunc; local
5458 for (hfunc = type, p = name; (c = *p) != '\0'; p++)
5460 hfunc = ((hfunc << 1) ^ (lowercase(c) & 0377)) % THASHSIZE;
5463 for (ps = &ttltab[hfunc]; (s = *ps) != NULL; ps = &s->next)
5574 register unsigned int hfunc; local
5582 for (hfunc = 0, p = name; (c = *p) != '\0'; p++)
5584 hfunc = ((hfunc << 1) ^ (lowercase(c) & 0377)) % HHASHSIZE;
5587 for (ps = &hosttab[hfunc]; (s = *ps) != NULL; ps = &s->next)
5683 register unsigned int hfunc; local
5691 for (hfunc = 0, p = name; (c = *p) != '\0'; p++)
[all …]