/titanic_41/usr/src/ucblib/libcurses/ |
H A D | cr_put.c | 77 if (destcol >= COLS) { in fgoto() 78 destline += destcol / COLS; in fgoto() 79 destcol %= COLS; in fgoto() 81 if (outcol >= COLS) { in fgoto() 82 l = (outcol + 1) / COLS; in fgoto() 84 outcol %= COLS; in fgoto() 351 if (destcol - outcol > 4 && i < COLS && (BC || BS)) { in plod() 411 if (col >= COLS) { in tabcol() 412 offset = COLS * (col / COLS); in tabcol()
|
H A D | cr_tty.c | 103 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 D | initscr.c | 64 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 D | tstp.c | 44 (void) mvcur(0, COLS - 1, LINES - 1, 0); in tstp()
|
H A D | insch.c | 44 if (win->_cury == LINES - 1 && win->_y[LINES-1][COLS-1] != ' ') in winsch()
|
H A D | mvwin.c | 36 if (by + win->_maxy > LINES || bx + win->_maxx > COLS) in mvwin()
|
H A D | newwin.c | 55 nc = COLS - bx; in newwin() 207 if (win->_begx + win->_maxx == COLS) { in _swflags_()
|
H A D | curses.c | 39 COLS, /* number of columns allowed on screen */ variable
|
/titanic_41/usr/src/lib/libcurses/screen/ |
H A D | newscreen.c | 75 int old_lines = LINES, old_cols = COLS, retcode; in newscreen() 193 COLS = SP->csize = csize > 0 ? csize : columns; in newscreen() 200 fprintf(outf, "LINES = %d, COLS = %d\n", LINES, COLS); in newscreen() 203 if ((curscr = SP->cur_scr = newwin(LINES, COLS, 0, 0)) == NULL) in newscreen() 221 if (!(SP->virt_scr = newwin(LINES, COLS, 0, 0))) in newscreen() 237 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0); in newscreen() 257 if ((SP->std_scr = newwin(LINES, COLS, 0, 0)) == NULL) { in newscreen() 261 COLS = old_cols; in newscreen()
|
H A D | slk_start.c | 156 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 D | ripoffline.c | 81 (*_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 D | start_col.c | 114 nc = (COLS / BITSPERBYTE) + (COLS % BITSPERBYTE ? 1 : 0); in start_color()
|
H A D | wclrtoeol.c | 99 int endx = COLS / in wclrtoeol() 100 BITSPERBYTE + (COLS %BITSPERBYTE ? 1 : 0); in wclrtoeol()
|
H A D | mvwin.c | 52 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS || in mvwin()
|
H A D | setcurscreen.c | 63 COLS = SP->csize; in setcurscreen()
|
H A D | restart.c | 93 COLS = columns; in restartterm()
|
H A D | curses.c | 50 int LINES, COLS, TABSIZE, COLORS, COLOR_PAIRS; variable
|
H A D | quick_echo.c | 66 (SPy > ((LINES + SP->Yabove) - 1)) || (SPx > (COLS - 1)) || in _quick_echo()
|
H A D | init_pair.c | 90 for (j = 0; j < COLS; j++) { in init_pair()
|
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | doupdate.c | 242 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() 369 regions[nRegions - 1].size = COLS - regions[nRegions - 1].col; in _normalizeRegions2() 431 for (col = 0; col < COLS; col++) { in _findRegions() 439 for (col = deletePoint; col < COLS - deleteCount; in _findRegions() 465 for (old_cmp = -1; col + bestDeleteCount < COLS; col++) { in _findRegions() [all …]
|
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | doupdate.c | 255 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) { 430 __m_cc_erase(curscr, row, tail, row, COLS-1); [all …]
|
/titanic_41/usr/src/tools/cscope-fast/ |
H A D | display.c | 124 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 D | command.c | 234 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()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | init_disp.c | 80 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 D | display.c | 165 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) {
|