| /freebsd-10-stable/contrib/texinfo/info/ |
| D | nodemenu.c | 91 int lines = 1; in format_node_info() local 95 lines++; in format_node_info() 97 sprintf (line_buffer + len, "%d", lines); in format_node_info() 135 char **lines = (char **)NULL; in get_visited_nodes() local 158 (line, lines_index, lines, lines_slots, 20, char *); in get_visited_nodes() 164 if (lines) in get_visited_nodes() 169 qsort (lines, lines_index, sizeof (char *), compare_strings); in get_visited_nodes() 176 if (FILENAME_CMP (lines[i], lines[i + 1]) == 0) in get_visited_nodes() 178 free (lines[i]); in get_visited_nodes() 179 lines[i] = (char *)NULL; in get_visited_nodes() [all …]
|
| /freebsd-10-stable/tools/tools/whereintheworld/ |
| 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); 64 foreach $line (@lines) {
|
| /freebsd-10-stable/crypto/heimdal/lib/roken/ |
| 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 …]
|
| /freebsd-10-stable/crypto/heimdal/lib/sl/ |
| 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()
|
| /freebsd-10-stable/contrib/texinfo/util/ |
| D | install-info.c | 857 parse_input (const struct line_data *lines, int nlines, in parse_input() argument 882 && !strncmp ("INFO-DIR-SECTION ", lines[i].start, prefix_length)) in parse_input() 886 next->name = copy_string (lines[i].start + prefix_length, in parse_input() 887 lines[i].size - prefix_length); in parse_input() 902 if (!strncmp ("START-INFO-DIR-ENTRY", lines[i].start, lines[i].size) in parse_input() 903 && sizeof ("START-INFO-DIR-ENTRY") - 1 == lines[i].size) in parse_input() 923 start_of_this_entry = lines[i + 1].start; in parse_input() 927 if ((!strncmp ("* ", lines[i].start, 2) in parse_input() 928 && lines[i].start > start_of_this_entry) in parse_input() 930 lines[i].start, lines[i].size) in parse_input() [all …]
|
| /freebsd-10-stable/contrib/nvi/docs/ |
| D | help | 21 J - join two lines (use i<Enter><escape> to split a line) 30 ^E scroll down by lines 34 ^J move down by lines 36 ^M move down by lines (to first non-blank) 37 ^N move down by lines 38 ^P move up by lines 44 ^Y page up by lines 59 + move down by lines (to first non-blank) 61 - move up by lines (to first non-blank) 67 < shift lines left to motion [all …]
|
| /freebsd-10-stable/usr.bin/sed/tests/ |
| D | 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-10-stable/contrib/atf/atf-c/detail/ |
| 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()
|
| /freebsd-10-stable/usr.sbin/lpr/filters.ru/koi2855/ |
| 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()
|
| /freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/ |
| 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-10-stable/usr.sbin/lpr/filters.ru/koi2alt/ |
| 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()
|
| /freebsd-10-stable/tools/tools/iso/ |
| 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) {
|
| 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) {
|
| /freebsd-10-stable/sys/dev/syscons/ |
| D | 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-10-stable/contrib/llvm/tools/lldb/source/Host/common/ |
| D | Editline.cpp | 281 Editline::GetLines(const std::string &end_line, StringList &lines) in GetLines() argument 305 lines.Clear(); in GetLines() 313 if (line_idx >= lines.GetSize()) in GetLines() 314 lines.SetSize(m_lines_curr_line); in GetLines() 315 m_lines_max_line = lines.GetSize(); in GetLines() 318 std::string &line = lines[line_idx]; in GetLines() 332 lines, in GetLines() 348 if (line_idx+1 < lines.GetSize() && !lines[line_idx+1].empty()) in GetLines() 350 const_cast<char*>(lines[line_idx+1].c_str())); in GetLines() 365 if (!lines[line_idx-1].empty()) in GetLines() [all …]
|
| /freebsd-10-stable/usr.bin/pr/ |
| D | 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-10-stable/usr.sbin/lpr/chkprintcap/ |
| D | skimprintcap.c | 101 skinf->lines++; in skim_printcap() 177 " at line %d%s", skinf->lines - 1, in skim_printcap() 194 skinf->lines, skim_entryname); in skim_printcap() 210 " at line %d%s", skinf->lines, in skim_printcap() 227 skinf->lines, skim_entryname); in skim_printcap() 236 skinf->lines, skim_entryname); in skim_printcap() 256 skinf->lines, skinf->comments, skinf->entries, pcap_fname); in skim_printcap()
|
| /freebsd-10-stable/crypto/openssh/regress/ |
| D | 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-10-stable/contrib/ofed/management/infiniband-diags/scripts/ |
| D | check_lft_balance.pl | 83 my @lines; 94 @lines = split("\n", $iblinkinfo_output); 95 foreach $line (@lines) { 113 my @lines; 130 @lines = split("\n", $iblinkinfo_output); 131 foreach $line (@lines) {
|
| /freebsd-10-stable/usr.bin/gzip/ |
| D | gzexe | 24 lines=19 35 lines=$lines 43 if /usr/bin/tail +$lines "$0" | 72 if ! tail +$lines "$tmp" | gzip -vdc > "$1"; then
|
| /freebsd-10-stable/contrib/nvi/docs/internals/ |
| D | openmode | 9 Write lines from the edit buffer starting at: 17 lines, or the last line in the edit buffer has been written. A 21 lines shall count against the total number of lines to be written. 26 ^D: Display the next scroll value lines, change the current line.
|
| /freebsd-10-stable/contrib/ntp/sntp/unity/auto/ |
| D | unity_test_summary.py | 31 lines = list(map(lambda line: line.rstrip(), open(result_file, "r").read().split('\n'))) 32 if len(lines) == 0: 35 details = self.get_details(result_file, lines) 40 tests,failures,ignored = self.parse_test_summary('\n'.join(lines)) 85 def get_details(self, result_file, lines): argument 87 for line in lines:
|
| /freebsd-10-stable/contrib/gcclibs/libcpp/ |
| D | directives-only.c | 45 int lines, col; in _cpp_preprocess_dir_only() local 62 lines = 0; in _cpp_preprocess_dir_only() 79 lines++; in _cpp_preprocess_dir_only() 94 cb->print_lines (lines, base, next_line - base); in _cpp_preprocess_dir_only() 195 lines++; in _cpp_preprocess_dir_only() 224 cb->print_lines (lines, base, cur - base); in _cpp_preprocess_dir_only()
|
| /freebsd-10-stable/contrib/byacc/test/btyacc/ |
| D | 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 …]
|
| /freebsd-10-stable/cddl/contrib/dtracetoolkit/Bin/ |
| D | js_stat.d | 51 lines = SCREEN + 1; 68 /first || (secs == 0 && lines > SCREEN)/ 72 lines = 0; 109 lines++;
|