| 4332 | } |
| 4333 | |
| 4334 | static MZ_FORCEINLINE mz_bool |
| 4335 | mz_zip_array_resize(mz_zip_archive *pZip, mz_zip_array *pArray, size_t new_size, |
| 4336 | mz_uint growing) { |
| 4337 | if (new_size > pArray->m_capacity) { |
| 4338 | if (!mz_zip_array_ensure_capacity(pZip, pArray, new_size, growing)) |
| 4339 | return MZ_FALSE; |
| 4340 | } |
| 4341 | pArray->m_size = new_size; |
| 4342 | return MZ_TRUE; |
| 4343 | } |
| 4344 | |
| 4345 | static MZ_FORCEINLINE mz_bool |
| 4346 | mz_zip_array_ensure_room(mz_zip_archive *pZip, mz_zip_array *pArray, size_t n) { |
no test coverage detected