Lines Matching refs:perms
111 entry->flags |= PHAR_GET_16(h.unix3.perms) & PHAR_ENT_PERM_MASK; in phar_zip_process_extra()
113 entry->flags |= PHAR_GET_16(h.unix3.perms) & PHAR_ENT_PERM_MASK; in phar_zip_process_extra()
873 phar_zip_unix3 perms; in phar_zip_changed_apply_int() local
898 memset(&perms, 0, sizeof(perms)); in phar_zip_changed_apply_int()
901 PHAR_SET_16(central.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
902 PHAR_SET_16(local.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
903 perms.tag[0] = 'n'; in phar_zip_changed_apply_int()
904 perms.tag[1] = 'u'; in phar_zip_changed_apply_int()
905 PHAR_SET_16(perms.size, sizeof(perms) - 4); in phar_zip_changed_apply_int()
906 PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK); in phar_zip_changed_apply_int()
909 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply_int()
910 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply_int()
911 PHAR_SET_32(perms.crc32, php_crc32_bulk_end(crc)); in phar_zip_changed_apply_int()
1055 …try->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + sizeof(perms); in phar_zip_changed_apply_int()
1099 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()
1104 if (sizeof(perms) != php_stream_write(p->centralfp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()