Searched refs:text_wrap (Results 1 – 6 of 6) sorted by relevance
/external/python/absl-py/absl/flags/tests/ |
D | flags_formatting_test.py | 52 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__.py | 203 text_wrap = _helpers.text_wrap variable
|
D | __init__.pyi | 97 text_wrap = _helpers.text_wrap
|
D | _flagvalues.py | 974 flaghelp = _helpers.text_wrap( 978 flaghelp += _helpers.text_wrap( 982 flaghelp += _helpers.text_wrap(
|
D | _helpers.py | 229 def text_wrap(text, length=None, indent='', firstline_indent=None): function
|
/external/python/absl-py/absl/ |
D | app.py | 408 doc = flags.text_wrap(doc, indent=' ', firstline_indent='')
|