Searched refs:lstrip (Results 1 – 25 of 289) sorted by relevance
12345678910>>...12
/external/yapf/yapf/yapflib/ |
D | verifier.py | 46 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')
|
D | comment_splicer.py | 53 if child.prefix.lstrip().startswith('#'): 62 child_prefix = child.prefix.lstrip('\n') 74 comment_column -= len(comment_prefix.lstrip()) 163 value = comment_lines[0].lstrip() 168 len(comment_lines[0]) - len(comment_lines[0].lstrip())) 181 comment_prefix[rindex:].lstrip())) 221 while index < len(lines) and lines[index].lstrip().startswith('#'): 237 while index < len(lines) and not lines[index].lstrip():
|
/external/python/setuptools/setuptools/tests/ |
D | test_windows_wrappers.py | 69 """).lstrip() 108 """).lstrip() 133 """).lstrip() 145 """).lstrip()
|
D | textwrap.py | 8 return textwrap.dedent(s).lstrip()
|
/external/mesa3d/scons/ |
D | source_list.py | 74 val = self._expand_value(line[op_end:].lstrip()) 97 line = self.line_cont + line.lstrip() 103 line = line.lstrip()
|
/external/mesa3d/src/mapi/new/ |
D | gen_gldispatch_mapi.py | 62 """.lstrip("\n")) 82 """.lstrip("\n") 157 """.lstrip("\n").format(f=func, retStr=retStr)
|
/external/cldr/tools/scripts/ |
D | coll2icu.py | 185 if ("<reset" in line) or line.lstrip().startswith("<!--"): 242 line = line.lstrip() 252 line = partial + line.lstrip() + "\n"
|
/external/catch2/scripts/ |
D | updateDocumentToC.py | 90 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/ |
D | skia.py | 57 return int(name.lstrip('[').rstrip(']')) 103 return int(name.lstrip('[').rstrip(']')) 152 return int(name.lstrip('[').rstrip(']'))
|
/external/icu/icu4c/source/test/depstest/ |
D | dependencies.py | 130 line = line.lstrip() 154 name = line[9:].lstrip() 163 name = line[7:].lstrip()
|
/external/llvm/utils/ |
D | lldbDataFormatters.py | 35 return int(name.lstrip('[').rstrip(']')) 74 return int(name.lstrip('[').rstrip(']'))
|
/external/libopus/meson/ |
D | get-version.py | 42 package_version = git_cmd.stdout.decode('ascii').strip().lstrip('v') 47 package_version = line[17:].strip().lstrip('v').rstrip('"')
|
/external/python/setuptools/pkg_resources/tests/ |
D | test_working_set.py | 78 strip_comments(s.lstrip()) for s in 79 textwrap.dedent(test).lstrip().split('\n\n', 5)
|
/external/mesa3d/bin/ |
D | gen_release_notes.py | 138 bug = line.lstrip('Closes:').strip() 146 issues.append(bug.lstrip('#')) 181 yield l.lstrip(), False
|
/external/llvm-project/llvm/utils/ |
D | lldbDataFormatters.py | 42 return int(name.lstrip('[').rstrip(']')) 81 return int(name.lstrip('[').rstrip(']'))
|
/external/autotest/client/site_tests/network_Ipv6SimpleNegotiation/ |
D | network_Ipv6SimpleNegotiation.py | 41 parts = line.lstrip().split() 62 parts = line.lstrip().split(' ')
|
/external/python/cpython2/Lib/distutils/ |
D | text_file.py | 237 line = line.lstrip() 263 line = line.lstrip()
|
/external/python/cpython3/Lib/distutils/ |
D | text_file.py | 226 line = line.lstrip() 251 line = line.lstrip()
|
/external/python/cpython2/Lib/ |
D | inspect.py | 352 return len(expline) - len(string.lstrip(expline)) 381 content = len(string.lstrip(line)) 387 lines[0] = lines[0].lstrip() 612 if end >= 0 and string.lstrip(lines[end])[:1] == '#' and \ 614 comments = [string.lstrip(string.expandtabs(lines[end]))] 617 comment = string.lstrip(string.expandtabs(lines[end])) 622 comment = string.lstrip(string.expandtabs(lines[end]))
|
/external/python/cpython3/Tools/clinic/ |
D | cpp.py | 121 line = before.rstrip() + ' ' + after.lstrip() 137 line = line[1:].lstrip()
|
/external/perfetto/tools/ |
D | gen_bazel | 468 '''.format(tool_name).lstrip() 483 '''.lstrip() 500 '''.lstrip() 525 '''.lstrip()
|
/external/python/cpython2/Doc/tools/ |
D | rstlint.py | 112 if line.lstrip()[0] not in '+|' and \ 114 not line.lstrip().startswith(('.. function',
|
/external/python/cpython3/Doc/tools/ |
D | rstlint.py | 113 if line.lstrip()[0] not in '+|' and \ 115 not line.lstrip().startswith(('.. function',
|
/external/python/cpython3/Lib/email/ |
D | quoprimime.py | 111 L.append(s.lstrip()) 115 L.append(s.lstrip())
|
/external/abseil-cpp/absl/ |
D | abseil.podspec.gen.py | 72 return [path.lstrip("/").replace(":", "/") for path in paths] 140 SPEC_TEMPLATE).lstrip()
|
12345678910>>...12