Searched refs:MZ_MIN (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-latest/tools/esptool_py/flasher_stub/ |
D | miniz.c | 485 n = MZ_MIN(pState->m_dict_avail, pStream->avail_out); in mz_inflate() 510 n = MZ_MIN(pState->m_dict_avail, pStream->avail_out); in mz_inflate() 1164 mz_uint32 n = MZ_MIN(bits_in, 16); in tdefl_compress_lz_codes() 1349 … int bytes_to_copy = (int)MZ_MIN((size_t)n, (size_t)(*d->m_pOut_buf_size - d->m_out_buf_ofs)); in tdefl_flush_block() 1425 *pMatch_len = MZ_MIN(max_match_len, (mz_uint)TDEFL_MAX_MATCH_LEN); in tdefl_find_match() 1431 if ((*pMatch_len = match_len = MZ_MIN(max_match_len, probe_len)) == max_match_len) in tdefl_find_match() 1505 …mz_uint num_bytes_to_process = (mz_uint)MZ_MIN(d->m_src_buf_left, TDEFL_COMP_FAST_LOOKAHEAD_SIZE -… in tdefl_compress_fast() 1511 mz_uint32 n = MZ_MIN(TDEFL_LZ_DICT_SIZE - dst_pos, num_bytes_to_process); in tdefl_compress_fast() 1514 …memcpy(d->m_dict + TDEFL_LZ_DICT_SIZE + dst_pos, d->m_pSrc, MZ_MIN(n, (TDEFL_MAX_MATCH_LEN - 1) - … in tdefl_compress_fast() 1520 dict_size = MZ_MIN(TDEFL_LZ_DICT_SIZE - lookahead_size, dict_size); in tdefl_compress_fast() [all …]
|
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/ |
D | miniz.h | 538 #define MZ_MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
|