Home
last modified time | relevance | path

Searched refs:COLS (Results 1 – 25 of 46) sorted by relevance

12

/illumos-gate/usr/src/ucblib/libcurses/
H A Dcr_put.c68 if (destcol >= COLS) { in fgoto()
69 destline += destcol / COLS; in fgoto()
70 destcol %= COLS; in fgoto()
72 if (outcol >= COLS) { in fgoto()
73 l = (outcol + 1) / COLS; in fgoto()
75 outcol %= COLS; in fgoto()
342 if (destcol - outcol > 4 && i < COLS && (BC || BS)) { in plod()
402 if (col >= COLS) { in tabcol()
403 offset = COLS * (col / COLS); in tabcol()
H A Dcr_tty.c103 fprintf(outf, "SETTERM: LINES = %d, COLS = %d\n", LINES, COLS); in setterm()
119 if (COLS == 0) in setterm()
120 COLS = win.ws_col; in setterm()
129 if (COLS == 0) in setterm()
130 COLS = tgetnum("co"); in setterm()
131 if (COLS <= 4) in setterm()
132 COLS = 80; in setterm()
135 fprintf(outf, "SETTERM: LINES = %d, COLS = %d\n", LINES, COLS); in setterm()
H A Dinitscr.c64 fprintf(outf, "LINES = %d, COLS = %d\n", LINES, COLS); in initscr()
66 if ((curscr = newwin(LINES, COLS, 0, 0)) == ERR) in initscr()
76 stdscr = newwin(LINES, COLS, 0, 0); in initscr()
H A Dtstp.c44 (void) mvcur(0, COLS - 1, LINES - 1, 0); in tstp()
H A Dinsch.c44 if (win->_cury == LINES - 1 && win->_y[LINES-1][COLS-1] != ' ') in winsch()
H A Dmvwin.c36 if (by + win->_maxy > LINES || bx + win->_maxx > COLS) in mvwin()
H A Dnewwin.c55 nc = COLS - bx; in newwin()
207 if (win->_begx + win->_maxx == COLS) { in _swflags_()
H A Dcurses.c39 COLS, /* number of columns allowed on screen */ variable
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dnewscreen.c77 int old_lines = LINES, old_cols = COLS, retcode; in newscreen()
195 COLS = SP->csize = csize > 0 ? csize : columns; in newscreen()
202 fprintf(outf, "LINES = %d, COLS = %d\n", LINES, COLS); in newscreen()
205 if ((curscr = SP->cur_scr = newwin(LINES, COLS, 0, 0)) == NULL) in newscreen()
223 if (!(SP->virt_scr = newwin(LINES, COLS, 0, 0))) in newscreen()
239 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0); in newscreen()
259 if ((SP->std_scr = newwin(LINES, COLS, 0, 0)) == NULL) { in newscreen()
263 COLS = old_cols; in newscreen()
H A Dslk_start.c156 if ((win = newwin(1, COLS, LINES - 1, 0)) == NULL) in _init_slk_func()
163 if ((len = (COLS - 1) / (num + 1)) > LABLEN) { in _init_slk_func()
227 if ((spread = (COLS - (n + 1))/(_ngroups - 1)) <= 0) in _slk_setpos()
229 left = (COLS-(n + 1)) % (_ngroups - 1); in _slk_setpos()
H A Dripoffline.c81 (*_ripstruct[i].initfunction) (newwin(1, COLS, in _init_rip_func()
82 ((flag = _ripstruct[i].line) > 0) ? 0 : LINES, 0), COLS); in _init_rip_func()
H A Dstart_col.c114 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0); in start_color()
H A Dwclrtoeol.c99 int endx = COLS / in wclrtoeol()
100 BITSPERBYTE + (COLS %BITSPERBYTE ? 1 : 0); in wclrtoeol()
H A Dmvwin.c52 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS || in mvwin()
H A Dsetcurscreen.c63 COLS = SP->csize; in setcurscreen()
H A Drestart.c93 COLS = columns; in restartterm()
H A Dcurses.c50 int LINES, COLS, TABSIZE, COLORS, COLOR_PAIRS; variable
H A Dquick_echo.c66 (SPy > ((LINES + SP->Yabove) - 1)) || (SPx > (COLS - 1)) || in _quick_echo()
H A Dinit_pair.c90 for (j = 0; j < COLS; j++) { in init_pair()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c242 int tail = COLS; in _find_blank_tail()
245 return (COLS); in _find_blank_tail()
249 nptr = &newscr->_line[row][COLS]; in _find_blank_tail()
310 for (i = region.col; i < COLS - region.size; i++) { in _deleteRegion()
325 if (tail < COLS) { in _clearToEOL()
334 (void) __m_cc_erase(curscr, row, tail, row, COLS - 1); in _clearToEOL()
431 for (col = 0; col < COLS; col++) { in _findRegions()
439 for (col = deletePoint; col < COLS - deleteCount; in _findRegions()
532 return (COLS); in _ceolAdjustRegions()
576 if (ceolStart != COLS) { in _updateRegions()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c255 if (COLS < last)
256 last = COLS;
260 nptr = &newscr->_line[row][COLS];
261 for (tail = COLS; 0 < tail; --tail) {
273 tail = COLS;
341 if (COLS <= col && LINES-1 <= row
389 if (ceol_standout_glitch && col < COLS
413 for (tail = col; tail < COLS; ++tail, ++optr)
422 if (tail < COLS) {
435 if (COLS <= curscr->_curx) {
[all …]
/illumos-gate/usr/src/tools/cscope-fast/
H A Ddisplay.c124 if (COLS < MINCOLS) { in dispinit()
165 (void) move(0, COLS - (int)sizeof (helpstring)); in display()
179 (void) move(0, COLS - (int)sizeof (depthstring) - 2); in display()
205 width = COLS - selectlen - numlen - 2; in display()
244 (void) printw("%-.*s\n", COLS - 3, file); in display()
328 (void) move(screenline, COLS - width); in display()
534 i = (COLS - 5) / 3; in countrefs()
536 i = (COLS - 7) / 5; in countrefs()
H A Dcommand.c234 getaline(newpat, COLS - sizeof (appendprompt), c, in command()
255 if (getaline(newpat, COLS - sizeof (readprompt), '\0', in command()
278 COLS - sizeof (pipeprompt), '\0', NO) == 0) { in command()
391 COLS - sizeof (selectionprompt), commandc, in command()
401 if (getaline(newpat, COLS - fldcolumn - 1, commandc, in command()
412 COLS - sizeof (toprompt), '\0', NO); in command()
594 COLS - sizeof (selectionprompt), c, in changestring()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dinit_disp.c80 my_win.x_ncols = COLS; in init_display()
86 rem_win.x_ncols = COLS; in init_display()
92 line_win = newwin(1, COLS, my_win.x_nlines, 0); in init_display()
H A Ddisplay.c165 if (win->x_col == COLS-1) {
183 if (win->x_col == COLS-1) /* wraparound */
207 if (win->x_col == COLS-3) {
218 if (win->x_col == COLS-2) {

12