Home
last modified time | relevance | path

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

/titanic_50/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_50/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_50/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_50/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_50/usr/src/lib/libbe/common/
H A Dbe_utils.c422 int i, num_tmp_lines = 0, num_lines = 0; in be_append_menu() local
532 num_lines = 0; in be_append_menu()
538 entries[num_lines] = strdup(str); in be_append_menu()
539 num_lines++; in be_append_menu()
546 entries[num_lines] = tmp_entries[i]; in be_append_menu()
548 num_lines++; in be_append_menu()
556 entries[num_lines] = strdup(str); in be_append_menu()
557 num_lines++; in be_append_menu()
569 entries[num_lines] = in be_append_menu()
573 entries[num_lines] = strdup(temp_line); in be_append_menu()
[all …]
/titanic_50/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()