Searched refs:lines (Results 1 - 25 of 60) sorted by relevance

123

/u-boot/tools/buildman/
H A Dcfgutil.py79 def adjust_cfg_lines(lines, adjust_cfg):
80 """Make adjustments to a list of lines from a .config file
83 lines (list of str): List of lines to process
95 list of str: New list of lines resulting from the processing
99 for line in lines:
126 lines = tools.read_file(fname, binary=False).splitlines()
127 out_lines = adjust_cfg_lines(lines, adjust_cfg)
166 def check_cfg_lines(lines, adjust_cfg):
167 """Check that lines d
[all...]
H A Dtest.py196 echo_lines: True to echo lines to the terminal to aid test
202 Iterator containing the output lines, each a PrintLine() object
213 lines = terminal.get_print_test_lines()
215 for line in lines:
228 def _CheckOutput(self, lines, list_error_boards=False,
234 lines: Iterator containing the lines returned from the summary
247 error_str: Error string containing the lines
254 lines = error_str.strip().splitlines()
256 for line in lines
[all...]
H A Dfunc_test.py469 # Example function to print output lines
470 def print_lines(self, lines):
471 print(len(lines))
472 for line in lines:
486 lines = terminal.get_print_test_lines()
488 lines[0].text)
499 lines = terminal.get_print_test_lines()
503 (self._commits, len(BOARDS)), lines[0].text)
771 lines = self.check_command()[0]
772 self.assertEqual(2, len(lines))
[all...]
H A Dbuilder.py231 err_lines: List of error lines or [] if none
428 error lines and output on stderr stays on stderr.
660 def filter_errors(self, lines):
666 lines: List of error lines, each a string
668 New list with only interesting lines included
672 text = '\n'.join(lines)
674 lines = text.splitlines()
675 for line in lines:
765 # ignore lines w
[all...]
/u-boot/tools/patman/
H A Dtest_checkpatch.py43 lines (list of Line): List of lines to add to the patch. Note that
47 self.lines = []
51 self.lines.append(Line(fname, text))
73 lines = base.splitlines()
78 for line in self.lines:
79 lines.append(' %s | 1 +' % line.fname)
82 lines.append(' %d files changed, %d insertions(+)' % (change, insert))
83 lines.append('')
86 for line in self.lines
[all...]
H A Dfunc_test.py236 lines = iter(out[0].getvalue().splitlines())
238 next(lines))
239 self.assertEqual('Change log missing for v2', next(lines))
240 self.assertEqual('Change log missing for v3', next(lines))
241 self.assertEqual('Change log for unknown version v4', next(lines))
242 self.assertEqual("Alias 'pci' not found", next(lines))
243 while next(lines) != 'Cc processing complete':
245 self.assertIn('Dry run', next(lines))
246 self.assertEqual('', next(lines))
247 self.assertIn('Send a total of %d patches' % count, next(lines))
[all...]
H A Dget_maintainer.py60 lines = stdout.splitlines()
61 return [x.replace('"', '') for x in lines]
H A Dpatchstream.py53 # Match indented lines for changes
83 self.lines_after_test = 0 # Number of lines found after TEST=
94 self.blank_count = 0 # Number of blank lines stored up
97 # List of unquoted test blocks, each a list of str lines
267 lines = []
269 lines.append('> File: %s' % self.recent_diff)
274 lines.append(out)
275 lines += quoted_lines + unquoted_lines
276 if lines:
277 self.snippets.append(lines)
[all...]
/u-boot/lib/efi_selftest/
H A Defi_selftest_startimage_return.c34 struct line lines[]; member in struct:compressed_file_image
65 if (!img.lines[i].line)
67 addr = img.lines[i].addr;
71 boottime->copy_mem(buf + addr, img.lines[i].line, len);
H A Defi_selftest_exception.c54 struct line lines[]; member in struct:compressed_file_image
85 if (!img.lines[i].line)
87 addr = img.lines[i].addr;
91 boottime->copy_mem(buf + addr, img.lines[i].line, len);
H A Defi_selftest_startimage_exit.c34 struct line lines[]; member in struct:compressed_file_image
65 if (!img.lines[i].line)
67 addr = img.lines[i].addr;
71 boottime->copy_mem(buf + addr, img.lines[i].line, len);
/u-boot/tools/binman/btool/
H A Dlzma_alone.py120 lines = out.splitlines()
121 if not lines:
123 out = lines[0]
/u-boot/doc/sphinx/
H A Dkernel_feat.py114 lines = self.runCmd(cmd, shell=True, cwd=cwd, env=shell_env)
115 nodeList = self.nestedParse(lines, fname)
142 def nestedParse(self, lines, fname):
148 for l in lines.split("\n"):
150 lines = code_block + "\n\n"
152 for c, l in enumerate(lines.split("\n")):
H A Dkernel_abi.py112 lines = self.runCmd(cmd, shell=True, cwd=cwd, env=shell_env)
113 nodeList = self.nestedParse(lines, self.arguments[0])
140 def nestedParse(self, lines, fname):
146 for l in lines.split("\n"):
148 lines = code_block + "\n\n"
155 for line in lines.split("\n"):
169 # sphinx counts lines from 0
174 kernellog.info(self.state.document.settings.env.app, "%s: parsed %i lines" % (fname, n))
/u-boot/test/dm/
H A Dfwu_mdata.c37 struct line lines[]; member in struct:compressed_disk_image
67 if (!img.lines[i].line)
69 addr = img.lines[i].addr;
73 memcpy(buf + addr, img.lines[i].line, len);
/u-boot/arch/mips/include/asm/
H A Dcacheops.h33 int i, lines = ((len - 1) / ARCH_DMA_MINALIGN) + 1; local
35 for (i = 0; i < lines; i++) {
/u-boot/scripts/
H A Dcleanpatch133 @lines = ();
152 push(@lines, $line);
231 push(@lines, $l);
248 print FILE @lines;
H A Dget_maintainer.pl74 my @fixes = (); # If a patch description includes Fixes: lines
471 next if (/^\s*$/); #skip empty lines
1106 contain a thousand lines, 5 trivial commits may modify a single line.
1117 Multiple lines and # comments are allowed.
1546 my @lines = ();
1550 @lines = split("\n", $output);
1552 return @lines;
1557 my @lines = ();
1560 @lines = split("\n", $output);
1562 return @lines;
[all...]
/u-boot/test/py/tests/
H A Dtest_dm.py30 lines = response.split('\n')[2:]
34 for line in lines:
H A Dtest_trace.py43 lines = [line.split(maxsplit=1) for line in out.splitlines() if line]
44 vals = {key: val.replace(',', '') for val, key in lines}
102 # [Saved command lines, 9 bytes]
125 lines = [line.replace(':', '').split() for line in out.splitlines()]
126 vals = {items[4]: float(items[2]) for items in lines if len(items) == 5}
/u-boot/tools/binman/
H A Dimage.py256 List of lines, each
285 def _DoLine(lines, line):
292 lines: List of lines to add to
297 lines.append(line)
319 # This is our list of lines. Each item in the list is a list of strings, one
321 lines = []
329 _DoLine(lines, HEADER)
360 _DoLine(lines, _EntryToStrings(entry))
362 return selected_entries, lines, width
[all...]
H A Dbintool_test.py153 lines = stdout.getvalue().splitlines()
154 self.assertTrue(len(lines) > 2)
155 self.assertEqual('Tools fetched: 1: _testing', lines[-2])
156 self.assertEqual('Failures: 1: _testing', lines[-1])
182 lines = stdout.getvalue().splitlines()
183 self.assertIn(f'{self.count[bintool.FETCHED]}: ', lines[-2])
184 self.assertIn(f'{self.count[bintool.FAIL]}: ', lines[-1])
225 lines = stdout.getvalue().splitlines()
227 fetched = [line for line in lines if 'Tools fetched:' in line].pop()
228 present = [line for line in lines i
[all...]
/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dcpu.c52 u32 lines = -1; local
64 lines++;
78 return lines << 4;
93 u32 lines = -1; local
102 lines++;
114 return lines << 4;
/u-boot/tools/u_boot_pylib/
H A Dtest_util.py69 lines = stdout.splitlines()
73 for line in lines if '/etype/' in line])
82 coverage = lines[-1].split(' ')[-1]
/u-boot/scripts/kconfig/
H A Dnconf.gui.c193 int lines = 0; local
198 for (i = 0; text[i] != '\0' && lines < line_no; i++)
200 lines++;
214 /* print all lines to the window. */
368 int i, x, y, lines, columns, win_lines, win_cols; local
374 getmaxyx(stdscr, lines, columns);
392 win_lines = min(prompt_lines+6, lines-2);
398 y = (lines-win_lines)/2;
556 int x, y, lines, columns; local
567 getmaxyx(stdscr, lines, column
[all...]

Completed in 183 milliseconds

123