Lines Matching defs:cur_file_ofs

5042   mz_int64 cur_file_ofs;
5054 cur_file_ofs =
5058 n = (int)MZ_MIN(sizeof(buf_u32), pZip->m_archive_size - cur_file_ofs);
5059 if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pBuf, n) != (mz_uint)n)
5064 cur_file_ofs += i;
5067 if ((!cur_file_ofs) || ((pZip->m_archive_size - cur_file_ofs) >=
5070 cur_file_ofs = MZ_MAX(cur_file_ofs - (sizeof(buf_u32) - 3), 0);
5073 if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pBuf,
5471 mz_uint64 needed_size, cur_file_ofs, comp_remaining,
5509 cur_file_ofs = file_stat.m_local_header_ofs;
5510 if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pLocal_header,
5517 cur_file_ofs += MZ_ZIP_LOCAL_DIR_HEADER_SIZE +
5520 if ((cur_file_ofs + file_stat.m_comp_size) > pZip->m_archive_size)
5525 if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pBuf,
5539 pRead_buf = (mz_uint8 *)pZip->m_pState->m_pMem + cur_file_ofs;
5572 if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pRead_buf,
5577 cur_file_ofs += read_buf_avail;
5681 out_buf_ofs = 0, cur_file_ofs;
5711 cur_file_ofs = file_stat.m_local_header_ofs;
5712 if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pLocal_header,
5719 cur_file_ofs += MZ_ZIP_LOCAL_DIR_HEADER_SIZE +
5722 if ((cur_file_ofs + file_stat.m_comp_size) > pZip->m_archive_size)
5728 pRead_buf = (mz_uint8 *)pZip->m_pState->m_pMem + cur_file_ofs;
5759 cur_file_ofs += file_stat.m_comp_size;
5765 if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pRead_buf,
5780 cur_file_ofs += read_buf_avail;
5801 if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pRead_buf,
5806 cur_file_ofs += read_buf_avail;
6252 mz_uint64 cur_file_ofs, mz_uint32 n) {
6257 if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_file_ofs, buf, s) != s)
6259 cur_file_ofs += s;