Home
last modified time | relevance | path

Searched refs:text_wrap (Results 1 – 6 of 6) sorted by relevance

/external/python/absl-py/absl/flags/tests/
Dflags_formatting_test.py52 wrapped = flags.text_wrap(text).split('\n')
56 wrapped = flags.text_wrap(text, 80).split('\n')
78 self.assertEqual(exp, flags.text_wrap(input_value, width).split('\n'))
82 self.assertEqual('', flags.text_wrap(' '))
83 self.assertEqual('\n', flags.text_wrap(' \n '))
84 self.assertEqual('\n', flags.text_wrap('\n\n'))
85 self.assertEqual('\n\n', flags.text_wrap('\n\n\n'))
86 self.assertEqual('\n', flags.text_wrap('\n '))
87 self.assertEqual('a\n\nb', flags.text_wrap('a\n \nb'))
88 self.assertEqual('a\n\n\nb', flags.text_wrap('a\n \n \nb'))
[all …]
/external/python/absl-py/absl/flags/
D__init__.py203 text_wrap = _helpers.text_wrap variable
D__init__.pyi97 text_wrap = _helpers.text_wrap
D_flagvalues.py974 flaghelp = _helpers.text_wrap(
978 flaghelp += _helpers.text_wrap(
982 flaghelp += _helpers.text_wrap(
D_helpers.py229 def text_wrap(text, length=None, indent='', firstline_indent=None): function
/external/python/absl-py/absl/
Dapp.py408 doc = flags.text_wrap(doc, indent=' ', firstline_indent='')