Home
last modified time | relevance | path

Searched refs:lstrip (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/external/yapf/yapf/yapflib/
Dverifier.py46 ast.parse(textwrap.dedent(code.lstrip('\n')).lstrip(), '<string>', 'exec')
57 code = textwrap.dedent(code.lstrip('\n')).lstrip()
75 textwrap.dedent(try_code.lstrip('\n')).lstrip(), '<string>', 'exec')
Dcomment_splicer.py54 if child.prefix.lstrip().startswith('#'):
63 child_prefix = child.prefix.lstrip('\n')
75 comment_column -= len(comment_prefix.lstrip())
174 value = comment_lines[0].lstrip()
179 len(comment_lines[0]) - len(comment_lines[0].lstrip()))
192 len(comment_prefix[rindex:].lstrip()))
232 while index < len(lines) and lines[index].lstrip().startswith('#'):
248 while index < len(lines) and not lines[index].lstrip():
Dformat_token.py129 without_newlines = self.whitespace_prefix.lstrip('\n')
157 comment_lines = [s.lstrip() for s in self.value.splitlines()]
172 self.whitespace_prefix.lstrip('\n'))
/external/python/setuptools/setuptools/tests/
Dtest_windows_wrappers.py78 """).lstrip()
118 """).lstrip()
143 """).lstrip()
159 """).lstrip()
/external/pigweed/pw_presubmit/py/
Dkeep_sorted_test.py275 """.lstrip(
292 """.lstrip(
305 """.lstrip(
322 # {END}""".lstrip(
337 # {END}""".lstrip(
347 # {END}""".lstrip(
/external/mesa3d/scons/
Dsource_list.py74 val = self._expand_value(line[op_end:].lstrip())
97 line = self.line_cont + line.lstrip()
103 line = line.lstrip()
/external/angle/src/tests/py_utils/
Dangle_metrics.py21 k = (('suite', d['name']), ('renderer', d['backend'].lstrip('_')),
22 ('test', d['story']), ('metric', d['metric'].lstrip('.')), ('units',
/external/mesa3d/src/mapi/new/
Dgen_gldispatch_mapi.py62 """.lstrip("\n"))
82 """.lstrip("\n")
157 """.lstrip("\n").format(f=func, retStr=retStr)
/external/cldr/tools/scripts/
Dcoll2icu.py185 if ("<reset" in line) or line.lstrip().startswith("<!--"):
242 line = line.lstrip()
252 line = partial + line.lstrip() + "\n"
/external/catch2/scripts/
DupdateDocumentToC.py90 stripped_both = stripped_right.lstrip('#')
144 l_stripped = l.lstrip()
151 if not l.lstrip('#').startswith(' '):
154 if len(l) - len(l.lstrip('#')) > 6:
/external/skia/platform_tools/debugging/lldb/
Dskia.py57 return int(name.lstrip('[').rstrip(']'))
102 return int(name.lstrip('[').rstrip(']'))
151 return int(name.lstrip('[').rstrip(']'))
/external/icu/icu4c/source/test/depstest/
Ddependencies.py130 line = line.lstrip()
154 name = line[9:].lstrip()
163 name = line[7:].lstrip()
/external/cronet/third_party/icu/source/test/depstest/
Ddependencies.py130 line = line.lstrip()
154 name = line[9:].lstrip()
163 name = line[7:].lstrip()
/external/cronet/testing/libfuzzer/fuzzers/
Dgenerate_javascript_parser_proto.py18 word_string = word_string.lstrip().rstrip()
35 word_string = word_string.lstrip()
/external/llvm/utils/
DlldbDataFormatters.py35 return int(name.lstrip('[').rstrip(']'))
74 return int(name.lstrip('[').rstrip(']'))
/external/libopus/meson/
Dget-version.py42 package_version = git_cmd.stdout.decode('ascii').strip().lstrip('v')
47 package_version = line[17:].strip().lstrip('v').rstrip('"')
/external/perfetto/tools/
Dgen_amalgamated_sql.py111 x.lstrip() for x in f.readlines() if not x.lstrip().startswith('--'))
/external/markdown/markdown/
Dblockprocessors.py370 p.text = lch.tail.lstrip()
526 postlines = block[match.end():].lstrip('\n')
573 link = m.group(2).lstrip('<').rstrip('>')
578 blocks.insert(0, block[m.end():].lstrip('\n'))
619 parent.text = block.lstrip()
623 p.text = block.lstrip()
/external/python/setuptools/pkg_resources/tests/
Dtest_working_set.py78 strip_comments(s.lstrip()) for s in
79 textwrap.dedent(test).lstrip().split('\n\n', 5)
/external/AFLplusplus/
D.custom-format.py74 if line.lstrip().startswith("#"):
75 if line[line.find("#") + 1 :].lstrip().startswith("define"):
/external/mesa3d/bin/
Dgen_release_notes.py138 bug = line.lstrip('Closes:').strip()
146 issues.append(bug.lstrip('#'))
181 yield l.lstrip(), False
/external/autotest/client/site_tests/network_Ipv6SimpleNegotiation/
Dnetwork_Ipv6SimpleNegotiation.py41 parts = line.lstrip().split()
62 parts = line.lstrip().split(' ')
/external/python/setuptools/setuptools/_distutils/
Dtext_file.py226 line = line.lstrip()
251 line = line.lstrip()
/external/python/cpython2/Lib/distutils/
Dtext_file.py237 line = line.lstrip()
263 line = line.lstrip()
/external/python/cpython3/Lib/distutils/
Dtext_file.py226 line = line.lstrip()
251 line = line.lstrip()

12345678910>>...14