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