Home
last modified time | relevance | path

Searched refs:indent_width (Results 1 – 24 of 24) sorted by relevance

/aosp_15_r20/external/emboss/compiler/front_end/
H A Dformat_emb.py35 def __new__(cls, indent_width=2, show_line_types=False): argument
36 return super(cls, Config).__new__(cls, indent_width, show_line_types)
175 def _columnize(blocks, indent_width, indent_columns=1): argument
212 adjustment = block.header.indent * indent_width
236 column_width -= block.header.indent * indent_width
279 def _render_row_to_text(row, indent_width): argument
281 text = ' ' * indent_width * row.indent
286 def _render_rows_to_text(rows, indent_width, show_line_types): argument
290 row_text = _render_row_to_text(row, indent_width)
381 return _render_rows_to_text(rows, config.indent_width, config.show_line_types)
[all …]
H A Dformat_emb_test.py95 def make_test_case(name, unformatted_text, expected_text, indent_width): argument
105 format_emb.Config(indent_width=indent_width))
109 format_emb.Config(indent_width=indent_width, show_line_types=True))
H A Dformat.py109 indent_width=flags.indent))
/aosp_15_r20/external/openthread/tools/tcat_ble_client/cli/
H A Dcommand.py69 indent_width = 4
70 indentation = ' ' * indent_width * indent
H A Ddataset_commands.py51 indent_width = 4
52 indentation = ' ' * indent_width
/aosp_15_r20/external/angle/
H A D.style.yapf4 indent_width = 4
/aosp_15_r20/external/angle/build/skia_gold_common/
H A D.style.yapf5 indent_width = 2
/aosp_15_r20/external/cronet/testing/unexpected_passes_common/
H A D.style.yapf5 indent_width = 2
/aosp_15_r20/external/cronet/testing/flake_suppressor_common/
H A D.style.yapf5 indent_width = 2
/aosp_15_r20/external/webrtc/
H A D.style.yapf3 indent_width = 2
/aosp_15_r20/external/cronet/build/skia_gold_common/
H A D.style.yapf5 indent_width = 2
/aosp_15_r20/external/cronet/third_party/jni_zero/
H A D.style.yapf4 indent_width = 2
/aosp_15_r20/external/yapf/yapf/yapflib/
H A Dformat_decision_state.py928 indent_width = style.Get('INDENT_WIDTH')
929 return indent_width * int((column + indent_width - 1) / indent_width)
H A Dreformatter.py52 indent_width = style.Get('INDENT_WIDTH')
58 indent_amt = indent_width * lline.depth
/aosp_15_r20/external/chromium-trace/catapult/devil/
H A D.style.yapf7 indent_width = 2
/aosp_15_r20/packages/modules/Bluetooth/
D.style.yapf4 indent_width: 4
/aosp_15_r20/external/cronet/components/cronet/tools/
H A D.style.yapf6 indent_width = 2
/aosp_15_r20/external/cronet/net/data/
H A D.style.yapf6 indent_width = 2
/aosp_15_r20/external/cronet/net/tools/
H A D.style.yapf6 indent_width = 2
/aosp_15_r20/external/cronet/build/
H A D.style.yapf6 indent_width = 2
/aosp_15_r20/external/angle/build/
H A D.style.yapf6 indent_width = 2
/aosp_15_r20/external/pigweed/pw_module/py/pw_module/
H A Dcreate.py189 def __init__(self, file: Path, indent_width: int = DEFAULT_INDENT_WIDTH):
192 self._indent_width: int = indent_width
/aosp_15_r20/external/pytorch/torch/_inductor/
H A Dselect_algorithm.py411 indent_width: int = 4,
476 return textwrap.indent(self.body.getvalue(), " " * indent_width).strip()
/aosp_15_r20/external/yapf/
H A DREADME.rst207 --style='{based_on_style: pep8, indent_width: 2}'