/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/llvm-project/polly/test/ |
D | update_check.py | 422 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/ |
D | test_run.py | 95 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, [], [])
|
D | test_outwin.py | 97 writelines = self.window.writelines 99 writelines(('Line 1\n', 'Line 2\n', 'Line 3\n'))
|
/external/llvm-project/llvm/utils/ |
D | chunk-print-before-all.py | 22 f.writelines(lines) 43 f.writelines(cur)
|
/external/python/cpython3/Lib/test/ |
D | test_audit.py | 24 sys.stdout.writelines(p.stdout) 25 sys.stderr.writelines(p.stderr) 38 sys.stderr.writelines(p.stderr)
|
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, 250 bag.writelines(testlines)
|
D | test_symbol.py | 24 fp.writelines(lines[:lines.index("#--start constants--\n") + 1]) 25 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'')
|
/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))
|
/external/python/cpython2/Tools/freeze/ |
D | bkfile.py | 32 self.writelines = self.__file.writelines
|
/external/jsoncpp/.travis_scripts/ |
D | run-clang-format.py | 208 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/ |
D | landmines.py | 77 sys.stdout.writelines(diff) 84 f.writelines(new_landmines)
|
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/utils/ |
D | log_parser.py | 58 def writelines(data, filename): function 161 writelines(processed, output) 218 writelines(processed, output)
|
/external/clang/tools/scan-build-py/tests/unit/ |
D | test_report.py | 18 handle.writelines(content) 27 handle.writelines(content)
|
/external/llvm-project/clang/tools/scan-build-py/tests/unit/ |
D | test_report.py | 17 handle.writelines(content) 26 handle.writelines(content)
|
/external/libchrome/libchrome_tools/ |
D | include_generator.py | 80 f.writelines([
|
/external/skia/gn/ |
D | gn_meta_sln.py | 23 f.writelines(lines) 170 newProj.writelines(newProjLines)
|
/external/skqp/gn/ |
D | gn_meta_sln.py | 21 f.writelines(lines) 168 newProj.writelines(newProjLines)
|
/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/jsoncpp/devtools/ |
D | fixeol.py | 29 f.writelines(fixed_lines)
|
/external/expat/tests/ |
D | udiffer.py | 57 sys.stdout.writelines(diffs)
|