Home
last modified time | relevance | path

Searched refs:expandtabs (Results 1 – 25 of 66) sorted by relevance

123

/external/python/cpython3/Tools/scripts/
Dpindent.py101 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
107 self.expandtabs = expandtabs
121 if self.expandtabs:
122 self._write(line.expandtabs(self.tabsize))
266 indent = len(indentws.expandtabs(self.tabsize))
267 current = len(currentws.expandtabs(self.tabsize))
280 current = len(currentws.expandtabs(self.tabsize))
332 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
333 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
338 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
[all …]
Duntabify.py36 newtext = text.expandtabs(tabsize)
Dreindent.py186 self.lines = [_rstrip(line).expandtabs() + "\n"
/external/python/cpython2/Tools/scripts/
Dpindent.py103 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
109 self.expandtabs = expandtabs
123 if self.expandtabs:
124 self._write(line.expandtabs(self.tabsize))
268 indent = len(indentws.expandtabs(self.tabsize))
269 current = len(currentws.expandtabs(self.tabsize))
282 current = len(currentws.expandtabs(self.tabsize))
334 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
335 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
340 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
[all …]
Duntabify.py34 newtext = text.expandtabs(tabsize)
Dreindent.py194 self.lines = [_rstrip(line).expandtabs() + self.newline
/external/llvm-project/llvm/utils/UpdateTestChecks/
Dasm.py9 expandtabs = str.expandtabs variable in string
169 asm = string.expandtabs(asm, 2)
201 asm = string.expandtabs(asm, 2)
211 asm = string.expandtabs(asm, 2)
223 asm = string.expandtabs(asm, 2)
233 asm = string.expandtabs(asm, 2)
247 asm = string.expandtabs(asm, 2)
257 asm = string.expandtabs(asm, 2)
267 asm = string.expandtabs(asm, 2)
277 asm = string.expandtabs(asm, 2)
[all …]
Dcommon.py11 expandtabs = str.expandtabs variable in string
218 body = string.expandtabs(body, 2)
/external/python/cpython2/Lib/
Dinspect.py351 expline = string.expandtabs(line)
374 lines = string.split(string.expandtabs(doc), '\n')
604 comments.append(string.expandtabs(lines[end]))
614 comments = [string.lstrip(string.expandtabs(lines[end]))]
617 comment = string.lstrip(string.expandtabs(lines[end]))
622 comment = string.lstrip(string.expandtabs(lines[end]))
Dstring.py473 def expandtabs(s, tabsize=8): function
481 return s.expandtabs(tabsize)
DUserString.py85 def expandtabs(self, tabsize=8): member in UserString
86 return self.__class__(self.data.expandtabs(tabsize))
Dstringold.py328 def expandtabs(s, tabsize=8): function
Dtextwrap.py154 text = text.expandtabs()
/external/python/cpython3/Lib/idlelib/
Dformat.py143 if len((partial + word).expandtabs()) > limit and \
209 return m.end(), len(m.group().expandtabs(tabwidth))
341 lines[pos] = lines[pos].expandtabs(tabwidth)
Dpyparse.py491 return len(code[i:j].expandtabs(self.tabwidth)) + extra
557 return len(code[self.stmt_start:i].expandtabs(\
/external/tensorflow/tensorflow/python/util/
Ddecorator_utils.py54 lines = docstring.expandtabs().splitlines()
/external/python/cpython3/Lib/test/test_json/
Dtest_indent.py45 self.assertEqual(d2, expect.expandtabs(2))
/external/python/cpython2/Lib/idlelib/
DPyParse.py491 return len(str[i:j].expandtabs(self.tabwidth)) + extra
553 return len(str[self.stmt_start:i].expandtabs(\
DFormatParagraph.py137 if len((partial + word).expandtabs()) > limit and \
/external/python/cpython2/Lib/test/
Dtest_strop.py123 self.assertRaises(OverflowError, strop.expandtabs, s, 0x10001)
/external/autotest/utils/
Dreindent.py164 self.lines = [_rstrip(line).expandtabs() + "\n"
/external/python/cpython3/Lib/
Dtextwrap.py154 text = text.expandtabs(self.tabsize)
/external/llvm/utils/
Dupdate_llc_test_checks.py58 asm = string.expandtabs(asm, 2)
/external/python/cpython2/Tools/unicode/
Dgencodec.py351 return '\n'.join(l).expandtabs()
/external/python/cpython3/Lib/distutils/
Dfancy_getopt.py386 text = text.expandtabs()

123