/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_io.py | 110 f.writelines([]) 113 f.writelines(['one\n', 'two']) 117 f.writelines(['on\xe8\n', 'tw\xf2']) 121 f.writelines([u'on\xe8\n', u'tw\xf2']) 126 f.writelines([S('t\xe8st')]) 130 f.writelines([BA('t\xe8st')]) 134 f.writelines([U(u't\xe8st')]) 139 self.assertRaises(TypeError, f.writelines) 141 self.assertRaises(TypeError, f.writelines, 123) 143 self.assertRaises(TypeError, f.writelines, [123]) [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_run.py | 92 self.assertRaises(OSError, f.writelines, ['x']) 223 f.writelines([]) 226 f.writelines(['one\n', 'two']) 230 f.writelines(['on\xe8\n', 'tw\xf2']) 235 f.writelines([S('t\xe8st')]) 240 self.assertRaises(TypeError, f.writelines) 242 self.assertRaises(TypeError, f.writelines, 123) 244 self.assertRaises(TypeError, f.writelines, [b'test']) 245 self.assertRaises(TypeError, f.writelines, [123]) 247 self.assertRaises(TypeError, f.writelines, [], [])
|
D | test_outwin.py | 102 writelines = self.window.writelines 104 writelines(('Line 1\n', 'Line 2\n', 'Line 3\n'))
|
/external/python/cpython3/Lib/test/ |
D | test_file.py | 61 self.f.writelines(l) 69 self.assertRaises(TypeError, self.f.writelines, [1, 2, 3]) 74 self.assertRaises(TypeError, self.f.writelines, l) 81 self.assertRaises(TypeError, self.f.writelines, 239 bag.writelines(testlines)
|
D | test_keyword.py | 46 fp.writelines(lines[:lines.index(b"#--start keywords--" + nl) + 1]) 47 fp.writelines(lines[lines.index(b"#--end keywords--" + nl):]) 72 fp.writelines(textwrap.dedent("""\
|
D | test_symbol.py | 21 fp.writelines(lines[:lines.index("#--start constants--\n") + 1]) 22 fp.writelines(lines[lines.index("#--end constants--\n"):])
|
D | test_fileio.py | 126 self.f.writelines(l) 134 self.f.writelines(l) 141 self.assertRaises(TypeError, self.f.writelines, [1, 2, 3]) 142 self.assertRaises(TypeError, self.f.writelines, None) 143 self.assertRaises(TypeError, self.f.writelines, "abc") 218 self.assertRaises(TypeError, self.f.writelines) 219 self.assertRaises(ValueError, self.f.writelines, b'')
|
D | test_iter.py | 752 self.assertRaises(TypeError, f.writelines, None) 753 self.assertRaises(TypeError, f.writelines, 42) 755 f.writelines(["1\n", "2\n"]) 756 f.writelines(("3\n", "4\n")) 757 f.writelines({'5\n': None}) 758 f.writelines({}) 785 f.writelines(Whatever(6, 6+2000))
|
/external/python/cpython2/Lib/test/ |
D | test_file.py | 66 self.f.writelines(l) 74 self.assertRaises(TypeError, self.f.writelines, [1, 2, 3]) 79 self.assertRaises(TypeError, self.f.writelines, l) 86 self.assertRaises(TypeError, self.f.writelines, 245 bag.writelines(testlines)
|
D | test_file2k.py | 70 self.f.writelines(l) 78 self.assertRaises(TypeError, self.f.writelines, [1, 2, 3]) 83 self.assertRaises(TypeError, self.f.writelines, l) 90 self.assertRaises(TypeError, self.f.writelines, 94 self.f.writelines([array('c', 'abc')]) 143 self.assertRaises(ValueError, self.f.writelines, []) 162 self.assertRaises(ValueError, self.f.writelines, nasty()) 191 self.assertRaises(IOError, self.f.writelines, [data, data]) 350 bag.writelines(testlines) 652 self.f.writelines('')
|
D | test_fileio.py | 77 self.f.writelines(l) 85 self.f.writelines(l) 92 self.assertRaises(TypeError, self.f.writelines, [1, 2, 3]) 93 self.assertRaises(TypeError, self.f.writelines, None) 148 self.assertRaises(TypeError, self.f.writelines) 149 self.assertRaises(ValueError, self.f.writelines, b'')
|
D | test_iter.py | 705 self.assertRaises(TypeError, f.writelines, None) 706 self.assertRaises(TypeError, f.writelines, 42) 708 f.writelines(["1\n", "2\n"]) 709 f.writelines(("3\n", "4\n")) 710 f.writelines({'5\n': None}) 711 f.writelines({}) 738 f.writelines(Whatever(6, 6+2000))
|
D | test_bz2.py | 180 self.assertRaises(TypeError, bz2f.writelines) 182 bz2f.writelines(sio.readlines()) 184 self.assertRaises(ValueError, bz2f.writelines, ["a"]) 194 self.assertRaises(IOError, bz2f.writelines, ["a"])
|
D | test_memoryio.py | 98 self.assertEqual(memio.writelines([buf] * 100), None) 100 memio.writelines([]) 103 self.assertRaises(TypeError, memio.writelines, [buf] + [1]) 105 self.assertRaises(TypeError, memio.writelines, None) 107 self.assertRaises(ValueError, memio.writelines, []) 115 self.assertRaises(KeyboardInterrupt, memio.writelines, error_gen()) 471 self.assertRaises(TypeError, memio.writelines, ["1234567890"])
|
/external/python/cpython2/Tools/freeze/ |
D | bkfile.py | 32 self.writelines = self.__file.writelines
|
/external/clang/tools/scan-build-py/tests/unit/ |
D | test_report.py | 18 handle.writelines(content) 27 handle.writelines(content)
|
/external/skqp/gn/ |
D | gn_meta_sln.py | 21 f.writelines(lines) 168 newProj.writelines(newProjLines)
|
/external/skia/gn/ |
D | gn_meta_sln.py | 21 f.writelines(lines) 168 newProj.writelines(newProjLines)
|
/external/libchrome/libchrome_tools/ |
D | include_generator.py | 80 f.writelines([
|
/external/python/cpython3/PC/layout/support/ |
D | catalog.py | 44 cat.writelines("<HASH>{}={}\n".format(n, f) for n, f in files if can_sign(f))
|
/external/v8/gypfiles/ |
D | landmines.py | 145 sys.stdout.writelines(diff) 193 f.writelines(new_landmines)
|
/external/python/cpython2/Lib/ |
D | codecs.py | 372 def writelines(self, list): member in StreamWriter 710 def writelines(self, list): member in StreamReaderWriter 712 return self.writer.writelines(list) 832 def writelines(self, list): member in StreamRecoder
|
/external/python/cpython3/Lib/ |
D | codecs.py | 380 def writelines(self, list): member in StreamWriter 723 def writelines(self, list): member in StreamReaderWriter 725 return self.writer.writelines(list) 839 def writelines(self, list): member in StreamRecoder
|
/external/jsoncpp/devtools/ |
D | fixeol.py | 23 f.writelines(fixed_lines)
|
/external/expat/tests/ |
D | udiffer.py | 57 sys.stdout.writelines(diffs)
|