| /src/games/trek/ |
| win.c | 1 /* $NetBSD: win.c,v 1.12 2009/05/25 00:39:45 dholland Exp $ */ 35 static char sccsid[] = "@(#)win.c 8.1 (Berkeley) 5/31/93"; 37 __RCSID("$NetBSD: win.c,v 1.12 2009/05/25 00:39:45 dholland Exp $"); 50 ** This routine prints out the win message, arranges to print out 63 win(void) function
|
| /src/lib/libcurses/ |
| id_subwins.c | 51 WINDOW *win; local 54 for (win = orig->nextp; win != orig; win = win->nextp) { 55 oy = win->begy - orig->begy; 56 for (y = 0; y < win->maxy; y++) 57 win->alines[y]->line = 58 &orig->alines[oy + y]->line[win->ch_off];
|
| fileio.c | 80 putwin(WINDOW *win, FILE *fp) 87 __CTRACE(__CTRACE_FILEIO, "putwin: win %p\n", win); 89 if (__predict_false(win == NULL)) 92 /* win can't be a subwin */ 93 if (win->orig != NULL) 103 if (fwrite(win, sizeof(WINDOW), 1, fp) != 1) 107 if (__putnsp(win->bnsp, fp) == ERR) 112 for (y = 0; y < win->maxy; y++) 113 for (sp = win->alines[y]->line, x = 0; x < win->maxx 174 WINDOW *wtmp, *win; local [all...] |
| newwin.c | 83 dupwin(WINDOW *win) 87 if (__predict_false(win == NULL)) 90 if ((new_one = __newwin(_cursesi_screen, win->maxy, win->maxx, 91 win->begy, win->begx, FALSE, 92 win == stdscr ? TRUE : FALSE)) == NULL) 95 overwrite(win, new_one); 127 WINDOW *win; local 145 if ((win = __makenew(screen, maxy, maxx, by, bx, 0, ispad)) == NULL 196 WINDOW *win; local 263 WINDOW *win; local [all...] |
| resize.c | 45 static int __resizeterm(WINDOW *win, int nlines, int ncols); 46 static int __resizewin(WINDOW *win, int nlines, int ncols); 53 wresize(WINDOW *win, int req_nlines, int req_ncols) 58 if (__predict_false(win == NULL)) 62 win, nlines, ncols); 63 if (win->orig != NULL) { 65 if (win->begy > win->orig->begy + win->orig->maxy) 66 win->begy = win->orig->begy + win->orig->maxy - 1 183 WINDOW *win; local [all...] |
| tstp.c | 138 struct winsize win; local 140 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 && 141 win.ws_row != 0 && win.ws_col != 0) 143 LINES = win.ws_row; 144 COLS = win.ws_col; 255 struct winsize win; local 273 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 && 274 win.ws_row != 0 && win.ws_col != 0 [all...] |
| /src/games/boggle/boggle/ |
| help.c | 57 WINDOW *win; local 62 win = newwin(0, 0, 0, 0); 63 clearok(win, 1); 67 wprintw(win, "There doesn't seem to be any help."); 79 wprintw(win, "%s", buf); 85 wmove(win, nlines - 1, 0); 86 wprintw(win, 88 wrefresh(win); 91 wclear(win); 96 wmove(win, nlines - 1, 0) [all...] |
| /src/usr.sbin/lpr/lpd/ |
| extern.h | 50 struct winsize win; /* window info */ member in struct:info
|
| /src/lib/libpuffs/ |
| requests.c | 63 void *win; local 88 if (puffs_framebuf_getwindow(pb, curoff, &win, &winlen) == -1) 90 n = read(fd, win, winlen); 121 void *win; local 159 if (puffs_framebuf_getwindow(pb, curoff, &win, &winlen) == -1) 172 n = send(fd, win, winlen, MSG_NOSIGNAL); 174 n = write(fd, win, winlen);
|
| /src/lib/libterminfo/ |
| setupterm.c | 83 struct winsize win; local 127 if (ioctl(fildes, TIOCGWINSZ, &win) != -1 && 128 win.ws_row != 0 && win.ws_col != 0) 130 t_lines(*nterm) = (short)win.ws_row; 131 t_columns(*nterm) = (short)win.ws_col;
|
| /src/sys/arch/alpha/stand/common/ |
| boot.c | 85 int win, loadflag; local 133 win = loadfile(name, marks, loadflag) == 0; 136 for (namep = kernelnames, win = 0; *namep != NULL && !win; 139 win = loadfile(name, marks, loadflag) == 0; 146 if (!win)
|
| /src/sys/arch/evbmips/stand/sbmips/common/ |
| boot.c | 83 int win; local 128 win = loadfile(name, marks, LOAD_KERNEL) == 0; 131 for (namep = kernelnames, win = 0; *namep != NULL && !win; 133 win = loadfile(name = *namep, marks, LOAD_KERNEL) == 0; 139 if (!win)
|
| /src/sys/arch/mipsco/stand/common/ |
| boot.c | 108 int win; local 146 win = (loadfile(name, marks, LOAD_KERNEL) == 0); 148 win = 0; 149 for (namep = kernelnames, win = 0; *namep != NULL && !win; 155 win = (loadfile(bootpath, marks, LOAD_ALL) != -1); 156 if (win) { 161 if (!win || !kernel)
|
| /src/sys/arch/pmax/stand/common/ |
| boot.c | 115 int entry, win; local 146 win = (loadfile(name, marks, LOAD_KERNEL) == 0); 148 win = 0; 149 for (namep = kernelnames, win = 0; *namep != NULL && !win; 155 win = (loadfile(bootpath, marks, LOAD_ALL) != -1); 156 if (win) { 161 if (!win)
|
| /src/sys/arch/sbmips/stand/common/ |
| boot.c | 83 int win; local 128 win = loadfile(name, marks, LOAD_KERNEL) == 0; 131 for (namep = kernelnames, win = 0; *namep != NULL && !win; 133 win = loadfile(name = *namep, marks, LOAD_KERNEL) == 0; 139 if (!win)
|
| /src/sys/arch/sgimips/stand/common/ |
| boot.c | 129 int win = 0; local 208 win = loadfile(kernel, marks, LOAD_KERNEL); 212 win = loadfile(bootfile, marks, LOAD_KERNEL); 221 win = loadfile(bootfile, marks, LOAD_KERNEL); 222 if (win != -1) 228 if (win < 0) {
|
| iris_boot.c | 77 int win = 0; local 119 win = loadfile(kernelname, marks, LOAD_KERNEL); 121 if (win < 0) {
|
| /src/external/gpl3/gdb.old/dist/gdb/tui/ |
| tui-wingeneral.c | 25 #include "tui/tui-win.h" 72 WINDOW *win; local 75 win = win_info->handle.get (); 84 tui_apply_style (win, (highlight_flag 87 wattron (win, attrs); 88 wborder (win, tui_border_vline, tui_border_vline, 99 mvwaddstr (win, 0, 2, win_info->title ().c_str ()); 105 mvwaddstr (win, 0, 2, truncated.c_str ()); 108 wattroff (win, attrs); 109 tui_apply_style (win, ui_file_style ()) [all...] |
| /src/external/gpl3/gdb/dist/gdb/tui/ |
| tui-wingeneral.c | 25 #include "tui/tui-win.h" 72 WINDOW *win; local 75 win = win_info->handle.get (); 84 tui_apply_style (win, (highlight_flag 87 wattron (win, attrs); 88 wborder (win, tui_border_vline, tui_border_vline, 99 mvwaddstr (win, 0, 2, win_info->title ().c_str ()); 105 mvwaddstr (win, 0, 2, truncated.c_str ()); 108 wattroff (win, attrs); 109 tui_apply_style (win, ui_file_style ()) [all...] |
| /src/bin/kill/ |
| kill.c | 279 struct winsize win; local 281 if (ioctl(fileno(fp), TIOCGWINSZ, &win) == 0 && win.ws_col > 0) 282 termwidth = win.ws_col;
|
| /src/lib/libpanel/ |
| panel_impl.h | 44 WINDOW *win; member in struct:__panel
|
| /src/sys/arch/arc/stand/boot/ |
| boot.c | 137 int win = 0; local 208 win = loadfile(kernel, marks, LOAD_KERNEL); 212 win = loadfile(bootfile, marks, LOAD_KERNEL); 221 win = loadfile(bootfile, marks, LOAD_KERNEL); 222 if (win != -1) 229 if (win < 0) {
|
| /src/bin/stty/ |
| stty.h | 49 struct winsize win; /* window info */ member in struct:info
|
| /src/sys/arch/mmeye/stand/boot/ |
| boot.c | 189 int win; local 222 win = 0; 224 for (namep = kernelnames, win = 0; (*namep != NULL) && !win; namep++) { 237 win = (loadfile(bootpath, marks, LOAD_ALL) != -1); 240 if (win) {
|
| /src/sys/net/npf/ |
| npf_sendpkt.c | 101 uint32_t win; local 106 tcpdlen = npf_tcpsaw(npc, &seq, &ack, &win);
|