Home
last modified time | relevance | path

Searched refs:check_wrap (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_textwrap.py36 def check_wrap(self, text, width, expect, **kwargs): member in BaseTestCase
57 self.check_wrap(text, 12,
64 self.check_wrap(text, 42,
67 self.check_wrap(text, 80, [text])
71 self.check_wrap("", 6, [])
72 self.check_wrap("", 6, [], drop_whitespace=False)
76 self.check_wrap("", 6, [], initial_indent="++")
77 self.check_wrap("", 6, [], initial_indent="++", drop_whitespace=False)
150 self.check_wrap(text, 20, ["This is a short",
152 self.check_wrap(text, 40, ["This is a short paragraph."])
[all …]
/external/python/cpython3/Lib/test/
Dtest_textwrap.py35 def check_wrap(self, text, width, expect, **kwargs): member in BaseTestCase
56 self.check_wrap(text, 12,
63 self.check_wrap(text, 42,
66 self.check_wrap(text, 80, [text])
70 self.check_wrap("", 6, [])
71 self.check_wrap("", 6, [], drop_whitespace=False)
75 self.check_wrap("", 6, [], initial_indent="++")
76 self.check_wrap("", 6, [], initial_indent="++", drop_whitespace=False)
104 self.check_wrap(text, 80, expect)
108 self.check_wrap(text, 80, expect, tabsize=4)
[all …]
/external/llvm-project/polly/lib/External/isl/
Disl_coalesce.c2104 static enum isl_change check_wrap(int i, int j, struct isl_coalesce_info *info) in check_wrap() function
2602 change = check_wrap(i, j, info); in coalesce_local_pair_reuse()