Searched refs:perm (Results 1 – 11 of 11) sorted by relevance
/PHP-7.1/ext/standard/tests/file/ |
H A D | 006_basic.phpt | 33 fopen($path."/perm.tmp", "w"); 34 var_dump( chmod($path."/perm.tmp", 0755 ) ); 35 printf("%o", fileperms($path."/perm.tmp") ); 39 mkdir($path."/perm"); 40 var_dump( chmod( $path."/perm", 0777 ) ); 41 printf("%o", fileperms($path."/perm") ); 49 unlink(dirname(__FILE__)."/perm.tmp"); 50 rmdir(dirname(__FILE__)."/perm");
|
/PHP-7.1/ext/phar/tests/cache_list/files/ |
H A D | phar_test.inc | 20 $perm = 0x000001B6; 26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
|
/PHP-7.1/ext/phar/tests/files/ |
H A D | phar_test.inc | 20 $perm = 0x000001B6; 26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
|
/PHP-7.1/ext/standard/tests/file/windows_acls/ |
H A D | common.inc | 59 function icacls_set($path, $mode, $perm) { 65 if ($perm & PHPT_ACL_READ) $perm_entry[] = 'R'; 66 if ($perm & PHPT_ACL_WRITE) $perm_entry[] = 'W'; 67 if ($perm & PHPT_ACL_EXEC) $perm_entry[] = 'RX'; 68 if ($perm & PHPT_ACL_FULL) $perm_entry[] = 'F'; 74 if ($perm & PHPT_ACL_NONE) {
|
/PHP-7.1/sapi/fpm/fpm/ |
H A D | fpm_unix.c | 80 acl_permset_t perm; in fpm_unix_resolve_socket_premissions() local 109 0 > acl_get_permset(entry, &perm) || in fpm_unix_resolve_socket_premissions() 110 0 > acl_clear_perms (perm) || in fpm_unix_resolve_socket_premissions() 111 0 > acl_add_perm (perm, ACL_READ) || in fpm_unix_resolve_socket_premissions() 112 0 > acl_add_perm (perm, ACL_WRITE)) { in fpm_unix_resolve_socket_premissions() 142 0 > acl_get_permset(entry, &perm) || in fpm_unix_resolve_socket_premissions() 143 0 > acl_clear_perms (perm) || in fpm_unix_resolve_socket_premissions() 144 0 > acl_add_perm (perm, ACL_READ) || in fpm_unix_resolve_socket_premissions() 145 0 > acl_add_perm (perm, ACL_WRITE)) { in fpm_unix_resolve_socket_premissions()
|
/PHP-7.1/ext/sysvsem/ |
H A D | sysvsem.c | 63 ZEND_ARG_INFO(0, perm) 191 zend_long key, max_acquire = 1, perm = 0666, auto_release = 1; in PHP_FUNCTION() local 197 …if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "l|lll", &key, &max_acquire, &perm, &auto_re… in PHP_FUNCTION() 207 semid = semget(key, 3, perm|IPC_CREAT); in PHP_FUNCTION()
|
/PHP-7.1/ext/standard/tests/dir/ |
H A D | scandir_variation7.phpt | 54 foreach ($permission_values as $perm) { 65 var_dump( chmod($dir_path, $perm) );
|
H A D | opendir_variation7.phpt | 57 foreach ($permission_values as $perm) { 68 var_dump( chmod($dir_path, $perm) );
|
H A D | readdir_variation5.phpt | 56 foreach($permission_values as $perm) { 66 var_dump( chmod($dir_path, $perm) );
|
/PHP-7.1/ext/sysvshm/ |
H A D | sysvshm.c | 46 ZEND_ARG_INFO(0, perm)
|
/PHP-7.1/ext/opcache/ |
H A D | ZendAccelerator.c | 2740 char perm[5], dev[6], name[MAXPATHLEN]; in accel_move_code_to_huge_pages() local 2743 ret = fscanf(f, "%lx-%lx %4s %lx %5s %ld %s\n", &start, &end, perm, &offset, dev, &inode, name); in accel_move_code_to_huge_pages() 2744 if (ret == 7 && perm[0] == 'r' && perm[1] == '-' && perm[2] == 'x' && name[0] == '/') { in accel_move_code_to_huge_pages()
|
Completed in 22 milliseconds