Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 881) sorted by relevance

12345678910>>...36

/freebsd-13.1/stand/lua/
H A Dcli.lua192 local lines = {}
195 if #lines > 0 then
196 lines[#lines + 1] = ""
199 lines[#lines + 1] = "Name: " .. module
201 lines[#lines + 1] = "Path: " .. info.name
205 lines[#lines + 1] = "Type: " .. info.type
209 lines[#lines + 1] = "Flags: " .. info.flags
213 lines[#lines + 1] = "Before load: " .. info.before
217 lines[#lines + 1] = "After load: " .. info.after
221 lines[#lines + 1] = "Error: " .. info.error
[all …]
/freebsd-13.1/tools/tools/whereintheworld/
H A Dwhereintheworld.pl17 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-13.1/crypto/heimdal/lib/sl/
H A Dtest_sl.c40 } 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-13.1/crypto/heimdal/lib/roken/
H A Dget_window_size.c61 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-13.1/contrib/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class.py128 lines = []
140 lines.append('')
160 _GenerateMethods(lines, source, class_node)
163 if lines:
165 if len(lines) == 2:
166 del lines[-1]
169 lines.append('};')
170 lines.append('') # Add an extra newline.
176 lines.append('') # Add an extra newline.
187 return lines
[all …]
/freebsd-13.1/contrib/googletest/googletest/scripts/
H A Dpump.py163 def StartsWith(lines, pos, string): argument
191 for line in lines[start.line:]:
208 def SubString(lines, start, end): argument
212 end = Cursor(len(lines) - 1, len(lines[-1]))
261 def Skip(lines, pos, regex): argument
284 pos = Skip(lines, pos, r'\(')
286 pos = Skip(lines, pos, r'\)')
310 def TokenizeLines(lines, pos): argument
385 lines = s.splitlines(True)
815 lines = string.splitlines()
[all …]
/freebsd-13.1/contrib/mandoc/
H A Dchars.c45 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()
/freebsd-13.1/usr.bin/sed/tests/
H A Dregress.sh39 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-13.1/usr.sbin/lpr/filters.ru/koi2855/
H A Dkoi2855.c44 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-13.1/usr.sbin/lpr/filters.ru/koi2alt/
H A Dkoi2alt.c43 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-13.1/contrib/atf/atf-c/detail/
H A Dsanity_test.c95 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-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/
H A Dtst.temporal.ksh49 @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.1/contrib/kyua/utils/text/
H A Doperations_test.cpp218 std::vector< std::string > lines; in ATF_TEST_CASE_BODY() local
226 std::vector< std::string > lines; in ATF_TEST_CASE_BODY() local
227 lines.push_back("first line"); 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()
238 lines.push_back("and last line"); in ATF_TEST_CASE_BODY()
241 text::join(lines, "***")); in ATF_TEST_CASE_BODY()
248 std::set< std::string > lines; in ATF_TEST_CASE_BODY() local
249 lines.insert("first"); in ATF_TEST_CASE_BODY()
[all …]
/freebsd-13.1/tools/tools/iso/
H A Dcheck-iso3166.pl20 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) {
H A Dcheck-iso639.pl20 my @lines = <FIN>;
22 chomp(@lines);
24 foreach my $l (@lines) {
45 my @lines = <FIN>;
47 chomp(@lines);
49 foreach my $l (@lines) {
/freebsd-13.1/contrib/kyua/utils/cmdline/
H A Dui.cpp174 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()
/freebsd-13.1/sys/dev/syscons/
H A Dschistory.c102 if (lines <= 0) in sc_alloc_history_buffer()
103 lines = SC_HISTORY_SIZE; /* use the default value */ in sc_alloc_history_buffer()
106 lines = imax(lines, scp->ysize); in sc_alloc_history_buffer()
123 if (lines > min_lines) { in sc_alloc_history_buffer()
124 if (lines - min_lines > extra_history_size + delta) { in sc_alloc_history_buffer()
136 if (lines > min_lines) in sc_alloc_history_buffer()
137 extra_history_size -= lines - min_lines; in sc_alloc_history_buffer()
139 sc_vtb_init(history, VTB_RINGBUFFER, scp->xsize, lines, in sc_alloc_history_buffer()
166 int lines; in copy_history() local
173 lines = sc_vtb_rows(from); in copy_history()
[all …]
/freebsd-13.1/tools/tools/locale/tools/
H A Dmkwidths.pl67 my @lines = <FIN>;
69 chomp(@lines);
72 foreach my $l (@lines) {
115 my @lines = <STDIN>;
116 chomp(@lines);
118 foreach my $l (@lines) {
H A Dcldr2def.pl342 my @lines = <FIN>;
344 chomp(@lines);
396 my @lines = <FIN>;
398 chomp(@lines);
450 my @lines;
454 push @lines, $_;
461 print FOUT @lines;
475 @lines = ();
542 my @lines;
546 push @lines, $_;
[all …]
/freebsd-13.1/sys/contrib/device-tree/Bindings/sound/
H A Dqcom,lpass-cpu.txt42 By default, the driver uses up to 4 MI2S SD lines, for a total of 8 channels.
43 The SD lines to use can be configured by adding subnodes for each of the DAIs.
48 - qcom,playback-sd-lines: List of serial data lines to use for playback
50 - qcom,capture-sd-lines : List of serial data lines to use for capture
53 Note that adding a subnode changes the default to "no lines configured",
54 so both playback and capture lines should be configured when a subnode is added.
74 /* Optional to set different MI2S SD lines */
77 qcom,playback-sd-lines = <0 1>;
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DLinuxProcMaps.cpp116 llvm::StringRef lines(linux_map); in ParseLinuxMapRegions() local
118 while (!lines.empty()) { in ParseLinuxMapRegions()
119 std::tie(line, lines) = lines.split('\n'); in ParseLinuxMapRegions()
139 llvm::StringRef lines(linux_smap); in ParseLinuxSMapRegions() local
143 while (lines.size()) { in ParseLinuxSMapRegions()
144 std::tie(line, lines) = lines.split('\n'); in ParseLinuxSMapRegions()
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DIOHandler.cpp269 [this](Editline *editline, StringList &lines) { in IOHandlerEditline() argument
270 return this->IsInputCompleteCallback(editline, lines); in IOHandlerEditline()
443 return m_delegate.IOHandlerIsInputComplete(*this, lines); in IsInputCompleteCallback()
515 m_current_lines_ptr = &lines; in GetLines()
537 m_curr_line_idx = lines.GetSize(); in GetLines()
541 lines.AppendString(line); in GetLines()
542 done = m_delegate.IOHandlerIsInputComplete(*this, lines); in GetLines()
547 success = lines.GetSize() > 0; in GetLines()
561 StringList lines; in Run() local
562 if (GetLines(lines, interrupted)) { in Run()
[all …]
/freebsd-13.1/crypto/openssh/regress/
H A Dyes-head.sh6 lines=`${SSH} -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | _POSIX2_VERSION=1992…
9 lines = 0;
11 if [ $lines -ne 2000 ]; then
12 fail "yes|head returns $lines lines instead of 2000"
/freebsd-13.1/usr.sbin/lpr/chkprintcap/
H A Dskimprintcap.c105 skinf->lines++; in skim_printcap()
181 " at line %d%s", skinf->lines - 1, in skim_printcap()
198 skinf->lines, skim_entryname); in skim_printcap()
214 " at line %d%s", skinf->lines, in skim_printcap()
231 skinf->lines, skim_entryname); in skim_printcap()
240 skinf->lines, skim_entryname); in skim_printcap()
260 skinf->lines, skinf->comments, skinf->entries, pcap_fname); in skim_printcap()
/freebsd-13.1/contrib/ncurses/progs/
H A Dclear_cmd.c52 int retval = tputs(clear_screen, lines > 0 ? lines : 1, putch); in clear_cmd()
57 (void) tputs(E3, lines > 0 ? lines : 1, putch); in clear_cmd()

12345678910>>...36