Home
last modified time | relevance | path

Searched refs:dir (Results 201 – 225 of 528) sorted by relevance

12345678910>>...22

/PHP-5.5/ext/pdo/tests/
H A Dbug_39656.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dpdo_020.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dpdo_032.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dpdo_019.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
/PHP-5.5/ext/dom/
H A Dconfig.m49 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
10 [ --with-libxml-dir[=DIR] DOM: libxml2 install prefix], no, no)
/PHP-5.5/ext/standard/tests/dir/
H A Dopendir_error2.phpt13 * Source code: ext/standard/dir.c
36 Warning: opendir(%s/idonotexist): failed to open dir: %s in %s on line %d
41 Warning: opendir(idonotexist): failed to open dir: %s in %s on line %d
H A Dscandir_variation7.phpt20 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
22 * Source code: ext/standard/dir.c
59 chmod ($dir_path, 0777); // change dir permission to allow all operation
64 // change the dir permisson to test dir on it
H A Dscandir_variation3.phpt5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
7 * Source code: ext/standard/dir.c
17 $dir = dirname(__FILE__) . '/scandir_variation3';
18 mkdir($dir);
94 var_dump( scandir($dir, $sorting_order, $input) );
103 $dir = dirname(__FILE__) . '/scandir_variation3';
104 rmdir($dir);
/PHP-5.5/ext/standard/tests/file/
H A Dfileowner_error.phpt11 /* Non-existing file or dir */
12 var_dump( fileowner("/no/such/file/dir") );
28 Warning: fileowner(): stat failed for /no/such/file/dir in %s on line %d
H A Drename_variation11-win32.phpt56 $dir = $allDirs[$i];
59 $res = rename($dir."\\".$fromFile, $dir."\\".$toFile);
62 $res = rename($dir."\\".$toFile, $dir."\\".$fromFile);
H A Dfile_put_contents_variation8-win32.phpt32 "/no/such/file/dir" => "/no/such/file/dir",
89 -- Filename: /no/such/file/dir --
91 Warning: file_put_contents(/no/such/file/dir): failed to open stream: %s in %s on line %d
92 Failed to write data to: /no/such/file/dir
H A Dstat_variation6-win32.phpt2 Test stat() functions: usage variations - changing permissions of dir/file
17 /* test the effects on the stats of dir/file for changing permissions of dir/file */
26 mkdir($dirname); // temp dir
H A Dmkdir_variation5.phpt54 foreach($dirs as $dir) {
55 echo "-- creating $dir --\n";
56 $res = mkdir($dir);
59 rmdir($dir);
H A Dtempnam_variation3-win32.phpt10 /* Prototype: string tempnam ( string $dir, string $prefix );
19 echo "Failed, cannot create temp dir $filepath\n";
40 "/no/such/file/dir",
64 /* creating the files in existing dir */
H A Dtempnam_variation3.phpt10 /* Prototype: string tempnam ( string $dir, string $prefix );
33 "/no/such/file/dir",
42 /* creating the files in existing dir */
56 echo "temp dir\n";
115 File name is => %s/dir%s
H A Dlstat_stat_variation2.phpt2 Test lstat() and stat() functions: usage variations - effects of rename() on dir
18 /* test the effects of rename() on stats of dir */
24 mkdir("$file_path/lstat_stat_variation1/"); // temp dir
/PHP-5.5/ext/standard/tests/image/
H A Dimage_type_to_mime_type.phpt11 $dir = opendir(dirname(__FILE__)) or die('cannot open directory: '.dirname(__FILE__));
14 while (($file = readdir($dir)) !== FALSE) {
19 closedir($dir);
/PHP-5.5/main/streams/
H A Dphp_stream_plain_wrapper.h48 PHPAPI php_stream *_php_stream_fopen_temporary_file(const char *dir, const char *pfx, char **opened…
49 #define php_stream_fopen_temporary_file(dir, pfx, opened_path) _php_stream_fopen_temporary_file((di… argument
/PHP-5.5/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc56 * @param string $dir
58 function mkdir($dir)
60 $this->zip->addEmptyDir($dir);
/PHP-5.5/ext/gettext/
H A Dgettext.c55 ZEND_ARG_INFO(0, dir)
248 char *domain, *dir; in PHP_NAMED_FUNCTION() local
252 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &domain, &domain_len, &dir, &dir_len) =… in PHP_NAMED_FUNCTION()
263 if (dir[0] != '\0' && strcmp(dir, "0")) { in PHP_NAMED_FUNCTION()
264 if (!VCWD_REALPATH(dir, dir_name)) { in PHP_NAMED_FUNCTION()
/PHP-5.5/ext/standard/tests/general_functions/
H A Dbug60723.phpt8 $dir = dirname(__FILE__);
9 $log = $dir . "/tmp.err";
/PHP-5.5/ext/zlib/tests/
H A Dgzopen_variation4.phpt68 gzwrite($h, "This is a file in working dir");
80 //should read the file in working dir
88 gzwrite($h, "This is a file in script dir");
91 //should read the file in script dir
114 This is a file in working dir
115 This is a file in script dir
158 This is a file in working dir
159 This is a file in script dir
/PHP-5.5/ext/spl/tests/
H A Diterator_002.phpt39 $dir = new RecursiveIteratorIterator(new CrashIterator(new RecursiceArrayIterator($array)), Recursi…
41 foreach ($dir as $file) {
/PHP-5.5/ext/phar/tests/
H A Ddir.phpt23 mkdir($pname . '/another/dir/');
24 var_dump($phar['another/dir']->isDir());
25 rmdir($pname . '/another/dir/');
28 var_dump(file_exists($pname . '/another/dir/'));
30 var_dump(file_exists($pname3 . '/another/dir/'));
47 rmdir($pname . '/another/dir');
85 Warning: rmdir(): phar error: cannot rmdir directory "phar://%sdir.phar.php/another/dir", write ope…
/PHP-5.5/ext/fileinfo/libmagic/
H A Dcdf.c611 dir->dir_len = ns * nd; in cdf_read_dir()
613 calloc(dir->dir_len, sizeof(dir->dir_tab[0]))); in cdf_read_dir()
614 if (dir->dir_tab == NULL) in cdf_read_dir()
618 free(dir->dir_tab); in cdf_read_dir()
644 free(dir->dir_tab); in cdf_read_dir()
704 if (i == dir->dir_len) in cdf_read_short_stream()
706 d = &dir->dir_tab[i]; in cdf_read_short_stream()
750 d = &dir->dir_tab[i - 1]; in cdf_read_summary_info()
1147 const cdf_dir_t *dir) in cdf_dump_dir() argument
1159 d = &dir->dir_tab[i]; in cdf_dump_dir()
[all …]

Completed in 54 milliseconds

12345678910>>...22