Lines Matching defs:cx
213 _mvrel(int cy, int cx, int ny, int nx, int doit)
219 ch = _mvhor(cx, nx, doit);
279 _mvhor(int cx, int nx, int doit)
283 if (cx == nx)
290 st = cx < nx ? _mvright(cx, nx, FALSE) : _mvleft(cx, nx, FALSE);
306 if (cx < nx)
307 (void) _mvright(cx, nx, TRUE);
309 (void) _mvleft(cx, nx, TRUE);
318 _mvright(int cx, int nx, int doit)
332 nt = tab ? (nx / TABSIZE - cx / TABSIZE) : 0;
333 tx = (nt > 0) ? (cx / TABSIZE + nt) * TABSIZE : cx;
363 _PUTS(tparm_p1(parm_right_cursor, nx-cx), 1);
394 _mvleft(int cx, int nx, int doit)
403 tx = cx;
410 if (x < cx) {
411 nt = (cx / TABSIZE - x / TABSIZE) +
412 ((cx % TABSIZE) ? 1 : 0);
427 _PUTS(tparm_p1(parm_left_cursor, cx - nx), 1);