Lines Matching refs:source
14 This encryption/decryption source code for Info-Zip software was
15 originally written in Europe. The whole source package can be
20 Previous versions of this source package (up to version 2.8) were
80 /* "last resort" source for second part of crypt seed pattern */
215 * Encrypt the zip entry described by z from file source to file dest
218 int zipcloak(z, source, dest, passwd)
220 FILE *source, *dest; /* source and destination files */
244 if (fseek(source, (long)(4 + LOCHEAD + (ulg)z->nam + (ulg)z->ext),
246 return ferror(source) ? ZE_READ : ZE_EOF;
251 if ((c = getc(source)) == EOF) {
252 return ferror(source) ? ZE_READ : ZE_EOF;
258 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {
259 return ferror(source) ? ZE_READ : ZE_EOF;
266 * Decrypt the zip entry described by z from file source to file dest
269 int zipbare(z, source, dest, passwd)
271 FILE *source, *dest; /* source and destination files */
282 if ((offset = (ulg)ftell(source)) == (ulg)-1L ||
283 fseek(source, (long)(4 + LOCHEAD + (ulg)z->nam + (ulg)z->ext),
285 return ferror(source) ? ZE_READ : ZE_EOF;
294 if ((c1 = getc(source)) == EOF) {
295 return ferror(source) ? ZE_READ : ZE_EOF;
314 if (fseek(source, offset, SEEK_SET)) {
315 return ferror(source) ? ZE_READ : ZE_EOF;
317 if ((res = zipcopy(z, source, dest)) != ZE_OK) return res;
333 if ((c1 = getc(source)) == EOF) {
334 return ferror(source) ? ZE_READ : ZE_EOF;
340 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {
341 return ferror(source) ? ZE_READ : ZE_EOF;