Home
last modified time | relevance | path

Searched refs:writelines (Results 1 – 25 of 69) sorted by relevance

123

/third_party/python/Lib/idlelib/idle_test/
Dtest_run.py136 self.assertRaises(OSError, f.writelines, ['x'])
287 f.writelines([])
290 f.writelines(['one\n', 'two'])
294 f.writelines(['on\xe8\n', 'tw\xf2'])
299 f.writelines([S('t\xe8st')])
304 self.assertRaises(TypeError, f.writelines)
306 self.assertRaises(TypeError, f.writelines, 123)
308 self.assertRaises(TypeError, f.writelines, [b'test'])
309 self.assertRaises(TypeError, f.writelines, [123])
311 self.assertRaises(TypeError, f.writelines, [], [])
Dtest_outwin.py97 writelines = self.window.writelines
99 writelines(('Line 1\n', 'Line 2\n', 'Line 3\n'))
/third_party/python/Lib/test/
Dtest_file.py64 self.f.writelines(l)
72 self.assertRaises(TypeError, self.f.writelines, [1, 2, 3])
77 self.assertRaises(TypeError, self.f.writelines, l)
84 self.assertRaises(TypeError, self.f.writelines,
269 bag.writelines(testlines)
Dtest_audit.py27 sys.stdout.writelines(p.stdout)
28 sys.stderr.writelines(p.stderr)
41 sys.stderr.writelines(p.stderr)
Dtest_fileio.py128 self.f.writelines(l)
136 self.f.writelines(l)
143 self.assertRaises(TypeError, self.f.writelines, [1, 2, 3])
144 self.assertRaises(TypeError, self.f.writelines, None)
145 self.assertRaises(TypeError, self.f.writelines, "abc")
220 self.assertRaises(TypeError, self.f.writelines)
221 self.assertRaises(ValueError, self.f.writelines, b'')
Dtest_iter.py780 self.assertRaises(TypeError, f.writelines, None)
781 self.assertRaises(TypeError, f.writelines, 42)
783 f.writelines(["1\n", "2\n"])
784 f.writelines(("3\n", "4\n"))
785 f.writelines({'5\n': None})
786 f.writelines({})
813 f.writelines(Whatever(6, 6+2000))
Dtest_memoryio.py102 self.assertEqual(memio.writelines([buf] * 100), None)
104 memio.writelines([])
107 self.assertRaises(TypeError, memio.writelines, [buf] + [1])
109 self.assertRaises(TypeError, memio.writelines, None)
111 self.assertRaises(ValueError, memio.writelines, [])
119 self.assertRaises(KeyboardInterrupt, memio.writelines, error_gen())
525 self.assertRaises(TypeError, memio.writelines, ["1234567890"])
/third_party/jsoncpp/.travis_scripts/
Drun-clang-format.py208 sys.stdout.writelines((l.encode('utf-8') for l in diff_lines))
210 sys.stdout.writelines(diff_lines)
333 sys.stderr.writelines(e.errs)
345 sys.stderr.writelines(errs)
/third_party/skia/gn/
Dgn_meta_sln.py23 f.writelines(lines)
170 newProj.writelines(newProjLines)
/third_party/flutter/skia/gn/
Dgn_meta_sln.py21 f.writelines(lines)
168 newProj.writelines(newProjLines)
/third_party/libxml2/
Dgenerate_header.py68 file.writelines(self.write_buffer)
102 file.writelines(self.write_buffer)
/third_party/python/Lib/
Dcodecs.py380 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
Dbz2.py235 def writelines(self, seq): member in BZ2File
243 return _compression.BaseStream.writelines(self, seq)
/third_party/mbedtls/tests/scripts/
Dlist_internal_identifiers.py54 f.writelines(identifiers)
/third_party/python/PC/layout/support/
Dcatalog.py44 cat.writelines("<HASH>{}={}\n".format(n, f) for n, f in files if can_sign(f))
/third_party/skia/third_party/externals/expat/expat/tests/
Dudiffer.py58 sys.stdout.writelines(diffs)
/third_party/jsoncpp/devtools/
Dfixeol.py29 f.writelines(fixed_lines)
/third_party/node/tools/
Drun-valgrind.py65 sys.stderr.writelines(errors)
/third_party/skia/third_party/externals/harfbuzz/test/shape/
Dhb_test_tools.py140 sys.stdout.writelines ([" ", lines[0]])
145 sys.stdout.writelines ([symbols[i], l])
296 sys.stdout.writelines ([line])
/third_party/harfbuzz/test/shaping/
Dhb_test_tools.py140 sys.stdout.writelines ([" ", lines[0]])
145 sys.stdout.writelines ([symbols[i], l])
296 sys.stdout.writelines ([line])
/third_party/flutter/skia/third_party/externals/harfbuzz/test/shaping/
Dhb_test_tools.py218 sys.stdout.writelines ([" ", lines[0]])
223 sys.stdout.writelines ([symbols[i], l])
375 sys.stdout.writelines ([line])
/third_party/python/Tools/scripts/
Dndiff.py121 sys.stdout.writelines(restored)
Ddiff.py57 sys.stdout.writelines(diff)
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/
DinsertTags.py90 fp.writelines(file)
/third_party/python/Lib/idlelib/
Doutwin.py118 def writelines(self, lines): member in OutputWindow

123