Home
last modified time | relevance | path

Searched full:lines (Results 1 – 25 of 1009) sorted by relevance

12345678910>>...41

/openbmc/u-boot/test/py/tests/
H A Dtest_log.py18 def check_log_entries(lines, mask, max_level=LOGL_INFO): argument
22 lines: iterator containing lines to check
23 mask: bit mask to select which lines to check for:
30 assert 'log_run() log %d' % i == lines.next()
32 assert 'func() _log %d' % i == lines.next()
40 iterator containing the lines output from the command
45 lines = iter(split)
46 assert 'test %d' % testnum == lines.next()
47 return lines
50 lines = run_test(0)
[all …]
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Ddeploy.py33 lines = []
34 lines.append('#!/bin/sh')
35 lines.append('set -e')
38 lines.append('for entry in %s/*.list; do' % deploylist_path)
39 lines.append('[ ! -f $entry ] && exit')
40 lines.append('set `basename $entry | sed "s/.list//"`')
43 lines.append('echo "Previously deployed files for $1:"')
44 lines.append('manifest="%s/$1.list"' % deploylist_path)
45 lines.append('preservedir="%s/$1.preserve"' % deploylist_path)
46 lines.append('if [ -f $manifest ] ; then')
[all …]
/openbmc/openbmc-tools/dbus-vis/
H A Dipmi_parse.js43 function munchByte(lines, i) { argument
44 if (i >= lines.length) {
47 let l = lines[i];
57 function munchArrayOfBytes1(lines, i) { argument
58 let l = lines[i];
68 function munchArrayOfBytes2(lines, i) { argument
69 let l = lines[i];
78 if (j >= lines.length) {
81 l = lines[j];
105 function munchArrayOfBytes(lines, i) { argument
[all …]
/openbmc/u-boot/tools/patman/
H A Dfunc_test.py161 lines = out[0].splitlines()
162 #print '\n'.join(lines)
163 self.assertEqual('Cleaned %s patches' % len(series.commits), lines[0])
164 self.assertEqual('Change log missing for v2', lines[1])
165 self.assertEqual('Change log missing for v3', lines[2])
166 self.assertEqual('Change log for unknown version v4', lines[3])
167 self.assertEqual("Alias 'pci' not found", lines[4])
168 self.assertIn('Dry run', lines[5])
169 self.assertIn('Send a total of %d patches' % count, lines[7])
172 self.assertEqual(' %s' % args[i], lines[line + 0])
[all …]
H A Dcheckpatch.py53 lines: Number of lines
56 fields = ['ok', 'problems', 'errors', 'warnings', 'checks', 'lines',
61 result.lines = 0
70 # total: 0 errors, 0 warnings, 159 lines checked
72 # total: 0 errors, 2 warnings, 7 checks, 473 lines checked
99 result.lines = int(match.group(4))
101 result.lines = int(match.group(3))
/openbmc/openbmc/poky/meta-poky/classes/
H A Dpoky-sanity.bbclass13 lines = []
16 lines = sanity_conf_read(fn)
17 index, meta_yocto_line = sanity_conf_find_line(r'^meta-yocto/', lines)
19 lines[index] = meta_yocto_line.replace('meta-yocto', 'meta-poky')
21 f.write(''.join(lines))
29 lines = sanity_conf_read(bblayers_fn)
33 #sanity_conf_update(bblayers_fn, lines, 'POKY_BBLAYERS_CONF_VERSION', current_version)
34 index, line = sanity_conf_find_line(r'^POKY_BBLAYERS_CONF_VERSION', lines)
35 lines[index] = 'POKY_BBLAYERS_CONF_VERSION = "%d"\n' % current_version
37 f.write(''.join(lines))
/openbmc/openbmc/poky/scripts/
H A Dcve-json-to-text.py93 lines = ""
115 lines += package_info
116 lines += "CVE: %s\n" % issue["id"]
117 lines += "CVE STATUS: %s\n" % issue["status"]
118 lines += "CVE DETAIL: %s\n" % issue["detail"]
120 lines += "CVE DESCRIPTION: %s\n" % issue["description"]
122 lines += "CVE SUMMARY: %s\n" % issue["summary"]
124 lines += "CVSS v2 BASE SCORE: %s\n" % issue["scorev2"]
126 lines += "CVSS v3 BASE SCORE: %s\n" % issue["scorev3"]
128 lines += "CVSS v4 BASE SCORE: %s\n" % issue["scorev4"]
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/
H A Dgenerate-srcuri.py50 lines = []
58 lines.append(f" {url} \\")
62 lines.append(f" {url} \\")
65 return lines
78 lines = []
95 lines.append(f" {url} \\")
96 return lines
117 lines = convert_fetch(basedir)
118 print("\n".join(lines))
121 #lines = convert_knowngood(sys.argv[1], "git/external/validation")
[all …]
/openbmc/u-boot/tools/buildman/
H A Dtest.py202 lines = terminal.GetPrintTestLines()
204 for line in lines:
214 lines = terminal.GetPrintTestLines()
217 self.assertEqual(lines[0].text, '01: %s' % commits[0][1])
220 self.assertEqual(lines[1].text, '02: %s' % commits[1][1])
223 self.assertSummary(lines[2].text, 'sandbox', 'w+', ['board4'],
225 self.assertSummary(lines[3].text, 'arm', 'w+', ['board1'],
227 self.assertSummary(lines[4].text, 'powerpc', 'w+', ['board2', 'board3'],
231 self.assertEqual(lines[5].text, 'w+%s' %
233 self.assertEqual(lines[5].colour, col.MAGENTA)
[all …]
/openbmc/gpioplus/src/gpioplus/
H A Dhandle.hpp75 * @param[in] lines - A collection of lines the handle provides
76 * @param[in] flags - The flags applied to all lines
80 Handle(const Chip& chip, const std::vector<Line>& lines, HandleFlags flags,
89 /** @brief Get the current values of all associated lines
92 * @return The values of the gpio lines
96 /** @brief Gets the current values of all associated lines
98 * @param[out] values - The values of the gpio lines
103 /** @brief Sets the current values of all associated lines
105 * @param[in] values - The new values of the gpio lines
H A Dhandle.cpp44 static int build(const Chip& chip, const std::vector<Handle::Line>& lines, in build() argument
47 if (lines.size() > GPIOHANDLES_MAX) in build()
54 for (size_t i = 0; i < lines.size(); ++i) in build()
56 req.lineoffsets[i] = lines[i].offset; in build()
57 req.default_values[i] = lines[i].default_value; in build()
65 req.lines = lines.size(); in build()
77 Handle::Handle(const Chip& chip, const std::vector<Line>& lines, in Handle() argument
79 fd(build(chip, lines, flags, consumer_label), std::false_type(), in Handle()
81 nlines(lines.size()) in Handle()
/openbmc/gpioplus/test/
H A Dhandle.cpp81 std::vector<Handle::Line> lines; in TEST_F() local
84 lines.push_back({i, 1}); in TEST_F()
92 Handle handle(*chip, lines, in TEST_F()
100 EXPECT_EQ(lines.size(), req.lines); in TEST_F()
101 for (uint32_t i = 0; i < lines.size(); ++i) in TEST_F()
112 const std::vector<Handle::Line> lines(GPIOHANDLES_MAX + 1); in TEST_F() local
113 EXPECT_THROW(Handle(*chip, lines, HandleFlags(), "too_many"), in TEST_F()
128 std::vector<Handle::Line> lines; in TEST_F() local
131 lines.push_back({i, 0}); in TEST_F()
137 EXPECT_THROW(Handle(*chip, lines, in TEST_F()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dparselogs.py110 def get_context(self, lines, index, before=6, after=3): argument
112 Given a set of lines and the index of the line that is important, return
113 a number of lines surrounding that line.
115 last = len(lines)
127 return lines[start:end]
133 lines = list(range(0,10))
134 self.assertEqual(self.get_context(lines, 0, 2, 1), [0, 1, 2, 3])
135 self.assertEqual(self.get_context(lines, 5, 2, 1), [3, 4, 5, 6])
136 self.assertEqual(self.get_context(lines, 9, 2, 1), [6, 7, 8, 9])
140 Search the log files @logs looking for error lines (marked by
[all …]
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/
H A Dset_required_questions.py10 def get_config(lines): argument
12 From a sequence of lines retrieve the question file name, question identifier
15 for l in lines:
43 def add_requires(the_ident, distro, lines): argument
46 Yield a sequence of lines the same as lines except that where
53 @param lines The sequence to be processed.
55 for l in lines:
64 for l in lines:
73 for l in lines:
H A DFileContent.pm62 my @lines;
66 push @lines,$line;
74 while ( my $line = shift @lines ) {
93 # modifies $filename, inserting $line_to_insert unless one or more lines
112 my @lines;
125 push (@lines,$line);
144 while (my $line = shift @lines) {
167 # modifies $filename, inserting $line_to_insert unless one or more lines
186 my @lines;
199 push (@lines,$line);
[all …]
/openbmc/u-boot/Documentation/devicetree/bindings/misc/
H A Dfsl,mpc83xx-serdes.txt4 protocols (SATA, PCI Express, SGMII, ...) are used on the system's serdes lines
5 and how the lines are configured.
10 - proto: selects for which protocol the serdes lines are configured. One of
12 - serdes-clk: determines the frequency the serdes lines are configured for. One
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Dparsing.py279 by zero or more lines of data for that point in time."""
281 lines = block.split('\n')
282 if not lines:
283 raise ParseError('expected a timed-block consisting a timestamp followed by data lines')
285 return (int(lines[0]), lines[1:])
287 … raise ParseError("expected a timed-block, but timestamp '%s' is not an integer" % lines[0])
302 for time, lines in timed_blocks:
303 for line in lines:
351 for time, lines in timed_blocks:
358 for line in lines:
[all …]
/openbmc/openbmc/poky/documentation/tools/
H A Dupdate-documentation-conf83 lines = []
100 lines.append('%s = %s\n' % (dkey, infos[dkey]))
108 lines.append('%s = %s\n' % (key, newvalue))
118 lines.append('%s = %s\n' % (dkey, infos[dkey]))
125 lines.append(line)
134 lines.append('\n\n')
136 lines.append('%s = %s\n' % (key, infos[key]))
141 for line in lines:
/openbmc/u-boot/drivers/video/
H A Dlogicore_dp_tx.h24 * @v_active: Vertical active resolution (lines)
25 * @v_start: Vertical blank start (in lines).
28 * @v_sync_width: Vertical sync width (lines)
29 * @v_total: Vertical total (lines)
/openbmc/qemu/scripts/modules/
H A Dmodule_block.py26 lines = []
27 lines.append('.library_name = "' + library + '",')
29 lines.append('.format_name = "' + format_name + '",')
31 lines.append('.protocol_name = "' + protocol_name + '",')
33 text = '\n '.join(lines)
/openbmc/qemu/include/hw/core/
H A Dsplit-irq.h27 * GPIO output lines. Any change on the input line is forwarded to all
32 * + N unnamed GPIO outputs: the output lines
33 * + QOM property "num-lines": sets the number of output lines
/openbmc/openbmc/meta-openembedded/contrib/
H A Doe-stylize.py222 # No spaces are allowed at the beginning of lines that define a variable or
304 # Don't use spaces or tabs on empty lines
327 …(respect_rule0, conformTo_rule0, "No spaces are allowed at the beginning of lines that define a va…
333 (respect_rule6, conformTo_rule6, "Don't use spaces or tabs on empty lines"),
359 # -- retrieves the lines of the .bb file --
360 lines = [] variable
365 lines.append(line)
370 # ignore empty lines (or line filled with spaces or tabs only)
373 lines.append(line)
380 for line in lines:
[all …]
/openbmc/qemu/tests/functional/qemu_test/
H A Dtesseract.py19 lines = []
24 lines += [sline]
25 return lines
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/cloc/
H A Dcloc_1.98.bb1 SUMMARY = "Count blank lines, comment lines, and physical lines of source code \
/openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/
H A D0001-cut-Fix-s-flag-to-omit-blank-lines.patch4 Subject: [PATCH 1/1] cut: Fix "-s" flag to omit blank lines
7 output lines containing the delimiter will print blank lines. This is
8 deviant behavior from cut provided by GNU Coreutils. Blank lines should
59 +testing "cut with -d -s omits blank lines" "cut -d' ' -f2 -s input" "bar\nbong\n" "$input" ""

12345678910>>...41