Lines Matching refs:nx

184 _homefirst(int ny, int nx, int type, int doit)  in _homefirst()  argument
202 return (cost + _mvrel(cy, 0, ny, nx, FALSE)); in _homefirst()
205 return (_mvrel(cy, 0, ny, nx, TRUE)); in _homefirst()
211 _mvrel(int cy, int cx, int ny, int nx, int doit) in _mvrel() argument
217 ch = _mvhor(cx, nx, doit); in _mvrel()
277 _mvhor(int cx, int nx, int doit) in _mvhor() argument
281 if (cx == nx) in _mvhor()
288 st = cx < nx ? _mvright(cx, nx, FALSE) : _mvleft(cx, nx, FALSE); in _mvhor()
292 _COST(Carriage_return) + _mvright(0, nx, FALSE) : LARGECOST; in _mvhor()
298 _PUTS(tparm_p1(column_address, nx), 1); in _mvhor()
302 (void) _mvright(0, nx, TRUE); in _mvhor()
304 if (cx < nx) in _mvhor()
305 (void) _mvright(cx, nx, TRUE); in _mvhor()
307 (void) _mvleft(cx, nx, TRUE); in _mvhor()
316 _mvright(int cx, int nx, int doit) in _mvright() argument
330 nt = tab ? (nx / TABSIZE - cx / TABSIZE) : 0; in _mvright()
336 for (x = tx; x < nx; ++x) { in _mvright()
344 else if (iscont && !(nx - x == 1 && nx < in _mvright()
345 curscr->_maxx && ISCBIT(scp[nx]))) in _mvright()
361 _PUTS(tparm_p1(parm_right_cursor, nx-cx), 1); in _mvright()
368 for (x = tx; x < nx; ++x) { in _mvright()
376 else if (iscont && !(nx - x == 1 && in _mvright()
377 nx < curscr->_maxx && ISCBIT(scp[nx]))) in _mvright()
392 _mvleft(int cx, int nx, int doit) in _mvleft() argument
405 x = (nx % TABSIZE) ? (nx / TABSIZE + 1) * TABSIZE : nx; in _mvleft()
414 stcost = nt * _COST(Back_tab) + (tx-nx) * _COST(Cursor_left); in _mvleft()
425 _PUTS(tparm_p1(parm_left_cursor, cx - nx), 1); in _mvleft()
429 for (; tx > nx; --tx) in _mvleft()