/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 in typeref:typename:void
|
/src/lib/libcurses/ |
id_subwins.c | 51 WINDOW *win; local in function:__id_subwins 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 in function:getwin [all...] |
tstp.c | 138 struct winsize win; local in function:__winch_signal_handler 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 in function:__restartwin 273 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 && 274 win.ws_row != 0 && win.ws_col != 0 [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 in function:__newwin 145 if ((win = __makenew(screen, maxy, maxx, by, bx, 0, ispad)) == NULL 196 WINDOW *win; local in function:__subwin 263 WINDOW *win; local in function:__makenew [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 in function:resize_term [all...] |
/src/games/boggle/boggle/ |
help.c | 57 WINDOW *win; local in function:help 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/libpanel/ |
panel_impl.h | 44 WINDOW *win; member in struct:__panel
|
/src/lib/libpuffs/ |
requests.c | 63 void *win; local in function:puffs__fsframe_read 88 if (puffs_framebuf_getwindow(pb, curoff, &win, &winlen) == -1) 90 n = read(fd, win, winlen); 121 void *win; local in function:puffs__fsframe_write 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 in function:ti_setupterm 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 in function:main 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 in function:main 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/sbmips/stand/common/ |
boot.c | 83 int win; local in function:main 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 in function:main 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 in function:main 119 win = loadfile(kernelname, marks, LOAD_KERNEL); 121 if (win < 0) {
|
/src/sys/arch/mipsco/stand/common/ |
boot.c | 108 int win; local in function:main 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 in function:main 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/bin/kill/ |
kill.c | 279 struct winsize win; local in function:printsignals 281 if (ioctl(fileno(fp), TIOCGWINSZ, &win) == 0 && win.ws_col > 0) 282 termwidth = win.ws_col;
|
/src/sys/arch/arc/stand/boot/ |
boot.c | 137 int win = 0; local in function:main 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 in function:main 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 in function:npf_return_tcp 106 tcpdlen = npf_tcpsaw(npc, &seq, &ack, &win);
|
/src/games/cribbage/ |
support.c | 138 BOOLEAN win; local in function:plyrhand 147 win = chkscr(&pscore, i); 149 if (!win) 150 win = chkscr(&cscore, 2); 152 win = chkscr(&pscore, j); 159 win = chkscr(&pscore, i); 160 return (win);
|
/src/sys/arch/emips/stand/common/ |
boot.c | 81 int autoboot = 1, win; local in function:main 119 win = 0; 120 for (;!win;) { 126 win = (loadit(name, marks) == 0); 132 if (!win) { 133 for (namep = kernelnames, win = 0; *namep != NULL && !win; 138 win = (loadit(bootpath, marks) == 0); 139 if (win) { 144 if (!win) [all...] |