Home
last modified time | relevance | path

Searched refs:stdscr (Results 26 – 50 of 228) sorted by relevance

12345678910

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Daddnstr.c55 code = waddnstr(stdscr, str, n);
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = waddnstr(stdscr, str, n);
107 code = waddnstr(stdscr, str, -1);
123 if ((code = wmove(stdscr, y, x)) == OK)
124 code = waddnstr(stdscr, str, -1);
H A Dgetnstr.c55 code = wgetnstr(stdscr, str, n);
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = wgetnstr(stdscr, str, n);
107 code = wgetnstr(stdscr, str, -1);
123 if ((code = wmove(stdscr, y, x)) == OK)
124 code = wgetnstr(stdscr, str, -1);
H A Dhln.c55 code = whline(stdscr, h, n); in hline()
71 if ((code = wmove(stdscr, y, x)) == OK) in mvhline()
72 code = whline(stdscr, h, n); in mvhline()
105 code = wvline(stdscr, v, n); in vline()
121 if ((code = wmove(stdscr, y, x)) == OK) in mvvline()
122 code = wvline(stdscr, v, n); in mvvline()
H A Dhln_st.c55 code = whline_set(stdscr, h, n); in hline_set()
71 if ((code = wmove(stdscr, y, x)) == OK) in mvhline_set()
72 code = whline_set(stdscr, h, n); in mvhline_set()
105 code = wvline_set(stdscr, v, n); in vline_set()
121 if ((code = wmove(stdscr, y, x)) == OK) in mvvline_set()
122 code = wvline_set(stdscr, v, n); in mvvline_set()
H A Dinnstr.c55 code = winnstr(stdscr, s, n);
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = winnstr(stdscr, s, n);
107 code = winnstr(stdscr, s, -1);
123 if ((code = wmove(stdscr, y, x)) == OK)
124 code = winnstr(stdscr, s, -1);
H A Dinsnstr.c55 code = winsnstr(stdscr, mbs, n);
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = winsnstr(stdscr, mbs, n);
107 code = winsnstr(stdscr, mbs, -1);
123 if ((code = wmove(stdscr, y, x)) == OK)
124 code = winsnstr(stdscr, mbs, -1);
H A Dgetn_ws.c55 code = wgetn_wstr(stdscr, wis, n);
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = wgetn_wstr(stdscr, wis, n);
107 code = wgetn_wstr(stdscr, wis, -1);
123 if ((code = wmove(stdscr, y, x)) == OK)
124 code = wgetn_wstr(stdscr, wis, -1);
H A Din_wchn.c55 code = win_wchnstr(stdscr, ccs, n);
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = win_wchnstr(stdscr, ccs, n);
107 code = win_wchnstr(stdscr, ccs, -1);
123 if ((code = wmove(stdscr, y, x)) == OK)
124 code = win_wchnstr(stdscr, ccs, -1);
H A Dinchn.c55 code = winchnstr(stdscr, chs, n);
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = winchnstr(stdscr, chs, n);
107 code = winchnstr(stdscr, chs, -1);
123 if ((code = wmove(stdscr, y, x)) == OK)
124 code = winchnstr(stdscr, chs, -1);
H A Dinnwstr.c55 code = winnwstr(stdscr, wcs, n);
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = winnwstr(stdscr, wcs, n);
107 code = winnwstr(stdscr, wcs, -1);
123 if ((code = wmove(stdscr, y, x)) == OK)
124 code = winnwstr(stdscr, wcs, -1);
H A Dins_nws.c55 code = wins_nwstr(stdscr, wcs, n);
72 if ((code = wmove(stdscr, y, x)) == OK)
73 code = wins_nwstr(stdscr, wcs, n);
107 code = wins_nwstr(stdscr, wcs, -1);
123 if ((code = wmove(stdscr, y, x)) == OK)
124 code = wins_nwstr(stdscr, wcs, -1);
H A Dmove.c53 if (y < 0 || stdscr->_maxy <= y || x < 0 || stdscr->_maxx <= x)
56 stdscr->_cury = y;
57 stdscr->_curx = x;
H A Daddchn.c57 code = waddchnstr(stdscr, chs, n);
76 if ((code = wmove(stdscr, y, x)) == OK)
77 code = waddchnstr(stdscr, chs, n);
115 code = waddchnstr(stdscr, chs, -1);
133 if ((code = wmove(stdscr, y, x)) == OK)
134 code = waddchnstr(stdscr, chs, -1);
H A Daddnws.c57 code = waddnwstr(stdscr, wcs, n);
76 if ((code = wmove(stdscr, y, x)) == OK)
77 code = waddnwstr(stdscr, wcs, n);
115 code = waddnwstr(stdscr, wcs, -1);
133 if ((code = wmove(stdscr, y, x)) == OK)
134 code = waddnwstr(stdscr, wcs, -1);
H A Daddwchn.c57 code = wadd_wchnstr(stdscr, ccs, n);
76 if ((code = wmove(stdscr, y, x)) == OK)
77 code = wadd_wchnstr(stdscr, ccs, n);
115 code = wadd_wchnstr(stdscr, ccs, -1);
133 if ((code = wmove(stdscr, y, x)) == OK)
134 code = wadd_wchnstr(stdscr, ccs, -1);
H A Dattron.c52 stdscr->_fg._at |= cc._at; in attron()
67 stdscr->_fg._at &= ~cc._at; in attroff()
82 stdscr->_fg._co = cc._co; in attrset()
83 stdscr->_fg._at = cc._at; in attrset()
H A Dscrreg.c52 if (top < 0 || bottom < top || stdscr->_maxy <= bottom)
56 stdscr->_top = top;
57 stdscr->_bottom = bottom + 1;
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmove.c52 if (y < 0 || stdscr->_maxy <= y || x < 0 || stdscr->_maxx <= x) in move()
55 stdscr->_cury = (short) y; in move()
56 stdscr->_curx = (short) x; in move()
H A Dscrreg.c52 if (top < 0 || bottom < top || stdscr->_maxy <= bottom) in setscrreg()
56 stdscr->_top = (short) top; in setscrreg()
57 stdscr->_bottom = (short) bottom + 1; in setscrreg()
H A Ddeleteln.c52 return (winsdelln(stdscr, -1)); in deleteln()
60 return (winsdelln(stdscr, 1)); in insertln()
68 return (winsdelln(stdscr, n)); in insdelln()
H A Dattron.c50 return (wattron(stdscr, at)); in attron()
56 return (wattroff(stdscr, at)); in attroff()
62 return (wattrset(stdscr, at)); in attrset()
H A Dgetch.c54 value = wgetch(stdscr); in getch()
66 if (wmove(stdscr, y, x)) in mvgetch()
69 value = wgetch(stdscr); in mvgetch()
H A Ddelch.c54 code = wdelch(stdscr); in delch()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvdelch()
67 code = wdelch(stdscr); in mvdelch()
/illumos-gate/usr/src/cmd/latencytop/common/
H A Ddisplay.c673 (void) mvwprintw(stdscr, i, 0, "%s", HELP[i]); in print_help()
733 (void) keypad(stdscr, TRUE); in lt_display_init()
744 getmaxyx(stdscr, screen_height, screen_width); in lt_display_init()
748 (void) mvwprintw(stdscr, 1, 0, in lt_display_init()
750 (void) mvwprintw(stdscr, 2, 0, "Press q to quit."); in lt_display_init()
756 titlebar = subwin(stdscr, 1, screen_width, 0, 0); in lt_display_init()
757 captionbar = subwin(stdscr, 1, screen_width, 1, 0); in lt_display_init()
760 process_window = subwin(stdscr, screen_height / 2 - 3, in lt_display_init()
764 (void) werase(stdscr); in lt_display_init()
883 (void) werase(stdscr); in lt_display_loop()
[all …]
/illumos-gate/usr/src/cmd/powertop/common/
H A Ddisplay.c131 getmaxyx(stdscr, win_rows, win_cols); in pt_display_get_size()
190 sw[SW_TITLE] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup()
193 sw[SW_IDLE] = subwin(stdscr, cstate_lines, win_cols/2 + 1, pos_y, 0); in pt_display_setup()
194 sw[SW_FREQ] = subwin(stdscr, cstate_lines, win_cols/2 - 8, pos_y, in pt_display_setup()
198 sw[SW_WAKEUPS] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup()
201 sw[SW_POWER] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup()
208 sw[SW_EVENTS] = subwin(stdscr, event_lines, win_cols, pos_y, 0); in pt_display_setup()
217 sw[SW_SUGG] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup()
220 sw[SW_STATUS] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup()
247 (void) keypad(stdscr, TRUE); in pt_display_init_curses()

12345678910