/external/python/cpython2/Doc/library/ |
D | textwrap.rst | 16 :func:`fill`, as well as :class:`TextWrapper`, the class that does all the work, 19 otherwise, you should use an instance of :class:`TextWrapper` for efficiency. 27 :class:`TextWrapper`, documented below. *width* defaults to ``70``. 29 See the :meth:`TextWrapper.wrap` method for additional details on how 43 Both :func:`wrap` and :func:`fill` work by creating a :class:`TextWrapper` 46 to create your own :class:`TextWrapper` object. 50 :attr:`TextWrapper.break_long_words` is set to false. 81 .. class:: TextWrapper(...) 83 The :class:`TextWrapper` constructor accepts a number of optional keyword 87 wrapper = TextWrapper(initial_indent="* ") [all …]
|
/external/python/cpython3/Doc/library/ |
D | textwrap.rst | 15 as well as :class:`TextWrapper`, the class that does all the work. 18 :class:`TextWrapper` for efficiency. 27 :class:`TextWrapper`, documented below. *width* defaults to ``70``. 29 See the :meth:`TextWrapper.wrap` method for additional details on how 61 :class:`TextWrapper`, documented below. Note that the whitespace is 62 collapsed before the text is passed to the :class:`TextWrapper` :meth:`fill` 124 :class:`TextWrapper` instance and calling a single method on it. That 127 create your own :class:`TextWrapper` object. 131 :attr:`TextWrapper.break_long_words` is set to false. 133 .. class:: TextWrapper(**kwargs) [all …]
|
/external/skia/modules/skparagraph/src/ |
D | TextWrapper.cpp | 40 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters) { in lookAhead() 169 void TextWrapper::moveForward(bool hasEllipsis) { in moveForward() 195 void TextWrapper::trimEndSpaces(TextAlign align) { in trimEndSpaces() 207 SkScalar TextWrapper::getClustersTrimmedWidth() { in getClustersTrimmedWidth() 228 std::tuple<Cluster*, size_t, SkScalar> TextWrapper::trimStartSpaces(Cluster* endOfClusters) { in trimStartSpaces() 254 void TextWrapper::breakTextIntoLines(ParagraphImpl* parent, in breakTextIntoLines()
|
D | TextWrapper.h | 14 class TextWrapper { 160 TextWrapper() { in TextWrapper() function
|
D | ParagraphImpl.h | 233 friend class TextWrapper;
|
D | Run.h | 467 friend class TextWrapper;
|
D | ParagraphImpl.cpp | 514 TextWrapper textWrapper; in breakShapedTextIntoLines()
|
/external/python/cpython3/Lib/ |
D | textwrap.py | 17 class TextWrapper: class 378 w = TextWrapper(width=width, **kwargs) 390 w = TextWrapper(width=width, **kwargs) 405 w = TextWrapper(width=width, max_lines=1, **kwargs)
|
/external/skia/modules/skparagraph/ |
D | skparagraph.gni | 40 "$_src/TextWrapper.cpp", 41 "$_src/TextWrapper.h",
|
/external/python/cpython2/Lib/test/ |
D | test_textwrap.py | 14 from textwrap import TextWrapper, wrap, fill, dedent 50 self.wrapper = TextWrapper(width=45) 96 wrapper = TextWrapper(45, fix_sentence_endings=True) 104 wrapper = TextWrapper(60, fix_sentence_endings=True) 441 self.wrapper = TextWrapper()
|
/external/python/cpython2/Lib/ |
D | textwrap.py | 40 class TextWrapper: class 353 w = TextWrapper(width=width, **kwargs) 365 w = TextWrapper(width=width, **kwargs)
|
/external/python/cpython3/Lib/test/ |
D | test_textwrap.py | 13 from textwrap import TextWrapper, wrap, fill, dedent, indent, shorten 49 self.wrapper = TextWrapper(width=45) 95 wrapper = TextWrapper(45, fix_sentence_endings=True) 111 wrapper = TextWrapper(60, fix_sentence_endings=True) 576 self.wrapper = TextWrapper()
|
D | test_pydoc.py | 1095 self.assertEqual(self._get_summary_line(textwrap.TextWrapper.wrap), 1105 t = textwrap.TextWrapper()
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_calltips.py | 74 if textwrap.TextWrapper.__doc__ is not None: 75 self.assertEqual(signature(textwrap.TextWrapper), '''\
|
D | test_idlehistory.py | 55 class TextWrapper: class 74 self.text = text = TextWrapper(self.root)
|
D | test_formatparagraph.py | 230 class TextWrapper: class 240 self.text = TextWrapper(root)
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_history.py | 58 class TextWrapper: class 78 self.text = text = TextWrapper(self.root)
|
D | test_calltip.py | 97 if textwrap.TextWrapper.__doc__ is not None: 98 self.assertEqual(get_spec(textwrap.TextWrapper), '''\
|
D | test_format.py | 233 class TextWrapper: class 243 self.text = TextWrapper(root)
|
/external/pigweed/pw_cli/py/pw_cli/ |
D | plugins.py | 39 from textwrap import TextWrapper 344 wrapper = TextWrapper(width=80,
|
/external/autotest/cli/ |
D | topic_common.py | 287 twrap = textwrap.TextWrapper(initial_indent=' ', 397 twrap = textwrap.TextWrapper(initial_indent=' ', 735 twrap = textwrap.TextWrapper(initial_indent='\t',
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0b3.rst | 146 The textwrap.TextWrapper class now honors non-breaking spaces. Based on
|
/external/python/cpython3/Lib/idlelib/ |
D | pyshell.py | 43 from textwrap import TextWrapper 1280 wrapper = TextWrapper(width=width, tabsize=8, expand_tabs=True)
|
/external/llvm-project/mlir/utils/spirv/ |
D | gen_spirv_dialect.py | 706 wrapper = textwrap.TextWrapper(
|
/external/libchrome/base/android/jni_generator/ |
D | jni_generator.py | 52 textwrap.TextWrapper(width=_WRAP_LINE_LENGTH, expand_tabs=False,
|