Home
last modified time | relevance | path

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

1234

/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_io.py110 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/v8/tools/
Drun-valgrind.py78 sys.stderr.writelines(errors)
91 sys.stderr.writelines(errors)
96 sys.stderr.writelines(errors)
101 sys.stderr.writelines(errors)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dcodegen.py160 self.printer.writelines(
280 self.printer.writelines(
328 self.printer.writelines(
338 self.printer.writelines(
524 self.printer.writelines(
541 self.printer.writelines(
587 self.printer.writelines(
593 self.printer.writelines(
626 self.printer.writelines(
638 self.printer.writelines(
[all …]
/external/python/cpython2/Lib/test/
Dtest_file2k.py70 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('')
Dtest_file.py65 self.f.writelines(l)
73 self.assertRaises(TypeError, self.f.writelines, [1, 2, 3])
78 self.assertRaises(TypeError, self.f.writelines, l)
85 self.assertRaises(TypeError, self.f.writelines,
243 bag.writelines(testlines)
Dtest_fileio.py77 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'')
Dtest_iter.py705 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))
Dtest_bz2.py180 self.assertRaises(TypeError, bz2f.writelines)
182 bz2f.writelines(sio.readlines())
184 self.assertRaises(ValueError, bz2f.writelines, ["a"])
194 self.assertRaises(IOError, bz2f.writelines, ["a"])
Dtest_memoryio.py97 self.assertEqual(memio.writelines([buf] * 100), None)
99 memio.writelines([])
102 self.assertRaises(TypeError, memio.writelines, [buf] + [1])
104 self.assertRaises(TypeError, memio.writelines, None)
106 self.assertRaises(ValueError, memio.writelines, [])
114 self.assertRaises(KeyboardInterrupt, memio.writelines, error_gen())
470 self.assertRaises(TypeError, memio.writelines, ["1234567890"])
/external/python/cpython2/Tools/freeze/
Dbkfile.py32 self.writelines = self.__file.writelines
/external/clang/tools/scan-build-py/tests/unit/
Dtest_report.py18 handle.writelines(content)
27 handle.writelines(content)
/external/skia/gn/
Dgn_meta_sln.py21 f.writelines(lines)
164 newProj.writelines(newProjLines)
/external/jsoncpp/devtools/
Dfixeol.py23 f.writelines(fixed_lines)
/external/python/cpython2/Tools/framer/
Dexample.py122 def writelines(self, lines): member in cStringIO.OutputType
/external/v8/gypfiles/
Dlandmines.py145 sys.stdout.writelines(diff)
193 f.writelines(new_landmines)
/external/autotest/client/profilers/catprofile/
Dcatprofile.py37 output.writelines(lines)
/external/python/cpython2/Lib/
Dcodecs.py372 def writelines(self, list): member in StreamWriter
708 def writelines(self, list): member in StreamReaderWriter
710 return self.writer.writelines(list)
830 def writelines(self, list): member in StreamRecoder
DStringIO.py241 def writelines(self, iterable): member in StringIO
289 f.writelines(lines[-2:])
DMimeWriter.py125 self._fp.writelines(self._headers)
/external/v8/tools/clang/scripts/
Dapply_fixits.py84 f.writelines(lines)
/external/ply/ply/ply/
Dygen.py64 f.writelines(lines)
/external/r8/tools/
Drun-d8-on-gmscore.py68 args_file.writelines([arg + os.linesep for arg in args])
/external/python/cpython2/Tools/scripts/
Ddiff.py47 sys.stdout.writelines(diff)
Dndiff.py121 sys.stdout.writelines(restored)
/external/fonttools/MetaTools/
DroundTrip.py59 report.writelines(lines)

1234