Home
last modified time | relevance | path

Searched refs:dir_name (Results 1 – 25 of 27) sorted by relevance

12

/php-src/ext/standard/tests/file/
H A Dglob_variation2.phpt8 $dir_name = 'glob_test';
11 mkdir("$file_path/$dir_name");
14 $fp = fopen("$file_path/$dir_name/file.text", "w");
19 chdir("$file_path/$dir_name");
21 var_dump( glob("../$dir_name/*"));
24 var_dump( glob("$dir_name/*"));
25 var_dump( glob("$dir_name"));
H A Dis_dir_basic.phpt12 $dir_name = $file_path."/is_dir_basic";
13 mkdir($dir_name);
14 var_dump( is_dir($dir_name) );
25 $dir_name = $file_path."/is_dir_basic";
26 rmdir($dir_name);
H A Dtempnam_variation5-win32.phpt17 $dir_name = $file_path."/tempnam_variation5";
18 mkdir($dir_name);
19 $h = fopen($dir_name."/tempnam_variation5.tmp", "w");
23 $created_file = tempnam("$dir_name", "tempnam_variation5.tmp");
36 unlink($dir_name."/tempnam_variation5.tmp");
37 rmdir($dir_name);
H A Dtempnam_variation5.phpt15 $dir_name = $file_path."/tempnam_variation5";
16 mkdir($dir_name);
17 $h = fopen($dir_name."/tempnam_variation5.tmp", "w");
21 $created_file = tempnam("$dir_name", "tempnam_variation5.tmp");
34 unlink($dir_name."/tempnam_variation5.tmp");
35 rmdir($dir_name);
H A Dfileowner_basic.phpt21 $dir_name = $file_path."/fileowner_basic";
22 mkdir($dir_name);
23 var_dump( fileowner($dir_name) );
31 $dir_name = $file_path."/fileowner_basic";
33 rmdir($dir_name);
H A Dlstat_stat_variation5.phpt20 $dir_name = "$file_path/lstat_stat_variation5";
21 @rmdir($dir_name); //ensure that dir doesn't exists
22 mkdir($dir_name); // temp dir
26 $old_stat = stat($dir_name);
30 var_dump( touch($dir_name) );
31 $new_stat = stat($dir_name);
H A Dis_file_variation4.phpt10 $dir_name = $file_path."/is_file_variation4";
11 mkdir($dir_name);
12 $file_handle = fopen($dir_name."/is_file_variation4.tmp", "w");
50 $dir_name = $file_path."/is_file_variation4";
51 unlink($dir_name."/is_file_variation4.tmp");
52 rmdir($dir_name);
H A Dfilegroup_basic.phpt30 $dir_name = $file_path."/filegroup_basic";
31 mkdir($dir_name);
32 var_dump( filegroup($dir_name) );
46 $dir_name = $file_path."/filegroup_basic";
48 rmdir($dir_name);
H A Drename_variation9.phpt11 $dir_name = "$file_path/rename_variation_dir9";
14 mkdir($dir_name);
16 var_dump( rename($dir_name, $new_dir_name, $context) );
17 var_dump( file_exists($dir_name) ); // expecting flase
H A Dfilegroup_variation3.phpt13 $dir_name = $file_path."/filegroup_variation3";
14 mkdir($dir_name);
15 $file_handle = fopen($dir_name."/filegroup_variation3.tmp", "w");
53 $dir_name = $file_path."/filegroup_variation3";
54 unlink($dir_name."/filegroup_variation3.tmp");
55 rmdir($dir_name);
H A Dfileinode_variation3.phpt12 $dir_name = $file_path."/fileinode_variation3";
13 mkdir($dir_name);
14 $file_handle = fopen($dir_name."/fileinode_variation3.tmp", "w");
52 $dir_name = $file_path."/fileinode_variation3";
53 unlink($dir_name."/fileinode_variation3.tmp");
54 rmdir($dir_name);
H A Dfileowner_variation3.phpt13 $dir_name = $file_path."/fileowner_variation3";
14 mkdir($dir_name);
15 $file_handle = fopen($dir_name."/fileowner_variation3.tmp", "w");
53 $dir_name = $file_path."/fileowner_variation3";
54 unlink($dir_name."/fileowner_variation3.tmp");
55 rmdir($dir_name);
H A Dfileperms_variation3.phpt12 $dir_name = $file_path."/fileperms_variation3";
13 mkdir($dir_name);
14 $file_handle = fopen($dir_name."/fileperms_variation3.tmp", "w");
52 $dir_name = $file_path."/fileperms_variation3";
53 unlink($dir_name."/fileperms_variation3.tmp");
54 rmdir($dir_name);
H A Dis_dir_variation4.phpt10 $dir_name = "/is_dir_variation4";
11 mkdir($file_path.$dir_name);
49 $dir_name = $file_path."/is_dir_variation4";
50 rmdir($dir_name);
H A Dis_dir_variation1.phpt26 $dir_name = $file_path."/is_dir_variation1";
27 rmdir($dir_name."/is_dir_variation1_sub");
28 rmdir($dir_name);
H A Drename_variation8.phpt23 $dir_name = $file_path."/rename_basic_dir";
24 mkdir($dir_name);
26 var_dump( rename($dir_name, $new_dir_name) );
28 var_dump( file_exists($dir_name) ); // expecting false
H A Drename_variation8-win32.phpt23 $dir_name = $file_path."/rename_basic_dir";
24 mkdir($dir_name);
26 var_dump( rename($dir_name, $new_dir_name) );
28 var_dump( file_exists($dir_name) ); // expecting false
H A D006_variation2.phpt19 $dir_name = __DIR__."/006_variation2";
20 mkdir($dir_name);
62 var_dump( chmod($dir_name, $permission) );
63 printf("%o", fileperms($dir_name) );
H A Dtempnam_variation8-win32.phpt15 $dir_name = __DIR__."\\tempnam_variation8";
16 mkdir($dir_name);
17 $dir_path = $dir_name."/tempnam_variation8_sub";
81 rmdir($dir_name);
H A Dtempnam_variation2-win32.phpt13 $dir_name = __DIR__."/tempnam_variation2";
14 mkdir($dir_name);
15 $dir_path = $dir_name."/tempnam_variation2_sub";
82 rmdir($dir_name);
H A Dtempnam_variation2.phpt13 $dir_name = __DIR__."/tempnam_variation2";
14 mkdir($dir_name);
15 $dir_path = $dir_name."/tempnam_variation2_sub";
82 rmdir($dir_name);
H A Dlstat_stat_variation18.phpt26 $dir_name = new names("$file_path/lstat_stat_variation18");
37 var_dump( stat($dir_name->var_name) );
H A Dtempnam_variation4-0.phpt19 $dir_name = $file_path."/tempnam_variation4-0";
22 mkdir($dir_name);
25 chmod($dir_name, $mode);
26 $file_name = tempnam($dir_name, $prefix);
29 if (dirname($file_name) != $dir_name) {
44 rmdir($dir_name);
H A Dtempnam_variation4-1.phpt19 $dir_name = $file_path."/tempnam_variation4-1";
22 mkdir($dir_name);
25 chmod($dir_name, $mode);
26 $file_name = tempnam($dir_name, $prefix);
29 if (dirname($file_name) != $dir_name) {
44 rmdir($dir_name);
/php-src/ext/gettext/
H A Dgettext.c183 char *retval, dir_name[MAXPATHLEN], *btd_result; in PHP_FUNCTION() local
207 if (!VCWD_REALPATH(ZSTR_VAL(dir), dir_name)) { in PHP_FUNCTION()
210 } else if (!VCWD_GETCWD(dir_name, MAXPATHLEN)) { in PHP_FUNCTION()
214 retval = bindtextdomain(ZSTR_VAL(domain), dir_name); in PHP_FUNCTION()

Completed in 21 milliseconds

12