| /freebsd-11-stable/tools/tools/whereintheworld/ |
| HD | whereintheworld.pl | 17 my @lines = (); 29 @lines = (); 42 @lines = (); 44 push(@lines, $line); 48 push(@lines, $line); 54 if (@lines && !$error) { 55 print shift(@lines); 56 while (@lines > $thresh) { 57 shift(@lines); 64 foreach $line (@lines) {
|
| /freebsd-11-stable/crypto/heimdal/lib/roken/ |
| HD | get_window_size.c | 61 get_window_size(int fd, int *lines, int *columns) in get_window_size() argument 71 if (lines) in get_window_size() 72 *lines = ws.ws_row; in get_window_size() 84 if (lines) in get_window_size() 85 *lines = ts.ws_lines; in get_window_size() 96 if (lines) in get_window_size() 97 *lines = dst[1]; in get_window_size() 110 if (lines) in get_window_size() 111 *lines = 1 + sb_info.srWindow.Bottom - sb_info.srWindow.Top; in get_window_size() 125 if (lines) { in get_window_size() [all …]
|
| /freebsd-11-stable/crypto/heimdal/lib/sl/ |
| HD | test_sl.c | 40 } lines[] = { variable 70 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++) { in main() 73 char *buf = strdup(lines[i].line); in main() 77 if (!lines[i].ok) in main() 80 } else if (!lines[i].ok) in main() 82 if (rargc != lines[i].argc) in main() 84 rargc, lines[i].argc, i); in main() 86 if (strcmp(rargv[j], lines[i].argv[j]) != 0) in main() 88 rargv[j], lines[i].argv[j], i); in main()
|
| /freebsd-11-stable/contrib/mdocml/ |
| HD | chars.c | 44 static struct ln lines[] = { variable 448 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++) { in mchars_alloc() 449 slot = ohash_qlookup(&mchars, lines[i].roffcode); in mchars_alloc() 451 ohash_insert(&mchars, slot, lines + i); in mchars_alloc() 507 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++) in mchars_uc2str() 508 if (uc == lines[i].unicode) in mchars_uc2str() 509 return lines[i].ascii; in mchars_uc2str()
|
| HD | tag.c | 34 size_t *lines; member 152 entry->lines = NULL; in tag_put() 181 entry->lines = mandoc_reallocarray(entry->lines, in tag_put() 182 entry->maxlines, sizeof(*entry->lines)); in tag_put() 184 entry->lines[entry->nlines++] = line; in tag_put() 208 entry->s, tag_files.ofn, entry->lines[i]); in tag_write() 209 free(entry->lines); in tag_write()
|
| /freebsd-11-stable/usr.bin/sed/tests/ |
| HD | regress.sh | 39 jot -w "l${n}_%d" 9 | tee lines.in.$n lines._in.$n | \ 40 sed "$expr" > lines.out.$n 45 sed "$expr" $_ins > lines.out 51 diff -u lines.out.$n lines.in.$n || rc=1 53 cat $_ins | diff -u lines.out - || rc=1 54 rm -f $ins $outs $_ins lines.out
|
| /freebsd-11-stable/contrib/atf/atf-c/detail/ |
| HD | sanity_test.c | 95 char *lines[3]; in do_test() local 109 while (nlines < 3 && (lines[nlines] = in do_test() 127 ATF_REQUIRE(atf_utils_grep_string("Invariant", lines[0])); in do_test() 131 ATF_REQUIRE(atf_utils_grep_string("Precondition", lines[0])); in do_test() 135 ATF_REQUIRE(atf_utils_grep_string("Postcondition", lines[0])); in do_test() 139 ATF_REQUIRE(atf_utils_grep_string("Invariant", lines[0])); in do_test() 143 ATF_REQUIRE(atf_utils_grep_string(__FILE__, lines[0])); in do_test() 144 ATF_REQUIRE(atf_utils_grep_string(PACKAGE_BUGREPORT, lines[2])); in do_test() 149 free(lines[nlines]); in do_test()
|
| /freebsd-11-stable/sys/dev/syscons/ |
| HD | schistory.c | 87 sc_alloc_history_buffer(scr_stat *scp, int lines, int prev_ysize, int wait) in sc_alloc_history_buffer() argument 101 if (lines <= 0) in sc_alloc_history_buffer() 102 lines = SC_HISTORY_SIZE; /* use the default value */ in sc_alloc_history_buffer() 105 lines = imax(lines, scp->ysize); in sc_alloc_history_buffer() 122 if (lines > min_lines) { in sc_alloc_history_buffer() 123 if (lines - min_lines > extra_history_size + delta) { in sc_alloc_history_buffer() 135 if (lines > min_lines) in sc_alloc_history_buffer() 136 extra_history_size -= lines - min_lines; in sc_alloc_history_buffer() 138 sc_vtb_init(history, VTB_RINGBUFFER, scp->xsize, lines, in sc_alloc_history_buffer() 165 int lines; in copy_history() local [all …]
|
| /freebsd-11-stable/tools/tools/iso/ |
| HD | check-iso3166.pl | 20 my @lines = <FIN>; 22 chomp(@lines); 24 foreach my $l (@lines) { 45 my @lines = <FIN>; 47 chomp(@lines); 50 foreach my $l (@lines) { 75 my @lines = <FIN>; 77 chomp(@lines); 80 foreach my $l (@lines) {
|
| HD | check-iso639.pl | 20 my @lines = <FIN>; 22 chomp(@lines); 24 foreach my $l (@lines) { 45 my @lines = <FIN>; 47 chomp(@lines); 49 foreach my $l (@lines) {
|
| /freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/ |
| HD | tst.temporal.ksh | 49 @lines = count(); 55 /* Bump @lines every time we print a line. */ 56 @lines = count(); 58 @lines = count(); 59 printa("99999999999999999 lines %@u\n", @lines); 64 @lines = count(); 102 echo $tst: incorrect number of lines output
|
| /freebsd-11-stable/usr.sbin/lpr/filters.ru/koi2855/ |
| HD | koi2855.c | 44 int lines; variable 84 lines = 0; in main() 96 lines++; in main() 98 lines = length; in main() 100 if (lines >= length) { in main() 101 lines = 0; in main()
|
| /freebsd-11-stable/usr.sbin/lpr/filters.ru/koi2alt/ |
| HD | koi2alt.c | 43 int lines; variable 85 lines = 0; in main() 97 lines++; in main() 99 lines = length; in main() 101 if (lines >= length) { in main() 102 lines = 0; in main()
|
| /freebsd-11-stable/tools/tools/locale/tools/ |
| HD | cldr2def.pl | 308 my @lines = <FIN>; 309 chomp(@lines); 312 foreach my $l (@lines) { 324 my @lines = <FIN>; 326 chomp(@lines); 331 foreach my $l (@lines) { 367 my @lines = <FIN>; 369 chomp(@lines); 370 foreach my $l (@lines) { 431 my @lines; [all …]
|
| HD | utf8-rollup.pl | 132 my @lines = <FIN>; 134 chomp(@lines); 139 foreach my $l (@lines) { 253 my @lines = initialize_lines ($territory); 266 push @lines, $_; 271 foreach my $line (@lines) { 363 my @lines = (); 367 push @lines, $_; 370 foreach my $line (@lines) {
|
| HD | UTF82encoding.pl | 12 my @lines = <FIN>; 13 chomp(@lines); 17 foreach my $line (@lines) { 31 @lines = <FIN>; 32 chomp(@lines); 35 foreach my $line (@lines) {
|
| HD | unicode2src.pl | 52 my @lines = <FIN>; 53 chomp(@lines); 56 foreach my $l (@lines) { 68 my @lines = <FIN>; 70 chomp(@lines); 75 foreach my $l (@lines) {
|
| /freebsd-11-stable/usr.bin/pr/ |
| HD | pr.c | 96 static int lines; /* number of lines per page */ variable 234 if (inskip(inf, pgnm, lines)) in onecol() 256 while (linecnt < lines) { in onecol() 297 if (linecnt && prtail(lines-linecnt-lrgln, lrgln)) in onecol() 361 if ((buf = malloc((unsigned)lines*mxlen*sizeof(char))) == NULL) { in vertcol() 380 mvc = lines * clcnt; in vertcol() 390 if ((lstdat = (char **)malloc((unsigned)lines*sizeof(char *))) == NULL){ in vertcol() 398 if ((indy = (int *)malloc((unsigned)lines*sizeof(int))) == NULL) { in vertcol() 402 if ((lindy = (int *)malloc((unsigned)lines*sizeof(int))) == NULL) { in vertcol() 415 for (j = 0; j < lines; ++j) { in vertcol() [all …]
|
| /freebsd-11-stable/usr.sbin/lpr/chkprintcap/ |
| HD | skimprintcap.c | 103 skinf->lines++; in skim_printcap() 179 " at line %d%s", skinf->lines - 1, in skim_printcap() 196 skinf->lines, skim_entryname); in skim_printcap() 212 " at line %d%s", skinf->lines, in skim_printcap() 229 skinf->lines, skim_entryname); in skim_printcap() 238 skinf->lines, skim_entryname); in skim_printcap() 258 skinf->lines, skinf->comments, skinf->entries, pcap_fname); in skim_printcap()
|
| /freebsd-11-stable/tests/sys/opencrypto/ |
| HD | cryptotest.py | 90 for bogusmode, lines in cryptodev.KATParser(fname, 92 for data in lines: 134 for mode, lines in cryptodev.KATParser(fname, 145 for data in lines: 161 for mode, lines in cryptodev.KATParser(fname, 173 for data in lines: 201 for mode, lines in cryptodev.KATParser(fname, 212 for data in lines: 242 for bogusmode, lines in cryptodev.KATParser(fname, 244 for data in lines:
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Core/ |
| HD | IOHandler.cpp | 407 StringList &lines, in IsInputCompleteCallback() argument 411 lines); in IsInputCompleteCallback() 415 const StringList &lines, in FixIndentationCallback() argument 420 *editline_reader, lines, cursor_position); in FixIndentationCallback() 483 bool IOHandlerEditline::GetLines(StringList &lines, bool &interrupted) { in GetLines() argument 484 m_current_lines_ptr = &lines; in GetLines() 489 return m_editline_up->GetLines(m_base_line_number, lines, interrupted); in GetLines() 501 m_base_line_number + (uint32_t)lines.GetSize(), in GetLines() 506 m_curr_line_idx = lines.GetSize(); in GetLines() 510 lines.AppendString(line); in GetLines() [all …]
|
| /freebsd-11-stable/crypto/openssh/regress/ |
| HD | yes-head.sh | 7 …lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | _POSIX2_VERSION… 10 lines = 0; 12 if [ $lines -ne 2000 ]; then 13 fail "yes|head returns $lines lines instead of 2000"
|
| /freebsd-11-stable/contrib/ncurses/progs/ |
| HD | clear.c | 62 (void) tputs(E3, lines > 0 ? lines : 1, putch); in main() 64 ExitProgram((tputs(clear_screen, lines > 0 ? lines : 1, putch) == ERR) in main()
|
| /freebsd-11-stable/usr.bin/gzip/ |
| HD | gzexe | 24 lines=19 35 lines=$lines 43 if /usr/bin/tail +$lines "$0" | 72 if ! tail +$lines "$tmp" | gzip -vdc > "$1"; then
|
| /freebsd-11-stable/contrib/byacc/test/btyacc/ |
| HD | btyacc_calc1.output | 1 0 $accept : lines $end 3 1 lines : 4 2 | lines line '\n' 5 3 | lines error '\n' 36 $accept : . lines $end (0) 37 lines : . (1) 41 lines goto 1 45 $accept : lines . $end (0) 46 lines : lines . line '\n' (2) 47 lines : lines . error '\n' (3) [all …]
|