Home
last modified time | relevance | path

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

12

/third_party/python/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"
/third_party/boost/libs/python/test/
Dstr.cpp53 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/
Dstr.hpp56 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/
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(\
Deditor.py1298 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/
Dtest_indent.py45 self.assertEqual(d2, expect.expandtabs(2))
/third_party/boost/libs/python/src/
Dstr.cpp181 BOOST_PYTHON_DEFINE_STR_METHOD(expandtabs, 0)
182 BOOST_PYTHON_DEFINE_STR_METHOD(expandtabs, 1)
/third_party/boost/libs/python/doc/reference/
Dstr.qbk54 str expandtabs() const;
56 str expandtabs(T const& tabsize) const;
/third_party/ltp/tools/sparse/sparse-src/Documentation/sphinx/
Dcdoc.py293 lst.append(l.expandtabs(8), filename, lineno)
/third_party/python/Lib/
Dtextwrap.py154 text = text.expandtabs(self.tabsize)
Dinspect.py650 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()
Dtrace.py324 outfile.write(line.expandtabs(8))
Ddifflib.py1746 line = line.expandtabs(self._tabsize)
Ddoctest.py636 string = string.expandtabs()
Dpydoc.py617 text = self.escape(text.expandtabs())
/third_party/python/Lib/distutils/
Dfancy_getopt.py386 text = text.expandtabs()
/third_party/python/Tools/unicode/
Dgencodec.py356 return '\n'.join(l).expandtabs()
/third_party/python/Lib/collections/
D__init__.py1430 def expandtabs(self, tabsize=8): member in UserString
1431 return self.__class__(self.data.expandtabs(tabsize))
/third_party/python/Doc/library/
Dtextwrap.rst175 expanded to spaces using the :meth:`expandtabs` method of *text*.
Dstdtypes.rst1614 .. 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/
Dtest_bigmem.py121 self.assertTrue(s.expandtabs() == s)
125 s = s.expandtabs(tabsize)
Dtest_unicode.py2324 self.assertRaises(OverflowError, 't\tt\t'.expandtabs, sys.maxsize)
2329 self.assertIs(s.expandtabs(), s)

12