| /freebsd-13.1/contrib/atf/atf-c/detail/ |
| H A D | sanity_test.c | 94 int nlines; in do_test() local 108 nlines = 0; in do_test() 109 while (nlines < 3 && (lines[nlines] = in do_test() 111 nlines++; in do_test() 112 ATF_REQUIRE(nlines == 0 || nlines == 3); in do_test() 147 while (nlines > 0) { in do_test() 148 nlines--; in do_test() 149 free(lines[nlines]); in do_test()
|
| /freebsd-13.1/contrib/less/ |
| H A D | forwback.c | 141 int nlines = 0; local 251 nlines++; 299 if (nlines == 0 && !ignore_eoi) 317 int nlines = 0; local 350 nlines++; 359 if (nlines == 0) 465 int nlines; in get_one_screen() local 468 for (nlines = 0; nlines < sc_height; nlines++) in get_one_screen() 473 return (nlines < sc_height); in get_one_screen()
|
| H A D | search.c | 1211 int nlines; local 1213 for (nlines = 0;; nlines++) 1218 if (nlines < sheight)
|
| /freebsd-13.1/contrib/nvi/vi/ |
| H A D | v_delete.c | 33 recno_t nlines; in v_delete() local 54 if (db_last(sp, &nlines)) in v_delete() 56 if (nlines == 0) { in v_delete() 69 if (db_get(sp, nlines, DBG_FATAL, NULL, &len)) in v_delete() 71 vp->m_final.lno = nlines; in v_delete()
|
| H A D | v_scroll.c | 68 recno_t nlines; in v_lgoto() local 77 if (db_last(sp, &nlines)) in v_lgoto() 79 if (nlines == 0) in v_lgoto() 87 if (db_last(sp, &nlines)) in v_lgoto() 89 vp->m_stop.lno = nlines ? nlines : 1; in v_lgoto()
|
| /freebsd-13.1/stand/libsa/ |
| H A D | pager.c | 48 int nlines; in pager_open() local 51 nlines = 24; /* sensible default */ in pager_open() 53 nlines = strtol(cp, &lp, 0); in pager_open() 56 p_maxlines = nlines - 1; in pager_open()
|
| /freebsd-13.1/contrib/mandoc/ |
| H A D | tag.c | 39 size_t nlines; member 177 entry->maxlines = entry->nlines = 0; in tag_put() 203 entry->nlines = 0; in tag_put() 208 if (entry->maxlines == entry->nlines) { in tag_put() 213 entry->lines[entry->nlines++] = line; in tag_put() 243 for (i = 0; i < entry->nlines; i++) { in tag_write()
|
| /freebsd-13.1/lib/libdpv/ |
| H A D | dialog_util.c | 347 unsigned int nlines = 1; in dialog_prompt_numlines() local 356 nlines++; in dialog_prompt_numlines() 360 nlines++; in dialog_prompt_numlines() 365 nlines++; in dialog_prompt_numlines() 368 nlines++; in dialog_prompt_numlines() 373 return (nlines); in dialog_prompt_numlines()
|
| H A D | dprompt.c | 397 int nlines = 0; in dprompt_add_files() local 461 nlines += dialog_prompt_numlines(name, nls); in dprompt_add_files() 661 while (nlines < fheight) { in dprompt_add_files() 663 nlines++; in dprompt_add_files()
|
| /freebsd-13.1/contrib/bc/src/ |
| H A D | bc_lex.c | 101 size_t len, nlines, i; in bc_lex_string() local 110 nlines = 0; in bc_lex_string() 118 for (i = l->i; (c = buf[i]) && c != '"'; ++i) nlines += (c == '\n'); in bc_lex_string() 136 l->line += nlines; in bc_lex_string()
|
| H A D | lex.c | 57 size_t i, nlines = 0; in bc_lex_comment() local 80 for (; (c = buf[i]) && c != '*'; ++i) nlines += (c == '\n'); in bc_lex_comment() 104 l->line += nlines; in bc_lex_comment()
|
| /freebsd-13.1/usr.bin/msgs/ |
| H A D | msgs.c | 136 static int nlines; variable 499 nlines = 2; in main() 502 nlines++; in main() 506 nlines++; in main() 511 nlines++; in main() 513 while (nlines < 6 in main() 517 nlines++; in main() 585 prmesg(nlines + lct + (seensubj? 1 : 0)); in main()
|
| /freebsd-13.1/usr.sbin/setfmac/ |
| H A D | setfmac.c | 237 size_t nlines = 0, linesize; in add_specs() local 249 nlines++; in add_specs() 256 spec->entries = calloc(nlines, sizeof(*spec->entries)); in add_specs() 259 spec->nentries = nlines; in add_specs() 260 while (nlines > 0) { in add_specs() 274 add_spec_line(file, is_sebsd, &spec->entries[--nlines], line); in add_specs()
|
| /freebsd-13.1/contrib/nvi/ex/ |
| H A D | ex_read.c | 50 recno_t nlines; in ex_read() local 265 rval = ex_readfp(sp, name, fp, &cmdp->addr1, &nlines, 0); in ex_read() 278 if (nlines) in ex_read() 281 sp->lno = cmdp->addr1.lno + nlines; in ex_read()
|
| H A D | ex_cscope.c | 676 int ch, i, isolder = 0, nlines; in parse() local 692 if (sscanf(buf, CSCOPE_NLINES_FMT, &nlines, dummy) == 2) in parse() 699 while (nlines--) { in parse()
|
| /freebsd-13.1/usr.bin/mail/ |
| H A D | cmd1.c | 296 int nlines, *ip; in type1() local 306 nlines = 0; in type1() 309 nlines += message[*ip - 1].m_lines; in type1() 311 if (page || nlines > (*cp ? atoi(cp) : realscreenheight)) { in type1()
|
| /freebsd-13.1/contrib/libedit/ |
| H A D | readline.c | 1213 history_truncate_file (const char *filename, int nlines) in history_truncate_file() argument 1282 if (--nlines == 0) { in history_truncate_file() 1291 if (nlines <= 0 || count == 0) in history_truncate_file() 1309 if (ret || nlines > 0) in history_truncate_file()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libcurses/slave/ |
| H A D | curses_commands.c | 619 int nlines; in cmd_insdelln() local 624 if (sscanf(args[0], "%d", &nlines) == 0) { in cmd_insdelln() 631 report_return(insdelln(nlines)); in cmd_insdelln() 700 int nlines; in cmd_scrl() local 705 if (sscanf(args[0], "%d", &nlines) == 0) { in cmd_scrl() 712 report_return(scrl(nlines)); in cmd_scrl()
|
| /freebsd-13.1/contrib/ncurses/form/ |
| H A D | frm_driver.c | 2006 VSC_Generic(FORM *form, int nlines) in VSC_Generic() argument 2010 int rows_to_go = (nlines > 0 ? nlines : -nlines); in VSC_Generic() 2012 if (nlines > 0) in VSC_Generic()
|
| /freebsd-13.1/contrib/libucl/ |
| H A D | README.md | 341 In this example `key` will be interpreted as the following string: `some text\nsplitted to\nlines`.
|
| /freebsd-13.1/contrib/ncurses/ |
| H A D | configure | 23945 NCursesPanel(int nlines, 23958 NCursesUserPanel (int nlines, 23963 : NCursesPanel (nlines, ncols, begin_y, begin_x)
|
| H A D | aclocal.m4 | 1541 NCursesPanel(int nlines, 1554 NCursesUserPanel (int nlines, 1559 : NCursesPanel (nlines, ncols, begin_y, begin_x)
|