Searched refs:readlines (Results 1 – 25 of 195) sorted by relevance
12345678
/third_party/python/Lib/idlelib/idle_test/ |
D | test_run.py | 179 self.assertRaises(TypeError, f.readlines, 1.5) 180 self.assertRaises(TypeError, f.readlines, '1') 181 self.assertRaises(TypeError, f.readlines, 1, 1) 187 self.assertEqual(f.readlines(), ['one\n', 'two\n']) 189 self.assertEqual(f.readlines(-1), ['one\n', 'two\n']) 191 self.assertEqual(f.readlines(None), ['one\n', 'two\n']) 193 self.assertEqual(f.readlines(0), ['one\n', 'two\n']) 195 self.assertEqual(f.readlines(3), ['one\n']) 197 self.assertEqual(f.readlines(4), ['one\n', 'two\n']) 200 self.assertRaises(TypeError, f.readlines, 1.5) [all …]
|
/third_party/python/Tools/scripts/ |
D | ndiff.py | 74 a = f1.readlines(); f1.close() 75 b = f2.readlines(); f2.close() 120 restored = difflib.restore(sys.stdin.readlines(), which)
|
D | diff.py | 44 fromlines = ff.readlines() 46 tolines = tf.readlines()
|
/third_party/libxml2/python/ |
D | setup.py.in | 113 for line in head.readlines(): 118 for line in generated.readlines(): 138 for line in head.readlines(): 143 for line in generated.readlines():
|
/third_party/libxml2/ |
D | build_glob.py | 31 global_data=open("global.data").readlines() 32 global_code=open("globals.c").readlines() 33 global_hdr=open("include/libxml/globals.h").readlines()
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testwith.py | 255 result = h.readlines() 263 result = h.readlines() 292 result = f.readlines() 316 rest = h.readlines() 335 handle.readlines.return_value = ['bar'] 339 self.assertEqual(handle.readlines(), ['bar'])
|
/third_party/musl/scripts/ |
D | compare.py | 8 a = f.readlines() 11 b = f.readlines()
|
/third_party/skia/third_party/externals/expat/expat/tests/ |
D | udiffer.py | 40 return f.readlines() 43 return f.readlines()
|
/third_party/python/Lib/test/ |
D | test_univnewlines.py | 68 data = fp.readlines() 86 data = fp.readlines() 89 data = fp.readlines()
|
D | test_memoryio.py | 241 self.assertEqual(memio.readlines(), [buf] * 10) 243 self.assertEqual(memio.readlines(), [buf[5:]] + [buf] * 9) 245 self.assertEqual(memio.readlines(15), [buf] * 2) 247 self.assertEqual(memio.readlines(-1), [buf] * 10) 249 self.assertEqual(memio.readlines(0), [buf] * 10) 251 self.assertEqual(type(memio.readlines()[0]), type(buf)) 253 self.assertEqual(memio.readlines(None), [buf] * 10) 254 self.assertRaises(TypeError, memio.readlines, '') 257 self.assertEqual(memio.readlines(), []) 259 self.assertRaises(ValueError, memio.readlines) [all …]
|
/third_party/ltp/testcases/network/nfsv4/acl/ |
D | random_gen.py | 77 lines = f.readlines() 99 lines = f.readlines() 118 lines = f.readlines() 131 lines = f.readlines()
|
/third_party/skia/third_party/externals/freetype/builds/mac/ |
D | ascii2mpw.py | 6 for asc_line in sys.stdin.readlines(): 16 for mpw_line in sys.stdin.readlines():
|
/third_party/freetype/builds/mac/ |
D | ascii2mpw.py | 6 for asc_line in sys.stdin.readlines(): 16 for mpw_line in sys.stdin.readlines():
|
/third_party/flutter/skia/third_party/externals/freetype/builds/mac/ |
D | ascii2mpw.py | 6 for asc_line in sys.stdin.readlines(): 16 for mpw_line in sys.stdin.readlines():
|
/third_party/rust/crates/clap/.github/workflows/ |
D | release-notes.py | 20 lines = sys.stdin.readlines() 23 lines = fh.readlines()
|
/third_party/spirv-tools/test/scripts/ |
D | test_compact_ids.py | 39 converted_dis = f.readlines()[3:] 42 optimized_dis = f.readlines()[3:]
|
/third_party/skia/third_party/externals/spirv-tools/test/scripts/ |
D | test_compact_ids.py | 39 converted_dis = f.readlines()[3:] 42 optimized_dis = f.readlines()[3:]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/scripts/ |
D | test_compact_ids.py | 41 converted_dis = f.readlines()[3:] 44 optimized_dis = f.readlines()[3:]
|
/third_party/mesa3d/src/intel/tools/tests/ |
D | run-test.py | 49 lines_after = [line.decode('ascii') for line in cmd.stdout.readlines()] 58 lines_before = f.readlines()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/scripts/ |
D | test_compact_ids.py | 39 converted_dis = f.readlines()[3:] 42 optimized_dis = f.readlines()[3:]
|
/third_party/skia/third_party/externals/dawn/generator/ |
D | remove_files.py | 64 [os.path.join(root_dir, line.strip()) for line in f.readlines()]) 73 stale_dirs = set([line.strip() for line in f.readlines()])
|
/third_party/node/tools/ |
D | mkssldef.py | 28 for line in open(filename).readlines(): 46 for line in open(filename).readlines():
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | gen-emoji-table.py | 21 for line in f.readlines(): 83 for line in f.readlines():
|
/third_party/mesa3d/.gitlab-ci/ |
D | report-flakes.py | 66 for line in open(results, 'r').readlines(): 103 for line in open(args.known_flakes).readlines():
|
/third_party/jsoncpp/.travis_scripts/ |
D | run-clang-format.py | 112 original = f.readlines() 161 outs = list(proc_stdout.readlines()) 162 errs = list(proc_stderr.readlines())
|
12345678