Home
last modified time | relevance | path

Searched refs:splitlines (Results 1 – 25 of 553) sorted by relevance

12345678910>>...23

/external/python/cpython2/Lib/test/
Dtest_difflib.py151 f1a = f1a.splitlines()
152 t1a = t1a.splitlines()
153 f1b = f1b.splitlines()
154 t1b = t1b.splitlines()
155 f2 = patch914575_from2.splitlines()
156 t2 = patch914575_to2.splitlines()
187 k.make_table(f3.splitlines(),t3.splitlines(),context=True,numlines=0),
189 k.make_table(f3.splitlines(),t3.splitlines()),
191 k.make_table(f3.splitlines(True),t3.splitlines(True)),
Dtest_quopri.py186 self.assertEqual(cout.splitlines(), e.splitlines())
194 self.assertEqual(cout.splitlines(), p.splitlines())
/external/python/cpython3/Lib/test/
Dtest_difflib.py182 f1a = f1a.splitlines()
183 t1a = t1a.splitlines()
184 f1b = f1b.splitlines()
185 t1b = t1b.splitlines()
186 f2 = patch914575_from2.splitlines()
187 t2 = patch914575_to2.splitlines()
218 k.make_table(f3.splitlines(),t3.splitlines(),context=True,numlines=0),
220 k.make_table(f3.splitlines(),t3.splitlines()),
222 k.make_table(f3.splitlines(True),t3.splitlines(True)),
242 output = html_diff.make_file(patch914575_from1.splitlines(),
[all …]
Dtest_traceback.py123 output_encoding = str(stdout, 'ascii').splitlines()[0]
137 stdout = stdout.decode(output_encoding).splitlines()
207 self.assertEqual(stderr.splitlines(), expected)
259 tb_lines = python_fmt.splitlines()
295 self.assertEqual(stderr.getvalue().splitlines()[-4:], [
340 expected = result_f.splitlines()
341 actual = stderr_f.getvalue().splitlines()
385 expected = (tb_line + result_g).splitlines()
386 actual = stderr_g.getvalue().splitlines()
418 expected = (result_h + result_g).splitlines()
[all …]
Dtest_quopri.py192 cout = cout.decode('latin-1').splitlines()
193 e = e.decode('latin-1').splitlines()
207 self.assertEqual(cout.splitlines(), p.splitlines())
/external/python/cpython3/Lib/test/test_json/
Dtest_tool.py68 self.assertEqual(out.splitlines(), self.expect.encode().splitlines())
82 self.assertEqual(out.splitlines(), self.expect.encode().splitlines())
106 self.assertEqual(out.splitlines(),
107 self.expect_without_sort_keys.encode().splitlines())
/external/autotest/client/cros/audio/
Dalsa_utils.py83 for line in output.splitlines():
116 for line in output.splitlines():
150 line.split(',') for line in output.splitlines()))
177 for line in output.splitlines():
199 supported_channels = output.splitlines()
228 for line in output.splitlines():
243 for line in output.splitlines():
371 for line in output.splitlines():
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtUINT8_ARRAY.py119 … indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
159 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
191 param_check= open(self.param_short_name).read().splitlines()[index]
200 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
240 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
272 param_check= open(self.param_short_name).read().splitlines()[index]
281 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
358 param_check_1 = open(self.param_short_name).read().splitlines()[index]
359 param_check_2 = open(self.param_short_name).read().splitlines()[index + 1]
368 … indexed_files_system_array_value_2 = open(self.param_short_name).read().splitlines()[index + 1]
DtUINT32_ARRAY.py119 … indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
159 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
191 param_check = open(self.param_short_name).read().splitlines()[index]
200 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
240 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
272 param_check = open(self.param_short_name).read().splitlines()[index]
281 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
DtINT16_ARRAY.py118 … indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
158 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
190 param_check = open(self.param_short_name).read().splitlines()[index]
199 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
239 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
271 param_check = open(self.param_short_name).read().splitlines()[index]
280 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_warning.py47 self.assertEqual(idlemsg.splitlines(), f.getvalue().splitlines())
69 self.assertEqual(shellmsg.splitlines(), f.getvalue().splitlines())
/external/python/cpython2/Lib/json/tests/
Dtest_tool.py45 self.assertEqual(out.splitlines(), self.expect.encode().splitlines())
58 self.assertEqual(out.splitlines(), self.expect.encode().splitlines())
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_warning.py47 self.assertEqual(idlemsg.splitlines(), f.getvalue().splitlines())
69 self.assertEqual(shellmsg.splitlines(), f.getvalue().splitlines())
/external/python/cpython2/Lib/ctypes/test/
Dtest_random_things.py51 self.assertEqual(out.splitlines()[-1],
57 self.assertEqual(out.splitlines()[-1][:19],
63 self.assertEqual(out.splitlines()[-1][:19],
69 self.assertEqual(out.splitlines()[-1],
/external/python/cpython3/Lib/ctypes/test/
Dtest_random_things.py51 self.assertEqual(out.splitlines()[-1],
57 self.assertEqual(out.splitlines()[-1][:19],
63 self.assertEqual(out.splitlines()[-1][:19],
69 self.assertEqual(out.splitlines()[-1],
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt054main.py73 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3)
99 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3)
125 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3)
154 self.failUnlessEqual(len(stdout.splitlines()), 1, stdout)
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
DtDomain_Configuration.py157 listed_conf_backup = f_configurations_backup.read().splitlines()
158 listed_conf = f_configurations.read().splitlines()
270 listed_conf_backup = f_configurations_backup.read().splitlines()
271 listed_conf = f_configurations.read().splitlines()
378 listed_conf_backup = f_configurations_backup.read().splitlines()
379 listed_conf = f_configurations.read().splitlines()
454 listed_conf = f_configurations.read().strip('\r\n').splitlines()
481 listed_conf = configurations_renamed.strip('\r\n').splitlines()
DtDomain_Elements_Sequences.py112 configElementOrder = out.strip('\r\n').splitlines()[:len(expected)]
184 new_element_name = f_ConfigElementsOrder.read().splitlines()
185 element_name = f_ConfigElementsOrder_Backup.read().splitlines()
263 new_element_names = f_ConfigElementsOrder.read().splitlines()
264 element_name = f_ConfigElementsOrder_Backup.read().splitlines()
/external/v8/tools/release/
Dmergeinfo.py31 'master']).strip().splitlines()
50 return commits.splitlines()
57 branches = branches.splitlines()
/external/autotest/client/site_tests/security_SysVIPC/
Dsecurity_SysVIPC.py44 for link in utils.system_output(cmd).splitlines():
53 for line in utils.system_output(cmd, ignore_status=True).splitlines():
67 for line in utils.system_output(cmd, ignore_status=True).splitlines():
/external/autotest/server/site_tests/autoupdate_ForcedOOBEUpdate/
Dautoupdate_ForcedOOBEUpdate.py35 '/var/log/update_engine/').stdout.splitlines()
85 status = status.stdout.splitlines()
124 status = status.stdout.splitlines()
242 files = self._host.run(update_engine_files_cmd).stdout.splitlines()
/external/python/cpython2/Lib/
Dcodecs.py496 lines = newchars.splitlines(True)
538 line = line.splitlines(False)[0]
554 lines = line.splitlines(True)
570 line = line.splitlines(False)[0]
573 line0withoutend = lines[0].splitlines(False)[0]
585 line = line.splitlines(False)[0]
604 return data.splitlines(keepends)
813 return data.splitlines(1)
/external/python/cpython3/Lib/
Dcodecs.py506 lines = newchars.splitlines(keepends=True)
548 line = line.splitlines(keepends=False)[0]
565 lines = line.splitlines(keepends=True)
581 line = line.splitlines(keepends=False)[0]
584 line0withoutend = lines[0].splitlines(keepends=False)[0]
597 line = line.splitlines(keepends=False)[0]
616 return data.splitlines(keepends)
819 return data.splitlines(keepends=True)
/external/v8/testing/gtest/scripts/
Dupload.py651 for line in diff.splitlines(True):
754 for line in info.splitlines():
797 for line in data.splitlines():
860 status_lines = status.splitlines()
880 old_files = out.splitlines()
888 self.svnls_cache[dirname] = (old_files, out.splitlines())
1003 for line in gitdiff.splitlines():
1024 return status.splitlines()
1071 for line in data.splitlines():
1096 for line in status.splitlines():
[all …]
/external/google-breakpad/src/testing/scripts/
Dupload.py651 for line in diff.splitlines(True):
754 for line in info.splitlines():
797 for line in data.splitlines():
860 status_lines = status.splitlines()
880 old_files = out.splitlines()
888 self.svnls_cache[dirname] = (old_files, out.splitlines())
1003 for line in gitdiff.splitlines():
1024 return status.splitlines()
1071 for line in data.splitlines():
1096 for line in status.splitlines():
[all …]

12345678910>>...23