Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dpindent.py99 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
105 self.expandtabs = expandtabs
119 if self.expandtabs:
120 self._write(line.expandtabs(self.tabsize))
272 indent = len(line[:i].expandtabs(self.tabsize))
338 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
339 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
344 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
345 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
350 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument
[all …]
Duntabify.py34 newtext = text.expandtabs(tabsize)
Dreindent.py165 self.lines = [_rstrip(line).expandtabs() + "\n"
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dbuffer_tests.py158 self.marshal(b'abc\rab\tdef\ng\thi').expandtabs())
160 self.marshal(b'abc\rab\tdef\ng\thi').expandtabs(8))
162 self.marshal(b'abc\rab\tdef\ng\thi').expandtabs(4))
164 self.marshal(b'abc\r\nab\tdef\ng\thi').expandtabs(4))
166 self.marshal(b'abc\rab\tdef\ng\thi').expandtabs())
168 self.marshal(b'abc\rab\tdef\ng\thi').expandtabs(8))
170 self.marshal(b'abc\r\nab\r\ndef\ng\r\nhi').expandtabs(4))
171 self.assertEqual(b' a\n b', self.marshal(b' \ta\n\tb').expandtabs(1))
173 self.assertRaises(TypeError, self.marshal(b'hello').expandtabs, 42, 42)
177 self.marshal(b'\ta\n\tb').expandtabs, sys.maxint)
Dtest_str.py107 self.assertRaises(OverflowError, 't\tt\t'.expandtabs, sys.maxint)
Dtest_bigmem.py150 self.assertEqual(s.expandtabs(), s)
154 s = s.expandtabs(tabsize)
Dtest_unicode.py1065 self.assertRaises(OverflowError, u't\tt\t'.expandtabs, sys.maxint)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dinspect.py352 expline = string.expandtabs(line)
375 lines = string.split(string.expandtabs(doc), '\n')
605 comments.append(string.expandtabs(lines[end]))
615 comments = [string.lstrip(string.expandtabs(lines[end]))]
618 comment = string.lstrip(string.expandtabs(lines[end]))
623 comment = string.lstrip(string.expandtabs(lines[end]))
Dstring.py473 def expandtabs(s, tabsize=8): function
481 return s.expandtabs(tabsize)
Dtextwrap.py154 text = text.expandtabs()
Dformatter.py402 data = data.expandtabs()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dinspect.py354 expline = string.expandtabs(line)
377 lines = string.split(string.expandtabs(doc), '\n')
603 comments.append(string.expandtabs(lines[end]))
613 comments = [string.lstrip(string.expandtabs(lines[end]))]
616 comment = string.lstrip(string.expandtabs(lines[end]))
621 comment = string.lstrip(string.expandtabs(lines[end]))
Dstring.py471 def expandtabs(s, tabsize=8): function
479 return s.expandtabs(tabsize)
Dstringold.py328 def expandtabs(s, tabsize=8): function
DUserString.py85 def expandtabs(self, tabsize=8): member in UserString
86 return self.__class__(self.data.expandtabs(tabsize))
Dtextwrap.py146 text = text.expandtabs()
Dformatter.py402 data = data.expandtabs()
Dtrace.py388 outfile.write(lines[i].expandtabs(8))
Ddifflib.py1749 line = line.expandtabs(self._tabsize)
Dpydoc.py57 from string import expandtabs, find, join, lower, split, strip, rfind, rstrip
474 text = self.escape(expandtabs(text))
Ddoctest.py570 string = string.expandtabs()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dgencodec.py351 return '\n'.join(l).expandtabs()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dfancy_getopt.py422 text = string.expandtabs(text)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dpydoc.py71 from string import expandtabs, find, join, lower, split, strip, rfind, rstrip
520 text = self.escape(expandtabs(text))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dpydoc.py57 from string import expandtabs, find, join, lower, split, strip, rfind, rstrip
474 text = self.escape(expandtabs(text))