/third_party/python/Lib/test/ |
D | test_zipimport_support.py | 85 zip_name, run_name = make_zip_script(d, 'test_zip', 88 sys.path.insert(0, zip_name) 124 zip_name, run_name = make_zip_script(d, 'test_zip', 126 with zipfile.ZipFile(zip_name, 'a') as z: 130 with zipfile.ZipFile(zip_name, 'r') as zip_file: 131 print ('Contents of %r:' % zip_name) 134 sys.path.insert(0, zip_name) 205 zip_name, run_name = make_zip_script(d, "test_zip", 207 rc, out, err = assert_python_ok(zip_name) 230 zip_name, run_name = make_zip_script(d, "test_zip", [all …]
|
D | test_cmd_line_script.py | 273 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 274 self._check_script(zip_name, run_name, zip_name, zip_name, '', 283 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 284 self._check_script(zip_name, run_name, zip_name, zip_name, '', 293 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 294 self._check_script(zip_name, run_name, zip_name, zip_name, '', 303 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 304 self._check_script(zip_name, run_name, zip_name, zip_name, '', 310 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 311 msg = "can't find '__main__' module in %r" % zip_name [all …]
|
D | test_multiprocessing_main_handling.py | 227 zip_name, run_name = make_zip_script(script_dir, 'test_zip', script_name) 228 self._check_script(zip_name) 236 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 237 self._check_script(zip_name) 250 zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script') 251 launch_name = _make_launch_script(script_dir, 'launch', 'test_pkg.script', zip_name) 256 … zip_name, run_name = _make_test_zip_pkg(script_dir, 'test_zip', 'test_pkg', 'script', depth=2) 257 … launch_name = _make_launch_script(script_dir, 'launch', 'test_pkg.test_pkg.script', zip_name)
|
D | test_runpy.py | 713 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name) 714 self._check_script(zip_name, "<run_path>", fname, zip_name, 722 zip_name, fname = make_zip_script(script_dir, 'test_zip', 724 self._check_script(zip_name, "<run_path>", fname, zip_name, 731 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name) 732 msg = "can't find '__main__' module in %r" % zip_name 733 self._check_import_error(zip_name, msg) 742 zip_name, fname = make_zip_script(script_dir, 'test_zip', script_name) 744 self.assertRaisesRegex(RecursionError, msg, run_path, zip_name)
|
D | test_zipfile.py | 2676 zip_name = findfile('zipdir.zip') 2678 out = self.zipfilecmd(opt, zip_name) 2680 zip_name = findfile('testtar.tar') 2681 rc, out, err = self.zipfilecmd_failure('-t', zip_name) 2685 zip_name = findfile('zipdir.zip') 2687 with zipfile.ZipFile(zip_name, 'r') as tf: 2691 out = self.zipfilecmd(opt, zip_name, 2718 zip_name = findfile('zipdir.zip') 2721 out = self.zipfilecmd(opt, zip_name, extdir) 2723 with zipfile.ZipFile(zip_name) as zf:
|
/third_party/python/Lib/test/support/ |
D | script_helper.py | 223 zip_name = os.path.join(zip_dir, zip_filename) 224 with zipfile.ZipFile(zip_name, 'w') as zip_file: 238 return zip_name, os.path.join(zip_name, name_in_zip) 261 zip_name = os.path.join(zip_dir, zip_filename) 262 with zipfile.ZipFile(zip_name, 'w') as zip_file: 273 return zip_name, os.path.join(zip_name, script_name_in_zip)
|
/third_party/python/PC/layout/ |
D | main.py | 189 zip_name = PYTHON_ZIP_NAME 190 yield zip_name, ns.temp / zip_name 330 zip_name = PYTHON_ZIP_NAME 331 zip_path = ns.temp / zip_name 339 log_info("Generating {} in {}", zip_name, ns.temp)
|
/third_party/flutter/skia/third_party/externals/zlib/google/ |
D | zip_unittest.cc | 484 base::FilePath zip_name = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local 486 base::File zip_file(zip_name, in TEST_F() 494 EXPECT_TRUE(reader.Open(zip_name)); in TEST_F()
|
/third_party/node/deps/zlib/google/ |
D | zip_unittest.cc | 484 base::FilePath zip_name = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local 486 base::File zip_file(zip_name, in TEST_F() 494 EXPECT_TRUE(reader.Open(zip_name)); in TEST_F()
|
/third_party/skia/third_party/externals/zlib/google/ |
D | zip_unittest.cc | 485 base::FilePath zip_name = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local 487 base::File zip_file(zip_name, in TEST_F() 495 EXPECT_TRUE(reader.Open(zip_name)); in TEST_F()
|
/third_party/python/Lib/ |
D | zipfile.py | 2438 zip_name = args.create.pop(0) 2452 with ZipFile(zip_name, 'w') as zf:
|