Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 12 of 12) sorted by relevance

/PHP-8.0/ext/standard/tests/file/
H A D006_basic.phpt15 fopen($path."/perm.tmp", "w");
16 var_dump( chmod($path."/perm.tmp", 0755 ) );
17 printf("%o", fileperms($path."/perm.tmp") );
21 mkdir($path."/perm");
22 var_dump( chmod( $path."/perm", 0777 ) );
23 printf("%o", fileperms($path."/perm") );
31 unlink(__DIR__."/perm.tmp");
32 rmdir(__DIR__."/perm");
/PHP-8.0/ext/ftp/tests/
H A Dftp_mlsd.phpt35 ["perm"]=>
54 ["perm"]=>
73 ["perm"]=>
H A Dserver.inc537 …fputs($fs, "modify=20170127230002;perm=flcdmpe;type=cdir;unique=811U4340002;UNIX.group=33;UNIX.mod…
538 …fputs($fs, "modify=20170127230002;perm=flcdmpe;type=pdir;unique=811U4340002;UNIX.group=33;UNIX.mod…
539 …fputs($fs, "modify=20170126121225;perm=adfrw;size=4729;type=file;unique=811U4340CB9;UNIX.group=33;…
/PHP-8.0/ext/phar/tests/cache_list/files/
H A Dphar_test.inc18 $perm = 0x000001B6;
24 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
/PHP-8.0/ext/phar/tests/files/
H A Dphar_test.inc18 $perm = 0x000001B6;
24 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
/PHP-8.0/ext/standard/tests/file/windows_acls/
H A Dcommon.inc64 function icacls_set($path, $mode, $perm) {
70 if ($perm & PHPT_ACL_READ) $perm_entry[] = 'R';
71 if ($perm & PHPT_ACL_WRITE) $perm_entry[] = 'W';
72 if ($perm & PHPT_ACL_EXEC) $perm_entry[] = 'RX';
73 if ($perm & PHPT_ACL_FULL) $perm_entry[] = 'F';
79 if ($perm & PHPT_ACL_NONE) {
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_unix.c79 acl_permset_t perm; in fpm_unix_resolve_socket_premissions() local
108 0 > acl_get_permset(entry, &perm) || in fpm_unix_resolve_socket_premissions()
109 0 > acl_clear_perms (perm) || in fpm_unix_resolve_socket_premissions()
110 0 > acl_add_perm (perm, ACL_READ) || in fpm_unix_resolve_socket_premissions()
111 0 > acl_add_perm (perm, ACL_WRITE)) { in fpm_unix_resolve_socket_premissions()
141 0 > acl_get_permset(entry, &perm) || in fpm_unix_resolve_socket_premissions()
142 0 > acl_clear_perms (perm) || in fpm_unix_resolve_socket_premissions()
143 0 > acl_add_perm (perm, ACL_READ) || in fpm_unix_resolve_socket_premissions()
144 0 > acl_add_perm (perm, ACL_WRITE)) { in fpm_unix_resolve_socket_premissions()
/PHP-8.0/ext/standard/tests/dir/
H A Dscandir_variation7.phpt41 foreach ($permission_values as $perm) {
52 var_dump( chmod($dir_path, $perm) );
H A Dopendir_variation7.phpt44 foreach ($permission_values as $perm) {
55 var_dump( chmod($dir_path, $perm) );
H A Dreaddir_variation5.phpt43 foreach($permission_values as $perm) {
53 var_dump( chmod($dir_path, $perm) );
/PHP-8.0/ext/sysvsem/
H A Dsysvsem.c191 zend_long key, max_acquire = 1, perm = 0666; in PHP_FUNCTION() local
198 …if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "l|llb", &key, &max_acquire, &perm, &auto_re… in PHP_FUNCTION()
208 semid = semget(key, 3, perm|IPC_CREAT); in PHP_FUNCTION()
/PHP-8.0/ext/opcache/
H A DZendAccelerator.c2810 char perm[5], dev[10], name[MAXPATHLEN]; in accel_move_code_to_huge_pages() local
2814 ret = fscanf(f, "%lx-%lx %4s %lx %9s %ld %s\n", &start, &end, perm, &offset, dev, &inode, name); in accel_move_code_to_huge_pages()
2816 if (perm[0] == 'r' && perm[1] == '-' && perm[2] == 'x' && name[0] == '/') { in accel_move_code_to_huge_pages()

Completed in 45 milliseconds