/freebsd/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/contrib/less/ |
H A D | forwback.c | 218 int nlines = 0; in forw() 329 nlines++; in forw() 377 if (nlines == 0 && !ignore_eoi) in forw() 395 int nlines = 0; in forw() 434 nlines++; in back() 442 if (nlines == 0) in back() 541 int nlines; 544 for (nlines = 0; nlines < sc_height; nlines in get_one_screen() 217 int nlines = 0; forw() local 405 int nlines = 0; back() local 545 int nlines; get_one_screen() local [all...] |
H A D | search.c | 1232 int nlines; in search_range() 1234 for (nlines = 0;; nlines++) in search_range() 1239 if (nlines < sheight) in search_range() 1140 int nlines; get_lastlinepos() local
|
/freebsd/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/stand/libsa/ |
H A D | pager.c | 45 int nlines; in pager_open() local 48 nlines = 24; /* sensible default */ in pager_open() 50 nlines = strtol(cp, &lp, 0); in pager_open() 53 p_maxlines = nlines - 1; in pager_open()
|
/freebsd/lib/libdpv/ |
H A D | dialog_util.c | 345 unsigned int nlines = 1; in dialog_prompt_numlines() local 354 nlines++; in dialog_prompt_numlines() 358 nlines++; in dialog_prompt_numlines() 363 nlines++; in dialog_prompt_numlines() 366 nlines++; in dialog_prompt_numlines() 371 return (nlines); in dialog_prompt_numlines()
|
H A D | dprompt.c | 394 int nlines = 0; in dprompt_add_files() local 458 nlines += dialog_prompt_numlines(name, nls); in dprompt_add_files() 658 while (nlines < fheight) { in dprompt_add_files() 660 nlines++; in dprompt_add_files()
|
/freebsd/usr.bin/msgs/ |
H A D | msgs.c | 118 static int nlines; variable 481 nlines = 2; in main() 484 nlines++; in main() 488 nlines++; in main() 493 nlines++; in main() 495 while (nlines < 6 in main() 499 nlines++; in main() 567 prmesg(nlines + lct + (seensubj? 1 : 0)); in main()
|
/freebsd/contrib/bc/src/ |
H A D | bc_lex.c | 105 size_t len, nlines, i; in bc_lex_string() local 114 nlines = 0; in bc_lex_string() 126 nlines += (c == '\n'); in bc_lex_string() 148 l->line += nlines; in bc_lex_string()
|
H A D | lex.c | 65 size_t i, nlines = 0; in bc_lex_comment() local 92 nlines += (c == '\n'); in bc_lex_comment() 123 l->line += nlines; in bc_lex_comment()
|
/freebsd/usr.sbin/setfmac/ |
H A D | setfmac.c | 235 size_t nlines = 0, linesize; in add_specs() local 247 nlines++; in add_specs() 254 spec->entries = calloc(nlines, sizeof(*spec->entries)); in add_specs() 257 spec->nentries = nlines; in add_specs() 258 while (nlines > 0) { in add_specs() 272 add_spec_line(file, is_sebsd, &spec->entries[--nlines], line); in add_specs()
|
/freebsd/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/contrib/tzcode/ |
H A D | tzselect.ksh | 206 nlines = split(TZ_ZONE_TABLE, line, /\n/) 207 for (iline = 1; iline <= nlines; iline++) { 235 nlines = split(TZ_COUNTRY_TABLE, line, /\n/) 236 for (i = 1; i <= nlines; i++) { 264 nlines = split(TZ_COUNTRY_TABLE, line, /\n/) 265 for (i = 1; i <= nlines; i++) { 332 nlines = split(TZ_ZONE_TABLE, line, /\n/) 333 for (h = 1; h <= nlines; h++) { 407 nlines = split(TZ_ZONETABTYPE_TABLE, line, /\n/) 408 for (i = 1; i <= nlines; [all...] |
/freebsd/usr.bin/mail/ |
H A D | cmd1.c | 288 int nlines, *ip; in type1() local 298 nlines = 0; in type1() 301 nlines += message[*ip - 1].m_lines; in type1() 303 if (page || nlines > (*cp ? atoi(cp) : realscreenheight)) { in type1()
|
/freebsd/contrib/libedit/ |
H A D | readline.c | 1281 history_truncate_file (const char *filename, int nlines) in history_truncate_file() argument 1350 if (--nlines == 0) { in history_truncate_file() 1359 if (nlines <= 0 || count == 0) in history_truncate_file() 1377 if (ret || nlines > 0) in history_truncate_file()
|
/freebsd/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/contrib/ncurses/form/ |
H A D | frm_driver.c | 2010 VSC_Generic(FORM *form, int nlines) in VSC_Generic() argument 2014 int rows_to_go = (nlines > 0 ? nlines : -nlines); in VSC_Generic() 2016 if (nlines > 0) in VSC_Generic()
|
/freebsd/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/contrib/ncurses/ |
H A D | configure | 26864 NCursesPanel(int nlines, 26877 NCursesUserPanel (int nlines, 26882 : NCursesPanel (nlines, ncols, begin_y, begin_x)
|
H A D | aclocal.m4 | 1838 NCursesPanel(int nlines, 1851 NCursesUserPanel (int nlines, 1856 : NCursesPanel (nlines, ncols, begin_y, begin_x)
|