Lines Matching refs:perms
79 entry->flags |= PHAR_GET_16(h.unix3.perms) & PHAR_ENT_PERM_MASK; in phar_zip_process_extra()
81 entry->flags |= PHAR_GET_16(h.unix3.perms) & PHAR_ENT_PERM_MASK; in phar_zip_process_extra()
770 phar_zip_unix3 perms; in phar_zip_changed_apply() local
795 memset(&perms, 0, sizeof(perms)); in phar_zip_changed_apply()
798 PHAR_SET_16(central.extra_len, sizeof(perms)); in phar_zip_changed_apply()
799 PHAR_SET_16(local.extra_len, sizeof(perms)); in phar_zip_changed_apply()
800 perms.tag[0] = 'n'; in phar_zip_changed_apply()
801 perms.tag[1] = 'u'; in phar_zip_changed_apply()
802 PHAR_SET_16(perms.size, sizeof(perms) - 4); in phar_zip_changed_apply()
803 PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK); in phar_zip_changed_apply()
806 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply()
807 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply()
808 PHAR_SET_32(perms.crc32, ~crc); in phar_zip_changed_apply()
959 …try->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + sizeof(perms); in phar_zip_changed_apply()
1003 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply()
1008 if (sizeof(perms) != php_stream_write(p->centralfp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply()