/third_party/python/Lib/test/ |
D | test_difflib.py | 196 f1a = f1a.splitlines() 197 t1a = t1a.splitlines() 198 f1b = f1b.splitlines() 199 t1b = t1b.splitlines() 200 f2 = patch914575_from2.splitlines() 201 t2 = patch914575_to2.splitlines() 232 k.make_table(f3.splitlines(),t3.splitlines(),context=True,numlines=0), 234 k.make_table(f3.splitlines(),t3.splitlines()), 236 k.make_table(f3.splitlines(True),t3.splitlines(True)), 256 output = html_diff.make_file(patch914575_from1.splitlines(), [all …]
|
D | test_pdb.py | 1499 any('main.py(5)foo()->None' in l for l in stdout.splitlines()), 1581 res = '\n'.join([x.strip() for x in stdout.splitlines()]) 1646 self.assertTrue(any("SUCCESS" in l for l in stdout.splitlines()), stdout) 1658 self.assertTrue(any("SUCCESS" in l for l in stdout.splitlines()), stdout) 1672 self.assertTrue(any("Breakpoint 1 at" in l for l in stdout.splitlines()), stdout) 1673 self.assertTrue(all("SUCCESS" not in l for l in stdout.splitlines()), stdout) 1696 stdout.splitlines()) 1723 in l for l in stdout.splitlines()), stdout) 1758 self.assertTrue(any("VAR from module" in l for l in stdout.splitlines()), stdout) 1759 self.assertTrue(any("VAR from top" in l for l in stdout.splitlines())) [all …]
|
D | test_traceback.py | 147 output_encoding = str(stdout, 'ascii').splitlines()[0] 161 stdout = stdout.decode(output_encoding).splitlines() 230 self.assertEqual(stderr.splitlines(), expected) 340 tb_lines = python_fmt.splitlines() 376 self.assertEqual(stderr.getvalue().splitlines()[-4:], [ 421 expected = result_f.splitlines() 422 actual = stderr_f.getvalue().splitlines() 467 expected = (tb_line + result_g).splitlines() 468 actual = stderr_g.getvalue().splitlines() 500 expected = (result_h + result_g).splitlines() [all …]
|
D | test_tabnanny.py | 300 _output = output.splitlines() 301 for _std in std.splitlines(): 305 self.assertListEqual(out.splitlines(), stdout.splitlines()) 306 self.assertListEqual(err.splitlines(), stderr.splitlines())
|
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())
|
D | test_atexit.py | 29 self.assertEqual(res.out.decode().splitlines(), ["two", "one"]) 47 self.assertEqual(res.out.decode().splitlines(), ["atexit2", "atexit1"])
|
/third_party/python/Lib/test/test_json/ |
D | test_tool.py | 105 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 120 self.assertEqual(out.splitlines(), expect.splitlines()) 159 self.assertEqual(out.splitlines(), 160 self.expect_without_sort_keys.encode().splitlines()) 206 lines = f.read().splitlines() 217 lines = f.read().splitlines()
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_warning.py | 46 self.assertEqual(idlemsg.splitlines(), f.getvalue().splitlines()) 69 self.assertEqual(shellmsg.splitlines(), f.getvalue().splitlines())
|
/third_party/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():
|
/third_party/json/benchmarks/thirdparty/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():
|
/third_party/harfbuzz/src/ |
D | check-symbols.py | 40 ).decode ('utf-8').splitlines () 57 def_file.splitlines (), 60 [def_file.splitlines ()[-1]]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | check-symbols.py | 41 ).decode ('utf-8').splitlines () 58 def_file.splitlines (), 61 [def_file.splitlines ()[-1]]
|
/third_party/python/Lib/unittest/test/ |
D | test_runner.py | 348 self.assertEqual(result.errors[0][1].splitlines()[-1], 371 self.assertEqual(result.errors[0][1].splitlines()[-1], 400 self.assertEqual(result.errors[0][1].splitlines()[-1], 410 self.assertEqual(result.errors[0][1].splitlines()[-1], 412 self.assertEqual(result.errors[1][1].splitlines()[-1], 421 self.assertEqual(result.errors[0][1].splitlines()[-1], 423 self.assertEqual(result.errors[1][1].splitlines()[-1], 444 self.assertEqual(result.errors[0][1].splitlines()[-1], 540 self.assertEqual(result.errors[0][1].splitlines()[-1], 675 self.assertEqual(result.errors[0][1].splitlines()[-1], [all …]
|
/third_party/python/Lib/ |
D | codecs.py | 509 lines = newchars.splitlines(keepends=True) 551 line = line.splitlines(keepends=False)[0] 568 lines = line.splitlines(keepends=True) 584 line = line.splitlines(keepends=False)[0] 587 line0withoutend = lines[0].splitlines(keepends=False)[0] 600 line = line.splitlines(keepends=False)[0] 619 return data.splitlines(keepends) 822 return data.splitlines(keepends=True)
|
/third_party/boost/boost/python/ |
D | str.hpp | 106 list splitlines() const; 107 list splitlines(object_cref keepends) const; 362 list splitlines() const { return base::splitlines(); } in splitlines() function in boost::python::str 365 list splitlines(T const& keepends) const in splitlines() function in boost::python::str 367 return base::splitlines(object(keepends)); in splitlines()
|
/third_party/skia/third_party/externals/markupsafe/ |
D | __init__.py | 119 def splitlines(self, *args, **kwargs): member in Markup 120 return list(map(self.__class__, text_type.splitlines(self, *args, **kwargs))) 121 splitlines.__doc__ = text_type.splitlines.__doc__
|
/third_party/node/tools/inspector_protocol/markupsafe/ |
D | __init__.py | 119 def splitlines(self, *args, **kwargs): member in Markup 120 return list(map(self.__class__, text_type.splitlines(self, *args, **kwargs))) 121 splitlines.__doc__ = text_type.splitlines.__doc__
|
/third_party/googletest/googletest/scripts/ |
D | upload.py | 666 for line in diff.splitlines(True): 769 for line in info.splitlines(): 812 for line in data.splitlines(): 875 status_lines = status.splitlines() 895 old_files = out.splitlines() 903 self.svnls_cache[dirname] = (old_files, out.splitlines()) 1018 for line in gitdiff.splitlines(): 1039 return status.splitlines() 1086 for line in data.splitlines(): 1111 for line in status.splitlines(): [all …]
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
D | win_tool.py | 130 for line in out.splitlines(): 223 for line in out.splitlines(): 261 lines = out.splitlines() 278 for line in out.splitlines(): 295 for line in out.splitlines():
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | win_tool.py | 147 for line in out.splitlines(): 262 for line in out.splitlines(): 312 lines = out.splitlines() 329 for line in out.splitlines(): 349 for line in out.splitlines():
|
/third_party/flutter/skia/infra/bots/ |
D | gen_compile_isolate.py | 79 return output.splitlines() 220 a = expect_content.splitlines() 221 b = content.splitlines()
|
/third_party/googletest/googletest/test/ |
D | gtest_list_output_unittest.py | 270 actual_lines = actual.splitlines() 271 expected_lines = expected_output.splitlines()
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
D | warnings_test.py | 74 expected = f.read().splitlines() 86 actual = proc.stdout.splitlines()
|
/third_party/vk-gl-cts/scripts/log/ |
D | log_to_xml.py | 161 out.write(dstDoc.toprettyxml().splitlines()[1]) 178 for line in node.toprettyxml().splitlines(): 189 for line in dstDoc.toprettyxml().splitlines()[2:]:
|
/third_party/python/Doc/includes/ |
D | email-read-alternative.py | 30 print(''.join(simplest.get_content().splitlines(keepends=True)[:3])) 41 for line in richest.get_content().splitlines():
|