Lines Matching refs:wp
46 chtype *wcp, *wp, *ep;
57 wp = wcp + maxx - 1;
58 if (ISMBIT(*wp)) {
61 for (; wp >= wcp; --wp)
62 if (!ISCBIT(*wp))
64 if (wp < wcp)
66 rb = RBYTE(*wp);
67 if ((wp + _curs_scrwidth[TYPE(rb)]) > (wcp + maxx))
69 maxx = (int)(wp - wcp);
83 for (wp = wcp + maxx - 1; wp >= ep; --wp)
84 *wp = *(wp - len);
87 if (ISMBIT(*wp))
88 for (ep = wp; ep >= wcp; --ep) {