/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/callbacks/ |
H A D | zfs_dmesg.ksh | 19 # $1: number of lines to output (default: 200) 20 typeset lines=${1:-200} 23 echo " Tailing last $lines lines of dmesg log" 26 sudo dmesg | tail -n $lines
|
H A D | zfs_dbgmsg.ksh | 18 # $1: number of lines to output (default: 200) 19 typeset lines=${1:-200} 22 echo " Tailing last $lines lines of zfs_dbgmsg log" 25 sudo tail -n $lines /proc/spl/kstat/zfs/dbgmsg
|
H A D | zfs_mmp.ksh | 19 # $1: number of lines to output (default: 40) 20 typeset lines=${1:-40} 29 echo " Last $lines lines of $f" 32 sudo tail -n $lines $f
|
/freebsd-13-stable/crypto/openssh/regress/ |
H A D | yes-head.sh | 6 lines=`${SSH} -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | _POSIX2_VERSION=199209 head -2000"' | (sleep 3 ; wc -l)` 9 lines = 0; 11 if [ $lines -ne 2000 ]; then 12 fail "yes|head returns $lines lines instead of 2000"
|
H A D | keygen-moduli.sh | 8 # file has 3 lines, these should always result in 1 line of output. 14 lines=`wc -l <$OBJ/moduli.out` 15 test "$lines" -eq "1" || fail "expected 1 line, got $lines"
|
/freebsd-13-stable/tools/tools/whereintheworld/ |
H A D | 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); 61 print "[$elided lines elide [all...] |
/freebsd-13-stable/contrib/ncurses/progs/ |
H A D | clear_cmd.c | 52 int retval = tputs(clear_screen, lines > 0 ? lines : 1, putch); 57 (void) tputs(E3, lines > 0 ? lines : 1, putch);
|
/freebsd-13-stable/crypto/heimdal/lib/sl/ |
H A D | test_sl.c | 40 } lines[] = { variable in typeref:struct:__anon6837 70 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++) { 73 char *buf = strdup(lines[i].line); 77 if (!lines[i].ok) 80 } else if (!lines[i].ok) 82 if (rargc != lines[i].argc) 84 rargc, lines[i].argc, i); 86 if (strcmp(rargv[j], lines[i].argv[j]) != 0) 88 rargv[j], lines[ [all...] |
/freebsd-13-stable/usr.sbin/lpr/chkprintcap/ |
H A D | skimprintcap.h | 42 int lines; member in struct:skiminfo
|
/freebsd-13-stable/crypto/heimdal/lib/roken/ |
H A D | get_window_size.c | 61 get_window_size(int fd, int *lines, int *columns) argument 71 if (lines) 72 *lines = ws.ws_row; 84 if (lines) 85 *lines = ts.ws_lines; 96 if (lines) 97 *lines = dst[1]; 110 if (lines) 111 *lines = 1 + sb_info.srWindow.Bottom - sb_info.srWindow.Top; 125 if (lines) { [all...] |
/freebsd-13-stable/usr.sbin/lpr/filters.ru/koi2alt/ |
H A D | koi2alt.c | 43 int lines; variable 85 lines = 0; 97 lines++; 99 lines = length; 101 if (lines >= length) { 102 lines = 0;
|
/freebsd-13-stable/contrib/ntp/scripts/build/ |
H A D | checkHtmlFileDates | 9 lines=$1 10 case "$lines" in
|
/freebsd-13-stable/tools/tools/iso/ |
H A D | 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) {
|
H A D | 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) {
|
/freebsd-13-stable/usr.bin/sed/tests/ |
H A D | regress.sh | 39 jot -w "l${n}_%d" 9 | tee lines.in.$n lines._in.$n | \ 40 sed "$expr" > lines.out.$n 41 ins="$ins lines.in.$n" 42 outs="$outs lines.out.$n" 43 _ins="$_ins lines._in.$n" 45 sed "$expr" $_ins > lines.out 51 diff -u lines.out.$n lines.in.$n || rc=1 53 cat $_ins | diff -u lines [all...] |
/freebsd-13-stable/tools/tools/locale/tools/ |
H A D | mkwidths.pl | 67 my @lines = <FIN>; 69 chomp(@lines); 72 foreach my $l (@lines) { 115 my @lines = <STDIN>; 116 chomp(@lines); 118 foreach my $l (@lines) {
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/ |
H A D | 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-13-stable/contrib/bmake/unit-tests/ |
H A D | directive-for-lines.mk | 1 # $NetBSD: directive-for-lines.mk,v 1.3 2020/12/19 12:40:00 rillig Exp $ 8 # lines, even when collecting the lines for the .for loop body.
|
H A D | job-output-long-lines.mk | 1 # $NetBSD: job-output-long-lines.mk,v 1.4 2020/11/01 17:29:13 rillig Exp $ 3 # The jobs may produce long lines of output. A practical case are the echoed 4 # command lines from compiler invocations, with their many -D options. 6 # Each of these lines must be written atomically to the actual output. 11 # output lines that are longer than this buffer size, these output pieces are
|
/freebsd-13-stable/tools/tools/epfe/ |
H A D | epfe.pl | 15 local($name, *lines) = @_; 17 print F @lines;
|
/freebsd-13-stable/contrib/googletest/googlemock/scripts/generator/cpp/ |
H A D | gmock_class.py | 128 lines = [] 139 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # } 140 lines.append('') 151 lines.append('template <' + ', '.join(template_decls) + '>') 155 lines.append('class Mock%s : public %s {' # } 157 lines.append('%spublic:' % (' ' * (_INDENT // 2))) 160 _GenerateMethods(lines, source, class_node) 163 if lines: 165 if len(lines) == 2: 166 del lines[ [all...] |
/freebsd-13-stable/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | table.py | 28 __slots__ = "fields", "rjustfields", "maxfieldlen", "lines" 36 self.lines = list() 49 self.lines.append((sortkey, va)) 56 self.lines.sort() 57 for (k, va) in self.lines:
|
/freebsd-13-stable/contrib/kyua/utils/cmdline/ |
H A D | ui.cpp | 174 const std::vector< std::string > lines = text::refill( local 176 for (std::vector< std::string >::const_iterator iter = lines.begin(); 177 iter != lines.end(); iter++) 193 /// text of all lines to match the width of the tag on the first line. 200 const std::vector< std::string > lines = text::refill( local 202 for (std::vector< std::string >::const_iterator iter = lines.begin(); 203 iter != lines.end(); iter++) { 204 if (repeat || iter == lines.begin()) 220 /// \param prefix Text to prepend to all the lines of the output table. 233 const std::vector< std::string > lines local [all...] |
/freebsd-13-stable/usr.bin/gzip/ |
H A D | gzexe | 23 # The number of lines plus one in the on-the-fly decompression script 24 lines=19 35 lines=$lines 43 if /usr/bin/tail +$lines "$0" | 72 if ! tail +$lines "$tmp" | gzip -vdc > "$1"; then
|
/freebsd-13-stable/contrib/atf/atf-c/detail/ |
H A D | sanity_test.c | 95 char *lines[3]; local 109 while (nlines < 3 && (lines[nlines] = 127 ATF_REQUIRE(atf_utils_grep_string("Invariant", lines[0])); 131 ATF_REQUIRE(atf_utils_grep_string("Precondition", lines[0])); 135 ATF_REQUIRE(atf_utils_grep_string("Postcondition", lines[0])); 139 ATF_REQUIRE(atf_utils_grep_string("Invariant", lines[0])); 143 ATF_REQUIRE(atf_utils_grep_string(__FILE__, lines[0])); 144 ATF_REQUIRE(atf_utils_grep_string(PACKAGE_BUGREPORT, lines[2])); 149 free(lines[nlines]);
|