Lines Matching refs:xp
404 register struct xtrahash *xp, **tp; in minit() local
408 for (xp = &xtrahash[0]; xp < &xtrahash[XHSIZE]; xp++) { in minit()
409 xp->xh_name = NOSTR; in minit()
410 xp->xh_mid = 0; in minit()
411 xp->xh_attnet = 0; in minit()
427 register struct xtrahash *xp; in mstash() local
430 xp = xlocate(name); in mstash()
431 if (xp == (struct xtrahash *) 0) { in mstash()
435 if (xp->xh_name == NOSTR) { in mstash()
440 xtab[midfree] = xp; in mstash()
441 xp->xh_name = savestr(name); in mstash()
442 xp->xh_mid = 0200 + midfree++; in mstash()
446 xp->xh_attnet |= AN; in mstash()
448 xp->xh_attnet |= x; in mstash()
449 return(xp->xh_mid); in mstash()
465 register struct xtrahash *xp; in xlocate() local
474 xp = &xtrahash[(h + q) % XHSIZE]; in xlocate()
475 if (xp->xh_name == NOSTR) in xlocate()
476 return(xp); in xlocate()
477 if (strcmp(cp, xp->xh_name) == 0) in xlocate()
478 return(xp); in xlocate()
481 xp = &xtrahash[(h - q) % XHSIZE]; in xlocate()
482 if (xp->xh_name == NOSTR) in xlocate()
483 return(xp); in xlocate()
484 if (strcmp(cp, xp->xh_name) == 0) in xlocate()
485 return(xp); in xlocate()