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()
790 phar_zip_unix3 perms; in phar_zip_changed_apply_int() local
814 memset(&perms, 0, sizeof(perms)); in phar_zip_changed_apply_int()
817 PHAR_SET_16(central.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
818 PHAR_SET_16(local.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
819 perms.tag[0] = 'n'; in phar_zip_changed_apply_int()
820 perms.tag[1] = 'u'; in phar_zip_changed_apply_int()
821 PHAR_SET_16(perms.size, sizeof(perms) - 4); in phar_zip_changed_apply_int()
822 PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK); in phar_zip_changed_apply_int()
825 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply_int()
826 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply_int()
827 PHAR_SET_32(perms.crc32, ~crc); in phar_zip_changed_apply_int()
977 …try->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + sizeof(perms); in phar_zip_changed_apply_int()
1021 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()
1026 if (sizeof(perms) != php_stream_write(p->centralfp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()