Home | History | Annotate | Download | only in dae

Lines Matching refs:zipFile

149 bool daeZAEUncompressHandler::extractArchive( unzFile zipFile, const std::string& destDir )

154 if (unzGetGlobalInfo (zipFile, &globalZipInfo) == UNZ_OK)
158 if (!extractFile(zipFile, destDir))
166 if (unzGoToNextFile(zipFile) != UNZ_OK)
184 bool daeZAEUncompressHandler::extractFile( unzFile zipFile, const std::string& destDir )
190 int fileInfoResult = unzGetCurrentFileInfo(zipFile, &fileInfo, currentFileName, sizeof(currentFileName), 0, 0, 0, 0);
203 if (unzOpenCurrentFile(zipFile) == UNZ_OK)
214 readBytes = unzReadCurrentFile(zipFile, buffer, BUFFER_SIZE);
222 if (unzCloseCurrentFile(zipFile) == UNZ_CRCERROR)
261 unzFile zipFile = unzOpen(filePath.c_str());
262 if (zipFile == NULL)
277 if (!extractArchive(zipFile, tmpDir))
289 unzClose(zipFile);