/external/python/cpython2/Lib/test/ |
test_zipfile.py | 55 with zipfile.ZipFile(f, "w", compression) as zipfp: 56 zipfp.write(TESTFN, "another.name") 57 zipfp.write(TESTFN, TESTFN) 58 zipfp.writestr("strfile", self.data) 64 with zipfile.ZipFile(f, "r", compression) as zipfp: 65 self.assertEqual(zipfp.read(TESTFN), self.data) 66 self.assertEqual(zipfp.read("another.name"), self.data) 67 self.assertEqual(zipfp.read("strfile"), self.data) 74 zipfp.printdir() 93 names = zipfp.namelist( [all...] |
test_zipfile64.py | 48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True) 56 zipfp.writestr("testfn%d" % num, self.data) 64 zipfp.close() 67 zipfp = zipfile.ZipFile(f, "r", compression) 69 self.assertEqual(zipfp.read("testfn%d" % num), self.data) 77 zipfp.close()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_zipfile.py | 52 with zipfile.ZipFile(f, "w", compression) as zipfp: 53 zipfp.write(TESTFN, "another.name") 54 zipfp.write(TESTFN, TESTFN) 55 zipfp.writestr("strfile", self.data) 61 with zipfile.ZipFile(f, "r", compression) as zipfp: 62 self.assertEqual(zipfp.read(TESTFN), self.data) 63 self.assertEqual(zipfp.read("another.name"), self.data) 64 self.assertEqual(zipfp.read("strfile"), self.data) 71 zipfp.printdir() 90 names = zipfp.namelist( [all...] |
test_zipfile64.py | 48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True) 56 zipfp.writestr("testfn%d" % num, self.data) 64 zipfp.close() 67 zipfp = zipfile.ZipFile(f, "r", compression) 69 self.assertEqual(zipfp.read("testfn%d" % num), self.data) 77 zipfp.close()
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_zipfile.py | 52 with zipfile.ZipFile(f, "w", compression) as zipfp: 53 zipfp.write(TESTFN, "another.name") 54 zipfp.write(TESTFN, TESTFN) 55 zipfp.writestr("strfile", self.data) 61 with zipfile.ZipFile(f, "r", compression) as zipfp: 62 self.assertEqual(zipfp.read(TESTFN), self.data) 63 self.assertEqual(zipfp.read("another.name"), self.data) 64 self.assertEqual(zipfp.read("strfile"), self.data) 71 zipfp.printdir() 90 names = zipfp.namelist( [all...] |
test_zipfile64.py | 48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True) 56 zipfp.writestr("testfn%d" % num, self.data) 64 zipfp.close() 67 zipfp = zipfile.ZipFile(f, "r", compression) 69 self.assertEqual(zipfp.read("testfn%d" % num), self.data) 77 zipfp.close()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zipfile.py | 52 with zipfile.ZipFile(f, "w", compression) as zipfp: 53 zipfp.write(TESTFN, "another.name") 54 zipfp.write(TESTFN, TESTFN) 55 zipfp.writestr("strfile", self.data) 61 with zipfile.ZipFile(f, "r", compression) as zipfp: 62 self.assertEqual(zipfp.read(TESTFN), self.data) 63 self.assertEqual(zipfp.read("another.name"), self.data) 64 self.assertEqual(zipfp.read("strfile"), self.data) 71 zipfp.printdir() 90 names = zipfp.namelist( [all...] |
test_zipfile64.py | 48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True) 56 zipfp.writestr("testfn%d" % num, self.data) 64 zipfp.close() 67 zipfp = zipfile.ZipFile(f, "r", compression) 69 self.assertEqual(zipfp.read("testfn%d" % num), self.data) 77 zipfp.close()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_zipfile.py | 52 with zipfile.ZipFile(f, "w", compression) as zipfp: 53 zipfp.write(TESTFN, "another.name") 54 zipfp.write(TESTFN, TESTFN) 55 zipfp.writestr("strfile", self.data) 61 with zipfile.ZipFile(f, "r", compression) as zipfp: 62 self.assertEqual(zipfp.read(TESTFN), self.data) 63 self.assertEqual(zipfp.read("another.name"), self.data) 64 self.assertEqual(zipfp.read("strfile"), self.data) 71 zipfp.printdir() 90 names = zipfp.namelist( [all...] |
test_zipfile64.py | 48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True) 56 zipfp.writestr("testfn%d" % num, self.data) 64 zipfp.close() 67 zipfp = zipfile.ZipFile(f, "r", compression) 69 self.assertEqual(zipfp.read("testfn%d" % num), self.data) 77 zipfp.close()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_zipfile.py | 45 with zipfile.ZipFile(f, "w", compression) as zipfp:
46 zipfp.write(TESTFN, "another.name")
47 zipfp.write(TESTFN, TESTFN)
48 zipfp.writestr("strfile", self.data)
54 with zipfile.ZipFile(f, "r", compression) as zipfp:
55 self.assertEqual(zipfp.read(TESTFN), self.data)
56 self.assertEqual(zipfp.read("another.name"), self.data)
57 self.assertEqual(zipfp.read("strfile"), self.data)
64 zipfp.printdir()
83 names = zipfp.namelist() [all...] |
test_zipfile64.py | 48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True)
56 zipfp.writestr("testfn%d" % num, self.data)
64 zipfp.close()
67 zipfp = zipfile.ZipFile(f, "r", compression)
69 self.assertEqual(zipfp.read("testfn%d" % num), self.data)
77 zipfp.close()
|