Home
last modified time | relevance | path

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

12345

/third_party/cef/tools/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.py53 if child.prefix.lstrip().startswith('#'):
62 child_prefix = child.prefix.lstrip('\n')
75 comment_column += len(comment_prefix) - len(comment_prefix.lstrip())
128 after_column = len(after[0]) - len(after[0].lstrip())
174 value = comment_lines[0].lstrip()
179 len(comment_lines[0]) - len(comment_lines[0].lstrip()))
191 len(comment_prefix[rindex:].lstrip()))
231 while index < len(lines) and lines[index].lstrip().startswith('#'):
247 while index < len(lines) and not lines[index].lstrip():
Dcontinuation_splicer.py38 if node.prefix.lstrip().startswith('\\\n'):
Dformat_token.py128 comment_lines = [s.lstrip() for s in self.value.splitlines()]
143 '\n' * newlines_before + self.whitespace_prefix.lstrip('\n'))
/third_party/ltp/tools/sparse/sparse-src/validation/
Dcall-inlined.c12 static inline const char *lstrip(const char *str) in lstrip() function
17 const char *bas(void) { return lstrip("abc"); } in bas()
18 const char *qus(void) { return lstrip(messg); } in qus()
/third_party/mesa3d/src/mapi/new/
Dgen_gldispatch_mapi.py62 """.lstrip("\n"))
82 """.lstrip("\n")
157 """.lstrip("\n").format(f=func, retStr=retStr)
/third_party/skia/platform_tools/debugging/lldb/
Dskia.py57 return int(name.lstrip('[').rstrip(']'))
103 return int(name.lstrip('[').rstrip(']'))
152 return int(name.lstrip('[').rstrip(']'))
/third_party/mesa3d/bin/
Dgen_release_notes.py197 bug = line.lstrip('Closes:').strip()
202 issues.extend([b.strip().lstrip('#') for b in bug.split(',')])
204 issues.append(bug.lstrip('#'))
246 yield l.lstrip(), False
/third_party/icu/icu4c/source/test/depstest/
Ddependencies.py130 line = line.lstrip()
154 name = line[9:].lstrip()
163 name = line[7:].lstrip()
/third_party/python/Lib/distutils/
Dtext_file.py226 line = line.lstrip()
251 line = line.lstrip()
/third_party/python/Tools/clinic/
Dcpp.py121 line = before.rstrip() + ' ' + after.lstrip()
137 line = line[1:].lstrip()
/third_party/python/Lib/email/
Dquoprimime.py111 L.append(s.lstrip())
115 L.append(s.lstrip())
Dheader.py92 unencoded = unencoded.lstrip()
377 formatter.feed(self._continuation_ws, ' ' + line.lstrip(),
380 sline = line.lstrip()
/third_party/skia/third_party/externals/abseil-cpp/absl/
Dabseil.podspec.gen.py72 return [path.lstrip("/").replace(":", "/") for path in paths]
140 SPEC_TEMPLATE).lstrip()
/third_party/mesa3d/src/egl/generate/
Dgen_egl_dispatch.py107 """.lstrip("\n"))
192 """).lstrip("\n").format(f=func, ef=eglFunc)
/third_party/python/Doc/includes/sqlite3/
Dcomplete_statement.py24 if buffer.lstrip().upper().startswith("SELECT"):
/third_party/python/Doc/tools/
Drstlint.py114 if line.lstrip()[0] not in '+|' and \
116 not line.lstrip().startswith(('.. function',
/third_party/rust/crates/clap/.github/workflows/
Drelease-notes.py24 version = args.tag.lstrip("v")
/third_party/rust/crates/regex/scripts/
Dfrequencies.py22 '''.lstrip()
/third_party/rust/crates/memchr/scripts/
Dmake-byte-frequency-table22 '''.lstrip()
/third_party/nghttp2/doc/_exts/rubydomain/
Drubydomain.py124 name_prefix = name_prefix[len(classname):].lstrip('.')
457 title = title.lstrip('.') # only has a meaning for the target
458 title = title.lstrip('#')
461 target = target.lstrip('~') # only has a meaning for the title
/third_party/python/Tools/scripts/
Dgenerate_opcode_h.py16 """.lstrip()
/third_party/python/Tools/peg_generator/pegen/
Dkeywordgen.py36 '''.lstrip()
/third_party/python/Tools/c-analyzer/c_parser/parser/
D_regexes.py13 text = '\n' + indent + text.lstrip()
/third_party/python/Lib/
Dtextwrap.py262 if len(indent) + len(self.placeholder.lstrip()) > self.width:
339 lines.append(indent + self.placeholder.lstrip())

12345