Home
last modified time | relevance | path

Searched refs:lookahead_size (Results 1 – 5 of 5) sorted by relevance

/third_party/miniz/
Dminiz_tdef.c869 …mz_uint lookahead_pos = d->m_lookahead_pos, lookahead_size = d->m_lookahead_size, dict_size = d->m… in tdefl_compress_fast() local
873 while ((d->m_src_buf_left) || ((d->m_flush) && (lookahead_size))) in tdefl_compress_fast()
876 mz_uint dst_pos = (lookahead_pos + lookahead_size) & TDEFL_LZ_DICT_SIZE_MASK; in tdefl_compress_fast()
877 …s_to_process = (mz_uint)MZ_MIN(d->m_src_buf_left, TDEFL_COMP_FAST_LOOKAHEAD_SIZE - lookahead_size); in tdefl_compress_fast()
879 lookahead_size += num_bytes_to_process; in tdefl_compress_fast()
892 dict_size = MZ_MIN(TDEFL_LZ_DICT_SIZE - lookahead_size, dict_size); in tdefl_compress_fast()
893 if ((!d->m_flush) && (lookahead_size < TDEFL_COMP_FAST_LOOKAHEAD_SIZE)) in tdefl_compress_fast()
896 while (lookahead_size >= 4) in tdefl_compress_fast()
928 cur_match_len = MZ_MIN(cur_match_len, lookahead_size); in tdefl_compress_fast()
967 MZ_ASSERT(lookahead_size >= cur_match_len); in tdefl_compress_fast()
[all …]
/third_party/littlefs/
Dlfs.h229 lfs_size_t lookahead_size; member
Dlfs.c568 lfs->free.size = lfs_min(8*lfs->cfg->lookahead_size, lfs->free.ack); in lfs_alloc()
572 memset(lfs->free.buffer, 0, lfs->cfg->lookahead_size); in lfs_alloc()
3539 LFS_ASSERT(lfs->cfg->lookahead_size > 0);
3540 LFS_ASSERT(lfs->cfg->lookahead_size % 8 == 0 &&
3545 lfs->free.buffer = lfs_malloc(lfs->cfg->lookahead_size);
3619 memset(lfs->free.buffer, 0, lfs->cfg->lookahead_size);
3621 lfs->free.size = lfs_min(8*lfs->cfg->lookahead_size,
4935 cfg->block_cycles, cfg->cache_size, cfg->lookahead_size,
4965 cfg->block_cycles, cfg->cache_size, cfg->lookahead_size,
5420 cfg->block_cycles, cfg->cache_size, cfg->lookahead_size,
DREADME.md55 .lookahead_size = 16,
/third_party/miniz/amalgamation/
Dminiz.c1497 …mz_uint lookahead_pos = d->m_lookahead_pos, lookahead_size = d->m_lookahead_size, dict_size = d->m… in tdefl_compress_fast() local
1501 while ((d->m_src_buf_left) || ((d->m_flush) && (lookahead_size))) in tdefl_compress_fast()
1504 mz_uint dst_pos = (lookahead_pos + lookahead_size) & TDEFL_LZ_DICT_SIZE_MASK; in tdefl_compress_fast()
1505 …s_to_process = (mz_uint)MZ_MIN(d->m_src_buf_left, TDEFL_COMP_FAST_LOOKAHEAD_SIZE - lookahead_size); in tdefl_compress_fast()
1507 lookahead_size += num_bytes_to_process; in tdefl_compress_fast()
1520 dict_size = MZ_MIN(TDEFL_LZ_DICT_SIZE - lookahead_size, dict_size); in tdefl_compress_fast()
1521 if ((!d->m_flush) && (lookahead_size < TDEFL_COMP_FAST_LOOKAHEAD_SIZE)) in tdefl_compress_fast()
1524 while (lookahead_size >= 4) in tdefl_compress_fast()
1556 cur_match_len = MZ_MIN(cur_match_len, lookahead_size); in tdefl_compress_fast()
1595 MZ_ASSERT(lookahead_size >= cur_match_len); in tdefl_compress_fast()
[all …]