Home
last modified time | relevance | path

Searched refs:zipentry (Results 1 – 25 of 41) sorted by relevance

12

/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/fastjar/
H A Djartool.h102 struct zipentry { struct
112 struct zipentry *next_entry; argument
115 typedef struct zipentry zipentry; typedef
H A Djartool.c270 void add_entry(struct zipentry *);
695 struct zipentry *ze; in make_manifest()
717 ze = (zipentry*)malloc(sizeof(zipentry)); in make_manifest()
767 ze = (zipentry*)malloc(sizeof(zipentry)); in make_manifest()
853 zipentry *ze; in add_to_jar()
923 ze = (zipentry*)malloc(sizeof(zipentry)); in add_to_jar()
993 struct zipentry *ze; in add_file_to_jar()
1030 ze = (zipentry*)malloc(sizeof(zipentry)); in add_file_to_jar()
1138 zipentry *ze; in create_central_header()
1283 zipentry ze; in extract_jar()
[all …]
H A Dcompress.h52 int compress_file(int in_fd, int out_fd, struct zipentry *ze);
58 int inflate_file(pb_file *, int, struct zipentry *);
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/fastjar/
H A Djartool.h102 struct zipentry { struct
112 struct zipentry *next_entry; argument
115 typedef struct zipentry zipentry; typedef
H A Djartool.c270 void add_entry(struct zipentry *);
695 struct zipentry *ze; in make_manifest()
717 ze = (zipentry*)malloc(sizeof(zipentry)); in make_manifest()
767 ze = (zipentry*)malloc(sizeof(zipentry)); in make_manifest()
853 zipentry *ze; in add_to_jar()
923 ze = (zipentry*)malloc(sizeof(zipentry)); in add_to_jar()
993 struct zipentry *ze; in add_file_to_jar()
1030 ze = (zipentry*)malloc(sizeof(zipentry)); in add_file_to_jar()
1138 zipentry *ze; in create_central_header()
1283 zipentry ze; in extract_jar()
[all …]
H A Dcompress.h52 int compress_file(int in_fd, int out_fd, struct zipentry *ze);
58 int inflate_file(pb_file *, int, struct zipentry *);
/dports/archivers/fastjar/fastjar/
H A Djartool.h107 struct zipentry { struct
118 struct zipentry *next_entry; argument
121 typedef struct zipentry zipentry; typedef
H A Dcompress.h52 int compress_file(int, int, struct zipentry *, struct zipentry *);
58 int inflate_file(pb_file *, int, struct zipentry *);
H A Djartool.c755 struct zipentry *ze; in find_entry()
769 struct zipentry *ze; in looks_like_dir()
869 ze = (struct zipentry *) malloc (sizeof (struct zipentry)); in read_entries()
947 ze = (zipentry*)malloc(sizeof(zipentry)); in make_manifest()
997 ze = (zipentry*)malloc(sizeof(zipentry)); in make_manifest()
1091 zipentry *ze; in add_to_jar()
1159 ze = (zipentry*)malloc(sizeof(zipentry)); in add_to_jar()
1305 ze = (zipentry*)malloc(sizeof(zipentry)); in add_file_to_jar()
1476 zipentry *ze; in create_central_header()
1621 zipentry ze; in extract_jar()
[all …]
H A Dshift.h26 int shift_down (int, off_t, off_t, struct zipentry *);
27 int shift_up (int, off_t, off_t, struct zipentry *);
H A Dcompress.c118 int write_data (int, void *, size_t, struct zipentry *);
146 struct zipentry *ze __attribute__((unused))) in write_data()
149 struct zipentry *next = NULL; in write_data()
172 int compress_file(int in_fd, int out_fd, struct zipentry *ze, in compress_file()
173 struct zipentry *existing) in compress_file()
320 int inflate_file(pb_file *pbf, int out_fd, struct zipentry *ze){ in inflate_file()
H A Dshift.c47 shift_up (int fd, off_t begin, off_t amount, struct zipentry *ze) in shift_up()
115 shift_down (int fd, off_t begin, off_t amount, struct zipentry *ze) in shift_down()
/dports/lang/php73/php-7.3.33/ext/phar/
H A Dzip.c340 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
343 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
348 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
359 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
361 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
365 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
371 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
453 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
462 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
522 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/archivers/php74-phar/php-7.4.27/ext/phar/
H A Dzip.c368 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
371 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
376 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
387 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
389 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
393 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
399 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
486 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
495 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
555 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/archivers/php73-phar/php-7.3.33/ext/phar/
H A Dzip.c340 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
343 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
348 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
359 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
361 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
365 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
371 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
453 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
462 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
522 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/lang/php74/php-7.4.27/ext/phar/
H A Dzip.c368 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
371 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
376 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
387 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
389 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
393 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
399 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
486 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
495 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
555 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/www/mod_php73/php-7.3.33/ext/phar/
H A Dzip.c340 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
343 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
348 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
359 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
361 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
365 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
371 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
453 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
462 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
522 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/www/mod_php74/php-7.4.27/ext/phar/
H A Dzip.c368 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
371 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
376 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
387 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
389 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
393 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
399 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
486 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
495 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
555 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/archivers/php81-phar/php-8.1.1/ext/phar/
H A Dzip.c361 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
367 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
372 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
383 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
385 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
389 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
395 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
482 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
491 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
551 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/archivers/php80-phar/php-8.0.15/ext/phar/
H A Dzip.c361 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
367 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
372 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
383 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
385 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
389 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
395 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
482 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
491 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
551 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/www/mod_php81/php-8.1.1/ext/phar/
H A Dzip.c361 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
367 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
372 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
383 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
385 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
389 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
395 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
482 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
491 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
551 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/lang/php80/php-8.0.15/ext/phar/
H A Dzip.c361 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
367 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
372 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
383 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
385 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
389 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
395 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
482 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
491 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
551 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/lang/php81/php-8.1.1/ext/phar/
H A Dzip.c361 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
367 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
372 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
383 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
385 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
389 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
395 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
482 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
491 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
551 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/www/mod_php80/php-8.0.15/ext/phar/
H A Dzip.c361 phar_zip_central_dir_file zipentry; in phar_parse_zipfile() local
367 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
372 if (memcmp("PK\1\2", zipentry.signature, 4)) { in phar_parse_zipfile()
383 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile()
385 entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp); in phar_parse_zipfile()
389 PHAR_GET_16(zipentry.extra_len); in phar_parse_zipfile()
395 if (!PHAR_GET_16(zipentry.filename_len)) { in phar_parse_zipfile()
482 if (PHAR_GET_16(zipentry.extra_len)) { in phar_parse_zipfile()
491 switch (PHAR_GET_16(zipentry.compressed)) { in phar_parse_zipfile()
551 if (PHAR_GET_16(zipentry.comment_len)) { in phar_parse_zipfile()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/modules/
H A DZipUtils.jsm117 let zipentry = zipReader.getEntry(name);
120 if (zipentry.isDirectory) {
128 let options = { unixMode: zipentry.permissions | FileUtils.PERMS_FILE };
131 if (zipentry.realSize == 0)

12