CBMC
|
#include <time.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdio.h>
Go to the source code of this file.
Classes | |
struct | mz_stream_s |
struct | tdefl_compressor |
struct | tinfl_huff_table |
struct | tinfl_decompressor_tag |
struct | mz_zip_archive_file_stat |
struct | mz_zip_archive |
Typedefs | |
typedef unsigned long | mz_ulong |
typedef void *(* | mz_alloc_func) (void *opaque, size_t items, size_t size) |
typedef void(* | mz_free_func) (void *opaque, void *address) |
typedef void *(* | mz_realloc_func) (void *opaque, void *address, size_t items, size_t size) |
typedef struct mz_stream_s | mz_stream |
typedef mz_stream * | mz_streamp |
typedef unsigned char | Byte |
typedef unsigned int | uInt |
typedef mz_ulong | uLong |
typedef Byte | Bytef |
typedef uInt | uIntf |
typedef char | charf |
typedef int | intf |
typedef void * | voidpf |
typedef uLong | uLongf |
typedef void * | voidp |
typedef void *const | voidpc |
typedef uint8_t | mz_uint8 |
typedef int16_t | mz_int16 |
typedef uint16_t | mz_uint16 |
typedef uint32_t | mz_uint32 |
typedef unsigned int | mz_uint |
typedef int64_t | mz_int64 |
typedef uint64_t | mz_uint64 |
typedef bool | mz_bool |
typedef mz_bool(* | tdefl_put_buf_func_ptr) (const void *pBuf, int len, void *pUser) |
typedef int(* | tinfl_put_buf_func_ptr) (const void *pBuf, int len, void *pUser) |
typedef struct tinfl_decompressor_tag | tinfl_decompressor |
typedef mz_uint32 | tinfl_bit_buf_t |
typedef size_t(* | mz_file_read_func) (void *pOpaque, mz_uint64 file_ofs, void *pBuf, size_t n) |
typedef size_t(* | mz_file_write_func) (void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n) |
typedef struct mz_zip_internal_state_tag | mz_zip_internal_state |
Functions | |
void | mz_free (void *p) |
mz_ulong | mz_adler32 (mz_ulong adler, const unsigned char *ptr, size_t buf_len) |
mz_ulong | mz_crc32 (mz_ulong crc, const unsigned char *ptr, size_t buf_len) |
const char * | mz_version (void) |
int | mz_deflateInit (mz_streamp pStream, int level) |
int | mz_deflateInit2 (mz_streamp pStream, int level, int method, int window_bits, int mem_level, int strategy) |
int | mz_deflateReset (mz_streamp pStream) |
int | mz_deflate (mz_streamp pStream, int flush) |
int | mz_deflateEnd (mz_streamp pStream) |
mz_ulong | mz_deflateBound (mz_streamp pStream, mz_ulong source_len) |
int | mz_compress (unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) |
int | mz_compress2 (unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level) |
mz_ulong | mz_compressBound (mz_ulong source_len) |
int | mz_inflateInit (mz_streamp pStream) |
int | mz_inflateInit2 (mz_streamp pStream, int window_bits) |
int | mz_inflate (mz_streamp pStream, int flush) |
int | mz_inflateEnd (mz_streamp pStream) |
int | mz_uncompress (unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) |
const char * | mz_error (int err) |
void * | miniz_def_alloc_func (void *opaque, size_t items, size_t size) |
void | miniz_def_free_func (void *opaque, void *address) |
void * | miniz_def_realloc_func (void *opaque, void *address, size_t items, size_t size) |
void * | tdefl_compress_mem_to_heap (const void *pSrc_buf, size_t src_buf_len, size_t *pOut_len, int flags) |
size_t | tdefl_compress_mem_to_mem (void *pOut_buf, size_t out_buf_len, const void *pSrc_buf, size_t src_buf_len, int flags) |
void * | tdefl_write_image_to_png_file_in_memory_ex (const void *pImage, int w, int h, int num_chans, size_t *pLen_out, mz_uint level, mz_bool flip) |
void * | tdefl_write_image_to_png_file_in_memory (const void *pImage, int w, int h, int num_chans, size_t *pLen_out) |
mz_bool | tdefl_compress_mem_to_output (const void *pBuf, size_t buf_len, tdefl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags) |
tdefl_status | tdefl_init (tdefl_compressor *d, tdefl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags) |
tdefl_status | tdefl_compress (tdefl_compressor *d, const void *pIn_buf, size_t *pIn_buf_size, void *pOut_buf, size_t *pOut_buf_size, tdefl_flush flush) |
tdefl_status | tdefl_compress_buffer (tdefl_compressor *d, const void *pIn_buf, size_t in_buf_size, tdefl_flush flush) |
tdefl_status | tdefl_get_prev_return_status (tdefl_compressor *d) |
mz_uint32 | tdefl_get_adler32 (tdefl_compressor *d) |
mz_uint | tdefl_create_comp_flags_from_zip_params (int level, int window_bits, int strategy) |
tdefl_compressor * | tdefl_compressor_alloc () |
void | tdefl_compressor_free (tdefl_compressor *pComp) |
void * | tinfl_decompress_mem_to_heap (const void *pSrc_buf, size_t src_buf_len, size_t *pOut_len, int flags) |
size_t | tinfl_decompress_mem_to_mem (void *pOut_buf, size_t out_buf_len, const void *pSrc_buf, size_t src_buf_len, int flags) |
int | tinfl_decompress_mem_to_callback (const void *pIn_buf, size_t *pIn_buf_size, tinfl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags) |
tinfl_decompressor * | tinfl_decompressor_alloc () |
void | tinfl_decompressor_free (tinfl_decompressor *pDecomp) |
tinfl_status | tinfl_decompress (tinfl_decompressor *r, const mz_uint8 *pIn_buf_next, size_t *pIn_buf_size, mz_uint8 *pOut_buf_start, mz_uint8 *pOut_buf_next, size_t *pOut_buf_size, const mz_uint32 decomp_flags) |
mz_bool | mz_zip_reader_init (mz_zip_archive *pZip, mz_uint64 size, mz_uint flags) |
mz_bool | mz_zip_reader_init_mem (mz_zip_archive *pZip, const void *pMem, size_t size, mz_uint flags) |
mz_bool | mz_zip_reader_init_file (mz_zip_archive *pZip, const char *pFilename, mz_uint32 flags) |
mz_bool | mz_zip_reader_init_file_v2 (mz_zip_archive *pZip, const char *pFilename, mz_uint flags, mz_uint64 file_start_ofs, mz_uint64 archive_size) |
mz_bool | mz_zip_reader_init_cfile (mz_zip_archive *pZip, FILE *pFile, mz_uint64 archive_size, mz_uint flags) |
mz_bool | mz_zip_reader_end (mz_zip_archive *pZip) |
void | mz_zip_zero_struct (mz_zip_archive *pZip) |
mz_zip_mode | mz_zip_get_mode (mz_zip_archive *pZip) |
mz_zip_type | mz_zip_get_type (mz_zip_archive *pZip) |
mz_uint | mz_zip_reader_get_num_files (mz_zip_archive *pZip) |
mz_uint64 | mz_zip_get_archive_size (mz_zip_archive *pZip) |
mz_uint64 | mz_zip_get_archive_file_start_offset (mz_zip_archive *pZip) |
FILE * | mz_zip_get_cfile (mz_zip_archive *pZip) |
size_t | mz_zip_read_archive_data (mz_zip_archive *pZip, mz_uint64 file_ofs, void *pBuf, size_t n) |
int | mz_zip_locate_file (mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags) |
mz_bool | mz_zip_locate_file_v2 (mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags, mz_uint32 *pIndex) |
mz_zip_error | mz_zip_set_last_error (mz_zip_archive *pZip, mz_zip_error err_num) |
mz_zip_error | mz_zip_peek_last_error (mz_zip_archive *pZip) |
mz_zip_error | mz_zip_clear_last_error (mz_zip_archive *pZip) |
mz_zip_error | mz_zip_get_last_error (mz_zip_archive *pZip) |
const char * | mz_zip_get_error_string (mz_zip_error mz_err) |
mz_bool | mz_zip_reader_is_file_a_directory (mz_zip_archive *pZip, mz_uint file_index) |
mz_bool | mz_zip_reader_is_file_encrypted (mz_zip_archive *pZip, mz_uint file_index) |
mz_bool | mz_zip_reader_is_file_supported (mz_zip_archive *pZip, mz_uint file_index) |
mz_uint | mz_zip_reader_get_filename (mz_zip_archive *pZip, mz_uint file_index, char *pFilename, mz_uint filename_buf_size) |
int | mz_zip_reader_locate_file (mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags) |
mz_bool | mz_zip_reader_locate_file_v2 (mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags, mz_uint32 *file_index) |
mz_bool | mz_zip_reader_file_stat (mz_zip_archive *pZip, mz_uint file_index, mz_zip_archive_file_stat *pStat) |
mz_bool | mz_zip_is_zip64 (mz_zip_archive *pZip) |
size_t | mz_zip_get_central_dir_size (mz_zip_archive *pZip) |
mz_bool | mz_zip_reader_extract_to_mem_no_alloc (mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t buf_size, mz_uint flags, void *pUser_read_buf, size_t user_read_buf_size) |
mz_bool | mz_zip_reader_extract_file_to_mem_no_alloc (mz_zip_archive *pZip, const char *pFilename, void *pBuf, size_t buf_size, mz_uint flags, void *pUser_read_buf, size_t user_read_buf_size) |
mz_bool | mz_zip_reader_extract_to_mem (mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t buf_size, mz_uint flags) |
mz_bool | mz_zip_reader_extract_file_to_mem (mz_zip_archive *pZip, const char *pFilename, void *pBuf, size_t buf_size, mz_uint flags) |
void * | mz_zip_reader_extract_to_heap (mz_zip_archive *pZip, mz_uint file_index, size_t *pSize, mz_uint flags) |
void * | mz_zip_reader_extract_file_to_heap (mz_zip_archive *pZip, const char *pFilename, size_t *pSize, mz_uint flags) |
mz_bool | mz_zip_reader_extract_to_callback (mz_zip_archive *pZip, mz_uint file_index, mz_file_write_func pCallback, void *pOpaque, mz_uint flags) |
mz_bool | mz_zip_reader_extract_file_to_callback (mz_zip_archive *pZip, const char *pFilename, mz_file_write_func pCallback, void *pOpaque, mz_uint flags) |
mz_bool | mz_zip_reader_extract_to_file (mz_zip_archive *pZip, mz_uint file_index, const char *pDst_filename, mz_uint flags) |
mz_bool | mz_zip_reader_extract_file_to_file (mz_zip_archive *pZip, const char *pArchive_filename, const char *pDst_filename, mz_uint flags) |
mz_bool | mz_zip_reader_extract_to_cfile (mz_zip_archive *pZip, mz_uint file_index, FILE *File, mz_uint flags) |
mz_bool | mz_zip_reader_extract_file_to_cfile (mz_zip_archive *pZip, const char *pArchive_filename, FILE *pFile, mz_uint flags) |
mz_bool | mz_zip_validate_file (mz_zip_archive *pZip, mz_uint file_index, mz_uint flags) |
mz_bool | mz_zip_validate_archive (mz_zip_archive *pZip, mz_uint flags) |
mz_bool | mz_zip_validate_mem_archive (const void *pMem, size_t size, mz_uint flags, mz_zip_error *pErr) |
mz_bool | mz_zip_validate_file_archive (const char *pFilename, mz_uint flags, mz_zip_error *pErr) |
mz_bool | mz_zip_end (mz_zip_archive *pZip) |
mz_bool | mz_zip_writer_init (mz_zip_archive *pZip, mz_uint64 existing_size) |
mz_bool | mz_zip_writer_init_v2 (mz_zip_archive *pZip, mz_uint64 existing_size, mz_uint flags) |
mz_bool | mz_zip_writer_init_heap (mz_zip_archive *pZip, size_t size_to_reserve_at_beginning, size_t initial_allocation_size) |
mz_bool | mz_zip_writer_init_heap_v2 (mz_zip_archive *pZip, size_t size_to_reserve_at_beginning, size_t initial_allocation_size, mz_uint flags) |
mz_bool | mz_zip_writer_init_file (mz_zip_archive *pZip, const char *pFilename, mz_uint64 size_to_reserve_at_beginning) |
mz_bool | mz_zip_writer_init_file_v2 (mz_zip_archive *pZip, const char *pFilename, mz_uint64 size_to_reserve_at_beginning, mz_uint flags) |
mz_bool | mz_zip_writer_init_cfile (mz_zip_archive *pZip, FILE *pFile, mz_uint flags) |
mz_bool | mz_zip_writer_init_from_reader (mz_zip_archive *pZip, const char *pFilename) |
mz_bool | mz_zip_writer_init_from_reader_v2 (mz_zip_archive *pZip, const char *pFilename, mz_uint flags) |
mz_bool | mz_zip_writer_add_mem (mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, mz_uint level_and_flags) |
mz_bool | mz_zip_writer_add_mem_ex (mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, mz_uint64 uncomp_size, mz_uint32 uncomp_crc32) |
mz_bool | mz_zip_writer_add_mem_ex_v2 (mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, mz_uint64 uncomp_size, mz_uint32 uncomp_crc32, time_t *last_modified, const char *user_extra_data_local, mz_uint user_extra_data_local_len, const char *user_extra_data_central, mz_uint user_extra_data_central_len) |
mz_bool | mz_zip_writer_add_file (mz_zip_archive *pZip, const char *pArchive_name, const char *pSrc_filename, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags) |
mz_bool | mz_zip_writer_add_cfile (mz_zip_archive *pZip, const char *pArchive_name, FILE *pSrc_file, mz_uint64 size_to_add, const time_t *pFile_time, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, const char *user_extra_data_local, mz_uint user_extra_data_local_len, const char *user_extra_data_central, mz_uint user_extra_data_central_len) |
mz_bool | mz_zip_writer_add_from_zip_reader (mz_zip_archive *pZip, mz_zip_archive *pSource_zip, mz_uint src_file_index) |
mz_bool | mz_zip_writer_finalize_archive (mz_zip_archive *pZip) |
mz_bool | mz_zip_writer_finalize_heap_archive (mz_zip_archive *pZip, void **ppBuf, size_t *pSize) |
mz_bool | mz_zip_writer_end (mz_zip_archive *pZip) |
mz_bool | mz_zip_add_mem_to_archive_file_in_place (const char *pZip_filename, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags) |
mz_bool | mz_zip_add_mem_to_archive_file_in_place_v2 (const char *pZip_filename, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, mz_zip_error *pErr) |
void * | mz_zip_extract_archive_file_to_heap (const char *pZip_filename, const char *pArchive_name, size_t *pSize, mz_uint flags) |
void * | mz_zip_extract_archive_file_to_heap_v2 (const char *pZip_filename, const char *pArchive_name, const char *pComment, size_t *pSize, mz_uint flags, mz_zip_error *pErr) |
#define adler32 mz_adler32 |
#define alloc_func mz_alloc_func |
#define compress mz_compress |
#define compress2 mz_compress2 |
#define compressBound mz_compressBound |
#define deflate mz_deflate |
#define deflateBound mz_deflateBound |
#define deflateEnd mz_deflateEnd |
#define deflateInit mz_deflateInit |
#define deflateInit2 mz_deflateInit2 |
#define deflateReset mz_deflateReset |
#define free_func mz_free_func |
#define inflate mz_inflate |
#define inflateEnd mz_inflateEnd |
#define inflateInit mz_inflateInit |
#define inflateInit2 mz_inflateInit2 |
#define MZ_READ_LE64 | ( | p | ) | (((mz_uint64)MZ_READ_LE32(p)) | (((mz_uint64)MZ_READ_LE32((const mz_uint8 *)(p) + sizeof(mz_uint32))) << 32U)) |
#define tinfl_init | ( | r | ) |
#define uncompress mz_uncompress |
#define Z_BEST_COMPRESSION MZ_BEST_COMPRESSION |
#define Z_BEST_SPEED MZ_BEST_SPEED |
#define Z_BUF_ERROR MZ_BUF_ERROR |
#define Z_DATA_ERROR MZ_DATA_ERROR |
#define Z_DEFAULT_COMPRESSION MZ_DEFAULT_COMPRESSION |
#define Z_DEFAULT_STRATEGY MZ_DEFAULT_STRATEGY |
#define Z_DEFAULT_WINDOW_BITS MZ_DEFAULT_WINDOW_BITS |
#define Z_DEFLATED MZ_DEFLATED |
#define Z_FILTERED MZ_FILTERED |
#define Z_FULL_FLUSH MZ_FULL_FLUSH |
#define Z_HUFFMAN_ONLY MZ_HUFFMAN_ONLY |
#define Z_MEM_ERROR MZ_MEM_ERROR |
#define Z_NEED_DICT MZ_NEED_DICT |
#define Z_NO_COMPRESSION MZ_NO_COMPRESSION |
#define Z_NO_FLUSH MZ_NO_FLUSH |
#define Z_PARAM_ERROR MZ_PARAM_ERROR |
#define Z_PARTIAL_FLUSH MZ_PARTIAL_FLUSH |
#define Z_STREAM_END MZ_STREAM_END |
#define Z_STREAM_ERROR MZ_STREAM_ERROR |
#define Z_SYNC_FLUSH MZ_SYNC_FLUSH |
#define Z_VERSION_ERROR MZ_VERSION_ERROR |
#define ZLIB_VER_MAJOR MZ_VER_MAJOR |
#define ZLIB_VER_MINOR MZ_VER_MINOR |
#define ZLIB_VER_REVISION MZ_VER_REVISION |
#define ZLIB_VER_SUBREVISION MZ_VER_SUBREVISION |
#define ZLIB_VERSION MZ_VERSION |
#define zlib_version mz_version() |
#define zlibVersion mz_version |
typedef void*(* mz_alloc_func) (void *opaque, size_t items, size_t size) |
typedef size_t(* mz_file_read_func) (void *pOpaque, mz_uint64 file_ofs, void *pBuf, size_t n) |
typedef size_t(* mz_file_write_func) (void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n) |
typedef void*(* mz_realloc_func) (void *opaque, void *address, size_t items, size_t size) |
typedef struct mz_stream_s mz_stream |
typedef mz_stream* mz_streamp |
typedef struct mz_zip_internal_state_tag mz_zip_internal_state |
typedef mz_bool(* tdefl_put_buf_func_ptr) (const void *pBuf, int len, void *pUser) |
typedef mz_uint32 tinfl_bit_buf_t |
typedef struct tinfl_decompressor_tag tinfl_decompressor |
typedef int(* tinfl_put_buf_func_ptr) (const void *pBuf, int len, void *pUser) |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
enum mz_zip_error |
enum mz_zip_flags |
enum mz_zip_mode |
enum mz_zip_type |
enum tdefl_flush |
enum tdefl_status |
enum tinfl_status |
void* miniz_def_alloc_func | ( | void * | opaque, |
size_t | items, | ||
size_t | size | ||
) |
void miniz_def_free_func | ( | void * | opaque, |
void * | address | ||
) |
void* miniz_def_realloc_func | ( | void * | opaque, |
void * | address, | ||
size_t | items, | ||
size_t | size | ||
) |
int mz_deflate | ( | mz_streamp | pStream, |
int | flush | ||
) |
mz_ulong mz_deflateBound | ( | mz_streamp | pStream, |
mz_ulong | source_len | ||
) |
int mz_deflateEnd | ( | mz_streamp | pStream | ) |
int mz_deflateInit | ( | mz_streamp | pStream, |
int | level | ||
) |
int mz_deflateInit2 | ( | mz_streamp | pStream, |
int | level, | ||
int | method, | ||
int | window_bits, | ||
int | mem_level, | ||
int | strategy | ||
) |
int mz_deflateReset | ( | mz_streamp | pStream | ) |
int mz_inflate | ( | mz_streamp | pStream, |
int | flush | ||
) |
int mz_inflateEnd | ( | mz_streamp | pStream | ) |
int mz_inflateInit | ( | mz_streamp | pStream | ) |
int mz_inflateInit2 | ( | mz_streamp | pStream, |
int | window_bits | ||
) |
mz_bool mz_zip_add_mem_to_archive_file_in_place_v2 | ( | const char * | pZip_filename, |
const char * | pArchive_name, | ||
const void * | pBuf, | ||
size_t | buf_size, | ||
const void * | pComment, | ||
mz_uint16 | comment_size, | ||
mz_uint | level_and_flags, | ||
mz_zip_error * | pErr | ||
) |
mz_zip_error mz_zip_clear_last_error | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_end | ( | mz_zip_archive * | pZip | ) |
void* mz_zip_extract_archive_file_to_heap | ( | const char * | pZip_filename, |
const char * | pArchive_name, | ||
size_t * | pSize, | ||
mz_uint | flags | ||
) |
void* mz_zip_extract_archive_file_to_heap_v2 | ( | const char * | pZip_filename, |
const char * | pArchive_name, | ||
const char * | pComment, | ||
size_t * | pSize, | ||
mz_uint | flags, | ||
mz_zip_error * | pErr | ||
) |
mz_uint64 mz_zip_get_archive_file_start_offset | ( | mz_zip_archive * | pZip | ) |
mz_uint64 mz_zip_get_archive_size | ( | mz_zip_archive * | pZip | ) |
size_t mz_zip_get_central_dir_size | ( | mz_zip_archive * | pZip | ) |
FILE* mz_zip_get_cfile | ( | mz_zip_archive * | pZip | ) |
const char* mz_zip_get_error_string | ( | mz_zip_error | mz_err | ) |
mz_zip_error mz_zip_get_last_error | ( | mz_zip_archive * | pZip | ) |
mz_zip_mode mz_zip_get_mode | ( | mz_zip_archive * | pZip | ) |
mz_zip_type mz_zip_get_type | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_is_zip64 | ( | mz_zip_archive * | pZip | ) |
int mz_zip_locate_file | ( | mz_zip_archive * | pZip, |
const char * | pName, | ||
const char * | pComment, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_locate_file_v2 | ( | mz_zip_archive * | pZip, |
const char * | pName, | ||
const char * | pComment, | ||
mz_uint | flags, | ||
mz_uint32 * | pIndex | ||
) |
mz_zip_error mz_zip_peek_last_error | ( | mz_zip_archive * | pZip | ) |
size_t mz_zip_read_archive_data | ( | mz_zip_archive * | pZip, |
mz_uint64 | file_ofs, | ||
void * | pBuf, | ||
size_t | n | ||
) |
mz_bool mz_zip_reader_end | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_reader_extract_file_to_callback | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
mz_file_write_func | pCallback, | ||
void * | pOpaque, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_file_to_cfile | ( | mz_zip_archive * | pZip, |
const char * | pArchive_filename, | ||
FILE * | pFile, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_file_to_file | ( | mz_zip_archive * | pZip, |
const char * | pArchive_filename, | ||
const char * | pDst_filename, | ||
mz_uint | flags | ||
) |
void* mz_zip_reader_extract_file_to_heap | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
size_t * | pSize, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_file_to_mem | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_file_to_mem_no_alloc | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | flags, | ||
void * | pUser_read_buf, | ||
size_t | user_read_buf_size | ||
) |
mz_bool mz_zip_reader_extract_to_callback | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
mz_file_write_func | pCallback, | ||
void * | pOpaque, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_to_cfile | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
FILE * | File, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_to_file | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
const char * | pDst_filename, | ||
mz_uint | flags | ||
) |
void* mz_zip_reader_extract_to_heap | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
size_t * | pSize, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_to_mem | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_to_mem_no_alloc | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | flags, | ||
void * | pUser_read_buf, | ||
size_t | user_read_buf_size | ||
) |
mz_bool mz_zip_reader_file_stat | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
mz_zip_archive_file_stat * | pStat | ||
) |
mz_uint mz_zip_reader_get_filename | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
char * | pFilename, | ||
mz_uint | filename_buf_size | ||
) |
mz_uint mz_zip_reader_get_num_files | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_reader_init | ( | mz_zip_archive * | pZip, |
mz_uint64 | size, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_init_cfile | ( | mz_zip_archive * | pZip, |
FILE * | pFile, | ||
mz_uint64 | archive_size, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_init_file | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
mz_uint32 | flags | ||
) |
mz_bool mz_zip_reader_init_file_v2 | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
mz_uint | flags, | ||
mz_uint64 | file_start_ofs, | ||
mz_uint64 | archive_size | ||
) |
mz_bool mz_zip_reader_init_mem | ( | mz_zip_archive * | pZip, |
const void * | pMem, | ||
size_t | size, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_is_file_a_directory | ( | mz_zip_archive * | pZip, |
mz_uint | file_index | ||
) |
mz_bool mz_zip_reader_is_file_encrypted | ( | mz_zip_archive * | pZip, |
mz_uint | file_index | ||
) |
mz_bool mz_zip_reader_is_file_supported | ( | mz_zip_archive * | pZip, |
mz_uint | file_index | ||
) |
int mz_zip_reader_locate_file | ( | mz_zip_archive * | pZip, |
const char * | pName, | ||
const char * | pComment, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_locate_file_v2 | ( | mz_zip_archive * | pZip, |
const char * | pName, | ||
const char * | pComment, | ||
mz_uint | flags, | ||
mz_uint32 * | file_index | ||
) |
mz_zip_error mz_zip_set_last_error | ( | mz_zip_archive * | pZip, |
mz_zip_error | err_num | ||
) |
mz_bool mz_zip_validate_archive | ( | mz_zip_archive * | pZip, |
mz_uint | flags | ||
) |
mz_bool mz_zip_validate_file | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_validate_file_archive | ( | const char * | pFilename, |
mz_uint | flags, | ||
mz_zip_error * | pErr | ||
) |
mz_bool mz_zip_validate_mem_archive | ( | const void * | pMem, |
size_t | size, | ||
mz_uint | flags, | ||
mz_zip_error * | pErr | ||
) |
mz_bool mz_zip_writer_add_cfile | ( | mz_zip_archive * | pZip, |
const char * | pArchive_name, | ||
FILE * | pSrc_file, | ||
mz_uint64 | size_to_add, | ||
const time_t * | pFile_time, | ||
const void * | pComment, | ||
mz_uint16 | comment_size, | ||
mz_uint | level_and_flags, | ||
const char * | user_extra_data_local, | ||
mz_uint | user_extra_data_local_len, | ||
const char * | user_extra_data_central, | ||
mz_uint | user_extra_data_central_len | ||
) |
mz_bool mz_zip_writer_add_file | ( | mz_zip_archive * | pZip, |
const char * | pArchive_name, | ||
const char * | pSrc_filename, | ||
const void * | pComment, | ||
mz_uint16 | comment_size, | ||
mz_uint | level_and_flags | ||
) |
mz_bool mz_zip_writer_add_from_zip_reader | ( | mz_zip_archive * | pZip, |
mz_zip_archive * | pSource_zip, | ||
mz_uint | src_file_index | ||
) |
mz_bool mz_zip_writer_add_mem | ( | mz_zip_archive * | pZip, |
const char * | pArchive_name, | ||
const void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | level_and_flags | ||
) |
mz_bool mz_zip_writer_add_mem_ex_v2 | ( | mz_zip_archive * | pZip, |
const char * | pArchive_name, | ||
const void * | pBuf, | ||
size_t | buf_size, | ||
const void * | pComment, | ||
mz_uint16 | comment_size, | ||
mz_uint | level_and_flags, | ||
mz_uint64 | uncomp_size, | ||
mz_uint32 | uncomp_crc32, | ||
time_t * | last_modified, | ||
const char * | user_extra_data_local, | ||
mz_uint | user_extra_data_local_len, | ||
const char * | user_extra_data_central, | ||
mz_uint | user_extra_data_central_len | ||
) |
mz_bool mz_zip_writer_end | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_writer_finalize_archive | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_writer_finalize_heap_archive | ( | mz_zip_archive * | pZip, |
void ** | ppBuf, | ||
size_t * | pSize | ||
) |
mz_bool mz_zip_writer_init | ( | mz_zip_archive * | pZip, |
mz_uint64 | existing_size | ||
) |
mz_bool mz_zip_writer_init_cfile | ( | mz_zip_archive * | pZip, |
FILE * | pFile, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_writer_init_file | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
mz_uint64 | size_to_reserve_at_beginning | ||
) |
mz_bool mz_zip_writer_init_file_v2 | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
mz_uint64 | size_to_reserve_at_beginning, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_writer_init_from_reader | ( | mz_zip_archive * | pZip, |
const char * | pFilename | ||
) |
mz_bool mz_zip_writer_init_from_reader_v2 | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_writer_init_heap | ( | mz_zip_archive * | pZip, |
size_t | size_to_reserve_at_beginning, | ||
size_t | initial_allocation_size | ||
) |
mz_bool mz_zip_writer_init_heap_v2 | ( | mz_zip_archive * | pZip, |
size_t | size_to_reserve_at_beginning, | ||
size_t | initial_allocation_size, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_writer_init_v2 | ( | mz_zip_archive * | pZip, |
mz_uint64 | existing_size, | ||
mz_uint | flags | ||
) |
void mz_zip_zero_struct | ( | mz_zip_archive * | pZip | ) |
tdefl_status tdefl_compress | ( | tdefl_compressor * | d, |
const void * | pIn_buf, | ||
size_t * | pIn_buf_size, | ||
void * | pOut_buf, | ||
size_t * | pOut_buf_size, | ||
tdefl_flush | flush | ||
) |
tdefl_status tdefl_compress_buffer | ( | tdefl_compressor * | d, |
const void * | pIn_buf, | ||
size_t | in_buf_size, | ||
tdefl_flush | flush | ||
) |
void* tdefl_compress_mem_to_heap | ( | const void * | pSrc_buf, |
size_t | src_buf_len, | ||
size_t * | pOut_len, | ||
int | flags | ||
) |
size_t tdefl_compress_mem_to_mem | ( | void * | pOut_buf, |
size_t | out_buf_len, | ||
const void * | pSrc_buf, | ||
size_t | src_buf_len, | ||
int | flags | ||
) |
mz_bool tdefl_compress_mem_to_output | ( | const void * | pBuf, |
size_t | buf_len, | ||
tdefl_put_buf_func_ptr | pPut_buf_func, | ||
void * | pPut_buf_user, | ||
int | flags | ||
) |
tdefl_compressor* tdefl_compressor_alloc | ( | ) |
void tdefl_compressor_free | ( | tdefl_compressor * | pComp | ) |
mz_uint tdefl_create_comp_flags_from_zip_params | ( | int | level, |
int | window_bits, | ||
int | strategy | ||
) |
mz_uint32 tdefl_get_adler32 | ( | tdefl_compressor * | d | ) |
tdefl_status tdefl_get_prev_return_status | ( | tdefl_compressor * | d | ) |
tdefl_status tdefl_init | ( | tdefl_compressor * | d, |
tdefl_put_buf_func_ptr | pPut_buf_func, | ||
void * | pPut_buf_user, | ||
int | flags | ||
) |
void* tdefl_write_image_to_png_file_in_memory | ( | const void * | pImage, |
int | w, | ||
int | h, | ||
int | num_chans, | ||
size_t * | pLen_out | ||
) |
tinfl_status tinfl_decompress | ( | tinfl_decompressor * | r, |
const mz_uint8 * | pIn_buf_next, | ||
size_t * | pIn_buf_size, | ||
mz_uint8 * | pOut_buf_start, | ||
mz_uint8 * | pOut_buf_next, | ||
size_t * | pOut_buf_size, | ||
const mz_uint32 | decomp_flags | ||
) |
int tinfl_decompress_mem_to_callback | ( | const void * | pIn_buf, |
size_t * | pIn_buf_size, | ||
tinfl_put_buf_func_ptr | pPut_buf_func, | ||
void * | pPut_buf_user, | ||
int | flags | ||
) |
void* tinfl_decompress_mem_to_heap | ( | const void * | pSrc_buf, |
size_t | src_buf_len, | ||
size_t * | pOut_len, | ||
int | flags | ||
) |
size_t tinfl_decompress_mem_to_mem | ( | void * | pOut_buf, |
size_t | out_buf_len, | ||
const void * | pSrc_buf, | ||
size_t | src_buf_len, | ||
int | flags | ||
) |
tinfl_decompressor* tinfl_decompressor_alloc | ( | ) |
void tinfl_decompressor_free | ( | tinfl_decompressor * | pDecomp | ) |