Searched refs:nlines (Results 1 - 25 of 52) sorted by relevance

123

/netbsd-6-1-5-RELEASE/usr.bin/tset/
H A Dextern.h35 extern int ncolumns, isreset, nlines;
H A Dtset.c57 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 Dresize.c52 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 Dinsdelln.c56 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 Dscroll.c61 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 Dnewwin.c47 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 Dtstp.c258 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 Dshuffle.c109 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 Dv_delete.c39 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 Dv_scroll.c74 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 Dsanity_test.c113 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 Dsanity_test.c115 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 Dpager.c51 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 Dhelp.c50 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 Dwindows-termcap.c54 tputs (char *string, int nlines, int (*outfun) ()) argument
H A Ddisasm.c195 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 Dtrace.c128 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 Dtrace.c114 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 Dcurses.c483 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 Dforwback.c135 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 Dcurses.c546 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 Drcssyn.c551 * 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 Dcommands.c258 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 Dtui-source.c53 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 Dprim.c360 int c, nlines; local
385 for (nlines = 1; nlines < n; nlines++)
390 nlines - 1);

Completed in 306 milliseconds

123