Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 24 of 24) sorted by relevance

/PHP-8.4/ext/standard/tests/file/windows_acls/
H A Dbug44859.phpt24 foreach ($iteration as $perms => $exp) {
25 create_file($path, $perms);
40 foreach ($iteration as $perms => $exp) {
41 create_dir($path, $perms);
H A Dbug44859_2.phpt24 foreach ($iteration as $perms => $exp) {
25 create_file($path, $perms);
40 foreach ($iteration as $perms => $exp) {
41 create_dir($path, $perms);
H A Dbug44859_4.phpt26 foreach ($iteration as $perms => $exp) {
27 create_file($path, $perms);
42 foreach ($iteration as $perms => $exp) {
43 create_dir($path, $perms);
H A Dcommon.inc136 function create_dir($name, $perms) {
144 icacls_set($name, PHPT_ACL_GRANT, $perms);
147 function create_file($name, $perms) {
154 icacls_set($name, PHPT_ACL_GRANT, $perms);
/PHP-8.4/ext/phar/
H A Dzip.c873 phar_zip_unix3 perms; in phar_zip_changed_apply_int() local
898 memset(&perms, 0, 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()
1099 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()
[all …]
H A Dpharzip.h142 char perms[2]; /* Mode Short file permissions */ member
H A Dphar_object.stub.php548 public function chmod(int $perms): void {} argument
H A Dphar_object.c4651 zend_long perms; in PHP_METHOD() local
4653 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &perms) == FAILURE) { in PHP_METHOD()
4682 perms &= 0777; in PHP_METHOD()
4683 entry_obj->entry->flags |= perms; in PHP_METHOD()
H A Dphar_object_arginfo.h364 ZEND_ARG_TYPE_INFO(0, perms, IS_LONG, 0)
/PHP-8.4/ext/sysvmsg/
H A Dsysvmsg.c218 zend_long perms = 0666; in PHP_FUNCTION() local
221 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &key, &perms) == FAILURE) { in PHP_FUNCTION()
232 mq->id = msgget(key, IPC_CREAT | IPC_EXCL | perms); in PHP_FUNCTION()
/PHP-8.4/ext/standard/tests/file/
H A Dcopy_variation15.phpt2 Test copy() function: usage variations - destination dir access perms
H A Dcopy_variation9.phpt2 Test copy() function: usage variations - destination file access perms
H A Dsymlink_link_linkinfo_is_link_variation6.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & dir perms.
H A Dis_executable_variation2.phpt2 Test is_executable() function: usage variations - file/dir with diff. perms
H A Dis_readable_variation2.phpt2 Test is_readable() function: usage variations - file/dir with diff. perms
H A Dis_writable_variation2.phpt2 …t is_writable() and its alias is_writeable() function: usage variations - file/dir with diff. perms
H A D006_variation2.phpt2 Test fileperms() & chmod() functions: usage variation - misc. perms
H A Dfile.inc151 Function: int change_file_perms(string $file_path, int $count = 1, int $perms = 0755,
157 $perms = new permission of the file, similar to $mode args of chmod() call
167 $perms = 0755,
182 if( chmod($filename, $perms) )
H A Dumask_variation1.phpt2 Test umask() function: usage variations - perms from 0000 to 0350
H A Dumask_variation2.phpt2 Test umask() function: usage variations - perms from 0351 to 0777
H A D006_variation1.phpt2 Test fileperms() & chmod() functions: usage variation - perms(0000-0777)
H A Dmkdir_rmdir_variation1.phpt2 Test mkdir() and rmdir() functions: usage variations - perms(0000-0777)
/PHP-8.4/ext/mysqli/tests/
H A Dlocal_infile_tools.inc82 …printf("[%03d + 4] Cannot change the file perms of '%s' from 0600 to 0644, MySQL might not be able…
/PHP-8.4/ext/fileinfo/
H A Dlibmagic.patch1639 - * Fstat is cheaper but fails for files you don't have read perms on.

Completed in 51 milliseconds