Searched refs:zipfile (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/runtime_core/libziparchive/tests/ |
D | libziparchive_tests.cpp | 92 ZipArchiveHandle zipfile = nullptr; in UnzipFileCheckDirectory() local 95 if (OpenArchiveFile(zipfile, myfile) != 0) { in UnzipFileCheckDirectory() 100 if (LocateFile(zipfile, filename) != 0) { in UnzipFileCheckDirectory() 101 CloseArchiveFile(zipfile); in UnzipFileCheckDirectory() 107 if (GetCurrentFileInfo(zipfile, &entry) != 0) { in UnzipFileCheckDirectory() 108 CloseArchiveFile(zipfile); in UnzipFileCheckDirectory() 113 if (OpenCurrentFile(zipfile) != 0) { in UnzipFileCheckDirectory() 114 CloseCurrentFile(zipfile); in UnzipFileCheckDirectory() 115 CloseArchiveFile(zipfile); in UnzipFileCheckDirectory() 121 GetCurrentFileOffset(zipfile, &entry); in UnzipFileCheckDirectory() [all …]
|
/arkcompiler/runtime_core/tests/fuzztest/openuncompressedarchive_fuzzer/ |
D | openuncompressedarchive_fuzzer.cpp | 50 panda::ZipArchiveHandle zipfile = nullptr; in OpenUncompressedArchiveFuzzTest() local 51 if (panda::OpenArchiveFile(zipfile, fp) != panda::ZIPARCHIVE_OK) { in OpenUncompressedArchiveFuzzTest() 56 if (panda::LocateFile(zipfile, filename) != panda::ZIPARCHIVE_OK) { in OpenUncompressedArchiveFuzzTest() 57 CloseAndRemoveZipFile(zipfile, fp, zip_filename); in OpenUncompressedArchiveFuzzTest() 62 if (panda::GetCurrentFileInfo(zipfile, &entry) != panda::ZIPARCHIVE_OK) { in OpenUncompressedArchiveFuzzTest() 63 CloseAndRemoveZipFile(zipfile, fp, zip_filename); in OpenUncompressedArchiveFuzzTest() 67 if (panda::OpenCurrentFile(zipfile) != panda::ZIPARCHIVE_OK) { in OpenUncompressedArchiveFuzzTest() 68 panda::CloseCurrentFile(zipfile); in OpenUncompressedArchiveFuzzTest() 69 CloseAndRemoveZipFile(zipfile, fp, zip_filename); in OpenUncompressedArchiveFuzzTest() 73 panda::GetCurrentFileOffset(zipfile, &entry); in OpenUncompressedArchiveFuzzTest() [all …]
|
/arkcompiler/runtime_core/tests/fuzztest/openarchive_fuzzer/ |
D | openarchive_fuzzer.cpp | 32 panda::ZipArchiveHandle zipfile = nullptr; in OpenArchiveFuzzTest() local 33 if (panda::OpenArchive(zipfile, zip_filename) != 0) { in OpenArchiveFuzzTest() 37 panda::CloseArchive(zipfile); in OpenArchiveFuzzTest()
|
/arkcompiler/runtime_core/libpandafile/ |
D | file.cpp | 218 ZipArchiveHandle zipfile = nullptr; in OpenPandaFile() local 219 auto open_error = OpenArchiveFile(zipfile, fp); in OpenPandaFile() 227 if (LocateFile(zipfile, archive_filename.data()) != ZIPARCHIVE_OK) { in OpenPandaFile() 234 if (LocateFile(zipfile, ARCHIVE_FILENAME) != ZIPARCHIVE_OK) { in OpenPandaFile() 235 OpenPandaFileFromZipErrorHandler(zipfile); in OpenPandaFile() 243 if (GetCurrentFileInfo(zipfile, &entry) != ZIPARCHIVE_OK) { in OpenPandaFile() 244 OpenPandaFileFromZipErrorHandler(zipfile); in OpenPandaFile() 251 OpenPandaFileFromZipErrorHandler(zipfile); in OpenPandaFile() 257 if (OpenCurrentFile(zipfile) != ZIPARCHIVE_OK) { in OpenPandaFile() 258 CloseCurrentFile(zipfile); in OpenPandaFile() [all …]
|
/arkcompiler/ets_frontend/test/scripts/auto_xts_test/get_resource/ |
D | get_tool.py | 21 import zipfile 45 with zipfile.ZipFile(".\\RKDevTool.zip", 'r') as zfile:
|
/arkcompiler/ets_frontend/test/scripts/sdk_test/ |
D | preparation.py | 25 import zipfile 90 with zipfile.ZipFile(os.path.join(sdk_zip_path, item)) as zip_file:
|
D | execution.py | 27 import zipfile 61 with zipfile.ZipFile(new_module_name_output_file, 'r') as zip_ref: 327 with zipfile.ZipFile(hap_1) as zf1, zipfile.ZipFile(hap_2) as zf2: 743 with zipfile.ZipFile(output_file, 'r') as zip_ref:
|
/arkcompiler/ets_frontend/test/scripts/performance_test/ |
D | performance_entry.py | 20 import zipfile 129 mail_zip = zipfile.ZipFile(performance_config.MailPicConfig.attach_path, 'w')
|
D | performance_build.py | 24 import zipfile 144 package = zipfile.ZipFile(package_path)
|
/arkcompiler/toolchain/build/prebuilts_download/ |
D | prebuilts_download.py | 21 import zipfile
|