Lines Matching refs:zipfile
100 /* Set the filetype of the zipfile to "application/zip" */
105 /* Set the filetype of the zipfile to "application/x-zip" */
110 /* Set the Creator/Type of the zipfile to 'IZip' and 'ZIP ' */
115 /* Set the filetype of the zipfile to &DDC */
243 if (zipfile != NULL)
244 free((zvoid *)zipfile);
289 "Usage: zipsplit [-tipqs] [-n size] [-r room] [-b fm] zipfile",
291 "Usage: zipsplit [-tipqs] [-n size] [-r room] [-b path] zipfile",
667 if (zipfile == NULL)
669 if ((zipfile = ziptyp(argv[r])) == NULL)
689 if (zipfile == NULL)
692 if ((in_path = malloc(strlen(zipfile) + 1)) == NULL) {
695 strcpy(in_path, zipfile);
699 ziperr(r, zipfile);
701 ziperr(ZE_NAME, zipfile);
705 c -= ENDHEAD + 4; /* subtract overhead/zipfile */
756 free((zvoid *)zipfile);
757 zipfile = NULL;
822 q = LastDir(zipfile);
825 if ((q = strrchr(zipfile, ']')) != NULL)
828 if (((q = strrchr(zipfile, '/')) != NULL)
829 || ((q = strrchr(zipfile, ':'))) != NULL)
832 if ((q = strrchr(zipfile, '.')) != NULL)
835 if ((q = strrchr(zipfile, '.')) != NULL)
837 if ((q = strrchr(zipfile, '/')) != NULL)
844 q = zipfile;
865 if ((e = fopen(zipfile, FOPR)) == NULL)
866 ziperr(ZE_NAME, zipfile);
867 free((zvoid *)zipfile);
868 zipfile = NULL;
927 ziperr(ferror(e) ? ZE_READ : ZE_EOF, zipfile);
937 ziperr(r, zipfile);