Home
last modified time | relevance | path

Searched refs:dir (Results 101 – 125 of 560) sorted by relevance

12345678910>>...23

/PHP-7.4/ext/zlib/tests/
H A Dgzopen_variation5.phpt20 $thisTestDir = "gzopenVariation5.dir";
44 echo "Not created in working dir\n";
47 echo "created in working dir\n";
66 created in working dir
68 created in working dir
H A Dzlib_scheme_dir_basic.phpt11 $inputFileName = __DIR__."/dir.gz";
23 Warning: opendir(compress.zlib://%s/dir.gz): failed to open dir: not implemented in %s on line %d
/PHP-7.4/ext/standard/tests/file/
H A Dfopen_variation7.phpt15 $thisTestDir = basename(__FILE__, ".php") . ".dir";
40 echo "Not created in working dir\n";
43 echo "created in working dir\n";
61 created in working dir
63 created in working dir
H A Dfopen_variation9.phpt15 $thisTestDir = basename(__FILE__, ".php") . ".dir";
40 echo "Not created in working dir\n";
43 echo "created in working dir\n";
61 created in working dir
63 created in working dir
H A D005_error.phpt27 var_dump( fileatime("/no/such/file/or/dir") );
28 var_dump( filemtime("/no/such/file/or/dir") );
29 var_dump( filectime("/no/such/file/or/dir") );
30 var_dump( touch("/no/such/file/or/dir", 10) );
46 var_dump( fileatime("/no/such/file/or/dir", "string") );
47 var_dump( filemtime("/no/such/file/or/dir", 100) );
48 var_dump( filectime("/no/such/file/or/dir", TRUE) );
49 var_dump( touch("/no/such/file/or/dir", 10, 100, 123) );
63 Warning: fileatime(): stat failed for /no/such/file/or/dir in %s on line %d
66 Warning: filemtime(): stat failed for /no/such/file/or/dir in %s on line %d
[all …]
H A Dstat_variation3-win32.phpt2 Test stat() functions: usage variations - effects of creating/deleting the dir/file
17 /* test the effects of creating & deleting of subdir/file on the stats of dir/file */
24 mkdir("$file_path/stat_variation3/"); // temp dir
28 // creating and deleting subdir and files in the dir
29 echo "-- Testing stat() on dir after subdir and file is created in it --\n";
69 -- Testing stat() on dir after subdir and file is created in it --
H A Dis_dir_variation4.phpt10 /* Passing dir names with different notations, using slashes, wild-card chars */
14 echo "*** Testing is_dir() with different notations of dir names ***";
39 foreach($dirs_arr as $dir) {
41 var_dump( is_dir($file_path."/".$dir ) );
54 *** Testing is_dir() with different notations of dir names ***
H A Dlstat_stat_variation8.phpt22 /* test the effects on stats with creating file/subdir in a dir
26 mkdir("$file_path/lstat_stat_variation8/"); // temp dir
28 // creating and deleting subdir and files in the dir
29 echo "*** Testing stat() on dir after subdir and file is created in it ***\n";
57 *** Testing stat() on dir after subdir and file is created in it ***
H A Dfiletype_error.phpt8 dir, block, link, file, and unknown.
12 /* non-existing file or dir */
13 print( filetype("/no/such/file/dir") );
29 Warning: filetype(): Lstat failed for /no/such/file/dir in %s on line %d
H A Dcopy_variation12-win32.phpt2 Test copy() function: usage variations - dir as source
15 /* Test copy(): Trying to create a copy of an existing dir */
19 echo "*** Test copy() function: Trying to create a copy of an existing dir ***\n";
39 *** Test copy() function: Trying to create a copy of an existing dir ***
H A Dbug41655_2.phpt7 $dir = __DIR__;
8 $a=glob($dir . "/test*csv");
/PHP-7.4/ext/intl/tests/
H A Dresourcebundle.build9 $dir = new GlobIterator("$here/_files/*.txt", FilesystemIterator::KEY_AS_FILENAME);
11 foreach($dir as $file) {
15 $dir = new GlobIterator("$here/_files/resourcebundle/*.res", FilesystemIterator::KEY_AS_FILENAME);
16 foreach($dir as $file) {
/PHP-7.4/ext/standard/tests/image/
H A Dgetimagesize_246x247.phpt10 $dir = opendir(__DIR__) or die('cannot open directory: '.__DIR__);
13 while (($file = readdir($dir)) !== FALSE) {
18 closedir($dir);
H A Dgetimagesize_384x385.phpt10 $dir = opendir(__DIR__) or die('cannot open directory: '.__DIR__);
13 while (($file = readdir($dir)) !== FALSE) {
18 closedir($dir);
/PHP-7.4/tests/basic/
H A Dreq60524.phpt4 sys_temp_dir=/path/to/temp/dir
8 /path/to/temp/dir
/PHP-7.4/ext/fileinfo/libmagic/
H A Dreadcdf.c367 dir, "Catalog", scn)) == -1) in cdf_file_catalog_info()
398 for (j = 0; str == NULL && j < dir->dir_len; j++) { in cdf_check_summary_info()
399 d = &dir->dir_tab[j]; in cdf_check_summary_info()
420 dir, scn); in cdf_check_summary_info()
541 cdf_dir_t dir; in file_trycdf() local
574 if ((i = cdf_read_dir(&info, &h, &sat, &dir)) == -1) { in file_trycdf()
585 cdf_dump_dir(&info, &h, &sat, &ssat, &sst, &dir); in file_trycdf()
632 &sst, &dir, &scn)) == -1) { in file_trycdf()
638 &sst, &dir, &scn, root_storage, &expn); in file_trycdf()
642 i = cdf_file_dir_info(ms, &dir); in file_trycdf()
[all …]
/PHP-7.4/ext/zip/tests/
H A Doo_rename.phpt22 $zip->addFromString('dir/entry2.txt', 'entry #2');
38 "dir/entry2.txt"
49 if (!$zip->renameName('dir/entry2.txt', 'dir3/ren_entry2.txt')) {
50 echo "failed name dir/entry2.txt\n";
/PHP-7.4/tests/security/
H A Dopen_basedir_opendir.phpt32 Warning: opendir(../bad): failed to open dir: %s in %s on line %d
37 Warning: opendir(../bad/bad.txt): failed to open dir: %s in %s on line %d
42 Warning: opendir(..): failed to open dir: %s in %s on line %d
47 Warning: opendir(../): failed to open dir: %s in %s on line %d
52 Warning: opendir(/): failed to open dir: %s in %s on line %d
57 Warning: opendir(../bad/.): failed to open dir: %s in %s on line %d
62 Warning: opendir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
67 Warning: opendir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
/PHP-7.4/ext/phar/tests/
H A D027.phpt27 $dir = opendir($phar . $base);
32 while (false !== ($entry = readdir($dir))) {
47 echo "fseek on dir handle\n";
51 echo "fwrite on dir handle\n";
77 fseek on dir handle
84 fwrite on dir handle
89 Warning: opendir(phar://): failed to open dir: phar error: no directory in "phar://", must have at …
93 Warning: opendir(phar://foo.phar/hi): failed to open dir: phar error: invalid url or non-existent p…
H A Dphar_dotted_path.phpt12 $dir = __DIR__ . '/broken.dirname';
13 mkdir($dir, 0777);
15 $fname = $dir . '/dotted_path.phar';
/PHP-7.4/ext/standard/tests/dir/
H A Dopendir_variation6.phpt13 * Source code: ext/standard/dir.c
54 Warning: opendir(%s/opendir_var*): failed to open dir: %s in %s on line %d
57 Warning: opendir(%s/*): failed to open dir: %s in %s on line %d
62 Warning: opendir(%s/opendir_variation6/sub_dir?): failed to open dir: %s in %s on line %d
65 Warning: opendir(%s/opendir_variation6/sub?dir1): failed to open dir: %s in %s on line %d
/PHP-7.4/ext/filter/tests/
H A D041.phpt9 abc=dir; def=true; abc=root; xyz="foo bar";
23 string(3) "dir"
30 string(3) "dir"
/PHP-7.4/ext/pdo/tests/
H A Dbug_77849.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_34687.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_39398.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';

Completed in 32 milliseconds

12345678910>>...23