Lines Matching defs:pArchive_name

760    char *pArchive_name,
802 const char *pArchive_name,
1495 mz_bool mz_zip_writer_add_mem(mz_zip_archive *pZip, const char *pArchive_name,
1499 const char *pArchive_name, const void *pBuf,
1511 mz_bool mz_zip_writer_add_file(mz_zip_archive *pZip, const char *pArchive_name,
1546 const char *pZip_filename, const char *pArchive_name, const void *pBuf,
1553 const char *pArchive_name,
6115 mz_bool mz_zip_writer_add_mem(mz_zip_archive *pZip, const char *pArchive_name,
6118 return mz_zip_writer_add_mem_ex(pZip, pArchive_name, pBuf, buf_size, NULL, 0,
6230 static mz_bool mz_zip_writer_validate_archive_name(const char *pArchive_name) {
6234 if (*pArchive_name == '/') return MZ_FALSE;
6235 while (*pArchive_name) {
6236 if ((*pArchive_name == '\\') || (*pArchive_name == ':')) return MZ_FALSE;
6237 pArchive_name++;
6266 const char *pArchive_name, const void *pBuf,
6288 (!pArchive_name) || ((comment_size) && (!pComment)) ||
6298 if (!mz_zip_writer_validate_archive_name(pArchive_name)) return MZ_FALSE;
6308 archive_name_size = strlen(pArchive_name);
6321 if ((archive_name_size) && (pArchive_name[archive_name_size - 1] == '/')) {
6358 if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pArchive_name,
6426 pZip, pArchive_name, (mz_uint16)archive_name_size, NULL, 0, pComment,
6438 mz_bool mz_zip_writer_add_file(mz_zip_archive *pZip, const char *pArchive_name,
6455 (pZip->m_zip_mode != MZ_ZIP_MODE_WRITING) || (!pArchive_name) ||
6459 if (!mz_zip_writer_validate_archive_name(pArchive_name)) return MZ_FALSE;
6461 archive_name_size = strlen(pArchive_name);
6505 if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pArchive_name,
6619 pZip, pArchive_name, (mz_uint16)archive_name_size, NULL, 0, pComment,
6878 const char *pZip_filename, const char *pArchive_name, const void *pBuf,
6886 if ((!pZip_filename) || (!pArchive_name) || ((buf_size) && (!pBuf)) ||
6890 if (!mz_zip_writer_validate_archive_name(pArchive_name)) return MZ_FALSE;
6908 mz_zip_writer_add_mem_ex(&zip_archive, pArchive_name, pBuf, buf_size,
6923 const char *pArchive_name,
6931 if ((!pZip_filename) || (!pArchive_name)) return NULL;
6939 if ((file_index = mz_zip_reader_locate_file(&zip_archive, pArchive_name, NULL,