Searched refs:zip_archive (Results 1 – 4 of 4) sorted by relevance
/external/ImageMagick/coders/ |
D | ora.c | 135 *zip_archive; in ReadORAImage() local 148 zip_archive=zip_open(image_info->filename,ZIP_RDONLY,&zip_error); in ReadORAImage() 149 if (zip_archive == NULL) in ReadORAImage() 157 merged_image_file=zip_fopen(zip_archive,MERGED_IMAGE_PATH,ZIP_FL_UNCHANGED); in ReadORAImage() 164 zip_discard(zip_archive); in ReadORAImage() 184 zip_discard(zip_archive); in ReadORAImage() 216 (void) zip_discard(zip_archive); in ReadORAImage()
|
/external/tflite-support/tensorflow_lite_support/metadata/cc/ |
D | metadata_extractor.cc | 212 zip* zip_archive = zip_open_from_source(src, /*flags=*/0, &error); in ExtractAssociatedFiles() local 213 if (zip_archive == nullptr) { in ExtractAssociatedFiles() 219 SimpleCleanUp([zip_archive] { zip_close(zip_archive); }); in ExtractAssociatedFiles() 226 const int num_files = zip_get_num_entries(zip_archive, /*flags=*/0); in ExtractAssociatedFiles() 231 zip_stat_index(zip_archive, index, /*flags=*/0, &zip_file_stat); in ExtractAssociatedFiles() 236 zip_file* zip_file = zip_fopen_index(zip_archive, index, /*flags=*/0); in ExtractAssociatedFiles()
|
/external/OpenCL-CTS/test_conformance/spir/ |
D | main.cpp | 226 mz_zip_archive zip_archive; in extract_suite() local 242 memset(&zip_archive, 0, sizeof(zip_archive)); in extract_suite() 243 if (!mz_zip_reader_init_file(&zip_archive, archiveName.c_str(), 0)) in extract_suite() 247 for (size_t i = 0; i < mz_zip_reader_get_num_files(&zip_archive); i++) in extract_suite() 252 if (!mz_zip_reader_file_stat(&zip_archive, i, &fileStat)) in extract_suite() 254 mz_zip_reader_end(&zip_archive); in extract_suite() 260 if (mz_zip_reader_is_file_a_directory(&zip_archive, fileStat.m_file_index)) in extract_suite() 266 void *p = mz_zip_reader_extract_file_to_heap(&zip_archive, in extract_suite() 271 mz_zip_reader_end(&zip_archive); in extract_suite() 299 mz_zip_reader_end(&zip_archive); in extract_suite()
|
/external/OpenCL-CTS/test_common/miniz/ |
D | miniz.c | 4053 mz_zip_archive zip_archive; in mz_zip_add_mem_to_archive_file_in_place() local 4055 MZ_CLEAR_OBJ(zip_archive); in mz_zip_add_mem_to_archive_file_in_place() 4065 if (!mz_zip_writer_init_file(&zip_archive, pZip_filename, 0)) in mz_zip_add_mem_to_archive_file_in_place() 4072 …if (!mz_zip_reader_init_file(&zip_archive, pZip_filename, level_and_flags | MZ_ZIP_FLAG_DO_NOT_SOR… in mz_zip_add_mem_to_archive_file_in_place() 4074 if (!mz_zip_writer_init_from_reader(&zip_archive, pZip_filename)) in mz_zip_add_mem_to_archive_file_in_place() 4076 mz_zip_reader_end(&zip_archive); in mz_zip_add_mem_to_archive_file_in_place() 4080 …status = mz_zip_writer_add_mem_ex(&zip_archive, pArchive_name, pBuf, buf_size, pComment, comment_s… in mz_zip_add_mem_to_archive_file_in_place() 4082 if (!mz_zip_writer_finalize_archive(&zip_archive)) in mz_zip_add_mem_to_archive_file_in_place() 4084 if (!mz_zip_writer_end(&zip_archive)) in mz_zip_add_mem_to_archive_file_in_place() 4098 mz_zip_archive zip_archive; in mz_zip_extract_archive_file_to_heap() local [all …]
|