Home
last modified time | relevance | path

Searched refs:tiny_render (Results 1 – 5 of 5) sorted by relevance

/external/toolchain-utils/cros_utils/
Dtiny_render_test.py12 import tiny_render
24 tiny_render.Bold("hello"),
26 tiny_render.Bold(["world", "!"]),
30 tiny_render.render_text_pieces(pieces),
35 tiny_render.render_html_pieces(pieces),
42 tiny_render.line_break,
47 tiny_render.render_text_pieces(pieces),
52 tiny_render.render_html_pieces(pieces),
59 tiny_render.Link(href="https://google.com", inner="world!"),
63 tiny_render.render_text_pieces(pieces),
[all …]
/external/toolchain-utils/llvm_tools/
Dnightly_revert_checker_test.py14 import cros_utils.tiny_render as tiny_render namespace
27 def prettify_sha(sha: str) -> tiny_render.Piece:
30 def get_sha_description(sha: str) -> tiny_render.Piece:
52 tiny_render.line_break,
53 tiny_render.line_break,
55 tiny_render.UnorderedList(
66 tiny_render.line_break,
74 def prettify_sha(sha: str) -> tiny_render.Piece:
77 def get_sha_description(sha: str) -> tiny_render.Piece:
107 tiny_render.line_break,
[all …]
Dnightly_revert_checker.py25 import cros_utils.tiny_render as tiny_render namespace
133 ("body", tiny_render.Piece),
142 prettify_sha: t.Callable[[str], tiny_render.Piece],
143 get_sha_description: t.Callable[[str], tiny_render.Piece],
154 tiny_render.line_break,
155 tiny_render.line_break,
171 email_pieces.append(tiny_render.UnorderedList(items=revert_listing))
173 tiny_render.line_break,
202 text_body=tiny_render.render_text_pieces(email.body),
203 html_body=tiny_render.render_html_pieces(email.body),
[all …]
/external/toolchain-utils/rust_tools/
Drust_watch.py26 from cros_utils import tiny_render
34 def send_email(subject: str, body: List[tiny_render.Piece]) -> None:
40 text_body=tiny_render.render_text_pieces(body),
41 html_body=tiny_render.render_html_pieces(body),
267 ) -> Optional[Tuple[str, List[tiny_render.Piece]]]:
277 body_pieces += [tiny_render.line_break, tiny_render.line_break]
290 tiny_render.Link(
298 body_pieces.append(tiny_render.UnorderedList(commit_lines))
388 tiny_render.render_html_pieces(body),
Drust_watch_test.py16 from cros_utils import tiny_render
123 tiny_render.UnorderedList(
126 tiny_render.Link(