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/swiftshader/third_party/llvm-7.0/llvm/utils/UpdateTestChecks/
Dasm.py8 expandtabs = str.expandtabs variable in string
105 asm = string.expandtabs(asm, 2)
132 asm = string.expandtabs(asm, 2)
142 asm = string.expandtabs(asm, 2)
154 asm = string.expandtabs(asm, 2)
166 asm = string.expandtabs(asm, 2)
176 asm = string.expandtabs(asm, 2)
186 asm = string.expandtabs(asm, 2)
196 asm = string.expandtabs(asm, 2)
Dcommon.py10 expandtabs = str.expandtabs variable in string
79 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/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/cpython3/Lib/idlelib/
Dpyparse.py496 return len(code[i:j].expandtabs(self.tabwidth)) + extra
562 return len(code[self.stmt_start:i].expandtabs(\
Dparagraph.py136 if len((partial + word).expandtabs()) > limit and \
/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/
Dinspect.py522 expline = line.expandtabs()
619 lines = doc.expandtabs().split('\n')
853 comments.append(lines[end].expandtabs())
863 comments = [lines[end].expandtabs().lstrip()]
866 comment = lines[end].expandtabs().lstrip()
871 comment = lines[end].expandtabs().lstrip()
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()

123