Lines Matching defs:wp
47 chtype *wcp, *wp, *ep;
54 wp = wcp + x;
57 /* make wp points to the start of a character */
58 if (ISCBIT(*wp)) {
59 for (; wp >= wcp; --wp)
60 if (!ISCBIT(*wp))
62 if (wp < wcp) {
63 wp = wcp+x+1;
64 for (; wp < ep; ++wp)
65 if (!ISCBIT(*wp))
71 if (wp + _curs_scrwidth[TYPE(*wp)] > ep)
76 x = (int)(wp - wcp);