Lines Matching refs:MZ_MAX
307 …return MZ_MAX(128 + (source_len * 110) / 100, 128 + source_len + ((source_len / (31 * 1024)) + 1) … in mz_deflateBound()
1041 num_bit_lengths = MZ_MAX(4, (num_bit_lengths + 1)); in tdefl_start_dynamic_block()
2030 new_capacity = MZ_MAX(128U, new_capacity << 1U); in tdefl_output_buffer_putter()
2115 out_buf.m_capacity = 57 + MZ_MAX(64, (1 + bpl) * h); in tdefl_write_image_to_png_file_in_memory_ex()
2715 if ((MZ_MAX(pOut_buf_cur, pSrc) + counter) > pOut_buf_end) in tinfl_decompress()
3259 new_capacity = MZ_MAX(1, pArray->m_capacity); in mz_zip_array_ensure_capacity()
3505 cur_file_ofs = MZ_MAX((mz_int64)pZip->m_archive_size - (mz_int64)sizeof(buf_u32), 0); in mz_zip_reader_locate_header_sig()
3533 cur_file_ofs = MZ_MAX(cur_file_ofs - (sizeof(buf_u32) - 3), 0); in mz_zip_reader_locate_header_sig()
3692 (MZ_MAX(MZ_MAX(comp_size, decomp_size), local_header_ofs) == MZ_UINT32_MAX)) in mz_zip_reader_read_central_dir()
4162 …if (MZ_MAX(MZ_MAX(pStat->m_comp_size, pStat->m_uncomp_size), pStat->m_local_header_ofs) == MZ_UINT… in mz_zip_file_stat_internal()
5248 …if (!mz_zip_array_resize(pZip, &file_data_array, MZ_MAX(local_header_filename_len, local_header_ex… in mz_zip_validate_file()
5552 mz_uint64 new_size = MZ_MAX(file_ofs + n, pState->m_mem_size); in mz_zip_heap_write_func()
5567 size_t new_capacity = MZ_MAX(64, pState->m_mem_capacity); in mz_zip_heap_write_func()
5701 …if (0 != (initial_allocation_size = MZ_MAX(initial_allocation_size, size_to_reserve_at_beginning))) in mz_zip_writer_init_heap_v2()
6983 …if (NULL == (pBuf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)MZ_MAX(32U, MZ_MIN((mz_uint64… in mz_zip_writer_add_from_zip_reader()