Lines Matching refs:level_and_flags
3374 …chive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, mz_uint level_and_flags) in mz_zip_writer_add_mem() argument
3376 …return mz_zip_writer_add_mem_ex(pZip, pArchive_name, pBuf, buf_size, NULL, 0, level_and_flags, 0, … in mz_zip_writer_add_mem()
3500 …ze_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, mz_uint64 un… in mz_zip_writer_add_mem_ex() argument
3511 if ((int)level_and_flags < 0) in mz_zip_writer_add_mem_ex()
3512 level_and_flags = MZ_DEFAULT_LEVEL; in mz_zip_writer_add_mem_ex()
3513 level = level_and_flags & 0xF; in mz_zip_writer_add_mem_ex()
3514 store_data_uncompressed = ((!level) || (level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA)); in mz_zip_writer_add_mem_ex()
3521 if ((!(level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) && (uncomp_size)) in mz_zip_writer_add_mem_ex()
3582 if (!(level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) in mz_zip_writer_add_mem_ex()
3604 if (level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA) in mz_zip_writer_add_mem_ex()
3651 …, const char *pSrc_filename, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags) in mz_zip_writer_add_file() argument
3660 if ((int)level_and_flags < 0) in mz_zip_writer_add_file()
3661 level_and_flags = MZ_DEFAULT_LEVEL; in mz_zip_writer_add_file()
3662 level = level_and_flags & 0xF; in mz_zip_writer_add_file()
3666 if (level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA) in mz_zip_writer_add_file()
4050 …void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags) in mz_zip_add_mem_to_archive_file_in_place() argument
4056 if ((int)level_and_flags < 0) in mz_zip_add_mem_to_archive_file_in_place()
4057 level_and_flags = MZ_DEFAULT_LEVEL; in mz_zip_add_mem_to_archive_file_in_place()
4058 …) || ((buf_size) && (!pBuf)) || ((comment_size) && (!pComment)) || ((level_and_flags & 0xF) > MZ_U… 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()
4080 …mem_ex(&zip_archive, pArchive_name, pBuf, buf_size, pComment, comment_size, level_and_flags, 0, 0); in mz_zip_add_mem_to_archive_file_in_place()