Home
last modified time | relevance | path

Searched refs:num_lines (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/lib/libcurses/screen/
H A Dwinsdelln.c57 int endy, endx, to, fr, num_lines, dir; in winsdelln() local
91 if ((num_lines = win->_cury - endy) > id) in winsdelln()
92 id = num_lines; in winsdelln()
105 num_lines = endy - fr; in winsdelln()
109 if ((num_lines = endy - win->_cury) < id) in winsdelln()
110 id = num_lines; in winsdelln()
114 num_lines = fr - (win->_cury - 1); in winsdelln()
132 for (; num_lines > 0; num_lines--, to += dir, fr += dir) { in winsdelln()
176 num_lines = endy - to; in winsdelln()
178 num_lines = to - (win->_cury - 1); in winsdelln()
[all …]
H A Dderwin.c57 derwin(WINDOW *orig, int num_lines, int nc, int by, int bx) in derwin() argument
67 if (by < 0 || (by + num_lines) > orig->_maxy || bx < 0 || in derwin()
72 if (num_lines == 0) in derwin()
73 num_lines = orig->_maxy - by; in derwin()
76 if ((win = _makenew(num_lines, nc, by + orig->_begy, in derwin()
97 for (y = 0; y < num_lines; y++, hby++) in derwin()
102 for (y = 0; y < num_lines; y++, by++) in derwin()
H A DV2.makenew.c50 makenew(int num_lines, int num_cols, int begy, int begx) in makenew() argument
52 return (_makenew(num_lines, num_cols, begy, begx)); in makenew()
H A Dllib-lcurses50 WINDOW *makenew(int num_lines, int num_cols, int begy, int begx);
643 WINDOW *derwin(WINDOW *win, int num_lines, int nc, int by, int bx);
/titanic_41/usr/src/lib/libc/port/locale/
H A Dldpart.c53 int saverr, fd, i, num_lines; in __part_load_locale() local
95 num_lines = split_lines(p, plim); in __part_load_locale()
96 if (num_lines >= locale_buf_size_max) in __part_load_locale()
97 num_lines = locale_buf_size_max; in __part_load_locale()
98 else if (num_lines >= locale_buf_size_min) in __part_load_locale()
99 num_lines = locale_buf_size_min; in __part_load_locale()
109 for (p = *locale_buf, i = 0; i < num_lines; i++) in __part_load_locale()
111 for (i = num_lines; i < locale_buf_size_max; i++) in __part_load_locale()
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DMultiLineLabel.java75 protected int num_lines; // The number of lines field in MultiLineLabel
128 num_lines = lines.size(); in newLabel()
129 line_widths = new int[num_lines]; in newLabel()
147 for (int i = 0; i < num_lines; i++) { in measure()
248 num_lines * line_height + 2*margin_height); in preferredSize()
256 return new Dimension(max_width, num_lines * line_height); in minimumSize()
274 y = line_ascent + (d.height - num_lines * line_height)/2; in paint()
275 for (int i = 0; i < num_lines; i++, y += line_height) { in paint()
/titanic_41/usr/src/ucblib/libcurses/
H A Dnewwin.c40 newwin(int num_lines, int num_cols, int begy, int begx) in newwin() argument
49 nl = num_lines; in newwin()
95 subwin(WINDOW *orig, int num_lines, int num_cols, int begy, int begx) in subwin() argument
102 nl = num_lines; in subwin()
155 makenew(int num_lines, int num_cols, int begy, int begx) in makenew() argument
162 nl = num_lines; in makenew()
/titanic_41/usr/src/lib/efcode/engine/
H A Dinteractive.c400 int num_lines = 0; variable
407 if (num_lines < MAX_LINE_BUF) in add_line_to_history()
408 history_lines[num_lines++] = STRDUP(line); in add_line_to_history()
519 my_line = cur_line = num_lines; in read_line()
622 if (cur_line >= num_lines) in read_line()
625 if (cur_line == num_lines) { in read_line()
650 if (cur_line >= num_lines) in read_line()
652 if (cur_line == num_lines - 1) { in read_line()
655 num_lines -= 1; in read_line()
656 my_line = num_lines; in read_line()
[all …]
/titanic_41/usr/src/lib/libbe/common/
H A Dbe_utils.c419 int i, num_tmp_lines = 0, num_lines = 0; in be_append_menu() local
529 num_lines = 0; in be_append_menu()
535 entries[num_lines] = strdup(str); in be_append_menu()
536 num_lines++; in be_append_menu()
543 entries[num_lines] = tmp_entries[i]; in be_append_menu()
545 num_lines++; in be_append_menu()
553 entries[num_lines] = strdup(str); in be_append_menu()
554 num_lines++; in be_append_menu()
566 entries[num_lines] = in be_append_menu()
570 entries[num_lines] = strdup(temp_line); in be_append_menu()
[all …]
/titanic_41/usr/src/cmd/more/
H A Dmore.c209 static void screen(register FILE *f, register off_t num_lines);
496 screen(register FILE *f, register off_t num_lines) in screen() argument
504 while (num_lines > 0 && !Pause) { in screen()
534 num_lines--; in screen()
548 if ((num_lines = command (NULL, f)) == 0) in screen()
552 if (noscroll && num_lines == dlines) { in screen()