![]() |
Prusa Slicer 2.6.0
|
#include <stddef.h>#include <time.h>#include <assert.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include <stdio.h>
Include dependency graph for miniz.h:
This graph shows which files directly or indirectly include this file: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 |
| struct | mz_zip_reader_extract_iter_state |
| struct | mz_zip_writer_add_state |
| struct | mz_zip_writer_staged_context |
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 unsigned char | mz_uint8 |
| typedef signed short | mz_int16 |
| typedef unsigned short | mz_uint16 |
| typedef unsigned int | mz_uint32 |
| typedef unsigned int | mz_uint |
| typedef int64_t | mz_int64 |
| typedef uint64_t | mz_uint64 |
| typedef int | 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 mz_bool(* | mz_file_needs_keepalive) (void *pOpaque) |
| typedef struct mz_zip_internal_state_tag | mz_zip_internal_state |
| typedef struct mz_zip_writer_staged_context | mz_zip_writer_staged_context |
| struct mz_stream_s |
| Class Members | ||
|---|---|---|
| mz_ulong | adler | |
| unsigned int | avail_in | |
| unsigned int | avail_out | |
| int | data_type | |
| char * | msg | |
| const unsigned char * | next_in | |
| unsigned char * | next_out | |
| void * | opaque | |
| mz_ulong | reserved | |
| struct mz_internal_state * | state | |
| mz_ulong | total_in | |
| mz_ulong | total_out | |
| mz_alloc_func | zalloc | |
| mz_free_func | zfree | |
| struct tdefl_compressor |
| Class Members | ||
|---|---|---|
| mz_uint | m_adler32 | |
| mz_uint | m_bit_buffer | |
| mz_uint | m_bits_in | |
| mz_uint | m_block_index | |
| mz_uint8 | m_dict[TDEFL_LZ_DICT_SIZE+TDEFL_MAX_MATCH_LEN - 1] | |
| mz_uint | m_dict_size | |
| mz_uint | m_finished | |
| mz_uint | m_flags | |
| tdefl_flush | m_flush | |
| int | m_greedy_parsing | |
| mz_uint16 | m_hash[TDEFL_LZ_HASH_SIZE] | |
| mz_uint8 | m_huff_code_sizes[TDEFL_MAX_HUFF_TABLES][TDEFL_MAX_HUFF_SYMBOLS] | |
| mz_uint16 | m_huff_codes[TDEFL_MAX_HUFF_TABLES][TDEFL_MAX_HUFF_SYMBOLS] | |
| mz_uint16 | m_huff_count[TDEFL_MAX_HUFF_TABLES][TDEFL_MAX_HUFF_SYMBOLS] | |
| mz_uint | m_lookahead_pos | |
| mz_uint | m_lookahead_size | |
| mz_uint8 | m_lz_code_buf[TDEFL_LZ_CODE_BUF_SIZE] | |
| mz_uint | m_lz_code_buf_dict_pos | |
| mz_uint | m_max_probes[2] | |
| mz_uint16 | m_next[TDEFL_LZ_DICT_SIZE] | |
| mz_uint | m_num_flags_left | |
| size_t | m_out_buf_ofs | |
| mz_uint8 | m_output_buf[TDEFL_OUT_BUF_SIZE] | |
| mz_uint | m_output_flush_ofs | |
| mz_uint | m_output_flush_remaining | |
| const void * | m_pIn_buf | |
| size_t * | m_pIn_buf_size | |
| mz_uint8 * | m_pLZ_code_buf | |
| mz_uint8 * | m_pLZ_flags | |
| void * | m_pOut_buf | |
| size_t * | m_pOut_buf_size | |
| mz_uint8 * | m_pOutput_buf | |
| mz_uint8 * | m_pOutput_buf_end | |
| tdefl_put_buf_func_ptr | m_pPut_buf_func | |
| void * | m_pPut_buf_user | |
| tdefl_status | m_prev_return_status | |
| const mz_uint8 * | m_pSrc | |
| mz_uint | m_saved_lit | |
| mz_uint | m_saved_match_dist | |
| mz_uint | m_saved_match_len | |
| size_t | m_src_buf_left | |
| mz_uint | m_total_lz_bytes | |
| mz_uint | m_wants_to_finish | |
| struct tinfl_huff_table |
| Class Members | ||
|---|---|---|
| mz_uint8 | m_code_size[TINFL_MAX_HUFF_SYMBOLS_0] | |
| mz_int16 | m_look_up[TINFL_FAST_LOOKUP_SIZE] | |
| mz_int16 | m_tree[TINFL_MAX_HUFF_SYMBOLS_0 *2] | |
| struct tinfl_decompressor_tag |
Collaboration diagram for tinfl_decompressor_tag:| Class Members | ||
|---|---|---|
| tinfl_bit_buf_t | m_bit_buf | |
| mz_uint32 | m_check_adler32 | |
| mz_uint32 | m_counter | |
| mz_uint32 | m_dist | |
| size_t | m_dist_from_out_buf_start | |
| mz_uint32 | m_final | |
| mz_uint8 | m_len_codes[TINFL_MAX_HUFF_SYMBOLS_0+TINFL_MAX_HUFF_SYMBOLS_1+137] | |
| mz_uint32 | m_num_bits | |
| mz_uint32 | m_num_extra | |
| mz_uint8 | m_raw_header[4] | |
| mz_uint32 | m_state | |
| mz_uint32 | m_table_sizes[TINFL_MAX_HUFF_TABLES] | |
| tinfl_huff_table | m_tables[TINFL_MAX_HUFF_TABLES] | |
| mz_uint32 | m_type | |
| mz_uint32 | m_z_adler32 | |
| mz_uint32 | m_zhdr0 | |
| mz_uint32 | m_zhdr1 | |
| struct mz_zip_archive_file_stat |
| Class Members | ||
|---|---|---|
| mz_uint16 | m_bit_flag | |
| mz_uint64 | m_central_dir_ofs | |
| char | m_comment[MZ_ZIP_MAX_ARCHIVE_FILE_COMMENT_SIZE] | |
| mz_uint32 | m_comment_size | |
| mz_uint64 | m_comp_size | |
| mz_uint32 | m_crc32 | |
| mz_uint32 | m_external_attr | |
| mz_uint32 | m_file_index | |
| char | m_filename[MZ_ZIP_MAX_ARCHIVE_FILENAME_SIZE] | |
| mz_uint16 | m_internal_attr | |
| mz_bool | m_is_directory | |
| mz_bool | m_is_encrypted | |
| mz_bool | m_is_supported | |
| mz_uint64 | m_local_header_ofs | |
| mz_uint16 | m_method | |
| MZ_TIME_T | m_time | |
| mz_uint64 | m_uncomp_size | |
| mz_uint16 | m_version_made_by | |
| mz_uint16 | m_version_needed | |
| struct mz_zip_archive |
Collaboration diagram for mz_zip_archive:| Class Members | ||
|---|---|---|
| mz_uint64 | m_archive_size | |
| mz_uint64 | m_central_directory_file_ofs | |
| mz_uint64 | m_file_offset_alignment | |
| mz_zip_error | m_last_error | |
| mz_alloc_func | m_pAlloc | |
| void * | m_pAlloc_opaque | |
| mz_free_func | m_pFree | |
| void * | m_pIO_opaque | |
| mz_file_needs_keepalive | m_pNeeds_keepalive | |
| mz_file_read_func | m_pRead | |
| mz_realloc_func | m_pRealloc | |
| mz_zip_internal_state * | m_pState | |
| mz_file_write_func | m_pWrite | |
| mz_uint32 | m_total_files | |
| mz_zip_mode | m_zip_mode | |
| mz_zip_type | m_zip_type | |
| struct mz_zip_reader_extract_iter_state |
Collaboration diagram for mz_zip_reader_extract_iter_state:| Class Members | ||
|---|---|---|
| mz_uint64 | comp_remaining | |
| mz_uint64 | cur_file_ofs | |
| mz_uint | file_crc32 | |
| mz_zip_archive_file_stat | file_stat | |
| mz_uint | flags | |
| tinfl_decompressor | inflator | |
| size_t | out_blk_remain | |
| mz_uint64 | out_buf_ofs | |
| void * | pRead_buf | |
| void * | pWrite_buf | |
| mz_zip_archive * | pZip | |
| mz_uint64 | read_buf_avail | |
| mz_uint64 | read_buf_ofs | |
| mz_uint64 | read_buf_size | |
| int | status | |
| struct mz_zip_writer_add_state |
Collaboration diagram for mz_zip_writer_add_state:| Class Members | ||
|---|---|---|
| mz_uint64 | m_comp_size | |
| mz_uint64 | m_cur_archive_file_ofs | |
| mz_zip_archive * | m_pZip | |
| struct mz_zip_writer_staged_context |
Collaboration diagram for mz_zip_writer_staged_context:| Class Members | ||
|---|---|---|
| mz_zip_writer_add_state | add_state | |
| size_t | archive_name_size | |
| mz_uint16 | comment_size | |
| mz_uint64 | comp_size | |
| mz_uint64 | cur_archive_file_ofs | |
| mz_uint16 | dos_date | |
| mz_uint16 | dos_time | |
| mz_uint16 | ext_attributes | |
| mz_uint8 | extra_data[MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE] | |
| mz_uint32 | extra_size | |
| mz_uint64 | file_ofs | |
| mz_uint16 | gen_flags | |
| mz_uint64 | local_dir_header_ofs | |
| mz_uint64 | max_size | |
| mz_uint16 | method | |
| const char * | pArchive_name | |
| const void * | pComment | |
| tdefl_compressor * | pCompressor | |
| mz_uint8 * | pExtra_data | |
| mz_zip_archive * | pZip | |
| mz_uint | uncomp_crc32 | |
| mz_uint64 | uncomp_size | |
| const char * | user_extra_data_central | |
| mz_uint | user_extra_data_central_len | |
| #define adler32 mz_adler32 |
| #define alloc_func mz_alloc_func |
| #define compress mz_compress |
| #define compress2 mz_compress2 |
| #define compressBound mz_compressBound |
| #define crc32 mz_crc32 |
| #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 inflateReset mz_inflateReset |
| #define internal_state mz_internal_state |
| #define MAX_MEM_LEVEL 9 |
| #define MAX_WBITS 15 |
| #define MINIZ_HAS_64BIT_REGISTERS 0 |
| #define MINIZ_LITTLE_ENDIAN 1 |
| #define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0 |
| #define MINIZ_X86_OR_X64_CPU 0 |
| #define MZ_ADLER32_INIT (1) |
| #define MZ_ASSERT | ( | x | ) | assert(x) |
| #define MZ_CLEAR_OBJ | ( | obj | ) | memset(&(obj), 0, sizeof(obj)) |
| #define MZ_CRC32_INIT (0) |
| #define MZ_DEFAULT_WINDOW_BITS 15 |
| #define MZ_DEFLATED 8 |
| #define MZ_FALSE (0) |
| #define MZ_FILE FILE |
| #define MZ_FORCEINLINE inline |
| #define MZ_FREE | ( | x | ) | free(x) |
| #define MZ_MACRO_END while (0) |
| #define MZ_MALLOC | ( | x | ) | malloc(x) |
| #define MZ_MAX | ( | a, | |
| b | |||
| ) | (((a) > (b)) ? (a) : (b)) |
| #define MZ_MIN | ( | a, | |
| b | |||
| ) | (((a) < (b)) ? (a) : (b)) |
| #define MZ_READ_LE16 | ( | p | ) | ((mz_uint32)(((const mz_uint8 *)(p))[0]) | ((mz_uint32)(((const mz_uint8 *)(p))[1]) << 8U)) |
| #define MZ_READ_LE32 | ( | p | ) | ((mz_uint32)(((const mz_uint8 *)(p))[0]) | ((mz_uint32)(((const mz_uint8 *)(p))[1]) << 8U) | ((mz_uint32)(((const mz_uint8 *)(p))[2]) << 16U) | ((mz_uint32)(((const mz_uint8 *)(p))[3]) << 24U)) |
| #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 MZ_REALLOC | ( | p, | |
| x | |||
| ) | realloc(p, x) |
| #define MZ_TIME_T time_t |
| #define MZ_TRUE (1) |
| #define MZ_UINT16_MAX (0xFFFFU) |
| #define MZ_UINT32_MAX (0xFFFFFFFFU) |
| #define MZ_VER_MAJOR 10 |
| #define MZ_VER_MINOR 1 |
| #define MZ_VER_REVISION 0 |
| #define MZ_VER_SUBREVISION 0 |
| #define MZ_VERNUM 0xA100 |
| #define MZ_VERSION "10.1.0" |
| #define TDEFL_LESS_MEMORY 0 |
| #define TINFL_BITBUF_SIZE (32) |
| #define TINFL_DECOMPRESS_MEM_TO_MEM_FAILED ((size_t)(-1)) |
| #define tinfl_get_adler32 | ( | r | ) | (r)->m_check_adler32 |
| #define tinfl_init | ( | r | ) |
| #define TINFL_LZ_DICT_SIZE 32768 |
| #define TINFL_USE_64BIT_BITBUF 0 |
| #define uncompress mz_uncompress |
| #define Z_BEST_COMPRESSION MZ_BEST_COMPRESSION |
| #define Z_BEST_SPEED MZ_BEST_SPEED |
| #define Z_BLOCK MZ_BLOCK |
| #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_ERRNO MZ_ERRNO |
| #define Z_FILTERED MZ_FILTERED |
| #define Z_FINISH MZ_FINISH |
| #define Z_FIXED MZ_FIXED |
| #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_NULL 0 |
| #define Z_OK MZ_OK |
| #define Z_PARAM_ERROR MZ_PARAM_ERROR |
| #define Z_PARTIAL_FLUSH MZ_PARTIAL_FLUSH |
| #define Z_RLE MZ_RLE |
| #define z_stream mz_stream |
| #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 zError mz_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_VERNUM MZ_VERNUM |
| #define ZLIB_VERSION MZ_VERSION |
| #define zlib_version mz_version() |
| #define zlibVersion mz_version |
| typedef unsigned char Byte |
| typedef char charf |
| typedef int intf |
| typedef int mz_bool |
| typedef size_t(* mz_file_write_func) (void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n) |
| typedef signed short mz_int16 |
| typedef struct mz_stream_s mz_stream |
| typedef mz_stream* mz_streamp |
| typedef unsigned int mz_uint |
| typedef unsigned short mz_uint16 |
| typedef unsigned int mz_uint32 |
| typedef unsigned char mz_uint8 |
| typedef struct mz_zip_internal_state_tag mz_zip_internal_state |
| typedef struct mz_zip_writer_staged_context mz_zip_writer_staged_context |
| typedef mz_uint32 tinfl_bit_buf_t |
| typedef struct tinfl_decompressor_tag tinfl_decompressor |
| typedef unsigned int uInt |
| anonymous enum |
| Enumerator | |
|---|---|
| MZ_DEFAULT_STRATEGY | |
| MZ_FILTERED | |
| MZ_HUFFMAN_ONLY | |
| MZ_RLE | |
| MZ_FIXED | |
| anonymous enum |
| Enumerator | |
|---|---|
| MZ_NO_COMPRESSION | |
| MZ_BEST_SPEED | |
| MZ_BEST_COMPRESSION | |
| MZ_UBER_COMPRESSION | |
| MZ_DEFAULT_LEVEL | |
| MZ_DEFAULT_COMPRESSION | |
| anonymous enum |
| Enumerator | |
|---|---|
| MZ_NO_FLUSH | |
| MZ_PARTIAL_FLUSH | |
| MZ_SYNC_FLUSH | |
| MZ_FULL_FLUSH | |
| MZ_FINISH | |
| MZ_BLOCK | |
| anonymous enum |
| Enumerator | |
|---|---|
| MZ_OK | |
| MZ_STREAM_END | |
| MZ_NEED_DICT | |
| MZ_ERRNO | |
| MZ_STREAM_ERROR | |
| MZ_DATA_ERROR | |
| MZ_MEM_ERROR | |
| MZ_BUF_ERROR | |
| MZ_VERSION_ERROR | |
| MZ_PARAM_ERROR | |
| anonymous enum |
| Enumerator | |
|---|---|
| TDEFL_HUFFMAN_ONLY | |
| TDEFL_DEFAULT_MAX_PROBES | |
| TDEFL_MAX_PROBES_MASK | |
| anonymous enum |
| anonymous enum |
| Enumerator | |
|---|---|
| TDEFL_MAX_HUFF_TABLES | |
| TDEFL_MAX_HUFF_SYMBOLS_0 | |
| TDEFL_MAX_HUFF_SYMBOLS_1 | |
| TDEFL_MAX_HUFF_SYMBOLS_2 | |
| TDEFL_LZ_DICT_SIZE | |
| TDEFL_LZ_DICT_SIZE_MASK | |
| TDEFL_MIN_MATCH_LEN | |
| TDEFL_MAX_MATCH_LEN | |
| anonymous enum |
| Enumerator | |
|---|---|
| TDEFL_LZ_CODE_BUF_SIZE | |
| TDEFL_OUT_BUF_SIZE | |
| TDEFL_MAX_HUFF_SYMBOLS | |
| TDEFL_LZ_HASH_BITS | |
| TDEFL_LEVEL1_HASH_SIZE_MASK | |
| TDEFL_LZ_HASH_SHIFT | |
| TDEFL_LZ_HASH_SIZE | |
| anonymous enum |
| Enumerator | |
|---|---|
| TINFL_FLAG_PARSE_ZLIB_HEADER | |
| TINFL_FLAG_HAS_MORE_INPUT | |
| TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF | |
| TINFL_FLAG_COMPUTE_ADLER32 | |
| anonymous enum |
| Enumerator | |
|---|---|
| TINFL_MAX_HUFF_TABLES | |
| TINFL_MAX_HUFF_SYMBOLS_0 | |
| TINFL_MAX_HUFF_SYMBOLS_1 | |
| TINFL_MAX_HUFF_SYMBOLS_2 | |
| TINFL_FAST_LOOKUP_BITS | |
| TINFL_FAST_LOOKUP_SIZE | |
| anonymous enum |
| Enumerator | |
|---|---|
| MZ_ZIP_MAX_IO_BUF_SIZE | |
| MZ_ZIP_MAX_ARCHIVE_FILENAME_SIZE | |
| MZ_ZIP_MAX_ARCHIVE_FILE_COMMENT_SIZE | |
| enum mz_zip_error |
| enum mz_zip_flags |
| enum mz_zip_mode |
| Enumerator | |
|---|---|
| MZ_ZIP_MODE_INVALID | |
| MZ_ZIP_MODE_READING | |
| MZ_ZIP_MODE_WRITING | |
| MZ_ZIP_MODE_WRITING_HAS_BEEN_FINALIZED | |
| enum mz_zip_type |
| Enumerator | |
|---|---|
| MZ_ZIP_TYPE_INVALID | |
| MZ_ZIP_TYPE_USER | |
| MZ_ZIP_TYPE_MEMORY | |
| MZ_ZIP_TYPE_HEAP | |
| MZ_ZIP_TYPE_FILE | |
| MZ_ZIP_TYPE_CFILE | |
| MZ_ZIP_TOTAL_TYPES | |
| enum tdefl_flush |
| Enumerator | |
|---|---|
| TDEFL_NO_FLUSH | |
| TDEFL_SYNC_FLUSH | |
| TDEFL_FULL_FLUSH | |
| TDEFL_FINISH | |
| enum tdefl_status |
| Enumerator | |
|---|---|
| TDEFL_STATUS_BAD_PARAM | |
| TDEFL_STATUS_PUT_BUF_FAILED | |
| TDEFL_STATUS_OKAY | |
| TDEFL_STATUS_DONE | |
| enum tinfl_status |
References MZ_MALLOC, and void().
Referenced by mz_deflateInit2(), mz_inflateInit2(), mz_zip_reader_init_internal(), and mz_zip_writer_init_v2().
Here is the call graph for this function:
Here is the caller graph for this function:References MZ_FREE, and void().
Referenced by mz_deflateInit2(), mz_inflateInit2(), mz_zip_reader_init_internal(), and mz_zip_writer_init_v2().
Here is the call graph for this function:
Here is the caller graph for this function:References MZ_REALLOC, and void().
Referenced by mz_zip_reader_init_internal(), and mz_zip_writer_init_v2().
Here is the call graph for this function:
Here is the caller graph for this function:References MZ_ADLER32_INIT.
Referenced by tdefl_compress().
Here is the caller graph for this function:| int mz_compress | ( | unsigned char * | pDest, |
| mz_ulong * | pDest_len, | ||
| const unsigned char * | pSource, | ||
| mz_ulong | source_len | ||
| ) |
References mz_compress2(), and MZ_DEFAULT_COMPRESSION.
Here is the call graph for this function:| int mz_compress2 | ( | unsigned char * | pDest, |
| mz_ulong * | pDest_len, | ||
| const unsigned char * | pSource, | ||
| mz_ulong | source_len, | ||
| int | level | ||
| ) |
References mz_stream_s::avail_in, mz_stream_s::avail_out, MZ_BUF_ERROR, mz_deflate(), mz_deflateEnd(), mz_deflateInit(), MZ_FINISH, MZ_OK, MZ_PARAM_ERROR, MZ_STREAM_END, mz_stream_s::next_in, mz_stream_s::next_out, and mz_stream_s::total_out.
Referenced by mz_compress().
Here is the call graph for this function:
Here is the caller graph for this function:References mz_deflateBound().
Here is the call graph for this function:References crc32.
Referenced by mz_zip_compute_crc32_callback(), mz_zip_reader_extract_iter_read(), mz_zip_reader_extract_to_callback(), mz_zip_reader_extract_to_mem_no_alloc(), mz_zip_writer_add_mem_ex_v2(), mz_zip_writer_add_read_buf_callback(), mz_zip_writer_add_staged_data(), and tdefl_write_image_to_png_file_in_memory_ex().
Here is the caller graph for this function:| int mz_deflate | ( | mz_streamp | pStream, |
| int | flush | ||
| ) |
References mz_stream_s::adler, mz_stream_s::avail_in, mz_stream_s::avail_out, MZ_BUF_ERROR, MZ_FINISH, MZ_OK, MZ_PARTIAL_FLUSH, MZ_STREAM_END, MZ_STREAM_ERROR, MZ_SYNC_FLUSH, mz_stream_s::next_in, mz_stream_s::next_out, mz_stream_s::state, tdefl_compress(), tdefl_get_adler32(), TDEFL_STATUS_DONE, mz_stream_s::total_in, and mz_stream_s::total_out.
Referenced by mz_compress2().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_ulong mz_deflateBound | ( | mz_streamp | pStream, |
| mz_ulong | source_len | ||
| ) |
References MZ_MAX, and void().
Referenced by mz_compressBound().
Here is the call graph for this function:
Here is the caller graph for this function:| int mz_deflateEnd | ( | mz_streamp | pStream | ) |
References MZ_OK, MZ_STREAM_ERROR, mz_stream_s::opaque, mz_stream_s::state, and mz_stream_s::zfree.
Referenced by mz_compress2(), and mz_deflateInit2().
Here is the caller graph for this function:| int mz_deflateInit | ( | mz_streamp | pStream, |
| int | level | ||
| ) |
References MZ_DEFAULT_STRATEGY, MZ_DEFAULT_WINDOW_BITS, MZ_DEFLATED, and mz_deflateInit2().
Referenced by mz_compress2().
Here is the call graph for this function:
Here is the caller graph for this function:| int mz_deflateInit2 | ( | mz_streamp | pStream, |
| int | level, | ||
| int | method, | ||
| int | window_bits, | ||
| int | mem_level, | ||
| int | strategy | ||
| ) |
References mz_stream_s::adler, mz_stream_s::data_type, miniz_def_alloc_func(), miniz_def_free_func(), mz_stream_s::msg, MZ_ADLER32_INIT, MZ_DEFAULT_WINDOW_BITS, MZ_DEFLATED, mz_deflateEnd(), MZ_MEM_ERROR, MZ_OK, MZ_PARAM_ERROR, MZ_STREAM_ERROR, mz_stream_s::opaque, mz_stream_s::reserved, mz_stream_s::state, TDEFL_COMPUTE_ADLER32, tdefl_create_comp_flags_from_zip_params(), tdefl_init(), TDEFL_STATUS_OKAY, mz_stream_s::total_in, mz_stream_s::total_out, mz_stream_s::zalloc, and mz_stream_s::zfree.
Referenced by mz_deflateInit().
Here is the call graph for this function:
Here is the caller graph for this function:| int mz_deflateReset | ( | mz_streamp | pStream | ) |
References MZ_OK, MZ_STREAM_ERROR, mz_stream_s::state, tdefl_init(), mz_stream_s::total_in, mz_stream_s::total_out, mz_stream_s::zalloc, and mz_stream_s::zfree.
Here is the call graph for this function:| const char * mz_error | ( | int | err | ) |
References MZ_BUF_ERROR, MZ_DATA_ERROR, MZ_ERRNO, MZ_MEM_ERROR, MZ_NEED_DICT, MZ_OK, MZ_PARAM_ERROR, MZ_STREAM_END, MZ_STREAM_ERROR, and MZ_VERSION_ERROR.
References MZ_FREE.
Referenced by Slic3r::GCodeThumbnails::CompressedPNG::~CompressedPNG(), Slic3r::_3MF_Exporter::_add_thumbnail_file_to_archive(), and Slic3r::write_thumbnail().
Here is the caller graph for this function:| int mz_inflate | ( | mz_streamp | pStream, |
| int | flush | ||
| ) |
References mz_stream_s::adler, mz_stream_s::avail_in, mz_stream_s::avail_out, inflate_state::m_decomp, inflate_state::m_dict, inflate_state::m_dict_avail, inflate_state::m_dict_ofs, inflate_state::m_first_call, inflate_state::m_has_flushed, inflate_state::m_last_status, inflate_state::m_window_bits, MZ_BUF_ERROR, MZ_DATA_ERROR, MZ_FINISH, MZ_MIN, MZ_OK, MZ_PARTIAL_FLUSH, MZ_STREAM_END, MZ_STREAM_ERROR, MZ_SYNC_FLUSH, mz_stream_s::next_in, mz_stream_s::next_out, mz_stream_s::state, tinfl_decompress(), TINFL_FLAG_COMPUTE_ADLER32, TINFL_FLAG_HAS_MORE_INPUT, TINFL_FLAG_PARSE_ZLIB_HEADER, TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF, tinfl_get_adler32, TINFL_LZ_DICT_SIZE, TINFL_STATUS_DONE, TINFL_STATUS_FAILED, TINFL_STATUS_NEEDS_MORE_INPUT, mz_stream_s::total_in, and mz_stream_s::total_out.
Referenced by mz_uncompress().
Here is the call graph for this function:
Here is the caller graph for this function:| int mz_inflateEnd | ( | mz_streamp | pStream | ) |
References MZ_OK, MZ_STREAM_ERROR, mz_stream_s::opaque, mz_stream_s::state, and mz_stream_s::zfree.
Referenced by mz_uncompress().
Here is the caller graph for this function:| int mz_inflateInit | ( | mz_streamp | pStream | ) |
References MZ_DEFAULT_WINDOW_BITS, and mz_inflateInit2().
Referenced by mz_uncompress().
Here is the call graph for this function:
Here is the caller graph for this function:| int mz_inflateInit2 | ( | mz_streamp | pStream, |
| int | window_bits | ||
| ) |
References mz_stream_s::adler, mz_stream_s::data_type, inflate_state::m_decomp, inflate_state::m_dict_avail, inflate_state::m_dict_ofs, inflate_state::m_first_call, inflate_state::m_has_flushed, inflate_state::m_last_status, inflate_state::m_window_bits, miniz_def_alloc_func(), miniz_def_free_func(), mz_stream_s::msg, MZ_DEFAULT_WINDOW_BITS, MZ_MEM_ERROR, MZ_OK, MZ_PARAM_ERROR, MZ_STREAM_ERROR, mz_stream_s::opaque, mz_stream_s::reserved, mz_stream_s::state, tinfl_init, TINFL_STATUS_NEEDS_MORE_INPUT, mz_stream_s::total_in, mz_stream_s::total_out, mz_stream_s::zalloc, and mz_stream_s::zfree.
Referenced by mz_inflateInit().
Here is the call graph for this function:
Here is the caller graph for this function:| int mz_inflateReset | ( | mz_streamp | pStream | ) |
References mz_stream_s::adler, mz_stream_s::data_type, inflate_state::m_decomp, inflate_state::m_dict_avail, inflate_state::m_dict_ofs, inflate_state::m_first_call, inflate_state::m_has_flushed, inflate_state::m_last_status, mz_stream_s::msg, MZ_OK, MZ_STREAM_ERROR, mz_stream_s::reserved, mz_stream_s::state, tinfl_init, TINFL_STATUS_NEEDS_MORE_INPUT, mz_stream_s::total_in, and mz_stream_s::total_out.
| int mz_uncompress | ( | unsigned char * | pDest, |
| mz_ulong * | pDest_len, | ||
| const unsigned char * | pSource, | ||
| mz_ulong | source_len | ||
| ) |
References mz_stream_s::avail_in, mz_stream_s::avail_out, MZ_BUF_ERROR, MZ_DATA_ERROR, MZ_FINISH, mz_inflate(), mz_inflateEnd(), mz_inflateInit(), MZ_OK, MZ_PARAM_ERROR, MZ_STREAM_END, mz_stream_s::next_in, mz_stream_s::next_out, and mz_stream_s::total_out.
Here is the call graph for this function:References MZ_VERSION.
| 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 | ||
| ) |
References mz_zip_add_mem_to_archive_file_in_place_v2().
Here is the call graph for this function:| 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 | ||
| ) |
References mz_zip_archive::m_last_error, MZ_DEFAULT_LEVEL, MZ_DELETE_FILE, MZ_FALSE, MZ_FILE_STAT, MZ_FILE_STAT_STRUCT, MZ_TRUE, MZ_UBER_COMPRESSION, MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY, MZ_ZIP_INVALID_FILENAME, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_NO_ERROR, mz_zip_reader_end_internal(), mz_zip_reader_init_file_v2(), mz_zip_writer_add_mem_ex(), mz_zip_writer_end_internal(), mz_zip_writer_finalize_archive(), mz_zip_writer_init_file_v2(), mz_zip_writer_init_from_reader_v2(), mz_zip_writer_validate_archive_name(), mz_zip_zero_struct(), and void().
Referenced by mz_zip_add_mem_to_archive_file_in_place().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_zip_error mz_zip_clear_last_error | ( | mz_zip_archive * | pZip | ) |
References MZ_ZIP_NO_ERROR, and mz_zip_set_last_error().
Here is the call graph for this function:| mz_bool mz_zip_end | ( | mz_zip_archive * | pZip | ) |
References mz_zip_archive::m_zip_mode, MZ_FALSE, MZ_ZIP_MODE_READING, MZ_ZIP_MODE_WRITING, MZ_ZIP_MODE_WRITING_HAS_BEEN_FINALIZED, mz_zip_reader_end(), and mz_zip_writer_end().
Here is the call graph for this function:| void * mz_zip_extract_archive_file_to_heap | ( | const char * | pZip_filename, |
| const char * | pArchive_name, | ||
| size_t * | pSize, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_extract_archive_file_to_heap_v2().
Here is the call graph for this function:| 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 | ||
| ) |
References mz_zip_archive::m_last_error, MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY, MZ_ZIP_INVALID_PARAMETER, mz_zip_reader_end_internal(), mz_zip_reader_extract_to_heap(), mz_zip_reader_init_file_v2(), mz_zip_reader_locate_file_v2(), and mz_zip_zero_struct().
Referenced by mz_zip_extract_archive_file_to_heap().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_uint64 mz_zip_get_archive_file_start_offset | ( | mz_zip_archive * | pZip | ) |
References mz_zip_internal_state_tag::m_file_archive_start_ofs, and mz_zip_archive::m_pState.
| mz_uint64 mz_zip_get_archive_size | ( | mz_zip_archive * | pZip | ) |
References mz_zip_archive::m_archive_size.
| size_t mz_zip_get_central_dir_size | ( | mz_zip_archive * | pZip | ) |
References mz_zip_internal_state_tag::m_central_dir, mz_zip_archive::m_pState, and mz_zip_array::m_size.
| MZ_FILE * mz_zip_get_cfile | ( | mz_zip_archive * | pZip | ) |
References mz_zip_internal_state_tag::m_pFile, and mz_zip_archive::m_pState.
Referenced by Slic3r::anonymous_namespace{miniz_extension.cpp}::close_zip().
Here is the caller graph for this function:| const char * mz_zip_get_error_string | ( | mz_zip_error | mz_err | ) |
References MZ_ZIP_ALLOC_FAILED, MZ_ZIP_ARCHIVE_TOO_LARGE, MZ_ZIP_BUF_TOO_SMALL, MZ_ZIP_COMPRESSION_FAILED, MZ_ZIP_CRC_CHECK_FAILED, MZ_ZIP_DECOMPRESSION_FAILED, MZ_ZIP_FAILED_FINDING_CENTRAL_DIR, MZ_ZIP_FILE_CLOSE_FAILED, MZ_ZIP_FILE_CREATE_FAILED, MZ_ZIP_FILE_NOT_FOUND, MZ_ZIP_FILE_OPEN_FAILED, MZ_ZIP_FILE_READ_FAILED, MZ_ZIP_FILE_SEEK_FAILED, MZ_ZIP_FILE_STAT_FAILED, MZ_ZIP_FILE_TOO_LARGE, MZ_ZIP_FILE_WRITE_FAILED, MZ_ZIP_INTERNAL_ERROR, MZ_ZIP_INVALID_FILENAME, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_NO_ERROR, MZ_ZIP_NOT_AN_ARCHIVE, MZ_ZIP_TOO_MANY_FILES, MZ_ZIP_UNDEFINED_ERROR, MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE, MZ_ZIP_UNSUPPORTED_CDIR_SIZE, MZ_ZIP_UNSUPPORTED_ENCRYPTION, MZ_ZIP_UNSUPPORTED_FEATURE, MZ_ZIP_UNSUPPORTED_METHOD, MZ_ZIP_UNSUPPORTED_MULTIDISK, MZ_ZIP_VALIDATION_FAILED, and MZ_ZIP_WRITE_CALLBACK_FAILED.
Referenced by Slic3r::GUI::Plater::preview_zip_archive().
Here is the caller graph for this function:| mz_zip_error mz_zip_get_last_error | ( | mz_zip_archive * | pZip | ) |
References mz_zip_archive::m_last_error, MZ_ZIP_INVALID_PARAMETER, and MZ_ZIP_NO_ERROR.
Referenced by Slic3r::GUI::Plater::preview_zip_archive().
Here is the caller graph for this function:| mz_zip_mode mz_zip_get_mode | ( | mz_zip_archive * | pZip | ) |
References mz_zip_archive::m_zip_mode, and MZ_ZIP_MODE_INVALID.
| mz_zip_type mz_zip_get_type | ( | mz_zip_archive * | pZip | ) |
References mz_zip_archive::m_zip_type, and MZ_ZIP_TYPE_INVALID.
| mz_bool mz_zip_is_zip64 | ( | mz_zip_archive * | pZip | ) |
References mz_zip_archive::m_pState, mz_zip_internal_state_tag::m_zip64, and MZ_FALSE.
| mz_zip_error mz_zip_peek_last_error | ( | mz_zip_archive * | pZip | ) |
References mz_zip_archive::m_last_error, and MZ_ZIP_INVALID_PARAMETER.
| size_t mz_zip_read_archive_data | ( | mz_zip_archive * | pZip, |
| mz_uint64 | file_ofs, | ||
| void * | pBuf, | ||
| size_t | n | ||
| ) |
References mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, MZ_ZIP_INVALID_PARAMETER, and mz_zip_set_error().
Here is the call graph for this function:| mz_bool mz_zip_reader_end | ( | mz_zip_archive * | pZip | ) |
References MZ_TRUE, and mz_zip_reader_end_internal().
Referenced by Slic3r::anonymous_namespace{miniz_extension.cpp}::close_zip(), and mz_zip_end().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_zip_reader_extract_iter_state * mz_zip_reader_extract_file_iter_new | ( | mz_zip_archive * | pZip, |
| const char * | pFilename, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_reader_extract_iter_new(), and mz_zip_reader_locate_file_v2().
Here is the call graph for this function:| 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 | ||
| ) |
References MZ_FALSE, mz_zip_reader_extract_to_callback(), and mz_zip_reader_locate_file_v2().
Here is the call graph for this function:| mz_bool mz_zip_reader_extract_file_to_cfile | ( | mz_zip_archive * | pZip, |
| const char * | pArchive_filename, | ||
| MZ_FILE * | pFile, | ||
| mz_uint | flags | ||
| ) |
References MZ_FALSE, mz_zip_reader_extract_to_cfile(), and mz_zip_reader_locate_file_v2().
Here is the call graph for this function:| mz_bool mz_zip_reader_extract_file_to_file | ( | mz_zip_archive * | pZip, |
| const char * | pArchive_filename, | ||
| const char * | pDst_filename, | ||
| mz_uint | flags | ||
| ) |
References MZ_FALSE, mz_zip_reader_extract_to_file(), and mz_zip_reader_locate_file_v2().
Here is the call graph for this function:| void * mz_zip_reader_extract_file_to_heap | ( | mz_zip_archive * | pZip, |
| const char * | pFilename, | ||
| size_t * | pSize, | ||
| mz_uint | flags | ||
| ) |
References MZ_FALSE, mz_zip_reader_extract_to_heap(), and mz_zip_reader_locate_file_v2().
Here is the call graph for this function:| 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 | ||
| ) |
References mz_zip_reader_extract_file_to_mem_no_alloc().
Here is the call graph for this function:| 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 | ||
| ) |
References MZ_FALSE, mz_zip_reader_extract_to_mem_no_alloc(), and mz_zip_reader_locate_file_v2().
Referenced by mz_zip_reader_extract_file_to_mem().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_reader_extract_iter_free | ( | mz_zip_reader_extract_iter_state * | pState | ) |
References mz_zip_reader_extract_iter_state::file_crc32, mz_zip_reader_extract_iter_state::file_stat, mz_zip_reader_extract_iter_state::flags, mz_zip_archive_file_stat::m_crc32, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_internal_state_tag::m_pMem, mz_zip_archive::m_pState, mz_zip_archive_file_stat::m_uncomp_size, MZ_FALSE, MZ_ZIP_DECOMPRESSION_FAILED, MZ_ZIP_FLAG_COMPRESSED_DATA, mz_zip_set_error(), MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE, mz_zip_reader_extract_iter_state::out_buf_ofs, mz_zip_reader_extract_iter_state::pRead_buf, mz_zip_reader_extract_iter_state::pWrite_buf, mz_zip_reader_extract_iter_state::pZip, mz_zip_reader_extract_iter_state::status, TINFL_STATUS_DONE, and TINFL_STATUS_FAILED.
Here is the call graph for this function:| mz_zip_reader_extract_iter_state * mz_zip_reader_extract_iter_new | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_reader_extract_iter_state::comp_remaining, mz_zip_reader_extract_iter_state::cur_file_ofs, mz_zip_reader_extract_iter_state::file_crc32, mz_zip_reader_extract_iter_state::file_stat, mz_zip_reader_extract_iter_state::flags, mz_zip_reader_extract_iter_state::inflator, mz_zip_archive::m_archive_size, mz_zip_archive_file_stat::m_bit_flag, mz_zip_archive_file_stat::m_comp_size, mz_zip_archive_file_stat::m_local_header_ofs, mz_zip_archive_file_stat::m_method, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_internal_state_tag::m_pMem, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, MZ_CRC32_INIT, MZ_DEFLATED, MZ_MIN, MZ_READ_LE16, MZ_READ_LE32, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_FILE_READ_FAILED, MZ_ZIP_FLAG_COMPRESSED_DATA, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED, MZ_ZIP_LDH_EXTRA_LEN_OFS, MZ_ZIP_LDH_FILENAME_LEN_OFS, MZ_ZIP_LOCAL_DIR_HEADER_SIG, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, MZ_ZIP_MAX_IO_BUF_SIZE, mz_zip_reader_file_stat(), mz_zip_set_error(), MZ_ZIP_UNSUPPORTED_ENCRYPTION, MZ_ZIP_UNSUPPORTED_METHOD, mz_zip_reader_extract_iter_state::out_blk_remain, mz_zip_reader_extract_iter_state::out_buf_ofs, mz_zip_reader_extract_iter_state::pRead_buf, mz_zip_reader_extract_iter_state::pWrite_buf, mz_zip_reader_extract_iter_state::pZip, mz_zip_reader_extract_iter_state::read_buf_avail, mz_zip_reader_extract_iter_state::read_buf_ofs, mz_zip_reader_extract_iter_state::read_buf_size, mz_zip_reader_extract_iter_state::status, tinfl_init, TINFL_LZ_DICT_SIZE, and TINFL_STATUS_DONE.
Referenced by mz_zip_reader_extract_file_iter_new().
Here is the call graph for this function:
Here is the caller graph for this function:| size_t mz_zip_reader_extract_iter_read | ( | mz_zip_reader_extract_iter_state * | pState, |
| void * | pvBuf, | ||
| size_t | buf_size | ||
| ) |
References mz_zip_reader_extract_iter_state::comp_remaining, mz_zip_reader_extract_iter_state::cur_file_ofs, mz_zip_reader_extract_iter_state::file_crc32, mz_zip_reader_extract_iter_state::file_stat, mz_zip_reader_extract_iter_state::flags, mz_zip_reader_extract_iter_state::inflator, mz_zip_archive_file_stat::m_method, mz_zip_archive::m_pIO_opaque, mz_zip_internal_state_tag::m_pMem, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive_file_stat::m_uncomp_size, mz_crc32(), MZ_MIN, MZ_ZIP_DECOMPRESSION_FAILED, MZ_ZIP_FILE_READ_FAILED, MZ_ZIP_FLAG_COMPRESSED_DATA, mz_zip_set_error(), mz_zip_reader_extract_iter_state::out_blk_remain, mz_zip_reader_extract_iter_state::out_buf_ofs, mz_zip_reader_extract_iter_state::pRead_buf, mz_zip_reader_extract_iter_state::pWrite_buf, mz_zip_reader_extract_iter_state::pZip, mz_zip_reader_extract_iter_state::read_buf_avail, mz_zip_reader_extract_iter_state::read_buf_ofs, mz_zip_reader_extract_iter_state::read_buf_size, mz_zip_reader_extract_iter_state::status, tinfl_decompress(), TINFL_FLAG_HAS_MORE_INPUT, TINFL_LZ_DICT_SIZE, TINFL_STATUS_FAILED, TINFL_STATUS_HAS_MORE_OUTPUT, and TINFL_STATUS_NEEDS_MORE_INPUT.
Here is the call graph for this function:| 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 | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_archive_file_stat::m_bit_flag, mz_zip_archive_file_stat::m_comp_size, mz_zip_archive_file_stat::m_crc32, mz_zip_archive_file_stat::m_is_directory, mz_zip_archive_file_stat::m_local_header_ofs, mz_zip_archive_file_stat::m_method, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_internal_state_tag::m_pMem, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive_file_stat::m_uncomp_size, mz_crc32(), MZ_CRC32_INIT, MZ_DEFLATED, MZ_FALSE, MZ_MIN, MZ_READ_LE16, MZ_READ_LE32, MZ_TRUE, MZ_UINT32_MAX, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_DECOMPRESSION_FAILED, MZ_ZIP_FILE_READ_FAILED, MZ_ZIP_FLAG_COMPRESSED_DATA, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION, MZ_ZIP_INTERNAL_ERROR, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_LDH_EXTRA_LEN_OFS, MZ_ZIP_LDH_FILENAME_LEN_OFS, MZ_ZIP_LOCAL_DIR_HEADER_SIG, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, MZ_ZIP_MAX_IO_BUF_SIZE, mz_zip_reader_file_stat(), mz_zip_set_error(), MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE, MZ_ZIP_UNSUPPORTED_ENCRYPTION, MZ_ZIP_UNSUPPORTED_METHOD, MZ_ZIP_WRITE_CALLBACK_FAILED, tinfl_decompress(), TINFL_FLAG_HAS_MORE_INPUT, tinfl_init, TINFL_LZ_DICT_SIZE, TINFL_STATUS_DONE, TINFL_STATUS_FAILED, TINFL_STATUS_HAS_MORE_OUTPUT, and TINFL_STATUS_NEEDS_MORE_INPUT.
Referenced by Slic3r::_3MF_Importer::_extract_model_from_archive(), Slic3r::extract_model_from_archive(), mz_zip_reader_extract_file_to_callback(), mz_zip_reader_extract_to_cfile(), mz_zip_reader_extract_to_file(), and mz_zip_validate_file().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_reader_extract_to_cfile | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index, | ||
| MZ_FILE * | File, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_archive_file_stat::m_is_directory, mz_zip_archive_file_stat::m_is_supported, MZ_FALSE, mz_zip_file_write_callback(), mz_zip_reader_extract_to_callback(), mz_zip_reader_file_stat(), mz_zip_set_error(), and MZ_ZIP_UNSUPPORTED_FEATURE.
Referenced by mz_zip_reader_extract_file_to_cfile().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_reader_extract_to_file | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index, | ||
| const char * | pDst_filename, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_archive_file_stat::m_is_directory, mz_zip_archive_file_stat::m_is_supported, mz_zip_archive_file_stat::m_time, MZ_FALSE, MZ_FCLOSE, MZ_FILE, MZ_FOPEN, MZ_ZIP_FILE_CLOSE_FAILED, MZ_ZIP_FILE_OPEN_FAILED, mz_zip_file_write_callback(), mz_zip_reader_extract_to_callback(), mz_zip_reader_file_stat(), mz_zip_set_error(), mz_zip_set_file_times(), and MZ_ZIP_UNSUPPORTED_FEATURE.
Referenced by mz_zip_reader_extract_file_to_file().
Here is the call graph for this function:
Here is the caller graph for this function:| void * mz_zip_reader_extract_to_heap | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index, | ||
| size_t * | pSize, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, MZ_READ_LE32, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_CDH_COMPRESSED_SIZE_OFS, MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS, MZ_ZIP_FLAG_COMPRESSED_DATA, mz_zip_get_cdh(), MZ_ZIP_INTERNAL_ERROR, MZ_ZIP_INVALID_PARAMETER, mz_zip_reader_extract_to_mem(), and mz_zip_set_error().
Referenced by mz_zip_extract_archive_file_to_heap_v2(), and mz_zip_reader_extract_file_to_heap().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
References mz_zip_reader_extract_to_mem_no_alloc().
Referenced by Slic3r::_3MF_Importer::_extract_custom_gcode_per_print_z_from_archive(), Slic3r::_3MF_Importer::_extract_cut_information_from_archive(), Slic3r::_3MF_Importer::_extract_layer_config_ranges_from_archive(), Slic3r::_3MF_Importer::_extract_layer_heights_profile_config_from_archive(), Slic3r::_3MF_Importer::_extract_model_config_from_archive(), Slic3r::_3MF_Importer::_extract_print_config_from_archive(), Slic3r::_3MF_Importer::_extract_sla_drain_holes_from_archive(), Slic3r::_3MF_Importer::_extract_sla_support_points_from_archive(), mz_zip_reader_extract_to_heap(), Slic3r::GUI::Plater::preview_zip_archive(), Slic3r::anonymous_namespace{ZipperArchiveImport.cpp}::read_entry(), Slic3r::anonymous_namespace{ZipperArchiveImport.cpp}::read_ini(), and Slic3r::PresetUpdater::priv::sync_config().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_archive_file_stat::m_bit_flag, mz_zip_archive_file_stat::m_comp_size, mz_zip_archive_file_stat::m_crc32, mz_zip_archive_file_stat::m_is_directory, mz_zip_archive_file_stat::m_local_header_ofs, mz_zip_archive_file_stat::m_method, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_internal_state_tag::m_pMem, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive_file_stat::m_uncomp_size, mz_crc32(), MZ_CRC32_INIT, MZ_DEFLATED, MZ_FALSE, MZ_MIN, MZ_READ_LE16, MZ_READ_LE32, MZ_TRUE, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_BUF_TOO_SMALL, MZ_ZIP_CRC_CHECK_FAILED, MZ_ZIP_DECOMPRESSION_FAILED, MZ_ZIP_FILE_READ_FAILED, MZ_ZIP_FLAG_COMPRESSED_DATA, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION, MZ_ZIP_INTERNAL_ERROR, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_LDH_EXTRA_LEN_OFS, MZ_ZIP_LDH_FILENAME_LEN_OFS, MZ_ZIP_LOCAL_DIR_HEADER_SIG, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, MZ_ZIP_MAX_IO_BUF_SIZE, mz_zip_reader_file_stat(), mz_zip_set_error(), MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE, MZ_ZIP_UNSUPPORTED_ENCRYPTION, MZ_ZIP_UNSUPPORTED_METHOD, tinfl_decompress(), TINFL_FLAG_HAS_MORE_INPUT, TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF, tinfl_init, TINFL_STATUS_DONE, TINFL_STATUS_FAILED, and TINFL_STATUS_NEEDS_MORE_INPUT.
Referenced by mz_zip_reader_extract_file_to_mem_no_alloc(), and mz_zip_reader_extract_to_mem().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_reader_file_stat | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index, | ||
| mz_zip_archive_file_stat * | pStat | ||
| ) |
References mz_zip_file_stat_internal(), and mz_zip_get_cdh().
Referenced by Slic3r::GUI::FileArchiveDialog::FileArchiveDialog(), Slic3r::_3MF_Importer::_load_model_from_file(), Slic3r::is_project_3mf(), Slic3r::load_amf_archive(), mz_zip_reader_extract_iter_new(), mz_zip_reader_extract_to_callback(), mz_zip_reader_extract_to_cfile(), mz_zip_reader_extract_to_file(), mz_zip_reader_extract_to_mem_no_alloc(), mz_zip_validate_archive(), Slic3r::GUI::Plater::preview_zip_archive(), Slic3r::read_zipper_archive(), and Slic3r::PresetUpdater::priv::sync_config().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_uint mz_zip_reader_get_filename | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index, | ||
| char * | pFilename, | ||
| mz_uint | filename_buf_size | ||
| ) |
References MZ_MIN, MZ_READ_LE16, MZ_ZIP_CDH_FILENAME_LEN_OFS, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, mz_zip_get_cdh(), MZ_ZIP_INVALID_PARAMETER, and mz_zip_set_error().
Here is the call graph for this function:| mz_uint mz_zip_reader_get_filename_from_extra | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index, | ||
| char * | buffer, | ||
| mz_uint | extra_buf_size | ||
| ) |
References MZ_MIN, MZ_READ_LE16, MZ_ZIP_CDH_EXTRA_LEN_OFS, MZ_ZIP_CDH_FILENAME_LEN_OFS, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, mz_zip_get_cdh(), MZ_ZIP_INVALID_PARAMETER, and mz_zip_set_error().
Referenced by Slic3r::GUI::FileArchiveDialog::FileArchiveDialog(), and Slic3r::GUI::Plater::preview_zip_archive().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_uint mz_zip_reader_get_num_files | ( | mz_zip_archive * | pZip | ) |
References mz_zip_archive::m_total_files.
Referenced by Slic3r::GUI::FileArchiveDialog::FileArchiveDialog(), Slic3r::_3MF_Importer::_load_model_from_file(), Slic3r::is_project_3mf(), Slic3r::load_amf_archive(), Slic3r::GUI::Plater::preview_zip_archive(), Slic3r::read_zipper_archive(), and Slic3r::PresetUpdater::priv::sync_config().
Here is the caller graph for this function:| mz_bool mz_zip_reader_init | ( | mz_zip_archive * | pZip, |
| mz_uint64 | size, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_archive::m_pRead, mz_zip_archive::m_zip_type, MZ_FALSE, MZ_TRUE, MZ_ZIP_INVALID_PARAMETER, mz_zip_reader_end_internal(), mz_zip_reader_init_internal(), mz_zip_reader_read_central_dir(), mz_zip_set_error(), and MZ_ZIP_TYPE_USER.
Here is the call graph for this function:| mz_bool mz_zip_reader_init_cfile | ( | mz_zip_archive * | pZip, |
| MZ_FILE * | pFile, | ||
| mz_uint64 | archive_size, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_file_archive_start_ofs, mz_zip_internal_state_tag::m_pFile, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive::m_zip_type, MZ_FALSE, MZ_FSEEK64, MZ_FTELL64, MZ_TRUE, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_FILE_OPEN_FAILED, mz_zip_file_read_func(), MZ_ZIP_FILE_SEEK_FAILED, MZ_ZIP_NOT_AN_ARCHIVE, mz_zip_reader_end_internal(), mz_zip_reader_init_internal(), mz_zip_reader_read_central_dir(), mz_zip_set_error(), and MZ_ZIP_TYPE_CFILE.
Referenced by Slic3r::anonymous_namespace{miniz_extension.cpp}::open_zip().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_file_archive_start_ofs, mz_zip_internal_state_tag::m_pFile, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive::m_zip_type, MZ_FALSE, MZ_FCLOSE, MZ_FILE, MZ_FOPEN, MZ_FSEEK64, MZ_FTELL64, MZ_TRUE, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_FILE_OPEN_FAILED, mz_zip_file_read_func(), MZ_ZIP_FILE_SEEK_FAILED, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_NOT_AN_ARCHIVE, mz_zip_reader_end_internal(), mz_zip_reader_init_internal(), mz_zip_reader_read_central_dir(), mz_zip_set_error(), and MZ_ZIP_TYPE_FILE.
Referenced by mz_zip_add_mem_to_archive_file_in_place_v2(), mz_zip_extract_archive_file_to_heap_v2(), mz_zip_reader_init_file(), and mz_zip_validate_file_archive().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_reader_init_mem | ( | mz_zip_archive * | pZip, |
| const void * | pMem, | ||
| size_t | size, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_mem_size, mz_zip_archive::m_pIO_opaque, mz_zip_internal_state_tag::m_pMem, mz_zip_archive::m_pNeeds_keepalive, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive::m_zip_type, MZ_FALSE, MZ_TRUE, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_INVALID_PARAMETER, mz_zip_mem_read_func(), MZ_ZIP_NOT_AN_ARCHIVE, mz_zip_reader_end_internal(), mz_zip_reader_init_internal(), mz_zip_reader_read_central_dir(), mz_zip_set_error(), and MZ_ZIP_TYPE_MEMORY.
Referenced by mz_zip_validate_mem_archive().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_reader_is_file_a_directory | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index | ||
| ) |
References MZ_FALSE, MZ_READ_LE16, MZ_READ_LE32, MZ_TRUE, MZ_ZIP_CDH_EXTERNAL_ATTR_OFS, MZ_ZIP_CDH_FILENAME_LEN_OFS, MZ_ZIP_CDH_VERSION_MADE_BY_OFS, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_DOS_DIR_ATTRIBUTE_BITFLAG, mz_zip_get_cdh(), MZ_ZIP_INVALID_PARAMETER, mz_zip_set_error(), and void().
Referenced by mz_zip_file_stat_internal().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_reader_is_file_encrypted | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index | ||
| ) |
References MZ_FALSE, MZ_READ_LE16, MZ_ZIP_CDH_BIT_FLAG_OFS, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION, mz_zip_get_cdh(), MZ_ZIP_INVALID_PARAMETER, and mz_zip_set_error().
Referenced by mz_zip_file_stat_internal().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_reader_is_file_supported | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index | ||
| ) |
References MZ_DEFLATED, MZ_FALSE, MZ_READ_LE16, MZ_TRUE, MZ_ZIP_CDH_BIT_FLAG_OFS, MZ_ZIP_CDH_METHOD_OFS, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION, mz_zip_get_cdh(), MZ_ZIP_INVALID_PARAMETER, mz_zip_set_error(), MZ_ZIP_UNSUPPORTED_ENCRYPTION, MZ_ZIP_UNSUPPORTED_FEATURE, and MZ_ZIP_UNSUPPORTED_METHOD.
Referenced by mz_zip_file_stat_internal().
Here is the call graph for this function:
Here is the caller graph for this function:| int mz_zip_reader_locate_file | ( | mz_zip_archive * | pZip, |
| const char * | pName, | ||
| const char * | pComment, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_reader_locate_file_v2().
Here is the call graph for this function:| int mz_zip_reader_locate_file_v2 | ( | mz_zip_archive * | pZip, |
| const char * | pName, | ||
| const char * | pComment, | ||
| mz_uint | flags, | ||
| mz_uint32 * | file_index | ||
| ) |
References mz_zip_internal_state_tag::m_central_dir, mz_zip_internal_state_tag::m_central_dir_offsets, mz_zip_internal_state_tag::m_init_flags, mz_zip_archive::m_pState, mz_zip_array::m_size, mz_zip_internal_state_tag::m_sorted_central_dir_offsets, mz_zip_archive::m_total_files, mz_zip_archive::m_zip_mode, MZ_READ_LE16, MZ_TRUE, MZ_UINT16_MAX, MZ_ZIP_ARRAY_ELEMENT, MZ_ZIP_CDH_COMMENT_LEN_OFS, MZ_ZIP_CDH_EXTRA_LEN_OFS, MZ_ZIP_CDH_FILENAME_LEN_OFS, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_FILE_NOT_FOUND, MZ_ZIP_FLAG_CASE_SENSITIVE, MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY, MZ_ZIP_FLAG_IGNORE_PATH, MZ_ZIP_INVALID_PARAMETER, mz_zip_locate_file_binary_search(), MZ_ZIP_MODE_READING, mz_zip_set_error(), and mz_zip_string_equal().
Referenced by mz_zip_extract_archive_file_to_heap_v2(), mz_zip_reader_extract_file_iter_new(), mz_zip_reader_extract_file_to_callback(), mz_zip_reader_extract_file_to_cfile(), mz_zip_reader_extract_file_to_file(), mz_zip_reader_extract_file_to_heap(), mz_zip_reader_extract_file_to_mem_no_alloc(), mz_zip_reader_locate_file(), and mz_zip_validate_archive().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_zip_error mz_zip_set_last_error | ( | mz_zip_archive * | pZip, |
| mz_zip_error | err_num | ||
| ) |
References mz_zip_archive::m_last_error, and MZ_ZIP_INVALID_PARAMETER.
Referenced by mz_zip_clear_last_error().
Here is the caller graph for this function:| mz_bool mz_zip_validate_archive | ( | mz_zip_archive * | pZip, |
| mz_uint | flags | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_central_dir, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pFree, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_array::m_size, mz_zip_archive::m_total_files, mz_zip_internal_state_tag::m_zip64, MZ_FALSE, MZ_TRUE, MZ_UINT16_MAX, MZ_UINT32_MAX, MZ_ZIP_ARCHIVE_TOO_LARGE, MZ_ZIP_FLAG_VALIDATE_LOCATE_FILE_FLAG, MZ_ZIP_INVALID_PARAMETER, mz_zip_reader_file_stat(), mz_zip_reader_locate_file_v2(), mz_zip_set_error(), mz_zip_validate_file(), MZ_ZIP_VALIDATION_FAILED, and stat.
Referenced by mz_zip_validate_file_archive(), and mz_zip_validate_mem_archive().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_validate_file | ( | mz_zip_archive * | pZip, |
| mz_uint | file_index, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_archive_file_stat::m_comp_size, mz_zip_archive_file_stat::m_crc32, mz_zip_archive_file_stat::m_filename, mz_zip_archive_file_stat::m_is_directory, mz_zip_archive_file_stat::m_is_encrypted, mz_zip_archive_file_stat::m_is_supported, mz_zip_archive_file_stat::m_local_header_ofs, mz_zip_archive_file_stat::m_method, mz_zip_array::m_p, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive::m_total_files, mz_zip_archive_file_stat::m_uncomp_size, mz_zip_internal_state_tag::m_zip64, MZ_CRC32_INIT, MZ_DEFLATED, MZ_FALSE, MZ_MAX, MZ_READ_LE16, MZ_READ_LE32, MZ_READ_LE64, MZ_TRUE, MZ_UINT32_MAX, MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID, MZ_ZIP_ALLOC_FAILED, mz_zip_array_clear(), mz_zip_array_init(), mz_zip_array_resize(), mz_zip_compute_crc32_callback(), MZ_ZIP_DATA_DESCRIPTOR_ID, MZ_ZIP_FILE_READ_FAILED, mz_zip_file_stat_internal(), MZ_ZIP_FLAG_VALIDATE_HEADERS_ONLY, mz_zip_get_cdh(), MZ_ZIP_INVALID_HEADER_OR_CORRUPTED, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_LDH_BIT_FLAG_OFS, MZ_ZIP_LDH_COMPRESSED_SIZE_OFS, MZ_ZIP_LDH_CRC32_OFS, MZ_ZIP_LDH_DECOMPRESSED_SIZE_OFS, MZ_ZIP_LDH_EXTRA_LEN_OFS, MZ_ZIP_LDH_FILENAME_LEN_OFS, MZ_ZIP_LOCAL_DIR_HEADER_SIG, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, mz_zip_reader_extract_to_callback(), mz_zip_set_error(), MZ_ZIP_UNSUPPORTED_ENCRYPTION, MZ_ZIP_UNSUPPORTED_FEATURE, MZ_ZIP_UNSUPPORTED_METHOD, and MZ_ZIP_VALIDATION_FAILED.
Referenced by mz_zip_validate_archive().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_validate_file_archive | ( | const char * | pFilename, |
| mz_uint | flags, | ||
| mz_zip_error * | pErr | ||
| ) |
References mz_zip_archive::m_last_error, MZ_FALSE, MZ_TRUE, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_NO_ERROR, mz_zip_reader_end_internal(), mz_zip_reader_init_file_v2(), mz_zip_validate_archive(), and mz_zip_zero_struct().
Here is the call graph for this function:| mz_bool mz_zip_validate_mem_archive | ( | const void * | pMem, |
| size_t | size, | ||
| mz_uint | flags, | ||
| mz_zip_error * | pErr | ||
| ) |
References mz_zip_archive::m_last_error, MZ_FALSE, MZ_TRUE, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_NO_ERROR, mz_zip_reader_end_internal(), mz_zip_reader_init_mem(), mz_zip_validate_archive(), and mz_zip_zero_struct().
Here is the call graph for this function:| mz_bool mz_zip_writer_add_cfile | ( | mz_zip_archive * | pZip, |
| const char * | pArchive_name, | ||
| MZ_FILE * | pSrc_file, | ||
| mz_uint64 | size_to_add, | ||
| const MZ_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 | ||
| ) |
References mz_file_read_func_stdio(), and mz_zip_writer_add_read_buf_callback().
Referenced by mz_zip_writer_add_file().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
References MZ_FCLOSE, MZ_FILE, MZ_FOPEN, MZ_FSEEK64, MZ_FTELL64, MZ_TIME_T, MZ_ZIP_FILE_OPEN_FAILED, MZ_ZIP_FILE_STAT_FAILED, mz_zip_get_file_modified_time(), mz_zip_set_error(), mz_zip_writer_add_cfile(), and SEEK_SET.
Here is the call graph for this function:| mz_bool mz_zip_writer_add_from_zip_reader | ( | mz_zip_archive * | pZip, |
| mz_zip_archive * | pSource_zip, | ||
| mz_uint | src_file_index | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_central_dir, mz_zip_internal_state_tag::m_central_dir_offsets, mz_zip_archive_file_stat::m_comp_size, mz_zip_archive::m_file_offset_alignment, mz_zip_archive_file_stat::m_local_header_ofs, mz_zip_array::m_p, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_array::m_size, mz_zip_archive::m_total_files, mz_zip_archive_file_stat::m_uncomp_size, mz_zip_internal_state_tag::m_zip64, mz_zip_archive::m_zip_mode, MZ_ASSERT, MZ_FALSE, MZ_MAX, MZ_MIN, MZ_READ_LE16, MZ_READ_LE32, MZ_READ_LE64, MZ_TRUE, MZ_UINT16_MAX, MZ_UINT32_MAX, MZ_WRITE_LE16, mz_write_le32(), MZ_WRITE_LE32, mz_write_le64(), MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_ARCHIVE_TOO_LARGE, mz_zip_array_clear(), mz_zip_array_init(), mz_zip_array_push_back(), mz_zip_array_resize(), MZ_ZIP_CDH_COMMENT_LEN_OFS, MZ_ZIP_CDH_COMPRESSED_SIZE_OFS, MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS, MZ_ZIP_CDH_EXTRA_LEN_OFS, MZ_ZIP_CDH_FILENAME_LEN_OFS, MZ_ZIP_CDH_LOCAL_HEADER_OFS, MZ_ZIP_CDH_SIG_OFS, MZ_ZIP_CENTRAL_DIR_HEADER_SIG, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_DATA_DESCRIPTOR_ID, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_FILE_READ_FAILED, mz_zip_file_stat_internal(), MZ_ZIP_FILE_WRITE_FAILED, mz_zip_get_cdh(), MZ_ZIP_INVALID_HEADER_OR_CORRUPTED, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_LDH_BIT_FLAG_OFS, MZ_ZIP_LDH_COMPRESSED_SIZE_OFS, MZ_ZIP_LDH_DECOMPRESSED_SIZE_OFS, MZ_ZIP_LDH_EXTRA_LEN_OFS, MZ_ZIP_LDH_FILENAME_LEN_OFS, MZ_ZIP_LOCAL_DIR_HEADER_SIG, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, MZ_ZIP_MAX_IO_BUF_SIZE, MZ_ZIP_MODE_WRITING, mz_zip_set_error(), MZ_ZIP_TOO_MANY_FILES, MZ_ZIP_UNSUPPORTED_CDIR_SIZE, mz_zip_writer_compute_padding_needed_for_file_alignment(), mz_zip_writer_update_zip64_extension_block(), and mz_zip_writer_write_zeros().
Here is the call graph for this function:| 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 | ||
| ) |
References mz_zip_writer_add_mem_ex().
Referenced by Slic3r::_3MF_Exporter::_add_content_types_file_to_archive(), Slic3r::_3MF_Exporter::_add_custom_gcode_per_print_z_file_to_archive(), Slic3r::_3MF_Exporter::_add_cut_information_file_to_archive(), Slic3r::_3MF_Exporter::_add_layer_config_ranges_file_to_archive(), Slic3r::_3MF_Exporter::_add_layer_height_profile_file_to_archive(), Slic3r::_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::_3MF_Exporter::_add_print_config_file_to_archive(), Slic3r::_3MF_Exporter::_add_relationships_file_to_archive(), Slic3r::_3MF_Exporter::_add_sla_drain_holes_file_to_archive(), Slic3r::_3MF_Exporter::_add_sla_support_points_file_to_archive(), Slic3r::_3MF_Exporter::_add_thumbnail_file_to_archive(), Slic3r::Zipper::add_entry(), Slic3r::Zipper::finish_entry(), and Slic3r::store_amf().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
References mz_zip_writer_add_mem_ex_v2().
Referenced by mz_zip_add_mem_to_archive_file_in_place_v2(), and mz_zip_writer_add_mem().
Here is the call graph for this function:
Here is the caller graph for this function:| 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, | ||
| MZ_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 | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_central_dir, mz_zip_internal_state_tag::m_central_dir_offsets, mz_zip_writer_add_state::m_comp_size, mz_zip_writer_add_state::m_cur_archive_file_ofs, mz_zip_archive::m_file_offset_alignment, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_writer_add_state::m_pZip, mz_zip_array::m_size, mz_zip_archive::m_total_files, mz_zip_internal_state_tag::m_zip64, mz_zip_archive::m_zip_mode, MZ_ASSERT, MZ_CLEAR_OBJ, mz_crc32(), MZ_CRC32_INIT, MZ_DEFAULT_LEVEL, MZ_DEFAULT_STRATEGY, MZ_DEFLATED, MZ_FALSE, MZ_TIME_T, MZ_TRUE, MZ_UBER_COMPRESSION, MZ_UINT16_MAX, MZ_UINT32_MAX, MZ_WRITE_LE32, MZ_WRITE_LE64, MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_ARCHIVE_TOO_LARGE, mz_zip_array_ensure_room(), MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_COMPRESSION_FAILED, MZ_ZIP_DATA_DESCRIPTER_SIZE32, MZ_ZIP_DATA_DESCRIPTER_SIZE64, MZ_ZIP_DATA_DESCRIPTOR_ID, MZ_ZIP_DOS_DIR_ATTRIBUTE_BITFLAG, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_FILE_WRITE_FAILED, MZ_ZIP_FLAG_ASCII_FILENAME, MZ_ZIP_FLAG_COMPRESSED_DATA, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_UTF8, MZ_ZIP_INTERNAL_ERROR, MZ_ZIP_INVALID_FILENAME, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_LDH_BIT_FLAG_HAS_LOCATOR, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, MZ_ZIP_MODE_WRITING, mz_zip_set_error(), mz_zip_time_t_to_dos_time(), MZ_ZIP_TOO_MANY_FILES, MZ_ZIP_UNSUPPORTED_CDIR_SIZE, mz_zip_writer_add_put_buf_callback(), mz_zip_writer_add_to_central_dir(), mz_zip_writer_compute_padding_needed_for_file_alignment(), mz_zip_writer_create_local_dir_header(), mz_zip_writer_create_zip64_extra_data(), mz_zip_writer_validate_archive_name(), mz_zip_writer_write_zeros(), tdefl_compress_buffer(), tdefl_create_comp_flags_from_zip_params(), TDEFL_FINISH, tdefl_init(), TDEFL_STATUS_DONE, and TDEFL_STATUS_OKAY.
Referenced by mz_zip_writer_add_mem_ex().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_writer_add_read_buf_callback | ( | mz_zip_archive * | pZip, |
| const char * | pArchive_name, | ||
| mz_file_read_func | read_callback, | ||
| void * | callback_opaque, | ||
| mz_uint64 | max_size, | ||
| const MZ_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 | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_central_dir, mz_zip_writer_add_state::m_comp_size, mz_zip_writer_add_state::m_cur_archive_file_ofs, mz_zip_archive::m_file_offset_alignment, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pNeeds_keepalive, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_writer_add_state::m_pZip, mz_zip_array::m_size, mz_zip_archive::m_total_files, mz_zip_internal_state_tag::m_zip64, mz_zip_archive::m_zip_mode, MZ_ASSERT, MZ_CLEAR_OBJ, mz_crc32(), MZ_CRC32_INIT, MZ_DEFAULT_LEVEL, MZ_DEFAULT_STRATEGY, MZ_DEFLATED, MZ_FALSE, MZ_TRUE, MZ_UBER_COMPRESSION, MZ_UINT16_MAX, MZ_UINT32_MAX, MZ_WRITE_LE32, MZ_WRITE_LE64, MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_ARCHIVE_TOO_LARGE, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_COMPRESSION_FAILED, MZ_ZIP_DATA_DESCRIPTER_SIZE32, MZ_ZIP_DATA_DESCRIPTER_SIZE64, MZ_ZIP_DATA_DESCRIPTOR_ID, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_FILE_READ_FAILED, MZ_ZIP_FILE_WRITE_FAILED, MZ_ZIP_FLAG_ASCII_FILENAME, MZ_ZIP_FLAG_COMPRESSED_DATA, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_UTF8, MZ_ZIP_INTERNAL_ERROR, MZ_ZIP_INVALID_FILENAME, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_LDH_BIT_FLAG_HAS_LOCATOR, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, MZ_ZIP_MAX_IO_BUF_SIZE, MZ_ZIP_MODE_WRITING, mz_zip_set_error(), mz_zip_time_t_to_dos_time(), MZ_ZIP_TOO_MANY_FILES, MZ_ZIP_UNSUPPORTED_CDIR_SIZE, mz_zip_writer_add_put_buf_callback(), mz_zip_writer_add_to_central_dir(), mz_zip_writer_compute_padding_needed_for_file_alignment(), mz_zip_writer_create_local_dir_header(), mz_zip_writer_create_zip64_extra_data(), mz_zip_writer_validate_archive_name(), mz_zip_writer_write_zeros(), tdefl_compress_buffer(), tdefl_create_comp_flags_from_zip_params(), TDEFL_FINISH, TDEFL_FULL_FLUSH, tdefl_init(), TDEFL_NO_FLUSH, TDEFL_STATUS_DONE, and TDEFL_STATUS_OKAY.
Referenced by mz_zip_writer_add_cfile().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_writer_add_staged_data | ( | mz_zip_writer_staged_context * | pContext, |
| const char * | pRead_buf, | ||
| size_t | n | ||
| ) |
References mz_zip_writer_staged_context::file_ofs, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pNeeds_keepalive, mz_zip_writer_staged_context::max_size, mz_crc32(), MZ_FALSE, MZ_TRUE, MZ_ZIP_COMPRESSION_FAILED, MZ_ZIP_FILE_READ_FAILED, mz_zip_set_error(), mz_zip_writer_staged_context::pCompressor, mz_zip_writer_staged_context::pZip, tdefl_compress_buffer(), TDEFL_FINISH, TDEFL_FULL_FLUSH, TDEFL_NO_FLUSH, TDEFL_STATUS_DONE, TDEFL_STATUS_OKAY, and mz_zip_writer_staged_context::uncomp_crc32.
Referenced by Slic3r::_3MF_Exporter::_add_mesh_to_object_stream(), Slic3r::_3MF_Exporter::_add_model_file_to_archive(), Slic3r::_3MF_Exporter::_add_object_to_model_stream(), and mz_zip_writer_add_staged_finish().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_writer_add_staged_finish | ( | mz_zip_writer_staged_context * | pContext | ) |
References mz_zip_writer_staged_context::add_state, mz_zip_writer_staged_context::archive_name_size, mz_zip_writer_staged_context::comment_size, mz_zip_writer_staged_context::comp_size, mz_zip_writer_staged_context::cur_archive_file_ofs, mz_zip_writer_staged_context::dos_date, mz_zip_writer_staged_context::dos_time, mz_zip_writer_staged_context::ext_attributes, mz_zip_writer_staged_context::extra_data, mz_zip_writer_staged_context::extra_size, mz_zip_writer_staged_context::file_ofs, mz_zip_writer_staged_context::gen_flags, mz_zip_writer_staged_context::local_dir_header_ofs, mz_zip_archive::m_archive_size, mz_zip_writer_add_state::m_comp_size, mz_zip_writer_add_state::m_cur_archive_file_ofs, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pWrite, mz_zip_archive::m_total_files, mz_zip_writer_staged_context::method, MZ_FALSE, MZ_TRUE, MZ_UINT32_MAX, MZ_WRITE_LE32, MZ_WRITE_LE64, MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE, MZ_ZIP_ARCHIVE_TOO_LARGE, MZ_ZIP_DATA_DESCRIPTER_SIZE32, MZ_ZIP_DATA_DESCRIPTER_SIZE64, MZ_ZIP_DATA_DESCRIPTOR_ID, MZ_ZIP_FILE_WRITE_FAILED, MZ_ZIP_LDH_COMPRESSED_SIZE_OFS, MZ_ZIP_LDH_DECOMPRESSED_SIZE_OFS, MZ_ZIP_LDH_VERSION_NEEDED_OFS, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, mz_zip_set_error(), mz_zip_writer_add_staged_data(), mz_zip_writer_add_to_central_dir(), mz_zip_writer_create_zip64_extra_data(), mz_zip_writer_staged_context::pArchive_name, mz_zip_writer_staged_context::pComment, mz_zip_writer_staged_context::pCompressor, mz_zip_writer_staged_context::pExtra_data, mz_zip_writer_staged_context::pZip, mz_zip_writer_staged_context::uncomp_crc32, mz_zip_writer_staged_context::uncomp_size, mz_zip_writer_staged_context::user_extra_data_central, and mz_zip_writer_staged_context::user_extra_data_central_len.
Referenced by Slic3r::_3MF_Exporter::_add_model_file_to_archive().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_writer_add_staged_open | ( | mz_zip_archive * | pZip, |
| mz_zip_writer_staged_context * | pContext, | ||
| const char * | pArchive_name, | ||
| mz_uint64 | max_size, | ||
| const MZ_TIME_T * | pFile_time, | ||
| const void * | pComment, | ||
| mz_uint16 | comment_size, | ||
| mz_uint | level_and_flags, | ||
| const char * | user_extra_data, | ||
| mz_uint | user_extra_data_len, | ||
| const char * | user_extra_data_central, | ||
| mz_uint | user_extra_data_central_len | ||
| ) |
References mz_zip_writer_staged_context::add_state, mz_zip_writer_staged_context::archive_name_size, mz_zip_writer_staged_context::comment_size, mz_zip_writer_staged_context::cur_archive_file_ofs, mz_zip_writer_staged_context::dos_date, mz_zip_writer_staged_context::dos_time, mz_zip_writer_staged_context::extra_data, mz_zip_writer_staged_context::extra_size, mz_zip_writer_staged_context::gen_flags, mz_zip_writer_staged_context::local_dir_header_ofs, mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_central_dir, mz_zip_writer_add_state::m_comp_size, mz_zip_writer_add_state::m_cur_archive_file_ofs, mz_zip_archive::m_file_offset_alignment, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_writer_add_state::m_pZip, mz_zip_array::m_size, mz_zip_archive::m_total_files, mz_zip_internal_state_tag::m_zip64, mz_zip_archive::m_zip_mode, mz_zip_writer_staged_context::max_size, mz_zip_writer_staged_context::method, MZ_ASSERT, MZ_CLEAR_OBJ, MZ_CRC32_INIT, MZ_DEFAULT_LEVEL, MZ_DEFAULT_STRATEGY, MZ_DEFLATED, MZ_TIME_T, MZ_TRUE, MZ_UBER_COMPRESSION, MZ_UINT16_MAX, MZ_UINT32_MAX, MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_DATA_DESCRIPTER_SIZE32, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_FILE_WRITE_FAILED, MZ_ZIP_FLAG_ASCII_FILENAME, MZ_ZIP_FLAG_COMPRESSED_DATA, MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_UTF8, MZ_ZIP_INTERNAL_ERROR, MZ_ZIP_INVALID_FILENAME, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_LDH_BIT_FLAG_HAS_LOCATOR, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, MZ_ZIP_MODE_WRITING, mz_zip_set_error(), mz_zip_time_t_to_dos_time(), MZ_ZIP_TOO_MANY_FILES, MZ_ZIP_UNSUPPORTED_CDIR_SIZE, mz_zip_writer_add_put_buf_callback(), mz_zip_writer_compute_padding_needed_for_file_alignment(), mz_zip_writer_create_local_dir_header(), mz_zip_writer_preallocate_extra_data(), mz_zip_writer_validate_archive_name(), mz_zip_writer_write_zeros(), mz_zip_writer_staged_context::pArchive_name, mz_zip_writer_staged_context::pComment, mz_zip_writer_staged_context::pCompressor, mz_zip_writer_staged_context::pExtra_data, mz_zip_writer_staged_context::pZip, tdefl_create_comp_flags_from_zip_params(), tdefl_init(), TDEFL_STATUS_OKAY, mz_zip_writer_staged_context::uncomp_crc32, mz_zip_writer_staged_context::user_extra_data_central, and mz_zip_writer_staged_context::user_extra_data_central_len.
Referenced by Slic3r::_3MF_Exporter::_add_model_file_to_archive().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_writer_end | ( | mz_zip_archive * | pZip | ) |
References MZ_TRUE, and mz_zip_writer_end_internal().
Referenced by Slic3r::anonymous_namespace{miniz_extension.cpp}::close_zip(), mz_zip_end(), and mz_zip_writer_init_file_v2().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_writer_finalize_archive | ( | mz_zip_archive * | pZip | ) |
References mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_central_dir, mz_zip_archive::m_central_directory_file_ofs, mz_zip_array::m_p, mz_zip_internal_state_tag::m_pFile, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_array::m_size, mz_zip_archive::m_total_files, mz_zip_internal_state_tag::m_zip64, mz_zip_archive::m_zip_mode, MZ_CLEAR_OBJ, MZ_FFLUSH, MZ_MIN, MZ_TRUE, MZ_UINT16_MAX, MZ_UINT32_MAX, MZ_WRITE_LE16, MZ_WRITE_LE32, MZ_WRITE_LE64, MZ_ZIP64_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS, MZ_ZIP64_ECDH_CDIR_OFS_OFS, MZ_ZIP64_ECDH_CDIR_SIZE_OFS, MZ_ZIP64_ECDH_CDIR_TOTAL_ENTRIES_OFS, MZ_ZIP64_ECDH_SIG_OFS, MZ_ZIP64_ECDH_SIZE_OF_RECORD_OFS, MZ_ZIP64_ECDH_VERSION_MADE_BY_OFS, MZ_ZIP64_ECDH_VERSION_NEEDED_OFS, MZ_ZIP64_ECDL_REL_OFS_TO_ZIP64_ECDR_OFS, MZ_ZIP64_ECDL_SIG_OFS, MZ_ZIP64_ECDL_TOTAL_NUMBER_OF_DISKS_OFS, MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIG, MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIG, MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE, MZ_ZIP_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS, MZ_ZIP_ECDH_CDIR_OFS_OFS, MZ_ZIP_ECDH_CDIR_SIZE_OFS, MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS, MZ_ZIP_ECDH_SIG_OFS, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_FILE_CLOSE_FAILED, MZ_ZIP_FILE_WRITE_FAILED, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_MODE_WRITING, MZ_ZIP_MODE_WRITING_HAS_BEEN_FINALIZED, mz_zip_set_error(), and MZ_ZIP_TOO_MANY_FILES.
Referenced by Slic3r::Zipper::~Zipper(), Slic3r::_3MF_Exporter::_save_model_to_file(), Slic3r::Zipper::finalize(), mz_zip_add_mem_to_archive_file_in_place_v2(), mz_zip_writer_finalize_heap_archive(), and Slic3r::store_amf().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_writer_finalize_heap_archive | ( | mz_zip_archive * | pZip, |
| void ** | ppBuf, | ||
| size_t * | pSize | ||
| ) |
References mz_zip_internal_state_tag::m_mem_capacity, mz_zip_internal_state_tag::m_mem_size, mz_zip_internal_state_tag::m_pMem, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, MZ_FALSE, MZ_TRUE, mz_zip_heap_write_func(), MZ_ZIP_INVALID_PARAMETER, mz_zip_set_error(), and mz_zip_writer_finalize_archive().
Here is the call graph for this function:| mz_bool mz_zip_writer_init | ( | mz_zip_archive * | pZip, |
| mz_uint64 | existing_size | ||
| ) |
References mz_zip_writer_init_v2().
Here is the call graph for this function:| mz_bool mz_zip_writer_init_cfile | ( | mz_zip_archive * | pZip, |
| MZ_FILE * | pFile, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_internal_state_tag::m_file_archive_start_ofs, mz_zip_internal_state_tag::m_pFile, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pNeeds_keepalive, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_archive::m_zip_type, MZ_FALSE, MZ_FTELL64, MZ_TRUE, mz_zip_file_read_func(), mz_zip_file_write_func(), MZ_ZIP_FLAG_WRITE_ALLOW_READING, MZ_ZIP_TYPE_CFILE, and mz_zip_writer_init_v2().
Referenced by Slic3r::anonymous_namespace{miniz_extension.cpp}::open_zip().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
References mz_zip_internal_state_tag::m_pFile, mz_zip_archive::m_pIO_opaque, mz_zip_archive::m_pNeeds_keepalive, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_archive::m_zip_type, MZ_CLEAR_OBJ, MZ_FALSE, MZ_FILE, MZ_FOPEN, MZ_MIN, MZ_TRUE, MZ_ZIP_FILE_OPEN_FAILED, mz_zip_file_read_func(), MZ_ZIP_FILE_WRITE_FAILED, mz_zip_file_write_func(), MZ_ZIP_FLAG_WRITE_ALLOW_READING, mz_zip_set_error(), MZ_ZIP_TYPE_FILE, mz_zip_writer_end(), and mz_zip_writer_init_v2().
Referenced by mz_zip_add_mem_to_archive_file_in_place_v2(), and mz_zip_writer_init_file().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_archive::m_central_directory_file_ofs, mz_zip_internal_state_tag::m_mem_capacity, mz_zip_internal_state_tag::m_mem_size, mz_zip_internal_state_tag::m_pFile, mz_zip_archive::m_pIO_opaque, mz_zip_internal_state_tag::m_pMem, mz_zip_archive::m_pNeeds_keepalive, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_internal_state_tag::m_sorted_central_dir_offsets, mz_zip_archive::m_total_files, mz_zip_internal_state_tag::m_zip64, mz_zip_archive::m_zip_mode, mz_zip_archive::m_zip_type, MZ_FALSE, MZ_FREOPEN, MZ_TRUE, MZ_UINT16_MAX, MZ_UINT32_MAX, mz_zip_array_clear(), MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, MZ_ZIP_FILE_OPEN_FAILED, MZ_ZIP_FILE_TOO_LARGE, mz_zip_file_write_func(), MZ_ZIP_FLAG_WRITE_ZIP64, mz_zip_heap_write_func(), MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_LOCAL_DIR_HEADER_SIZE, MZ_ZIP_MODE_READING, MZ_ZIP_MODE_WRITING, mz_zip_reader_end_internal(), mz_zip_set_error(), MZ_ZIP_TOO_MANY_FILES, MZ_ZIP_TYPE_FILE, and void().
Referenced by mz_zip_add_mem_to_archive_file_in_place_v2(), and mz_zip_writer_init_from_reader().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_writer_init_heap | ( | mz_zip_archive * | pZip, |
| size_t | size_to_reserve_at_beginning, | ||
| size_t | initial_allocation_size | ||
| ) |
References mz_zip_writer_init_heap_v2().
Here is the call graph for this function:| 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 | ||
| ) |
References mz_zip_internal_state_tag::m_mem_capacity, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pIO_opaque, mz_zip_internal_state_tag::m_pMem, mz_zip_archive::m_pNeeds_keepalive, mz_zip_archive::m_pRead, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_archive::m_zip_type, MZ_FALSE, MZ_MAX, MZ_TRUE, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_FLAG_WRITE_ALLOW_READING, mz_zip_heap_write_func(), mz_zip_mem_read_func(), mz_zip_set_error(), MZ_ZIP_TYPE_HEAP, mz_zip_writer_end_internal(), and mz_zip_writer_init_v2().
Referenced by mz_zip_writer_init_heap().
Here is the call graph for this function:
Here is the caller graph for this function:| mz_bool mz_zip_writer_init_v2 | ( | mz_zip_archive * | pZip, |
| mz_uint64 | existing_size, | ||
| mz_uint | flags | ||
| ) |
References mz_zip_archive::m_archive_size, mz_zip_internal_state_tag::m_central_dir, mz_zip_internal_state_tag::m_central_dir_offsets, mz_zip_archive::m_central_directory_file_ofs, mz_zip_archive::m_file_offset_alignment, mz_zip_archive::m_pAlloc, mz_zip_archive::m_pAlloc_opaque, mz_zip_archive::m_pFree, mz_zip_archive::m_pRead, mz_zip_archive::m_pRealloc, mz_zip_archive::m_pState, mz_zip_archive::m_pWrite, mz_zip_internal_state_tag::m_sorted_central_dir_offsets, mz_zip_archive::m_total_files, mz_zip_internal_state_tag::m_zip64, mz_zip_internal_state_tag::m_zip64_has_extended_info_fields, mz_zip_archive::m_zip_mode, mz_zip_archive::m_zip_type, miniz_def_alloc_func(), miniz_def_free_func(), miniz_def_realloc_func(), MZ_TRUE, MZ_ZIP_ALLOC_FAILED, MZ_ZIP_ARRAY_SET_ELEMENT_SIZE, MZ_ZIP_FLAG_WRITE_ALLOW_READING, MZ_ZIP_FLAG_WRITE_ZIP64, MZ_ZIP_INVALID_PARAMETER, MZ_ZIP_MODE_INVALID, MZ_ZIP_MODE_WRITING, mz_zip_set_error(), and MZ_ZIP_TYPE_USER.
Referenced by mz_zip_writer_init(), mz_zip_writer_init_cfile(), mz_zip_writer_init_file_v2(), and mz_zip_writer_init_heap_v2().
Here is the call graph for this function:
Here is the caller graph for this function:| void mz_zip_zero_struct | ( | mz_zip_archive * | pZip | ) |
References MZ_CLEAR_OBJ.
Referenced by Slic3r::MZ_Archive::MZ_Archive(), Slic3r::_3MF_Importer::_load_model_from_file(), Slic3r::_3MF_Exporter::_save_model_to_file(), Slic3r::is_project_3mf(), Slic3r::load_amf_archive(), mz_zip_add_mem_to_archive_file_in_place_v2(), mz_zip_extract_archive_file_to_heap_v2(), mz_zip_validate_file_archive(), mz_zip_validate_mem_archive(), Slic3r::GUI::Plater::preview_zip_archive(), Slic3r::store_amf(), and Slic3r::PresetUpdater::priv::sync_config().
Here is the caller graph for this function:| 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 | ||
| ) |
References mz_adler32(), MZ_CLEAR_OBJ, tdefl_compress_normal(), TDEFL_COMPUTE_ADLER32, TDEFL_FILTER_MATCHES, TDEFL_FINISH, tdefl_flush_block(), tdefl_flush_output_buffer(), TDEFL_FORCE_ALL_RAW_BLOCKS, TDEFL_FULL_FLUSH, TDEFL_GREEDY_PARSING_FLAG, TDEFL_MAX_PROBES_MASK, TDEFL_RLE_MATCHES, TDEFL_STATUS_BAD_PARAM, TDEFL_STATUS_OKAY, and TDEFL_WRITE_ZLIB_HEADER.
Referenced by mz_deflate(), and tdefl_compress_buffer().
Here is the call graph for this function:
Here is the caller graph for this function:| tdefl_status tdefl_compress_buffer | ( | tdefl_compressor * | d, |
| const void * | pIn_buf, | ||
| size_t | in_buf_size, | ||
| tdefl_flush | flush | ||
| ) |
References MZ_ASSERT, and tdefl_compress().
Referenced by mz_zip_writer_add_mem_ex_v2(), mz_zip_writer_add_read_buf_callback(), mz_zip_writer_add_staged_data(), tdefl_compress_mem_to_output(), and tdefl_write_image_to_png_file_in_memory_ex().
Here is the call graph for this function:
Here is the caller graph for this function:| void * tdefl_compress_mem_to_heap | ( | const void * | pSrc_buf, |
| size_t | src_buf_len, | ||
| size_t * | pOut_len, | ||
| int | flags | ||
| ) |
References tdefl_output_buffer::m_expandable, tdefl_output_buffer::m_pBuf, tdefl_output_buffer::m_size, MZ_CLEAR_OBJ, MZ_FALSE, MZ_TRUE, tdefl_compress_mem_to_output(), and tdefl_output_buffer_putter().
Here is the call graph for this function:| 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 | ||
| ) |
References tdefl_output_buffer::m_capacity, tdefl_output_buffer::m_pBuf, tdefl_output_buffer::m_size, MZ_CLEAR_OBJ, tdefl_compress_mem_to_output(), and tdefl_output_buffer_putter().
Here is the call graph for this function:| 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 | ||
| ) |
References MZ_FALSE, MZ_FREE, MZ_MALLOC, tdefl_compress_buffer(), TDEFL_FINISH, tdefl_init(), TDEFL_STATUS_DONE, and TDEFL_STATUS_OKAY.
Referenced by tdefl_compress_mem_to_heap(), and tdefl_compress_mem_to_mem().
Here is the call graph for this function:
Here is the caller graph for this function:| tdefl_compressor * tdefl_compressor_alloc | ( | void | ) |
References MZ_MALLOC.
| void tdefl_compressor_free | ( | tdefl_compressor * | pComp | ) |
| mz_uint tdefl_create_comp_flags_from_zip_params | ( | int | level, |
| int | window_bits, | ||
| int | strategy | ||
| ) |
References MZ_DEFAULT_LEVEL, MZ_FILTERED, MZ_FIXED, MZ_HUFFMAN_ONLY, MZ_MIN, MZ_RLE, s_tdefl_num_probes, TDEFL_FILTER_MATCHES, TDEFL_FORCE_ALL_RAW_BLOCKS, TDEFL_FORCE_ALL_STATIC_BLOCKS, TDEFL_GREEDY_PARSING_FLAG, TDEFL_RLE_MATCHES, and TDEFL_WRITE_ZLIB_HEADER.
Referenced by mz_deflateInit2(), mz_zip_writer_add_mem_ex_v2(), mz_zip_writer_add_read_buf_callback(), and mz_zip_writer_add_staged_open().
Here is the caller graph for this function:| 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 | ||
| ) |
References MZ_CLEAR_OBJ, TDEFL_GREEDY_PARSING_FLAG, TDEFL_MAX_HUFF_SYMBOLS_0, TDEFL_MAX_HUFF_SYMBOLS_1, TDEFL_NO_FLUSH, TDEFL_NONDETERMINISTIC_PARSING_FLAG, and TDEFL_STATUS_OKAY.
Referenced by mz_deflateInit2(), mz_deflateReset(), mz_zip_writer_add_mem_ex_v2(), mz_zip_writer_add_read_buf_callback(), mz_zip_writer_add_staged_open(), tdefl_compress_mem_to_output(), and tdefl_write_image_to_png_file_in_memory_ex().
Here is the caller graph for this function:| void * tdefl_write_image_to_png_file_in_memory | ( | const void * | pImage, |
| int | w, | ||
| int | h, | ||
| int | num_chans, | ||
| size_t * | pLen_out | ||
| ) |
References MZ_FALSE, and tdefl_write_image_to_png_file_in_memory_ex().
Referenced by Slic3r::sla::PNGRasterEncoder::operator()().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
References tdefl_output_buffer::m_capacity, tdefl_output_buffer::m_expandable, tdefl_output_buffer::m_pBuf, tdefl_output_buffer::m_size, MZ_CLEAR_OBJ, mz_crc32(), MZ_CRC32_INIT, MZ_FREE, MZ_MALLOC, MZ_MAX, MZ_MIN, MZ_TRUE, tdefl_compress_buffer(), TDEFL_FINISH, tdefl_init(), TDEFL_NO_FLUSH, tdefl_output_buffer_putter(), TDEFL_STATUS_DONE, and TDEFL_WRITE_ZLIB_HEADER.
Referenced by Slic3r::_3MF_Exporter::_add_thumbnail_file_to_archive(), Slic3r::GCodeThumbnails::compress_thumbnail_png(), tdefl_write_image_to_png_file_in_memory(), and Slic3r::write_thumbnail().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
References tinfl_decompressor_tag::m_bit_buf, tinfl_decompressor_tag::m_check_adler32, tinfl_huff_table::m_code_size, tinfl_decompressor_tag::m_counter, tinfl_decompressor_tag::m_dist, tinfl_decompressor_tag::m_dist_from_out_buf_start, tinfl_decompressor_tag::m_final, tinfl_decompressor_tag::m_len_codes, tinfl_huff_table::m_look_up, tinfl_decompressor_tag::m_num_bits, tinfl_decompressor_tag::m_num_extra, tinfl_decompressor_tag::m_raw_header, tinfl_decompressor_tag::m_table_sizes, tinfl_decompressor_tag::m_tables, tinfl_huff_table::m_tree, tinfl_decompressor_tag::m_type, tinfl_decompressor_tag::m_z_adler32, tinfl_decompressor_tag::m_zhdr0, tinfl_decompressor_tag::m_zhdr1, MZ_ASSERT, MZ_CLEAR_OBJ, MZ_MAX, MZ_MIN, MZ_READ_LE16, MZ_READ_LE32, TINFL_CR_BEGIN, TINFL_CR_FINISH, TINFL_CR_RETURN, TINFL_CR_RETURN_FOREVER, TINFL_FAST_LOOKUP_BITS, TINFL_FAST_LOOKUP_SIZE, TINFL_FLAG_COMPUTE_ADLER32, TINFL_FLAG_HAS_MORE_INPUT, TINFL_FLAG_PARSE_ZLIB_HEADER, TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF, TINFL_GET_BITS, TINFL_GET_BYTE, TINFL_HUFF_DECODE, TINFL_MEMCPY, TINFL_MEMSET, TINFL_SKIP_BITS, TINFL_STATUS_ADLER32_MISMATCH, TINFL_STATUS_BAD_PARAM, TINFL_STATUS_DONE, TINFL_STATUS_FAILED, TINFL_STATUS_FAILED_CANNOT_MAKE_PROGRESS, TINFL_STATUS_HAS_MORE_OUTPUT, and TINFL_STATUS_NEEDS_MORE_INPUT.
Referenced by mz_inflate(), mz_zip_reader_extract_iter_read(), mz_zip_reader_extract_to_callback(), mz_zip_reader_extract_to_mem_no_alloc(), tinfl_decompress_mem_to_callback(), tinfl_decompress_mem_to_heap(), and tinfl_decompress_mem_to_mem().
Here is the caller graph for this function:| 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 | ||
| ) |
References MZ_FREE, MZ_MALLOC, tinfl_decompress(), TINFL_FLAG_HAS_MORE_INPUT, TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF, tinfl_init, TINFL_LZ_DICT_SIZE, TINFL_STATUS_DONE, TINFL_STATUS_FAILED, and TINFL_STATUS_HAS_MORE_OUTPUT.
Here is the call graph for this function:| void * tinfl_decompress_mem_to_heap | ( | const void * | pSrc_buf, |
| size_t | src_buf_len, | ||
| size_t * | pOut_len, | ||
| int | flags | ||
| ) |
References MZ_FREE, MZ_REALLOC, tinfl_decompress(), TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF, tinfl_init, TINFL_STATUS_DONE, and TINFL_STATUS_NEEDS_MORE_INPUT.
Here is the call graph for this function:| 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 | ||
| ) |
References tinfl_decompress(), TINFL_DECOMPRESS_MEM_TO_MEM_FAILED, TINFL_FLAG_HAS_MORE_INPUT, TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF, tinfl_init, and TINFL_STATUS_DONE.
Here is the call graph for this function:| tinfl_decompressor * tinfl_decompressor_alloc | ( | void | ) |
References MZ_MALLOC, and tinfl_init.
| void tinfl_decompressor_free | ( | tinfl_decompressor * | pDecomp | ) |