Searched refs:zipfile (Results 1 - 12 of 12) sorted by relevance

/haiku-fatelf/src/bin/unzip/
H A Dzipgrep21 echo "usage: `basename $0` [egrep_options] pattern zipfile [members...]"
25 zipfile="$1"; shift
41 for i in `unzip -Z1 "$zipfile" ${1+"$@"}`; do
44 unzip -p-L "$zipfile" "$i" | egrep $opt "$pat" > /dev/null && echo $i
48 unzip -p-L "$zipfile" "$i" | egrep $opt "$pat"
51 unzip -p-L "$zipfile" "$i" | egrep $opt "$pat" | sed "s|^|${i}:|"
/haiku-fatelf/src/bin/zip/
H A Dzipcloak.c58 if (zipfile != NULL) free((zvoid *)zipfile);
105 "Usage: zipcloak [-dq] [-b fm] zipfile",
107 "Usage: zipcloak [-dq] [-b path] zipfile",
219 zipfile = tempzip = NULL;
273 if (zipfile != NULL) {
276 } else if ((zipfile = ziptyp(argv[r])) == NULL) {
285 if (zipfile == NULL) ziperr(ZE_PARMS, "need to specify zip file");
288 if ((res = readzipfile()) != ZE_OK) ziperr(res, zipfile);
289 if (zfiles == NULL) ziperr(ZE_NAME, zipfile);
[all...]
H A Dzipnote.c78 if (zipfile != NULL)
79 free((zvoid *)zipfile);
124 "Usage: zipnote [-w] [-q] [-b fm] zipfile",
126 "Usage: zipnote [-w] [-q] [-b path] zipfile",
128 " the default action is to write the comments in zipfile to stdout",
129 " -w write the zipfile comments from stdin",
300 /* Write the comments in the zipfile to stdout, or read them from stdin. */
330 zipfile = tempzip = NULL;
382 if (zipfile == NULL)
384 if ((zipfile
[all...]
H A Dzip.c168 if (latest && zipfile && strcmp(zipfile, "-"))
196 stamp(zipfile, t);
208 if (zipfile != NULL)
210 free((zvoid *)zipfile);
211 zipfile = NULL;
260 if (tempzip != zipfile) {
274 zipfile);
296 if (zipfile != NULL) {
297 free((zvoid *)zipfile);
[all...]
H A Dzipsplit.c154 if (zipfile != NULL)
155 free((zvoid *)zipfile);
200 "Usage: zipsplit [-tipqs] [-n size] [-r room] [-b fm] zipfile",
202 "Usage: zipsplit [-tipqs] [-n size] [-r room] [-b path] zipfile",
539 if (zipfile == NULL)
541 if ((zipfile = ziptyp(argv[r])) == NULL)
561 if (zipfile == NULL)
567 ziperr(r, zipfile);
569 ziperr(ZE_NAME, zipfile);
573 c -= ENDHEAD + 4; /* subtract overhead/zipfile */
[all...]
H A Dglobals.c73 char *zipfile; /* New or existing zip archive (zip file) */ variable
H A Dzipfile.c10 * zipfile.c by Mark Adler.
28 * XXX start of zipfile.h
113 * XXX end of zipfile.h
354 The name of the zip file is pointed to by the global "zipfile". The globals
373 filetime(zipfile, &a, (long*)&s, NULL);
554 fprintf(mesg, "zip warning: %s %s truncated.\n", zipfile,
568 zipfile, zipbeg);
584 The name of the zip file is pointed to by the global "zipfile". The globals
598 char *buf; /* temp buffer for reading zipfile */
942 zipfile, adjus
[all...]
H A Dzipup.c129 local ulg filecompress OF((struct zlist far *z_entry, FILE *zipfile,
963 local ulg filecompress(z_entry, zipfile, cmpr_method)
965 FILE *zipfile;
1037 if (zfwrite(f_obuf, 1, OBUF_SZ, zipfile) != OBUF_SZ) {
1038 ziperr(ZE_TEMP, "error writing to zipfile");
1068 fseekable(zipfile)) {
1071 if (zfwrite(f_ibuf, 1, len_out, zipfile) != len_out) {
1072 ziperr(ZE_TEMP, "error writing to zipfile");
1083 if (zfwrite(f_obuf, 1, len_out, zipfile) != len_out) {
1084 ziperr(ZE_TEMP, "error writing to zipfile");
[all...]
H A Dzip.h128 /* See central header in zipfile.c for what vem..off are */
295 extern char *zipfile; /* New or existing zip archive (zip file) */
317 extern int zipstate; /* flag "zipfile has been stat()'ed */
399 /* in zipfile.c */
H A Dfileio.c379 * a command like "zip -r zipfile FOO:" produces an empty internal name.
458 zipstate = strcmp(zipfile, "-") != 0 &&
459 stat(zipfile, &zipstatb) == 0;
/haiku-fatelf/src/bin/gzip/
H A Dbits.c34 * void bi_init (FILE *zipfile)
97 void bi_init (zipfile)
98 file_t zipfile; /* output zip file, NO_FILE for in-memory compression */
100 zfile = zipfile;
H A Dgzip.h288 void bi_init OF((file_t zipfile));

Completed in 73 milliseconds