| /src/usr.bin/diff3/tests/ |
| H A D | long-y.txt | 2 These lines are the same in all three files 3 These lines are the same in all three files 5 These lines are the same in all three files 6 These lines are the same in all three files 7 These lines are the same in all three files 9 These lines are the same in all three files 10 These lines are the same in all three files 12 These lines are the same in all three files 13 These lines are the same in all three files 14 These lines are the same in all three files [all …]
|
| H A D | long-m.txt | 2 These lines are the same in all three files 3 These lines are the same in all three files 5 These lines are the same in all three files 6 These lines are the same in all three files 7 These lines are the same in all three files 9 These lines are the same in all three files 10 These lines are the same in all three files 12 These lines are the same in all three files 13 These lines are the same in all three files 14 These lines are the same in all three files [all …]
|
| H A D | long-o.txt | 2 These lines are the same in all three files 3 These lines are the same in all three files 5 These lines are the same in all three files 6 These lines are the same in all three files 7 These lines are the same in all three files 9 These lines are the same in all three files 10 These lines are the same in all three files 12 These lines are the same in all three files 13 These lines are the same in all three files 14 These lines are the same in all three files [all …]
|
| H A D | long-merge.out | 2 These lines are the same in all three files 3 These lines are the same in all three files 5 These lines are the same in all three files 6 These lines are the same in all three files 7 These lines are the same in all three files 9 These lines are the same in all three files 10 These lines are the same in all three files 16 These lines are the same in all three files 17 These lines are the same in all three files 18 These lines are the same in all three files [all …]
|
| /src/stand/lua/ |
| H A D | cli.lua | 178 local lines = {} 181 if #lines > 0 then 182 lines[#lines + 1] = "" 185 lines[#lines + 1] = "Name: " .. module 187 lines[#lines + 1] = "Path: " .. info.name 191 lines[#lines + 1] = "Type: " .. info.type 195 lines[#lines + 1] = "Flags: " .. info.flags 199 lines[#lines + 1] = "Before load: " .. info.before 203 lines[#lines + 1] = "After load: " .. info.after 207 lines[#lines + 1] = "Error: " .. info.error [all …]
|
| /src/crypto/krb5/src/util/ |
| H A D | cstyle-file.py | 66 def emacs_reindent(lines): argument 67 if 'c-basic-offset: 4; indent-tabs-mode: nil' not in lines[0]: 74 f.write(''.join(lines)) 113 def check_comment(lines, ln): argument 114 align = lines[0].index('/*') + 1 115 if not lines[0].lstrip().startswith('/*'): 117 for line in lines[1:]: 123 if not lines[-1].rstrip().endswith('*/'): 125 if len(lines) > 2 and (lines[0].strip() not in ('/*', '/**') or 126 lines[-1].strip() != '*/'): [all …]
|
| /src/tools/tools/whereintheworld/ |
| H A D | whereintheworld.pl | 16 my @lines = (); 28 @lines = (); 41 @lines = (); 43 push(@lines, $line); 47 push(@lines, $line); 53 if (@lines && !$error) { 54 print shift(@lines); 55 while (@lines > $thresh) { 56 shift(@lines); 63 foreach $line (@lines) {
|
| /src/crypto/heimdal/lib/roken/ |
| H A D | 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 …]
|
| /src/crypto/heimdal/lib/sl/ |
| H A D | 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()
|
| /src/contrib/pam-krb5/tests/fakepam/ |
| H A D | logging.c | 66 output->lines = bmalloc(sizeof(output->lines[0])); in output_new() 67 output->lines[0].line = NULL; in output_new() 84 size = sizeof(output->lines[0]); in output_add() 85 output->lines = breallocarray(output->lines, n, size); in output_add() 88 output->lines[next].priority = priority; in output_add() 89 output->lines[next].line = bstrdup(string); in output_add() 179 if (output->lines[i].line != NULL) in pam_output_free() 180 free(output->lines[i].line); in pam_output_free() 181 free(output->lines); in pam_output_free()
|
| /src/contrib/libdiff/test/ |
| H A D | expect.results_test | 4 [0] same lines L2 R2 @L 0 @R 0 5 [1] minus lines L3 R0 @L 2 @R 2 6 [2] plus lines L0 R3 @L 5 @R 2 7 [3] same lines L2 R2 @L 5 @R 5 10 [0] same lines L2 R2 @L 0 @R 0 11 [1] minus lines L3 R0 @L 2 @R 2 12 [2] plus lines L0 R3 @L 5 @R 2 13 [3] same lines L2 R2 @L 5 @R 5
|
| /src/contrib/mandoc/ |
| H A D | chars.c | 46 static struct ln lines[] = { variable 445 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++) { in mchars_alloc() 446 slot = ohash_qlookup(&mchars, lines[i].roffcode); in mchars_alloc() 448 ohash_insert(&mchars, slot, lines + i); in mchars_alloc() 502 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++) in mchars_uc2str() 503 if (uc == lines[i].unicode) in mchars_uc2str() 504 return lines[i].ascii; in mchars_uc2str()
|
| /src/crypto/openssl/test/recipes/ |
| H A D | 15-test_gendhparam.t | 143 my @lines; 145 @lines = run(app(['openssl', 'genpkey', '-genparam', 150 @lines = run(app(['openssl', 'genpkey', '-genparam', 154 ok(compareline(\@lines, \@expected), $msg); 160 my @lines = @$ref_lines; 163 if (@lines == 0 and $expected[0] eq 'ERROR') { 167 foreach (@lines) { 172 if ( !grep { index($_, $ex) >= 0 } @lines) {
|
| H A D | 25-test_crl.t | 56 my @lines = run(app($cmdarray), capture => 1); 58 return 1 if $lines[0] =~ m|^\Q${str}\E\R$|; 59 note "Got ", $lines[0]; 66 my @lines = run(app($cmdarray, stdin => $infile), capture => 1); 68 return 1 if $lines[0] =~ m|^\Q${str}\E\R$|; 69 note "Got ", $lines[0];
|
| /src/usr.bin/sed/tests/ |
| H A D | regress.sh | 38 jot -w "l${n}_%d" 9 | tee lines.in.$n lines._in.$n | \ 39 sed "$expr" > lines.out.$n 44 sed "$expr" $_ins > lines.out 50 diff -u lines.out.$n lines.in.$n || rc=1 52 cat $_ins | diff -u lines.out - || rc=1 53 rm -f $ins $outs $_ins lines.out
|
| /src/usr.bin/column/tests/ |
| H A D | column.sh | 27 it has multiple lines 32 some lines 41 lines 46 this is the first input file are empty lines 47 it has multiple lines third of the input files am i than before 49 some lines more 66 it has multiple lines 71 some lines 80 lines 85 this is the first input file it has multiple lines here lies the second input file [all …]
|
| /src/contrib/kyua/utils/text/ |
| H A D | operations_test.cpp | 57 const std::vector< std::string > lines = text::split(expected, '\n'); in refill_test() local 60 ATF_REQUIRE(lines == text::refill(input, width)); in refill_test() 218 std::vector< std::string > lines; in ATF_TEST_CASE_BODY() local 219 ATF_REQUIRE_EQ("", text::join(lines, " ")); in ATF_TEST_CASE_BODY() 226 std::vector< std::string > lines; in ATF_TEST_CASE_BODY() local 227 lines.push_back("first line"); in ATF_TEST_CASE_BODY() 228 ATF_REQUIRE_EQ("first line", text::join(lines, "*")); in ATF_TEST_CASE_BODY() 235 std::vector< std::string > lines; in ATF_TEST_CASE_BODY() local 236 lines.push_back("first abc"); in ATF_TEST_CASE_BODY() 237 lines.push_back("second"); in ATF_TEST_CASE_BODY() [all …]
|
| /src/contrib/atf/atf-c/detail/ |
| H A D | 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()
|
| /src/usr.sbin/lpr/filters.ru/koi2alt/ |
| H A D | koi2alt.c | 41 int lines; variable 83 lines = 0; in main() 95 lines++; in main() 97 lines = length; in main() 99 if (lines >= length) { in main() 100 lines = 0; in main()
|
| /src/usr.sbin/lpr/filters.ru/koi2855/ |
| H A D | koi2855.c | 42 int lines; variable 82 lines = 0; in main() 94 lines++; in main() 96 lines = length; in main() 98 if (lines >= length) { in main() 99 lines = 0; in main()
|
| /src/sys/dev/syscons/ |
| H A D | schistory.c | 86 sc_alloc_history_buffer(scr_stat *scp, int lines, int prev_ysize, int wait) in sc_alloc_history_buffer() argument 100 if (lines <= 0) in sc_alloc_history_buffer() 101 lines = SC_HISTORY_SIZE; /* use the default value */ in sc_alloc_history_buffer() 104 lines = imax(lines, scp->ysize); in sc_alloc_history_buffer() 121 if (lines > min_lines) { in sc_alloc_history_buffer() 122 if (lines - min_lines > extra_history_size + delta) { in sc_alloc_history_buffer() 134 if (lines > min_lines) in sc_alloc_history_buffer() 135 extra_history_size -= lines - min_lines; in sc_alloc_history_buffer() 137 sc_vtb_init(history, VTB_RINGBUFFER, scp->xsize, lines, in sc_alloc_history_buffer() 164 int lines; in copy_history() local [all …]
|
| /src/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
|
| /src/tools/tools/iso/ |
| H A D | check-iso3166.pl | 19 my @lines = <FIN>; 21 chomp(@lines); 23 foreach my $l (@lines) { 44 my @lines = <FIN>; 46 chomp(@lines); 49 foreach my $l (@lines) { 74 my @lines = <FIN>; 76 chomp(@lines); 79 foreach my $l (@lines) {
|
| /src/contrib/kyua/utils/cmdline/ |
| H A D | ui.cpp | 174 const std::vector< std::string > lines = text::refill( in out_wrap() local 176 for (std::vector< std::string >::const_iterator iter = lines.begin(); in out_wrap() 177 iter != lines.end(); iter++) in out_wrap() 200 const std::vector< std::string > lines = text::refill( in out_tag_wrap() local 202 for (std::vector< std::string >::const_iterator iter = lines.begin(); in out_tag_wrap() 203 iter != lines.end(); iter++) { in out_tag_wrap() 204 if (repeat || iter == lines.begin()) in out_tag_wrap() 233 const std::vector< std::string > lines = formatter.format(table); in out_table() local 234 for (std::vector< std::string >::const_iterator iter = lines.begin(); in out_table() 235 iter != lines.end(); ++iter) in out_table()
|
| /src/tools/tools/locale/tools/ |
| H A D | mkwidths.pl | 66 my @lines = <FIN>; 68 chomp(@lines); 71 foreach my $l (@lines) { 114 my @lines = <STDIN>; 115 chomp(@lines); 117 foreach my $l (@lines) {
|