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