/third_party/python/Tools/scripts/ |
D | pindent.py | 101 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 …]
|
D | untabify.py | 36 newtext = text.expandtabs(tabsize)
|
D | reindent.py | 186 self.lines = [_rstrip(line).expandtabs() + "\n"
|
/third_party/boost/libs/python/test/ |
D | str.cpp | 53 print(tabstr.expandtabs()); in work_with_string() 54 print(tabstr.expandtabs(4)); in work_with_string() 55 print(tabstr.expandtabs(7L)); in work_with_string()
|
/third_party/boost/boost/python/ |
D | str.hpp | 56 str expandtabs() const; 57 str expandtabs(object_cref tabsize) const; 238 str expandtabs() const { return base::expandtabs(); } in expandtabs() function in boost::python::str 241 str expandtabs(T const& tabsize) const in expandtabs() function in boost::python::str 243 return base::expandtabs(object(tabsize)); in expandtabs()
|
/third_party/python/Lib/idlelib/ |
D | format.py | 143 if len((partial + word).expandtabs()) > limit and \ 209 return m.end(), len(m.group().expandtabs(tabwidth)) 341 lines[pos] = lines[pos].expandtabs(tabwidth)
|
D | pyparse.py | 491 return len(code[i:j].expandtabs(self.tabwidth)) + extra 557 return len(code[self.stmt_start:i].expandtabs(\
|
D | editor.py | 1298 have = len(chars.expandtabs(tabwidth)) 1306 have = len(chars.expandtabs(tabwidth)) 1343 effective = len(prefix.expandtabs(self.tabwidth)) 1548 return m.end(), len(m.group().expandtabs(tabwidth))
|
/third_party/python/Lib/test/test_json/ |
D | test_indent.py | 45 self.assertEqual(d2, expect.expandtabs(2))
|
/third_party/boost/libs/python/src/ |
D | str.cpp | 181 BOOST_PYTHON_DEFINE_STR_METHOD(expandtabs, 0) 182 BOOST_PYTHON_DEFINE_STR_METHOD(expandtabs, 1)
|
/third_party/boost/libs/python/doc/reference/ |
D | str.qbk | 54 str expandtabs() const; 56 str expandtabs(T const& tabsize) const;
|
/third_party/ltp/tools/sparse/sparse-src/Documentation/sphinx/ |
D | cdoc.py | 293 lst.append(l.expandtabs(8), filename, lineno)
|
/third_party/python/Lib/ |
D | textwrap.py | 154 text = text.expandtabs(self.tabsize)
|
D | inspect.py | 650 expline = line.expandtabs() 750 lines = doc.expandtabs().split('\n') 1020 comments.append(lines[end].expandtabs()) 1030 comments = [lines[end].expandtabs().lstrip()] 1033 comment = lines[end].expandtabs().lstrip() 1038 comment = lines[end].expandtabs().lstrip()
|
D | trace.py | 324 outfile.write(line.expandtabs(8))
|
D | difflib.py | 1746 line = line.expandtabs(self._tabsize)
|
D | doctest.py | 636 string = string.expandtabs()
|
D | pydoc.py | 617 text = self.escape(text.expandtabs())
|
/third_party/python/Lib/distutils/ |
D | fancy_getopt.py | 386 text = text.expandtabs()
|
/third_party/python/Tools/unicode/ |
D | gencodec.py | 356 return '\n'.join(l).expandtabs()
|
/third_party/python/Lib/collections/ |
D | __init__.py | 1430 def expandtabs(self, tabsize=8): member in UserString 1431 return self.__class__(self.data.expandtabs(tabsize))
|
/third_party/python/Doc/library/ |
D | textwrap.rst | 175 expanded to spaces using the :meth:`expandtabs` method of *text*.
|
D | stdtypes.rst | 1614 .. method:: str.expandtabs(tabsize=8) 1629 >>> '01\t012\t0123\t01234'.expandtabs() 1631 >>> '01\t012\t0123\t01234'.expandtabs(4) 3123 .. method:: bytes.expandtabs(tabsize=8) 3124 bytearray.expandtabs(tabsize=8) 3140 >>> b'01\t012\t0123\t01234'.expandtabs() 3142 >>> b'01\t012\t0123\t01234'.expandtabs(4)
|
/third_party/python/Lib/test/ |
D | test_bigmem.py | 121 self.assertTrue(s.expandtabs() == s) 125 s = s.expandtabs(tabsize)
|
D | test_unicode.py | 2324 self.assertRaises(OverflowError, 't\tt\t'.expandtabs, sys.maxsize) 2329 self.assertIs(s.expandtabs(), s)
|