/netbsd-6-1-5-RELEASE/usr.bin/tset/ |
H A D | extern.h | 35 extern int ncolumns, isreset, nlines;
|
H A D | tset.c | 57 int nlines, ncolumns; /* window size */ variable 157 nlines = lines; 163 nlines = win.ws_row; 166 nlines > 0 && columns > 0) { 167 win.ws_row = nlines;
|
/netbsd-6-1-5-RELEASE/lib/libcurses/ |
H A D | resize.c | 52 static int __resizeterm(WINDOW *win, int nlines, int ncols); 53 static int __resizewin(WINDOW *win, int nlines, int ncols); 62 int nlines = req_nlines; local 70 win, nlines, ncols); 75 if (nlines > LINES) 76 nlines = LINES; 77 if (nlines < 1) 78 nlines = 1; 86 if (win->begy + nlines > LINES) 87 nlines 143 resizeterm(int nlines, int ncols) argument 179 __resizeterm(WINDOW *win, int nlines, int ncols) argument 203 __resizewin(WINDOW *win, int nlines, int ncols) argument [all...] |
H A D | insdelln.c | 56 insdelln(int nlines) argument 58 return winsdelln(stdscr, nlines); 68 winsdelln(WINDOW *win, int nlines) argument 79 "winsdelln: (%p) cury=%d lines=%d\n", win, win->cury, nlines); 82 if (!nlines) 90 if (nlines > 0) { 94 if (nlines > win->maxy - win->cury) 95 nlines = win->maxy - win->cury; 99 if (nlines > win->scr_b + 1 - win->cury) 100 nlines [all...] |
H A D | scroll.c | 61 scrl(int nlines) argument 63 return wscrl(stdscr, nlines); 83 wscrl(WINDOW *win, int nlines) argument 88 __CTRACE(__CTRACE_WINDOW, "wscrl: (%p) lines=%d\n", win, nlines); 93 if (!nlines) 106 winsdelln(win, 0 - nlines);
|
H A D | newwin.c | 47 static WINDOW *__makenew(SCREEN *screen, int nlines, int ncols, int by, 49 static WINDOW *__subwin(WINDOW *orig, int nlines, int ncols, int by, int bx, 58 derwin(WINDOW *orig, int nlines, int ncols, int by, int bx) argument 61 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx, 71 subpad(WINDOW *orig, int nlines, int ncols, int by, int bx) argument 74 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx, 100 newwin(int nlines, int ncols, int by, int bx) argument 102 return __newwin(_cursesi_screen, nlines, ncols, by, bx, FALSE); 110 newpad(int nlines, int ncols) argument 112 if (nlines < 118 __newwin(SCREEN *screen, int nlines, int ncols, int by, int bx, int ispad) argument 173 subwin(WINDOW *orig, int nlines, int ncols, int by, int bx) argument 180 __subwin(WINDOW *orig, int nlines, int ncols, int by, int bx, int ispad) argument 274 __makenew(SCREEN *screen, int nlines, int ncols, int by, int bx, int sub, int ispad) argument [all...] |
H A D | tstp.c | 258 int nlines, ncols; local 292 nlines = LINES; 294 if (curscr->maxy != nlines || curscr->maxx != ncols) 295 wresize(curscr, nlines, ncols); 296 if (stdscr->maxy != nlines || stdscr->maxx != ncols) 297 wresize(stdscr, nlines, ncols);
|
/netbsd-6-1-5-RELEASE/usr.bin/shuffle/ |
H A D | shuffle.c | 109 size_t size, nlines = 0, maxlines = 128; local 121 lines[nlines] = emalloc(size + 1); 122 (void)memcpy(lines[nlines], line, size); 123 lines[nlines++][size] = '\0'; 124 if (nlines >= maxlines) { 129 lines[nlines] = NULL; 132 *nlinesp = nlines; 165 size_t nlines = 0, pick = 0, i; local 177 nlines = get_number(optarg, ch); 196 get_lines(fname, &lines, &nlines); [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/vi/ |
H A D | v_delete.c | 39 db_recno_t nlines; local 60 if (db_last(sp, &nlines)) 62 if (nlines == 0) { 75 if (db_get(sp, nlines, DBG_FATAL, NULL, &len)) 77 vp->m_final.lno = nlines;
|
H A D | v_scroll.c | 74 db_recno_t nlines; local 83 if (db_last(sp, &nlines)) 85 if (nlines == 0) 93 if (db_last(sp, &nlines)) 95 vp->m_stop.lno = nlines ? nlines : 1;
|
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c/detail/ |
H A D | sanity_test.c | 113 int nlines; local 127 nlines = 0; 130 RE(atf_dynstr_init(&lines[nlines])); 132 eof = read_line(atf_process_child_stderr(&child), &lines[nlines]); 133 nlines++; 134 } while (nlines < 3); 135 ATF_REQUIRE(nlines == 0 || nlines == 3); 170 while (nlines > 0) { 171 nlines [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c/detail/ |
H A D | sanity_test.c | 115 int nlines; local 129 nlines = 0; 132 RE(atf_dynstr_init(&lines[nlines])); 134 eof = read_line(atf_process_child_stderr(&child), &lines[nlines]); 135 nlines++; 136 } while (nlines < 3); 137 ATF_REQUIRE(nlines == 0 || nlines == 3); 172 while (nlines > 0) { 173 nlines [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/common/ |
H A D | pager.c | 51 int nlines; local 54 nlines = 24; /* sensible default */ 56 nlines = strtol(cp, &lp, 0); 59 p_maxlines = nlines - 1;
|
/netbsd-6-1-5-RELEASE/games/boggle/boggle/ |
H A D | help.c | 50 extern int nlines; 72 for (i = 0; i < nlines - 3; i++) { 85 wmove(win, nlines - 1, 0); 96 wmove(win, nlines - 1, 0);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | windows-termcap.c | 54 tputs (char *string, int nlines, int (*outfun) ()) argument
|
H A D | disasm.c | 195 struct disassemble_info *di, int nlines, 212 mle = (struct dis_line_entry *) alloca (nlines 221 for (i = 0; i < nlines - 1 && le[i].pc < low; i++); 225 for (; i < nlines - 1 && le[i].pc < high; i++) 245 if (i == nlines - 1 && le[i].pc < high) 412 int nlines = -1; local 421 nlines = symtab->linetable->nitems; 424 if (!(flags & DISASSEMBLY_SOURCE) || nlines <= 0 429 do_mixed_source_and_assembly (gdbarch, uiout, &di, nlines, le, low, 194 do_mixed_source_and_assembly(struct gdbarch *gdbarch, struct ui_out *uiout, struct disassemble_info *di, int nlines, struct linetable_entry *le, CORE_ADDR low, CORE_ADDR high, struct symtab *symtab, int how_many, int flags, struct ui_stream *stb) argument
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/rx/ |
H A D | trace.c | 128 int nlines; member in struct:Files 168 f->nlines = 1; 171 f->nlines++; 172 f->lines = (char **) malloc (f->nlines * sizeof (char *)); 174 f->nlines = 1; 178 f->lines[f->nlines] = f->data + i + 1; 179 while (*f->lines[f->nlines] == ' ' 180 || *f->lines[f->nlines] == '\t') 181 f->lines[f->nlines]++; 182 f->nlines [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m32c/ |
H A D | trace.c | 114 int nlines; member in struct:Files 154 f->nlines = 1; 157 f->nlines++; 158 f->lines = (char **) malloc (f->nlines * sizeof (char *)); 160 f->nlines = 1; 164 f->lines[f->nlines] = f->data + i + 1; 165 while (*f->lines[f->nlines] == ' ' 166 || *f->lines[f->nlines] == '\t') 167 f->lines[f->nlines]++; 168 f->nlines [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdnmonitor/ |
H A D | curses.c | 483 int nlines, ncols, pos_x, pos_y; local 507 nlines = cnt + 4; 512 nlines = 5; 521 if ((chan_w = newwin(nlines, ncols, pos_y, pos_x )) == NULL) 551 nlines = 2; 560 mvwaddstr(chan_w, nlines, 2, buffer); 563 nlines++; 570 mvwaddstr(chan_w, nlines, 2, buffer); 573 nlines++; 597 nlines [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/less/dist/ |
H A D | forwback.c | 135 int nlines = 0; local 234 nlines++; 282 if (nlines == 0) 300 int nlines = 0; local 324 nlines++; 333 if (nlines == 0)
|
/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdnd/ |
H A D | curses.c | 546 int nlines, ncols, pos_x, pos_y; local 572 nlines = cnt + 4; 577 nlines = 5; 586 if ((chan_w = newwin(nlines, ncols, pos_y, pos_x )) == NULL) 617 nlines = 2; 629 mvwaddstr(chan_w, nlines, 2, buffer); 632 nlines++; 657 nlines = ncols - '0'; 659 if ((nlines == 0) || (nlines > cn 688 int nlines, ncols, pos_x, pos_y; local 747 int nlines, ncols, pos_x, pos_y; local [all...] |
/netbsd-6-1-5-RELEASE/gnu/usr.bin/rcs/lib/ |
H A D | rcssyn.c | 551 * Store the command's line number and length into dc->line1 and dc->nlines. 560 long line1, nlines, t; local 607 nlines = 0; 610 LONG_MAX/10 < nlines || 611 (t = nlines * 10, (nlines = t + (c - '0')) < t) 618 if (c || !nlines) { 621 if (line1+nlines < line1) 635 dc->dafter = line1 + nlines; 644 dc->nlines [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/ |
H A D | commands.c | 258 unsigned int nlines, idx; 271 nlines = 5; 295 if (idx == nlines) 297 nlines += 2; 299 nlines * sizeof (char *)); 307 if (idx != nlines) 309 nlines = idx; 311 nlines * sizeof (char *)); 314 cmds->ncommand_lines = nlines; 318 cmds->lines_flags = (char *) xmalloc (nlines); 256 unsigned int nlines, idx; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/tui/ |
H A D | tui-source.c | 53 int i, desc, c, line_width, nlines; local 61 nlines = (line_no + (TUI_SRC_WIN->generic.height - 2)) - line_no; 79 if (line_no < 1 || line_no > s->nlines) 84 line_no, s->filename, s->nlines); 120 while (cur_line < nlines) 236 TUI_SRC_WIN->generic.content_size = nlines; 368 if (l.u.line_no > s->nlines) 369 /* line = s->nlines - win_info->generic.content_size + 1; */
|
/netbsd-6-1-5-RELEASE/distrib/utils/more/ |
H A D | prim.c | 360 int c, nlines; local 385 for (nlines = 1; nlines < n; nlines++) 390 nlines - 1);
|