Lines Matching refs:central

771 	phar_zip_central_dir_file central;  in phar_zip_changed_apply()  local
794 memset(&central, 0, sizeof(central)); in phar_zip_changed_apply()
797 strncpy(central.signature, "PK\1\2", 4); in phar_zip_changed_apply()
798 PHAR_SET_16(central.extra_len, sizeof(perms)); in phar_zip_changed_apply()
812 PHAR_SET_16(central.compressed, PHAR_ZIP_COMP_DEFLATE); in phar_zip_changed_apply()
817 PHAR_SET_16(central.compressed, PHAR_ZIP_COMP_BZIP2); in phar_zip_changed_apply()
823 memcpy(central.timestamp, local.timestamp, sizeof(local.timestamp)); in phar_zip_changed_apply()
824 memcpy(central.datestamp, local.datestamp, sizeof(local.datestamp)); in phar_zip_changed_apply()
825 PHAR_SET_16(central.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply()
827 PHAR_SET_32(central.offset, php_stream_tell(p->filefp)); in phar_zip_changed_apply()
869 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply()
875 PHAR_SET_32(central.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply()
920 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply()
928 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply()
930 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply()
940 PHAR_SET_32(central.crc32, entry->crc32); in phar_zip_changed_apply()
955 PHAR_SET_16(central.comment_len, entry->metadata_str.len); in phar_zip_changed_apply()
966 if (sizeof(central) != php_stream_write(p->centralfp, (char *)&central, sizeof(central))) { in phar_zip_changed_apply()