Home
last modified time | relevance | path

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

/PHP-8.2/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.2/ext/ftp/tests/
H A Dftp_mlsd.phpt34 ["perm"]=>
53 ["perm"]=>
72 ["perm"]=>
H A Dserver.inc520 …fputs($fs, "modify=20170127230002;perm=flcdmpe;type=cdir;unique=811U4340002;UNIX.group=33;UNIX.mod…
521 …fputs($fs, "modify=20170127230002;perm=flcdmpe;type=pdir;unique=811U4340002;UNIX.group=33;UNIX.mod…
522 …fputs($fs, "modify=20170126121225;perm=adfrw;size=4729;type=file;unique=811U4340CB9;UNIX.group=33;…
/PHP-8.2/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.2/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.2/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.2/sapi/fpm/fpm/
H A Dfpm_unix.c140 acl_permset_t perm; in fpm_unix_resolve_socket_permissions() local
168 0 > acl_get_permset(entry, &perm) || in fpm_unix_resolve_socket_permissions()
169 0 > acl_clear_perms (perm) || in fpm_unix_resolve_socket_permissions()
170 0 > acl_add_perm (perm, ACL_READ) || in fpm_unix_resolve_socket_permissions()
171 0 > acl_add_perm (perm, ACL_WRITE)) { in fpm_unix_resolve_socket_permissions()
200 0 > acl_get_permset(entry, &perm) || in fpm_unix_resolve_socket_permissions()
201 0 > acl_clear_perms (perm) || in fpm_unix_resolve_socket_permissions()
202 0 > acl_add_perm (perm, ACL_READ) || in fpm_unix_resolve_socket_permissions()
203 0 > acl_add_perm (perm, ACL_WRITE)) { in fpm_unix_resolve_socket_permissions()
/PHP-8.2/ext/sysvsem/
H A Dsysvsem.c185 zend_long key, max_acquire = 1, perm = 0666; in PHP_FUNCTION() local
192 …if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "l|llb", &key, &max_acquire, &perm, &auto_re… in PHP_FUNCTION()
202 semid = semget(key, 3, perm|IPC_CREAT); in PHP_FUNCTION()
/PHP-8.2/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.2/ext/opcache/
H A DZendAccelerator.c3045 char perm[5], dev[10], name[MAXPATHLEN]; in accel_move_code_to_huge_pages() local
3049 ret = fscanf(f, "%lx-%lx %4s %lx %9s %lu %s\n", &start, &end, perm, &offset, dev, &inode, name); in accel_move_code_to_huge_pages()
3051 if (perm[0] == 'r' && perm[1] == '-' && perm[2] == 'x' && name[0] == '/') { in accel_move_code_to_huge_pages()

Completed in 28 milliseconds