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()
819 phar_zip_unix3 perms; in phar_zip_changed_apply_int() local
844 memset(&perms, 0, sizeof(perms)); in phar_zip_changed_apply_int()
847 PHAR_SET_16(central.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
848 PHAR_SET_16(local.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
849 perms.tag[0] = 'n'; in phar_zip_changed_apply_int()
850 perms.tag[1] = 'u'; in phar_zip_changed_apply_int()
851 PHAR_SET_16(perms.size, sizeof(perms) - 4); in phar_zip_changed_apply_int()
852 PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK); in phar_zip_changed_apply_int()
855 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply_int()
856 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply_int()
857 PHAR_SET_32(perms.crc32, ~crc); in phar_zip_changed_apply_int()
1004 …try->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + sizeof(perms); in phar_zip_changed_apply_int()
1048 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()
1053 if (sizeof(perms) != php_stream_write(p->centralfp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()