Lines Matching refs:source
12 This encryption/decryption source code for Info-Zip software was
13 originally written in Europe. The whole source package can be
18 Previous versions of this source package (up to version 2.8) were
77 /* "last resort" source for second part of crypt seed pattern */
212 * Encrypt the zip entry described by z from file source to file dest
215 int zipcloak(z, source, dest, passwd)
217 FILE *source, *dest; /* source and destination files */
241 if (fseek(source, (long)(4 + LOCHEAD + (ulg)z->nam + (ulg)z->ext),
243 return ferror(source) ? ZE_READ : ZE_EOF;
248 if ((c = getc(source)) == EOF) {
249 return ferror(source) ? ZE_READ : ZE_EOF;
255 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {
256 return ferror(source) ? ZE_READ : ZE_EOF;
263 * Decrypt the zip entry described by z from file source to file dest
266 int zipbare(z, source, dest, passwd)
268 FILE *source, *dest; /* source and destination files */
279 if ((offset = (ulg)ftell(source)) == (ulg)-1L ||
280 fseek(source, (long)(4 + LOCHEAD + (ulg)z->nam + (ulg)z->ext),
282 return ferror(source) ? ZE_READ : ZE_EOF;
291 if ((c1 = getc(source)) == EOF) {
292 return ferror(source) ? ZE_READ : ZE_EOF;
311 if (fseek(source, offset, SEEK_SET)) {
312 return ferror(source) ? ZE_READ : ZE_EOF;
314 if ((res = zipcopy(z, source, dest)) != ZE_OK) return res;
330 if ((c1 = getc(source)) == EOF) {
331 return ferror(source) ? ZE_READ : ZE_EOF;
337 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {
338 return ferror(source) ? ZE_READ : ZE_EOF;