/freebsd/contrib/libdiff/test/ |
H A D | expect019.diff | 17 + (*line_offsets)[*nlines] = off; 18 + (*nlines)++; 23 +diff_blobs(off_t **line_offsets, size_t *nlines, 36 + if (line_offsets && *line_offsets && *nlines > 0) 37 + outoff = (*line_offsets)[*nlines - 1]; 56 + err = add_line_offset(line_offsets, nlines, outoff); 96 + return diff_blobs(&a->line_offsets, &a->nlines, NULL, 103 +got_diff_blob(off_t **line_offsets, size_t *nlines, 169 + arg.nlines = *nlines; 172 + arg.nlines = 0; [all …]
|
H A D | test019.right.txt | 51 (*line_offsets)[*nlines] = off; 52 (*nlines)++; 57 diff_blobs(off_t **line_offsets, size_t *nlines, 73 if (line_offsets && *line_offsets && *nlines > 0) 74 outoff = (*line_offsets)[*nlines - 1]; 147 err = add_line_offset(line_offsets, nlines, outoff); 205 return diff_blobs(&a->line_offsets, &a->nlines, NULL, 211 got_diff_blob(off_t **line_offsets, size_t *nlines, 808 arg.nlines = *nlines; 811 arg.nlines = 0; [all …]
|
H A D | test020.right.txt | 51 (*line_offsets)[*nlines] = off; 52 (*nlines)++; 57 diff_blobs(off_t **line_offsets, size_t *nlines, 73 if (line_offsets && *line_offsets && *nlines > 0) 74 outoff = (*line_offsets)[*nlines - 1]; 147 err = add_line_offset(line_offsets, nlines, outoff); 205 return diff_blobs(&a->line_offsets, &a->nlines, NULL, 211 got_diff_blob(off_t **line_offsets, size_t *nlines, 839 arg.nlines = *nlines; 842 arg.nlines = 0; [all …]
|
/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 | 217 int nlines = 0; in forw() local 326 nlines++; in forw() 387 if (nlines == 0 && !ignore_eoi) in forw() 405 int nlines = 0; in back() local 438 nlines++; in back() 446 if (nlines == 0) in back() 545 int nlines; in get_one_screen() local 548 for (nlines = 0; nlines < sc_height; nlines++) in get_one_screen() 553 return (nlines < sc_height); in get_one_screen()
|
H A D | search.c | 1140 int nlines; in get_lastlinepos() local 1142 for (nlines = 0;; nlines++) in get_lastlinepos() 1147 if (nlines < sheight) in get_lastlinepos()
|
/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() 124 nlines += (c == '\n'); in bc_lex_string() 146 l->line += nlines; in bc_lex_string()
|
H A D | lex.c | 65 size_t i, nlines = 0; in bc_lex_comment() local 90 nlines += (c == '\n'); in bc_lex_comment() 119 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 | 522 nlines = split(distance_table, line, /\n/) 523 for (nr = 1; nr <= nlines; nr++) { 541 nlines = split(distance_table, line, /\n/) 542 for (nr = 1; nr <= nlines; nr++) {
|
/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)
|