Searched refs:lines (Results 26 - 50 of 197) sorted by relevance

12345678

/freebsd-13-stable/contrib/ntp/sntp/unity/auto/
H A Dunity_test_summary.rb37 lines = File.readlines(result_file).map { |line| line.chomp }
38 if lines.length == 0
41 output = get_details(result_file, lines)
44 tests,failures,ignored = parse_test_summary(lines)
96 def get_details(result_file, lines)
98 lines.each do |line|
H A Dunity_test_summary.py31 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):
87 for line in lines:
/freebsd-13-stable/usr.sbin/lpr/filters.ru/koi2855/
H A Dkoi2855.c44 int lines; variable
84 lines = 0;
96 lines++;
98 lines = length;
100 if (lines >= length) {
101 lines = 0;
/freebsd-13-stable/tools/tools/locale/tools/
H A Dutf8-rollup.pl77 my @lines = <FIN>;
79 chomp(@lines);
82 foreach my $l (@lines) {
159 my @lines = <FIN>;
161 chomp(@lines);
163 foreach my $l (@lines) {
H A Dcldr2def.pl342 my @lines = <FIN>;
344 chomp(@lines);
349 foreach my $l (@lines) {
396 my @lines = <FIN>;
398 chomp(@lines);
399 foreach my $l (@lines) {
450 my @lines;
454 push @lines, $_;
457 $shex = sha1_hex(join("\n", @lines));
461 print FOUT @lines;
[all...]
/freebsd-13-stable/contrib/kyua/utils/text/
H A Doperations_test.cpp57 const std::vector< std::string > lines = text::split(expected, '\n'); local
60 ATF_REQUIRE(lines == text::refill(input, width));
218 std::vector< std::string > lines; local
219 ATF_REQUIRE_EQ("", text::join(lines, " "));
226 std::vector< std::string > lines; local
227 lines.push_back("first line");
228 ATF_REQUIRE_EQ("first line", text::join(lines, "*"));
235 std::vector< std::string > lines; local
236 lines.push_back("first abc");
237 lines
248 std::set< std::string > lines; local
[all...]
/freebsd-13-stable/contrib/googletest/googletest/scripts/
H A Dpump.py163 def StartsWith(lines, pos, string):
164 """Returns True iff the given position in lines starts with 'string'."""
166 return lines[pos.line][pos.column:].startswith(string)
174 # We found regex in lines
186 def FindFirst(lines, token_table, cursor):
187 """Finds the first occurrence of any string in strings in lines."""
191 for line in lines[start.line:]:
202 return MakeToken(lines, found_start, found_end, token_type)
204 # We failed to find str in lines
208 def SubString(lines, star
[all...]
H A Dcommon.py47 """Runs the shell command and returns its stdout as a list of lines."""
50 lines = [line.strip() for line in f.readlines()]
52 return lines
/freebsd-13-stable/sys/dev/syscons/
H A Dschistory.c88 sc_alloc_history_buffer(scr_stat *scp, int lines, int prev_ysize, int wait) argument
92 * SC_HISTORY_SIZE lines or scp->ysize lines, whichever
100 int delta; /* lines to put back */
102 if (lines <= 0)
103 lines = SC_HISTORY_SIZE; /* use the default value */
106 lines = imax(lines, scp->ysize);
112 /* calculate the amount of lines to put back to extra_history_size */
121 /* lines u
166 int lines; local
[all...]
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Dcmdline-redirect-stdin.mk3 # Demonstrate that the '!=' assignment operator can read individual lines
11 | ${MAKE} -f ${MAKEFILE} read-lines
13 .if make(read-lines)
33 read-lines: .PHONY
H A Dforsubst.mk3 # The parser used to break dependency lines at ';' without regard for
7 # interesting results for lines like:
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DLinuxProcMaps.cpp103 llvm::StringRef lines(linux_map);
105 while (!lines.empty()) {
106 std::tie(line, lines) = lines.split('\n');
/freebsd-13-stable/contrib/apr/helpers/
H A Dapr_rename.pl36 my @lines;
46 push @lines, $_ if $replace;
58 for (@lines) {
/freebsd-13-stable/contrib/bearssl/src/codec/
H A Dpemenc.c68 size_t dlen, banner_len, lines; local
78 lines = (len + 47) / 48;
80 lines = (len + 56) / 57;
83 + lines + 2;
85 dlen += lines + 2;
/freebsd-13-stable/contrib/less/
H A Dttyin.c143 * Get the number of lines to scroll when mouse wheel is moved.
148 int lines = 1; local
150 if (SystemParametersInfo(SPI_GETWHEELSCROLLLINES, 0, &lines, 0))
152 if (lines == WHEEL_PAGESCROLL)
153 lines = 3;
156 return lines;
/freebsd-13-stable/usr.sbin/lpr/chkprintcap/
H A Dskimprintcap.c105 skinf->lines++;
181 " at line %d%s", skinf->lines - 1,
198 skinf->lines, skim_entryname);
202 * Check for start-of-entry lines which do not include a
205 * ALL of the following lines.
214 " at line %d%s", skinf->lines,
231 skinf->lines, skim_entryname);
240 skinf->lines, skim_entryname);
259 warnx("%4d lines (%d comments), %d entries for %s",
260 skinf->lines, skin
[all...]
/freebsd-13-stable/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
[all...]
/freebsd-13-stable/crypto/openssl/crypto/ts/
H A Dts_rsp_print.c73 int i, lines = 0; local
94 lines = ts_status_map_print(bio, failure_map, a->failure_info);
95 if (lines == 0)
105 int lines = 0; local
109 if (++lines > 1)
115 return lines;
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DMinidumpTypes.cpp44 llvm::SmallVector<llvm::StringRef, 0> lines; local
45 result.proc_status.split(lines, '\n', 42);
46 // /proc/$pid/status has 41 lines, but why not use 42?
47 for (auto line : lines) {
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Expression/
H A DREPL.h98 StringList &lines) override;
100 int IOHandlerFixIndentation(IOHandler &io_handler, const StringList &lines,
110 static int CalculateActualIndentation(const StringList &lines);
123 const StringList &lines, int cursor_position,
/freebsd-13-stable/sbin/newfs/
H A DMakefile18 diff --ignore-matching-lines=FreeBSD _.test ${.CURDIR}/ref.test
/freebsd-13-stable/contrib/mandoc/
H A Dchars.c45 static struct ln lines[] = { variable in typeref:struct:ln
150 /* Arrows and lines. */
445 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++) {
446 slot = ohash_qlookup(&mchars, lines[i].roffcode);
448 ohash_insert(&mchars, slot, lines + i);
502 for (i = 0; i < sizeof(lines)/sizeof(lines[0]); i++)
503 if (uc == lines[i].unicode)
504 return lines[
[all...]
H A Dtag.c37 size_t *lines; member in struct:tag_entry
176 entry->lines = NULL;
210 entry->lines = mandoc_reallocarray(entry->lines,
211 entry->maxlines, sizeof(*entry->lines));
213 entry->lines[entry->nlines++] = line;
245 entry->s, tag_files.ofn, entry->lines[i]);
249 free(entry->lines);
/freebsd-13-stable/usr.bin/pr/
H A Dpr.c98 static int lines; /* number of lines per page */ variable
236 if (inskip(inf, pgnm, lines))
258 while (linecnt < lines) {
299 if (linecnt && prtail(lines-linecnt-lrgln, lrgln))
363 if ((buf = malloc((unsigned)lines*mxlen*sizeof(char))) == NULL) {
382 mvc = lines * clcnt;
392 if ((lstdat = (char **)malloc((unsigned)lines*sizeof(char *))) == NULL){
398 * fast index lookups to locate start of lines
400 if ((indy = (int *)malloc((unsigned)lines*sizeo
[all...]
/freebsd-13-stable/tools/tools/termcap/
H A Dtermcap.pl57 my @lines = <FIN>;
58 chomp(@lines);
64 foreach my $l (@lines) {

Completed in 135 milliseconds

12345678