Home
last modified time | relevance | path

Searched refs:readlines (Results 1 – 25 of 195) sorted by relevance

12345678

/third_party/python/Lib/idlelib/idle_test/
Dtest_run.py179 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/
Dndiff.py74 a = f1.readlines(); f1.close()
75 b = f2.readlines(); f2.close()
120 restored = difflib.restore(sys.stdin.readlines(), which)
Ddiff.py44 fromlines = ff.readlines()
46 tolines = tf.readlines()
/third_party/libxml2/python/
Dsetup.py.in113 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/
Dbuild_glob.py31 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/
Dtestwith.py255 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/
Dcompare.py8 a = f.readlines()
11 b = f.readlines()
/third_party/skia/third_party/externals/expat/expat/tests/
Dudiffer.py40 return f.readlines()
43 return f.readlines()
/third_party/python/Lib/test/
Dtest_univnewlines.py68 data = fp.readlines()
86 data = fp.readlines()
89 data = fp.readlines()
Dtest_memoryio.py241 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/
Drandom_gen.py77 lines = f.readlines()
99 lines = f.readlines()
118 lines = f.readlines()
131 lines = f.readlines()
/third_party/skia/third_party/externals/freetype/builds/mac/
Dascii2mpw.py6 for asc_line in sys.stdin.readlines():
16 for mpw_line in sys.stdin.readlines():
/third_party/freetype/builds/mac/
Dascii2mpw.py6 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/
Dascii2mpw.py6 for asc_line in sys.stdin.readlines():
16 for mpw_line in sys.stdin.readlines():
/third_party/rust/crates/clap/.github/workflows/
Drelease-notes.py20 lines = sys.stdin.readlines()
23 lines = fh.readlines()
/third_party/spirv-tools/test/scripts/
Dtest_compact_ids.py39 converted_dis = f.readlines()[3:]
42 optimized_dis = f.readlines()[3:]
/third_party/skia/third_party/externals/spirv-tools/test/scripts/
Dtest_compact_ids.py39 converted_dis = f.readlines()[3:]
42 optimized_dis = f.readlines()[3:]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/scripts/
Dtest_compact_ids.py41 converted_dis = f.readlines()[3:]
44 optimized_dis = f.readlines()[3:]
/third_party/mesa3d/src/intel/tools/tests/
Drun-test.py49 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/
Dtest_compact_ids.py39 converted_dis = f.readlines()[3:]
42 optimized_dis = f.readlines()[3:]
/third_party/skia/third_party/externals/dawn/generator/
Dremove_files.py64 [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/
Dmkssldef.py28 for line in open(filename).readlines():
46 for line in open(filename).readlines():
/third_party/skia/third_party/externals/harfbuzz/src/
Dgen-emoji-table.py21 for line in f.readlines():
83 for line in f.readlines():
/third_party/mesa3d/.gitlab-ci/
Dreport-flakes.py66 for line in open(results, 'r').readlines():
103 for line in open(args.known_flakes).readlines():
/third_party/jsoncpp/.travis_scripts/
Drun-clang-format.py112 original = f.readlines()
161 outs = list(proc_stdout.readlines())
162 errs = list(proc_stderr.readlines())

12345678