Lines Matching refs:central

826 	phar_zip_central_dir_file central;  in phar_zip_changed_apply_int()  local
849 memset(&central, 0, sizeof(central)); in phar_zip_changed_apply_int()
852 memcpy(central.signature, "PK\1\2", 4); in phar_zip_changed_apply_int()
853 PHAR_SET_16(central.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
867 PHAR_SET_16(central.compressed, PHAR_ZIP_COMP_DEFLATE); in phar_zip_changed_apply_int()
872 PHAR_SET_16(central.compressed, PHAR_ZIP_COMP_BZIP2); in phar_zip_changed_apply_int()
878 memcpy(central.timestamp, local.timestamp, sizeof(local.timestamp)); in phar_zip_changed_apply_int()
879 memcpy(central.datestamp, local.datestamp, sizeof(local.datestamp)); in phar_zip_changed_apply_int()
880 PHAR_SET_16(central.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply_int()
883 general_purpose_flags = PHAR_GET_16(central.flags); in phar_zip_changed_apply_int()
884 PHAR_SET_16(central.flags, general_purpose_flags | (1 << 11)); in phar_zip_changed_apply_int()
887 PHAR_SET_32(central.offset, php_stream_tell(p->filefp)); in phar_zip_changed_apply_int()
929 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
935 PHAR_SET_32(central.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
980 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
988 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
990 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
1000 PHAR_SET_32(central.crc32, entry->crc32); in phar_zip_changed_apply_int()
1014 PHAR_SET_16(central.comment_len, ZSTR_LEN(entry->metadata_str.s)); in phar_zip_changed_apply_int()
1025 if (sizeof(central) != php_stream_write(p->centralfp, (char *)&central, sizeof(central))) { in phar_zip_changed_apply_int()