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()
843 phar_zip_unix3 perms; in phar_zip_changed_apply_int() local
868 memset(&perms, 0, sizeof(perms)); in phar_zip_changed_apply_int()
871 PHAR_SET_16(central.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
872 PHAR_SET_16(local.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
873 perms.tag[0] = 'n'; in phar_zip_changed_apply_int()
874 perms.tag[1] = 'u'; in phar_zip_changed_apply_int()
875 PHAR_SET_16(perms.size, sizeof(perms) - 4); in phar_zip_changed_apply_int()
876 PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK); in phar_zip_changed_apply_int()
879 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply_int()
880 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply_int()
881 PHAR_SET_32(perms.crc32, php_crc32_bulk_end(crc)); in phar_zip_changed_apply_int()
1025 …try->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + sizeof(perms); in phar_zip_changed_apply_int()
1069 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()
1074 if (sizeof(perms) != php_stream_write(p->centralfp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()