Home
last modified time | relevance | path

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

1234567

/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/llvm-project/polly/test/
Dupdate_check.py422 def writelines(lines): function
428 writelines(newlines[:firstcheckline])
429 writelines(uptonowlines)
433 writelines(checklines)
434 writelines(newlines[firstcheckline:])
435 writelines(emptylines)
442 writelines(headerlines)
445 writelines(checklines)
447 writelines(contentlines)
448 writelines(uptonowlines)
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_run.py95 self.assertRaises(OSError, f.writelines, ['x'])
246 f.writelines([])
249 f.writelines(['one\n', 'two'])
253 f.writelines(['on\xe8\n', 'tw\xf2'])
258 f.writelines([S('t\xe8st')])
263 self.assertRaises(TypeError, f.writelines)
265 self.assertRaises(TypeError, f.writelines, 123)
267 self.assertRaises(TypeError, f.writelines, [b'test'])
268 self.assertRaises(TypeError, f.writelines, [123])
270 self.assertRaises(TypeError, f.writelines, [], [])
Dtest_outwin.py97 writelines = self.window.writelines
99 writelines(('Line 1\n', 'Line 2\n', 'Line 3\n'))
/external/llvm-project/llvm/utils/
Dchunk-print-before-all.py22 f.writelines(lines)
43 f.writelines(cur)
/external/python/cpython3/Lib/test/
Dtest_audit.py24 sys.stdout.writelines(p.stdout)
25 sys.stderr.writelines(p.stderr)
38 sys.stderr.writelines(p.stderr)
Dtest_file.py61 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,
250 bag.writelines(testlines)
Dtest_symbol.py24 fp.writelines(lines[:lines.index("#--start constants--\n") + 1])
25 fp.writelines(lines[lines.index("#--end constants--\n"):])
Dtest_fileio.py126 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'')
/external/python/cpython2/Lib/test/
Dtest_file.py66 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)
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_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))
/external/python/cpython2/Tools/freeze/
Dbkfile.py32 self.writelines = self.__file.writelines
/external/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)
/external/libchrome/build/
Dlandmines.py77 sys.stdout.writelines(diff)
84 f.writelines(new_landmines)
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/utils/
Dlog_parser.py58 def writelines(data, filename): function
161 writelines(processed, output)
218 writelines(processed, output)
/external/clang/tools/scan-build-py/tests/unit/
Dtest_report.py18 handle.writelines(content)
27 handle.writelines(content)
/external/llvm-project/clang/tools/scan-build-py/tests/unit/
Dtest_report.py17 handle.writelines(content)
26 handle.writelines(content)
/external/libchrome/libchrome_tools/
Dinclude_generator.py80 f.writelines([
/external/skia/gn/
Dgn_meta_sln.py23 f.writelines(lines)
170 newProj.writelines(newProjLines)
/external/skqp/gn/
Dgn_meta_sln.py21 f.writelines(lines)
168 newProj.writelines(newProjLines)
/external/python/cpython3/PC/layout/support/
Dcatalog.py44 cat.writelines("<HASH>{}={}\n".format(n, f) for n, f in files if can_sign(f))
/external/jsoncpp/devtools/
Dfixeol.py29 f.writelines(fixed_lines)
/external/expat/tests/
Dudiffer.py57 sys.stdout.writelines(diffs)

1234567