Lines Matching refs:m_capacity
1976 size_t m_size, m_capacity; member
1985 if (new_size > p->m_capacity) in tdefl_output_buffer_putter()
1987 size_t new_capacity = p->m_capacity; mz_uint8 *pNew_buf; if (!p->m_expandable) return MZ_FALSE; in tdefl_output_buffer_putter()
1990 p->m_pBuf = pNew_buf; p->m_capacity = new_capacity; in tdefl_output_buffer_putter()
2009 out_buf.m_pBuf = (mz_uint8*)pOut_buf; out_buf.m_capacity = out_buf_len; in tdefl_compress_mem_to_mem()
2047 …le = MZ_TRUE; out_buf.m_capacity = 57+MZ_MAX(64, (1+bpl)*h); if (NULL == (out_buf.m_pBuf = (mz_uin… in tdefl_write_image_to_png_file_in_memory_ex()
2211 size_t m_size, m_capacity; member
2237 …ity = min_new_capacity; MZ_ASSERT(pArray->m_element_size); if (pArray->m_capacity >= min_new_capac… in mz_zip_array_ensure_capacity()
2238 …if (growing) { new_capacity = MZ_MAX(1, pArray->m_capacity); while (new_capacity < min_new_capacit… in mz_zip_array_ensure_capacity()
2240 pArray->m_p = pNew_p; pArray->m_capacity = new_capacity; in mz_zip_array_ensure_capacity()
2246 …if (new_capacity > pArray->m_capacity) { if (!mz_zip_array_ensure_capacity(pZip, pArray, new_capac… in mz_zip_array_reserve()
2252 …if (new_size > pArray->m_capacity) { if (!mz_zip_array_ensure_capacity(pZip, pArray, new_size, gro… in mz_zip_array_resize()