Home
last modified time | relevance | path

Searched refs:LINES (Results 1 – 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dnewscreen.c77 int old_lines = LINES, old_cols = COLS, retcode; in newscreen()
154 LINES = SP->lsize = lsize > 0 ? lsize : lines; in newscreen()
202 fprintf(outf, "LINES = %d, COLS = %d\n", LINES, COLS); in newscreen()
223 if (!(SP->virt_scr = newwin(LINES, COLS, 0, 0))) in newscreen()
235 if ((marks = (char **)calloc((unsigned)LINES, in newscreen()
240 if ((*marks = (char *)calloc((unsigned)nc * LINES, in newscreen()
243 for (i = LINES - 1; i-- > 0; ++marks) in newscreen()
248 if ((SP->cur_hash = (int *)calloc((unsigned)2 * LINES, in newscreen()
251 SP->virt_hash = SP->cur_hash + LINES; in newscreen()
259 if ((SP->std_scr = newwin(LINES, COLS, 0, 0)) == NULL) { in newscreen()
[all …]
H A Dstart_col.c110 if ((marks = (char **)calloc((unsigned)LINES, in start_color()
115 if ((*marks = (char *)calloc((unsigned)nc * LINES, in start_color()
125 for (i = LINES - 1; i-- > 0; ++marks) in start_color()
H A Dripoffline.c70 LINES = --SP->lsize; in _init_rip_func()
82 ((flag = _ripstruct[i].line) > 0) ? 0 : LINES, 0), COLS); in _init_rip_func()
H A Dslk_start.c156 if ((win = newwin(1, COLS, LINES - 1, 0)) == NULL) in _init_slk_func()
162 LINES = --SP->lsize; in _init_slk_func()
H A Dmvwin.c52 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS || in mvwin()
H A Dsetcurscreen.c62 LINES = SP->lsize; in setcurscreen()
H A Drestart.c92 LINES = SP->lsize; in restartterm()
H A Dcurses.c50 int LINES, COLS, TABSIZE, COLORS, COLOR_PAIRS; variable
/illumos-gate/usr/src/ucblib/libcurses/
H A Dcr_put.c91 if (outline > LINES - 1) { in fgoto()
92 destline -= outline - (LINES - 1); in fgoto()
93 outline = LINES - 1; in fgoto()
96 if (destline >= LINES) { in fgoto()
98 destline = LINES - 1; in fgoto()
99 if (outline < LINES - 1) { in fgoto()
106 while (l >= LINES) { in fgoto()
230 k = (LINES - 1) - destline; in plod()
234 outline = LINES - 1; in plod()
H A Dcr_tty.c103 fprintf(outf, "SETTERM: LINES = %d, COLS = %d\n", LINES, COLS); in setterm()
117 if (LINES == 0) in setterm()
118 LINES = win.ws_row; in setterm()
124 if (LINES == 0) in setterm()
125 LINES = tgetnum("li"); in setterm()
126 if (LINES <= 5) in setterm()
127 LINES = 24; 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 Dinsch.c44 if (win->_cury == LINES - 1 && win->_y[LINES-1][COLS-1] != ' ') in winsch()
H A Dnewwin.c53 nl = LINES - by; in newwin()
212 if (win->_maxy == LINES && win->_begy == 0) in _swflags_()
215 if (win->_begy + win->_maxy == LINES) in _swflags_()
H A Dtstp.c44 (void) mvcur(0, COLS - 1, LINES - 1, 0); in tstp()
H A Dmvwin.c36 if (by + win->_maxy > LINES || bx + win->_maxx > COLS) in mvwin()
H A Dcurses.c38 LINES, /* number of lines allowed on screen */ variable
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c83 #define LC(i,j) (lc[(i) * (LINES + 1) + (j)])
167 for (i = y; i < LINES; ++i) {
195 if (LINES <= y)
341 if (COLS <= col && LINES-1 <= row
437 if (auto_right_margin && row < LINES-1) {
470 if (LINES <= to_1) {
553 GOTO(LINES-1, 0);
594 if (LINES < n)
746 memset(del, 0, sizeof *del * LINES);
811 for (i = 0; i < LINES; ++i) { in complex()
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c80 #define LC(i, j) (lc[(i) * (LINES + 1) + (j)])
197 if (LINES <= y) in clear_bottom()
597 if (auto_right_margin && (row < LINES - 1)) { in text_replace()
628 if (LINES <= to_1) { in lines_delete()
629 erase_bottom(from, LINES); in lines_delete()
707 GOTO(LINES-1, 0); in scroll_up()
743 if (LINES < n)
876 (void) memset(del, 0, sizeof (*del) * LINES); in script()
877 (void) memset(ins_rep, 0, sizeof (*ins_rep) * LINES); in script()
907 for (i = LINES-1; 0 <= i && ins_rep[i] == lines_insert; --i) { in script()
[all …]
H A Dnewterm.c57 int LINES, COLS; variable
392 LINES = stdscr->_maxy = sp->_curscr->_maxy - n; in newterm()
446 LINES = lines; in set_term()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtail.c112 #define LINES (1<<4) macro
404 *f &= ~LINES; in num()
420 int flags = HEADERS|LINES; in b_tail()
450 flags |= LINES; in b_tail()
457 flags &= ~LINES; in b_tail()
462 flags &= ~LINES; in b_tail()
511 flags |= LINES; in b_tail()
563 flags &= ~LINES; in b_tail()
569 flags |= LINES; in b_tail()
600 delim = (flags & LINES) ? '\n' : -1; in b_tail()
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dkernel.c29 #define LINES 24 macro
163 for (i = 0; i < COLUMNS * LINES * 2; i++) in cls()
225 if (ypos >= LINES) in putchar()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dconstants.h111 #define FLDLINE (LINES - FIELDS - 1) /* first input field line */
113 #define PRLINE (LINES - 1) /* input prompt line */
H A Dhelp.c130 if (line < LINES - 1) { in help()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dinit_disp.c79 my_win.x_nlines = LINES / 2; in init_display()
85 rem_win.x_nlines = LINES / 2 - 1; in init_display()
H A Dio.c152 move(LINES-1, 0); in p_error()

123