Lines Matching refs:local

563 			phar_zip_file_header local;  in phar_parse_zipfile()  local
569 if (sizeof(local) != php_stream_read(fp, (char *) &local, sizeof(local))) { in phar_parse_zipfile()
575local.filename_len) || entry.crc32 != PHAR_GET_32(local.crc32) || entry.uncompressed_filesize != P… in phar_parse_zipfile()
582 …sizeof(local) + entry.header_offset + PHAR_GET_16(local.filename_len) + PHAR_GET_16(local.extra_le… in phar_parse_zipfile()
769 phar_zip_file_header local; in phar_zip_changed_apply() local
793 memset(&local, 0, sizeof(local)); in phar_zip_changed_apply()
796 strncpy(local.signature, "PK\3\4", 4); in phar_zip_changed_apply()
799 PHAR_SET_16(local.extra_len, sizeof(perms)); in phar_zip_changed_apply()
813 PHAR_SET_16(local.compressed, PHAR_ZIP_COMP_DEFLATE); in phar_zip_changed_apply()
818 PHAR_SET_16(local.compressed, PHAR_ZIP_COMP_BZIP2); in phar_zip_changed_apply()
822 phar_zip_u2d_time(entry->timestamp, local.timestamp, local.datestamp); 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()
826 PHAR_SET_16(local.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0)); in phar_zip_changed_apply()
870 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply()
876 PHAR_SET_32(local.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply()
921 PHAR_SET_32(local.compsize, entry->compressed_filesize); in phar_zip_changed_apply()
929 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply()
931 PHAR_SET_32(local.compsize, entry->compressed_filesize); in phar_zip_changed_apply()
941 PHAR_SET_32(local.crc32, entry->crc32); in phar_zip_changed_apply()
959 …offset = entry->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + si… in phar_zip_changed_apply()
961 if (sizeof(local) != php_stream_write(p->filefp, (char *)&local, sizeof(local))) { in phar_zip_changed_apply()