/third_party/flutter/skia/third_party/externals/zlib/google/ |
D | zip_writer.cc | 19 bool AddFileContentToZip(zipFile zip_file, in AddFileContentToZip() argument 28 if (zipWriteInFileInZip(zip_file, buf, num_bytes) != ZIP_OK) { in AddFileContentToZip() 39 bool OpenNewFileEntry(zipFile zip_file, in OpenNewFileEntry() argument 50 return zip::internal::ZipOpenNewFileInZip(zip_file, str_path, last_modified); in OpenNewFileEntry() 53 bool CloseNewFileEntry(zipFile zip_file) { in CloseNewFileEntry() argument 54 return zipCloseFileInZip(zip_file) == ZIP_OK; in CloseNewFileEntry() 57 bool AddFileEntryToZip(zipFile zip_file, in AddFileEntryToZip() argument 64 if (!OpenNewFileEntry(zip_file, path, /*is_directory=*/false, in AddFileEntryToZip() 68 bool success = AddFileContentToZip(zip_file, std::move(file), path); in AddFileEntryToZip() 69 if (!CloseNewFileEntry(zip_file)) in AddFileEntryToZip() [all …]
|
D | zip_unittest.cc | 251 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TestTimeStamp() local 277 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TestTimeStamp() 278 ASSERT_TRUE(zip::Unzip(zip_file, out_dir)); in TestTimeStamp() 418 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local 420 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/true)); in TEST_F() 421 TestUnzipFile(zip_file, true); in TEST_F() 431 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local 433 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/false)); in TEST_F() 434 TestUnzipFile(zip_file, false); in TEST_F() 448 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out_russian.zip"); in TEST_F() local [all …]
|
D | zip.h | 156 bool UnzipWithFilterCallback(const base::FilePath& zip_file, 170 bool UnzipWithFilterAndWriters(const base::PlatformFile& zip_file, 177 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
D | zip_writer.h | 41 static std::unique_ptr<ZipWriter> Create(const base::FilePath& zip_file, 53 ZipWriter(zipFile zip_file,
|
D | zip_internal.h | 64 bool ZipOpenNewFileInZip(zipFile zip_file,
|
/third_party/node/deps/zlib/google/ |
D | zip_writer.cc | 19 bool AddFileContentToZip(zipFile zip_file, in AddFileContentToZip() argument 28 if (zipWriteInFileInZip(zip_file, buf, num_bytes) != ZIP_OK) { in AddFileContentToZip() 39 bool OpenNewFileEntry(zipFile zip_file, in OpenNewFileEntry() argument 50 return zip::internal::ZipOpenNewFileInZip(zip_file, str_path, last_modified); in OpenNewFileEntry() 53 bool CloseNewFileEntry(zipFile zip_file) { in CloseNewFileEntry() argument 54 return zipCloseFileInZip(zip_file) == ZIP_OK; in CloseNewFileEntry() 57 bool AddFileEntryToZip(zipFile zip_file, in AddFileEntryToZip() argument 64 if (!OpenNewFileEntry(zip_file, path, /*is_directory=*/false, in AddFileEntryToZip() 68 bool success = AddFileContentToZip(zip_file, std::move(file), path); in AddFileEntryToZip() 69 if (!CloseNewFileEntry(zip_file)) in AddFileEntryToZip() [all …]
|
D | zip_unittest.cc | 251 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TestTimeStamp() local 277 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TestTimeStamp() 278 ASSERT_TRUE(zip::Unzip(zip_file, out_dir)); in TestTimeStamp() 418 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local 420 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/true)); in TEST_F() 421 TestUnzipFile(zip_file, true); in TEST_F() 431 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local 433 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/false)); in TEST_F() 434 TestUnzipFile(zip_file, false); in TEST_F() 448 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out_russian.zip"); in TEST_F() local [all …]
|
D | zip.h | 156 bool UnzipWithFilterCallback(const base::FilePath& zip_file, 170 bool UnzipWithFilterAndWriters(const base::PlatformFile& zip_file, 177 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
D | zip_writer.h | 41 static std::unique_ptr<ZipWriter> Create(const base::FilePath& zip_file, 53 ZipWriter(zipFile zip_file,
|
D | zip_internal.h | 64 bool ZipOpenNewFileInZip(zipFile zip_file,
|
/third_party/skia/third_party/externals/zlib/google/ |
D | zip_writer.cc | 20 bool AddFileContentToZip(zipFile zip_file, in AddFileContentToZip() argument 29 if (zipWriteInFileInZip(zip_file, buf, num_bytes) != ZIP_OK) { in AddFileContentToZip() 40 bool OpenNewFileEntry(zipFile zip_file, in OpenNewFileEntry() argument 51 return zip::internal::ZipOpenNewFileInZip(zip_file, str_path, last_modified); in OpenNewFileEntry() 54 bool CloseNewFileEntry(zipFile zip_file) { in CloseNewFileEntry() argument 55 return zipCloseFileInZip(zip_file) == ZIP_OK; in CloseNewFileEntry() 58 bool AddFileEntryToZip(zipFile zip_file, in AddFileEntryToZip() argument 65 if (!OpenNewFileEntry(zip_file, path, /*is_directory=*/false, in AddFileEntryToZip() 69 bool success = AddFileContentToZip(zip_file, std::move(file), path); in AddFileEntryToZip() 70 if (!CloseNewFileEntry(zip_file)) in AddFileEntryToZip() [all …]
|
D | zip_unittest.cc | 252 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TestTimeStamp() local 278 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); in TestTimeStamp() 279 ASSERT_TRUE(zip::Unzip(zip_file, out_dir)); in TestTimeStamp() 419 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local 421 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/true)); in TEST_F() 422 TestUnzipFile(zip_file, true); in TEST_F() 432 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TEST_F() local 434 EXPECT_TRUE(zip::Zip(src_dir, zip_file, /*include_hidden_files=*/false)); in TEST_F() 435 TestUnzipFile(zip_file, false); in TEST_F() 449 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out_russian.zip"); in TEST_F() local [all …]
|
D | zip.h | 156 bool UnzipWithFilterCallback(const base::FilePath& zip_file, 170 bool UnzipWithFilterAndWriters(const base::PlatformFile& zip_file, 177 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
D | zip_writer.h | 41 static std::unique_ptr<ZipWriter> Create(const base::FilePath& zip_file, 53 ZipWriter(zipFile zip_file,
|
D | zip_internal.h | 64 bool ZipOpenNewFileInZip(zipFile zip_file,
|
/third_party/skia/infra/bots/ |
D | zip_utils.py | 28 def zip(target_dir, zip_file, to_skip=None): # pylint: disable=W0622 argument 33 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z: 61 def unzip(zip_file, target_dir): argument 65 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
|
/third_party/flutter/skia/infra/bots/ |
D | zip_utils.py | 27 def zip(target_dir, zip_file, blacklist=None): # pylint: disable=W0622 argument 32 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z: 60 def unzip(zip_file, target_dir): argument 64 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
|
/third_party/python/Lib/test/support/ |
D | script_helper.py | 224 with zipfile.ZipFile(zip_name, 'w') as zip_file: 233 zip_file.write(script_name, name_in_zip) 262 with zipfile.ZipFile(zip_name, 'w') as zip_file: 265 zip_file.write(init_name, init_name_in_zip) 266 zip_file.write(script_name, script_name_in_zip)
|
/third_party/skia/build/fuchsia/ |
D | update_fuchsia_sdk | 47 zip_file = tempfile.NamedTemporaryFile(suffix=pkg_suffix, delete=False) 49 zip_file.name + " -cache-dir " + cipd_cache_dir 50 unzip_cmd = "unzip -q " + zip_file.name + " -d " + output_dir
|
/third_party/flutter/skia/infra/bots/assets/ |
D | asset_utils.py | 202 zip_file = os.path.join(os.getcwd(), '%d.zip' % version) 203 zip_utils.zip(target_dir, zip_file, blacklist=ZIP_BLACKLIST) 206 self.copy(zip_file, gs_path) 214 zip_file = os.path.join(os.getcwd(), '%d.zip' % version) 215 self.copy(gs_path, zip_file) 216 zip_utils.unzip(zip_file, target_dir)
|
/third_party/python/Lib/test/ |
D | test_pkgutil.py | 67 zip_file = os.path.join(self.dirname, zip) 68 z = zipfile.ZipFile(zip_file, 'w') 78 sys.path.insert(0, zip_file) 85 for moduleinfo in pkgutil.iter_modules([zip_file]): 152 zip_file = os.path.join(self.dirname, zip) 153 z = zipfile.ZipFile(zip_file, 'w') 162 sys.path.insert(0, zip_file) 171 actual= [e[1] for e in pkgutil.walk_packages([zip_file])]
|
D | test_zipimport_support.py | 130 with zipfile.ZipFile(zip_name, 'r') as zip_file: 132 zip_file.printdir()
|
/third_party/skia/third_party/externals/dawn/scripts/ |
D | extract.py | 57 with zipfile.ZipFile(path, 'r') as zip_file: 58 for info in zip_file.infolist(): 61 yield FileEntry(info.filename, None, zip_file.open(info))
|
/third_party/python/Lib/distutils/tests/ |
D | test_sdist.py | 125 zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip')) 127 content = zip_file.namelist() 129 zip_file.close() 225 zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip')) 227 content = zip_file.namelist() 229 zip_file.close()
|
/third_party/python/PC/layout/ |
D | main.py | 396 zip_file = _create_zip_file(ns) 419 zip_file.writestr(str(dest), content) 449 zip_file.write(src, str(dest)) 464 zip_file.write(c, str(cdest)) 475 if zip_file: 476 zip_file.close()
|