Home
last modified time | relevance | path

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

/php-src/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-src/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-src/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-src/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-src/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-src/sapi/fpm/fpm/
H A Dfpm_unix.c169 acl_permset_t perm; in fpm_unix_resolve_socket_permissions() local
197 0 > acl_get_permset(entry, &perm) || in fpm_unix_resolve_socket_permissions()
198 0 > acl_clear_perms (perm) || in fpm_unix_resolve_socket_permissions()
199 0 > acl_add_perm (perm, ACL_READ) || in fpm_unix_resolve_socket_permissions()
200 0 > acl_add_perm (perm, ACL_WRITE)) { in fpm_unix_resolve_socket_permissions()
229 0 > acl_get_permset(entry, &perm) || in fpm_unix_resolve_socket_permissions()
230 0 > acl_clear_perms (perm) || in fpm_unix_resolve_socket_permissions()
231 0 > acl_add_perm (perm, ACL_READ) || in fpm_unix_resolve_socket_permissions()
232 0 > acl_add_perm (perm, ACL_WRITE)) { in fpm_unix_resolve_socket_permissions()
/php-src/ext/sysvsem/
H A Dsysvsem.c174 zend_long key, max_acquire = 1, perm = 0666; in PHP_FUNCTION() local
181 …if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "l|llb", &key, &max_acquire, &perm, &auto_re… in PHP_FUNCTION()
191 semid = semget(key, 3, perm|IPC_CREAT); in PHP_FUNCTION()
/php-src/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-src/ext/opcache/
H A DZendAccelerator.c3044 char perm[5], dev[10], name[MAXPATHLEN]; in accel_move_code_to_huge_pages() local
3050 …ret = sscanf(buffer, "%lx-%lx %4s %lx %9s %lu %s\n", &start, &end, perm, &offset, dev, &inode, nam… in accel_move_code_to_huge_pages()
3054 if (ret > 6 && perm[0] == 'r' && perm[1] == '-' && perm[2] == 'x' && name[0] == '/' \ in accel_move_code_to_huge_pages()

Completed in 26 milliseconds