Searched refs:splitlines (Results 1 – 25 of 647) sorted by relevance
12345678910>>...26
/external/python/cpython2/Lib/test/ |
D | test_difflib.py | 151 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)),
|
D | test_quopri.py | 186 self.assertEqual(cout.splitlines(), e.splitlines()) 194 self.assertEqual(cout.splitlines(), p.splitlines())
|
/external/python/cpython3/Lib/test/ |
D | test_difflib.py | 190 f1a = f1a.splitlines() 191 t1a = t1a.splitlines() 192 f1b = f1b.splitlines() 193 t1b = t1b.splitlines() 194 f2 = patch914575_from2.splitlines() 195 t2 = patch914575_to2.splitlines() 226 k.make_table(f3.splitlines(),t3.splitlines(),context=True,numlines=0), 228 k.make_table(f3.splitlines(),t3.splitlines()), 230 k.make_table(f3.splitlines(True),t3.splitlines(True)), 250 output = html_diff.make_file(patch914575_from1.splitlines(), [all …]
|
D | test_pdb.py | 1262 any('main.py(5)foo()->None' in l for l in stdout.splitlines()), 1352 self.assertTrue(any("SUCCESS" in l for l in stdout.splitlines()), stdout) 1364 self.assertTrue(any("SUCCESS" in l for l in stdout.splitlines()), stdout) 1378 self.assertTrue(any("Breakpoint 1 at" in l for l in stdout.splitlines()), stdout) 1379 self.assertTrue(all("SUCCESS" not in l for l in stdout.splitlines()), stdout) 1402 stdout.splitlines()) 1415 in l for l in stdout.splitlines()), stdout) 1450 self.assertTrue(any("VAR from module" in l for l in stdout.splitlines()), stdout) 1451 self.assertTrue(any("VAR from top" in l for l in stdout.splitlines())) 1452 self.assertTrue(any("second var" in l for l in stdout.splitlines())) [all …]
|
D | test_traceback.py | 123 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() 386 expected = (tb_line + result_g).splitlines() 387 actual = stderr_g.getvalue().splitlines() 419 expected = (result_h + result_g).splitlines() [all …]
|
D | test_quopri.py | 192 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/ |
D | test_tool.py | 67 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 81 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 105 self.assertEqual(out.splitlines(), 106 self.expect_without_sort_keys.encode().splitlines())
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/ |
D | tUINT8_ARRAY.py | 118 … 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] 357 param_check_1 = open(self.param_short_name).read().splitlines()[index] 358 param_check_2 = open(self.param_short_name).read().splitlines()[index + 1] 367 … indexed_files_system_array_value_2 = open(self.param_short_name).read().splitlines()[index + 1]
|
D | tUINT32_ARRAY.py | 118 … 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]
|
D | tINT16_ARRAY.py | 117 … indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index] 157 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index] 225 param_check = open(self.param_short_name).read().splitlines()[index] 234 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index] 274 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index] 306 param_check = open(self.param_short_name).read().splitlines()[index] 315 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
|
/external/autotest/client/cros/audio/ |
D | alsa_utils.py | 85 for line in output.splitlines(): 118 for line in output.splitlines(): 152 line.split(',') for line in output.splitlines())) 179 for line in output.splitlines(): 201 supported_channels = output.splitlines() 230 for line in output.splitlines(): 245 for line in output.splitlines(): 373 for line in output.splitlines():
|
/external/python/cpython2/Lib/json/tests/ |
D | test_tool.py | 45 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 58 self.assertEqual(out.splitlines(), self.expect.encode().splitlines())
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_warning.py | 47 self.assertEqual(idlemsg.splitlines(), f.getvalue().splitlines()) 69 self.assertEqual(shellmsg.splitlines(), f.getvalue().splitlines())
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_warning.py | 46 self.assertEqual(idlemsg.splitlines(), f.getvalue().splitlines()) 69 self.assertEqual(shellmsg.splitlines(), f.getvalue().splitlines())
|
/external/yapf/yapftests/ |
D | yapf_test_helper.py | 38 for l in expected_code.splitlines(): 44 for l in code.splitlines(): 52 code.splitlines(), 53 expected_code.splitlines(),
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_random_things.py | 51 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/cpython2/Lib/ctypes/test/ |
D | test_random_things.py | 51 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/u-boot/test/py/tests/ |
D | test_fit.py | 256 for line in '\n'.join(text).splitlines(): 364 output = cons.run_command_list(cmd.splitlines()) 388 output = cons.run_command_list(cmd.splitlines()) 400 output = cons.run_command_list(cmd.splitlines()) 412 output = cons.run_command_list(cmd.splitlines())
|
/external/u-boot/tools/patman/ |
D | func_test.py | 158 cc_lines = open(cc_file).read().splitlines() 161 lines = out[0].splitlines() 225 lines = open(cover_fname).read().splitlines() 230 self.assertEqual(expected.splitlines(), lines[7:]) 233 lines = open(fname).read().splitlines()
|
/external/libcxx/utils/google-benchmark/tools/ |
D | strip_asm.py | 15 for l in asm.splitlines(): 25 for l in asm.splitlines(): 44 for l in asm.splitlines(): 103 for l in asm.splitlines():
|
/external/google-benchmark/tools/ |
D | strip_asm.py | 15 for l in asm.splitlines(): 25 for l in asm.splitlines(): 44 for l in asm.splitlines(): 103 for l in asm.splitlines():
|
/external/autotest/client/cros/ |
D | liststorage.py | 95 for line in output.splitlines(): 124 for line in lsusb_output.splitlines(): 216 mounts = read_file("/proc/mounts", host).splitlines() 300 for basename in system_output('ls %s' % spath, host).splitlines(): 334 for dev in system_output('ls %s' % INFO_PATH, host).splitlines():
|
/external/antlr/runtime/Python/tests/ |
D | t054main.py | 73 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/antlr/runtime/Python3/tests/ |
D | t054main.py | 66 self.assertEqual(len(stdout.getvalue().splitlines()), 3) 92 self.assertEqual(len(stdout.getvalue().splitlines()), 3) 118 self.assertEqual(len(stdout.getvalue().splitlines()), 3) 147 self.assertEqual(len(stdout.splitlines()), 1, stdout)
|
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/ |
D | tDomain_Configuration.py | 157 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()
|
12345678910>>...26