Lines Matching refs:nx

186 _homefirst(int ny, int nx, int type, int doit)  in _homefirst()  argument
204 return (cost + _mvrel(cy, 0, ny, nx, FALSE)); in _homefirst()
207 return (_mvrel(cy, 0, ny, nx, TRUE)); in _homefirst()
213 _mvrel(int cy, int cx, int ny, int nx, int doit) in _mvrel() argument
219 ch = _mvhor(cx, nx, doit); in _mvrel()
279 _mvhor(int cx, int nx, int doit) in _mvhor() argument
283 if (cx == nx) in _mvhor()
290 st = cx < nx ? _mvright(cx, nx, FALSE) : _mvleft(cx, nx, FALSE); in _mvhor()
294 _COST(Carriage_return) + _mvright(0, nx, FALSE) : LARGECOST; in _mvhor()
300 _PUTS(tparm_p1(column_address, nx), 1); in _mvhor()
304 (void) _mvright(0, nx, TRUE); in _mvhor()
306 if (cx < nx) in _mvhor()
307 (void) _mvright(cx, nx, TRUE); in _mvhor()
309 (void) _mvleft(cx, nx, TRUE); in _mvhor()
318 _mvright(int cx, int nx, int doit) in _mvright() argument
332 nt = tab ? (nx / TABSIZE - cx / TABSIZE) : 0; in _mvright()
338 for (x = tx; x < nx; ++x) { in _mvright()
346 else if (iscont && !(nx - x == 1 && nx < in _mvright()
347 curscr->_maxx && ISCBIT(scp[nx]))) in _mvright()
363 _PUTS(tparm_p1(parm_right_cursor, nx-cx), 1); in _mvright()
370 for (x = tx; x < nx; ++x) { in _mvright()
378 else if (iscont && !(nx - x == 1 && in _mvright()
379 nx < curscr->_maxx && ISCBIT(scp[nx]))) in _mvright()
394 _mvleft(int cx, int nx, int doit) in _mvleft() argument
407 x = (nx % TABSIZE) ? (nx / TABSIZE + 1) * TABSIZE : nx; in _mvleft()
416 stcost = nt * _COST(Back_tab) + (tx-nx) * _COST(Cursor_left); in _mvleft()
427 _PUTS(tparm_p1(parm_left_cursor, cx - nx), 1); in _mvleft()
431 for (; tx > nx; --tx) in _mvleft()