Home
last modified time | relevance | path

Searched refs:unformatted_code (Results 1 – 10 of 10) sorted by relevance

/external/yapf/yapftests/
Dyapf_test.py41 def _Check(self, unformatted_code, expected_formatted_code): argument
43 unformatted_code, style_config='chromium')
47 unformatted_code = textwrap.dedent("""\
50 self._Check(unformatted_code, unformatted_code)
53 unformatted_code = textwrap.dedent("""\
60 self._Check(unformatted_code, expected_formatted_code)
82 unformatted_code = textwrap.dedent(u"""\
94 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
103 unformatted_code = textwrap.dedent(u"""\
119 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
[all …]
Dreformatter_buganizer_test.py60 unformatted_code = """\
75 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
79 unformatted_code = """\
102 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
106 unformatted_code = """\
119 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
135 unformatted_code = """\
152 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
156 unformatted_code = """\
190 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
[all …]
Dreformatter_pep8_test.py32 unformatted_code = textwrap.dedent("""\
40 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
53 unformatted_code = textwrap.dedent("""\
64 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
68 unformatted_code = textwrap.dedent("""\
76 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
80 unformatted_code = textwrap.dedent("""\
88 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
102 unformatted_code = textwrap.dedent("""\
122 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
[all …]
Dreformatter_basic_test.py35 unformatted_code = textwrap.dedent("""\
45 unformatted_code = textwrap.dedent("""\
56 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
58 unformatted_code = textwrap.dedent("""\
69 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
71 unformatted_code = textwrap.dedent("""\
77 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
81 unformatted_code = textwrap.dedent("""\
106 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
110 unformatted_code = textwrap.dedent("""\
[all …]
Dreformatter_python3_test.py36 unformatted_code = textwrap.dedent("""\
47 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
51 unformatted_code = textwrap.dedent("""\
59 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
64 unformatted_code = textwrap.dedent("""\
76 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
80 unformatted_code = textwrap.dedent("""\
88 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
92 unformatted_code = 'methods.exec( sys.modules[name])\n'
94 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
[all …]
Dreformatter_facebook_test.py32 unformatted_code = textwrap.dedent("""\
41 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
45 unformatted_code = textwrap.dedent("""\
57 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
61 unformatted_code = textwrap.dedent("""\
73 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
77 unformatted_code = textwrap.dedent("""\
94 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
110 unformatted_code = textwrap.dedent("""\
144 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
[all …]
Dblank_line_calculator_test.py33 unformatted_code = textwrap.dedent("""\
44 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
48 unformatted_code = textwrap.dedent("""\
80 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
84 unformatted_code = textwrap.dedent("""\
125 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
129 unformatted_code = textwrap.dedent("""\
191 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
257 unformatted_code = textwrap.dedent("""\
277 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
[all …]
Dreformatter_verify_test.py35 unformatted_code = textwrap.dedent("""\
39 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
45 unformatted_code = textwrap.dedent("""\
53 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
58 unformatted_code = textwrap.dedent("""\
67 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
82 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
87 unformatted_code = textwrap.dedent("""\
102 uwlines = yapf_test_helper.ParseAndUnwrap(unformatted_code)
/external/clang/docs/
DClangFormatStyleOptions.rst101 void unformatted_code ;
/external/llvm-project/clang/docs/
DClangFormatStyleOptions.rst105 void unformatted_code ;