| 4348 | } |
| 4349 | |
| 4350 | static MZ_FORCEINLINE mz_bool |
| 4351 | mz_zip_array_push_back(mz_zip_archive *pZip, mz_zip_array *pArray, |
| 4352 | const void *pElements, size_t n) { |
| 4353 | size_t orig_size = pArray->m_size; |
| 4354 | if (!mz_zip_array_resize(pZip, pArray, orig_size + n, MZ_TRUE)) |
| 4355 | return MZ_FALSE; |
| 4356 | memcpy((mz_uint8 *)pArray->m_p + orig_size * pArray->m_element_size, |
| 4357 | pElements, n * pArray->m_element_size); |
| 4358 | return MZ_TRUE; |
| 4359 | } |
| 4360 | |
| 4361 | #ifndef MINIZ_NO_TIME |
| 4362 | static time_t mz_zip_dos_to_time_t(int dos_time, int dos_date) { |
no test coverage detected