Home
last modified time | relevance | path

Searched refs:colour (Results 1 – 12 of 12) sorted by relevance

/tools/u_boot_pylib/
A Dterminal.py47 def __init__(self, text, colour, newline=True, bright=True): argument
50 self.colour = colour
56 self.colour == other.colour and
61 (self.newline, self.colour, self.bright, self.text))
143 def tprint(text='', newline=True, colour=None, limit_to_line=False, argument
158 print_test_list.append(PrintLine(text, colour, newline, bright))
160 if colour is not None:
163 text = col.build(colour, text, bright=bright, back=back)
207 if line.colour:
209 print(col.build(line.colour, line.text), end='')
A Dgitutil.py849 def show_commit(commit, msg=True, diffstat=False, patch=False, colour=True, argument
868 if colour:
/tools/patman/
A Dstatus.py143 newline=False, colour=col.GREEN, bright=is_new,
145 terminal.tprint(who, colour=col.WHITE, bright=is_new, col=col)
288 terminal.tprint(f'Cov {cover.name}', colour=col.BLACK, col=col,
294 colour=col.RED, col=col)
304 colour=col.YELLOW, col=col)
314 terminal.tprint('Review: %s' % review.meta, colour=col.RED,
321 colour=col.MAGENTA if quoted else None, col=col)
A Dcontrol.py328 colour=terminal.Color.RED)
A Dcser_helper.py98 def __init__(self, topdir=None, colour=terminal.COLOR_IF_TERMINAL): argument
120 self.col = terminal.Color(colour)
1243 colour=self.col.enabled(), git_dir=self.gitdir)
A Dcseries.py31 def __init__(self, topdir=None, colour=terminal.COLOR_IF_TERMINAL): argument
38 super().__init__(topdir, colour)
/tools/buildman/
A Dbuilder.py1083 tprint(msg, colour=color)
1110 tprint(msg, colour=colour, newline=False)
1219 tprint(msg, colour=color, newline=False)
1368 tprint(' ' + line, newline=True, colour=col)
1370 def _output_err_lines(err_lines, colour): argument
1456 _output_err_lines(better_err, colour=self.col.GREEN)
1457 _output_err_lines(worse_err, colour=self.col.RED)
1458 _output_err_lines(better_warn, colour=self.col.CYAN)
1459 _output_err_lines(worse_warn, colour=self.col.YELLOW)
1622 tprint(msg, colour=self.col.BLUE)
[all …]
A Dtest.py268 def add_line_prefix(prefix, brds, error_str, colour): argument
286 expect = self._col.build(colour, prefix + '(')
289 expect += self._col.build(colour, ') %s' % line)
291 expect = self._col.build(colour, prefix + line)
850 self.assertEqual(self._col.RED, lines[0].colour)
855 self.assertEqual(None, lines[1].colour)
861 self.assertEqual(None, lines[2].colour)
874 self.assertEqual(None, lines[1].colour)
892 self.assertEqual(None, lines[1].colour)
A Dcontrol.py688 colour=col.RED)
A DREADME.rst72 red/green colour coding (with yellow/cyan for warnings). Full error
A Dbuildman.rst72 red/green colour coding (with yellow/cyan for warnings). Full error
/tools/
A Dfdtgrep.c52 int colour; /* Display output in ANSI colour */ member
339 if (disp->colour) in display_fdt_by_regions()
368 if (disp->colour) in display_fdt_by_regions()
1247 disp.colour = disp.all && isatty(0); in main()

Completed in 51 milliseconds