Lines Matching refs:central

792 	phar_zip_central_dir_file central;  in phar_zip_changed_apply_int()  local
814 memset(&central, 0, sizeof(central)); in phar_zip_changed_apply_int()
817 strncpy(central.signature, "PK\1\2", 4); in phar_zip_changed_apply_int()
818 PHAR_SET_16(central.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
832 PHAR_SET_16(central.compressed, PHAR_ZIP_COMP_DEFLATE); in phar_zip_changed_apply_int()
837 PHAR_SET_16(central.compressed, PHAR_ZIP_COMP_BZIP2); in phar_zip_changed_apply_int()
843 memcpy(central.timestamp, local.timestamp, sizeof(local.timestamp)); in phar_zip_changed_apply_int()
844 memcpy(central.datestamp, local.datestamp, sizeof(local.datestamp)); in phar_zip_changed_apply_int()
845 PHAR_SET_16(central.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply_int()
847 PHAR_SET_32(central.offset, php_stream_tell(p->filefp)); in phar_zip_changed_apply_int()
889 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
895 PHAR_SET_32(central.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
940 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
948 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
950 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
960 PHAR_SET_32(central.crc32, entry->crc32); in phar_zip_changed_apply_int()
974 PHAR_SET_16(central.comment_len, ZSTR_LEN(entry->metadata_str.s)); in phar_zip_changed_apply_int()
985 if (sizeof(central) != php_stream_write(p->centralfp, (char *)&central, sizeof(central))) { in phar_zip_changed_apply_int()