Searched refs:zipf (Results 1 – 7 of 7) sorted by relevance
| /openbsd-src/gnu/usr.bin/gcc/gcc/java/ |
| H A D | zextract.c | 276 read_zip_archive (zipf) in read_zip_archive() argument 277 register ZipFile *zipf; in read_zip_archive() 284 zipf->size = lseek (zipf->fd, 0L, SEEK_END); 286 if (zipf->size < (ECREC_SIZE+4) || lseek (zipf->fd, (long)(-(ECREC_SIZE+4)), SEEK_CUR) <= 0) 288 if (read (zipf->fd, buffer, ECREC_SIZE+4) != ECREC_SIZE+4) 290 zipf->count = makeword(&buffer[TOTAL_ENTRIES_CENTRAL_DIR]); 291 zipf->dir_size = makelong(&buffer[SIZE_CENTRAL_DIRECTORY]); 294 zipf->central_directory = ALLOC (zipf->dir_size+1); 295 if (lseek (zipf->fd, -(zipf->dir_size+ECREC_SIZE+4), SEEK_CUR) < 0) 297 if (read (zipf->fd, zipf->central_directory, zipf->dir_size) < 0) [all …]
|
| H A D | jcf-io.c | 109 struct ZipFile* zipf; variable 112 for (zipf = SeenZipFiles; zipf != NULL; zipf = zipf->next) 114 if (strcmp (zipf->name, zipfile) == 0) 115 return zipf; 118 zipf = ALLOC (sizeof (struct ZipFile) + strlen (zipfile) + 1); 119 zipf->next = SeenZipFiles; 120 zipf->name = (char*)(zipf+1); 121 strcpy (zipf->name, zipfile); 122 SeenZipFiles = zipf; 124 zipf->fd = fd; [all …]
|
| H A D | zipfile.h | 45 ZipFile *zipf; member
|
| H A D | jcf-parse.c | 549 current_jcf->zipd, current_jcf->zipd->zipf);
|
| H A D | parse.c | 10440 ZipFile *zipf; local 10444 zipf = opendir_in_zip (filename->data, jcf_path_is_system (entry)); 10445 if (zipf == NULL) 10449 ZipDirectory *zipd = (ZipDirectory *) zipf->central_directory; 10458 for (k = 0; k < zipf->count; k++, zipd = ZIPDIR_NEXT (zipd))
|
| H A D | parse.y | 6875 ZipFile *zipf; local 6879 zipf = opendir_in_zip (filename->data, jcf_path_is_system (entry)); 6880 if (zipf == NULL) 6884 ZipDirectory *zipd = (ZipDirectory *) zipf->central_directory; 6893 for (k = 0; k < zipf->count; k++, zipd = ZIPDIR_NEXT (zipd))
|
| H A D | ChangeLog | 3975 (struct ZipDirectory): New field zipf points to owning ZipFile. 3980 * zextract.c (read_zip_archive): Set ZipDirectory's zipf field.
|