Lines Matching refs:xp
401 register struct xtrahash *xp, **tp; in minit() local
405 for (xp = &xtrahash[0]; xp < &xtrahash[XHSIZE]; xp++) { in minit()
406 xp->xh_name = NOSTR; in minit()
407 xp->xh_mid = 0; in minit()
408 xp->xh_attnet = 0; in minit()
424 register struct xtrahash *xp; in mstash() local
427 xp = xlocate(name); in mstash()
428 if (xp == (struct xtrahash *) 0) { in mstash()
432 if (xp->xh_name == NOSTR) { in mstash()
437 xtab[midfree] = xp; in mstash()
438 xp->xh_name = savestr(name); in mstash()
439 xp->xh_mid = 0200 + midfree++; in mstash()
443 xp->xh_attnet |= AN; in mstash()
445 xp->xh_attnet |= x; in mstash()
446 return(xp->xh_mid); in mstash()
462 register struct xtrahash *xp; in xlocate() local
471 xp = &xtrahash[(h + q) % XHSIZE]; in xlocate()
472 if (xp->xh_name == NOSTR) in xlocate()
473 return(xp); in xlocate()
474 if (strcmp(cp, xp->xh_name) == 0) in xlocate()
475 return(xp); in xlocate()
478 xp = &xtrahash[(h - q) % XHSIZE]; in xlocate()
479 if (xp->xh_name == NOSTR) in xlocate()
480 return(xp); in xlocate()
481 if (strcmp(cp, xp->xh_name) == 0) in xlocate()
482 return(xp); in xlocate()