/PHP-5.4/ext/spl/ |
H A D | spl_directory.c | 95 if (intern->u.dir.dirp) { in spl_filesystem_object_free_storage() 222 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read() 254 intern->u.dir.index = 0; in spl_filesystem_dir_open() 804 intern->u.dir.index++; in SPL_METHOD() 1539 if (intern->u.dir.sub_path && intern->u.dir.sub_path[0]) { in SPL_METHOD() 1540 …subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path… in SPL_METHOD() 1542 subdir->u.dir.sub_path_len = strlen(intern->u.dir.entry.d_name); in SPL_METHOD() 1543 subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len); in SPL_METHOD() 1564 RETURN_STRINGL(intern->u.dir.sub_path, intern->u.dir.sub_path_len, 1); in SPL_METHOD() 1725 object->u.dir.index++; in spl_filesystem_dir_it_move_forward() [all …]
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | rename_variation12.phpt | 17 /* Creating unique files in various dirs by passing relative paths to $dir arg */ 53 $dir = $allDirs[$i]; 56 $res = rename($dir."/".$fromFile, $dir."/".$toFile); 59 $res = rename($dir."/".$toFile, $dir."/".$fromFile);
|
H A D | disk_free_space_basic.phpt | 25 $dir = "/disk_free_space"; 26 mkdir($file_path.$dir); 28 $space1 = disk_free_space($file_path.$dir); 31 $fh = fopen($file_path.$dir."/disk_free_space.tmp", "a"); 37 $space2 = disk_free_space($file_path.$dir);
|
H A D | lstat_stat_variation17.phpt | 2 Test lstat() and stat() functions: usage variations - effects changing permissions of dir 19 /* test the effects on stats by changing permissions of a dir */ 25 echo "*** Testing lstat() on a dir after changing its access permission ***\n"; 51 *** Testing lstat() on a dir after changing its access permission ***
|
H A D | copy_variation12.phpt | 2 Test copy() function: usage variations - dir as source (Bug #42111) 16 /* Test copy(): Trying to create a copy of an existing dir */ 20 echo "*** Test copy() function: Trying to create a copy of an existing dir ***\n"; 42 *** Test copy() function: Trying to create a copy of an existing dir ***
|
/PHP-5.4/ext/fileinfo/libmagic/ |
H A D | apptype.c | 49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], in file_os2_apptype() local 61 _splitpath(filename, drive, dir, fname, ext); in file_os2_apptype() 63 (*dir == '\0') ? "./" : dir, in file_os2_apptype()
|
H A D | readcdf.c | 233 cdf_dir_t dir; local 265 if ((i = cdf_read_dir(&info, &h, &sat, &dir)) == -1) { 270 if ((i = cdf_read_short_stream(&info, &h, &sat, &dir, &sst)) == -1) { 275 cdf_dump_dir(&info, &h, &sat, &ssat, &sst, &dir); 278 if ((i = cdf_read_summary_info(&info, &h, &sat, &ssat, &sst, &dir, 298 for (j = 0; j < dir.dir_len; j++) { 299 d = &dir.dir_tab[j]; 319 free(dir.dir_tab);
|
/PHP-5.4/ext/phar/tests/ |
H A D | phar_dotted_path.phpt | 12 $dir = dirname(__FILE__) . '/broken.dirname'; 13 mkdir($dir, 0777); 15 $fname = $dir . '/dotted_path.phar';
|
H A D | 019.phpt | 25 $dir = opendir('phar://hio/b'); 27 if ($dir) { 28 while (false !== ($a = readdir($dir))) {
|
/PHP-5.4/ext/simplexml/ |
H A D | config.m4 | 8 PHP_ARG_WITH(libxml-dir, libxml2 install dir, 9 [ --with-libxml-dir=DIR SimpleXML: libxml2 install prefix], no, no)
|
/PHP-5.4/ext/pdo/tests/ |
H A D | bug_50458.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | bug_40285.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | bug61292.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | bug_39398.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | pecl_bug_5772.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | pecl_bug_5809.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | bug_34687.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | bug_43663.phpt | 7 $dir = getenv('REDIR_TEST_DIR'); 8 if (false == $dir) die('skip no driver'); 9 require_once $dir . 'pdo_test.inc';
|
/PHP-5.4/ext/phar/tests/zip/ |
H A D | unixzip.phpt | 11 echo "dir " . $b->getPathName() . "\n"; 23 dir phar://%s/zip.zip%cempty 27 dir phar://%s/zip.zip%cnotempty
|
/PHP-5.4/ext/soap/ |
H A D | config.m4 | 8 PHP_ARG_WITH(libxml-dir, libxml2 install dir, 9 [ --with-libxml-dir=DIR SOAP: libxml2 install prefix], no, no)
|
/PHP-5.4/ext/standard/tests/general_functions/ |
H A D | bug44295.phpt | 10 $dir = '/this/path/does/not/exist'; 17 $iter = new DirectoryIterator($dir); 28 in catch: DirectoryIterator::__construct(/this/path/does/not/exist): failed to open dir: No such fi…
|
/PHP-5.4/ext/standard/tests/dir/ |
H A D | opendir_variation6-win32.phpt | 13 * Source code: ext/standard/dir.c 56 Warning: opendir(%s/opendir_var*): failed to open dir: %s in %s on line %d 61 Warning: opendir(%s/*): failed to open dir: %s in %s on line %d 68 Warning: opendir(%s/opendir_variation6/sub_dir?): failed to open dir: %s in %s on line %d 73 Warning: opendir(%s/opendir_variation6/sub?dir1): failed to open dir: %s in %s on line %d
|
H A D | scandir_error2.phpt | 11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 13 * Source code: ext/standard/dir.c 36 Warning: scandir(%s/idonotexist): failed to open dir: %s in %s on line %d 43 Warning: scandir(/idonotexist): failed to open dir: %s in %s on line %d
|
/PHP-5.4/tests/security/ |
H A D | open_basedir_scandir.phpt | 32 Warning: scandir(../bad): failed to open dir: %s in %s on line %d 39 Warning: scandir(../bad/bad.txt): failed to open dir: %s in %s on line %d 46 Warning: scandir(..): failed to open dir: %s in %s on line %d 53 Warning: scandir(../): failed to open dir: %s in %s on line %d 60 Warning: scandir(/): failed to open dir: %s in %s on line %d 67 Warning: scandir(../bad/.): failed to open dir: %s in %s on line %d 74 Warning: scandir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d 81 Warning: scandir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
|
/PHP-5.4/ext/libxml/tests/ |
H A D | bug61367-read.phpt | 18 $dir = htmlspecialchars(dirname(getcwd())); 19 $dir = str_replace('\\', '/', $dir); // fix for windows 22 <!ENTITY file SYSTEM "file:///$dir/bad">
|