/PHP-5.5/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.5/ext/standard/tests/file/ |
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 | 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);
|
/PHP-5.5/ext/spl/ |
H A D | spl_directory.c | 95 if (intern->u.dir.dirp) { in spl_filesystem_object_free_storage() 225 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read() 257 intern->u.dir.index = 0; in spl_filesystem_dir_open() 807 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() 1563 RETURN_STRINGL(intern->u.dir.sub_path, intern->u.dir.sub_path_len, 1); in SPL_METHOD() 1723 object->u.dir.index++; in spl_filesystem_dir_it_move_forward() [all …]
|
/PHP-5.5/ext/pdo/tests/ |
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';
|
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 | 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_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_39398.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
/PHP-5.5/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.5/ext/phar/tests/ |
H A D | 019.phpt | 25 $dir = opendir('phar://hio/b'); 27 if ($dir) { 28 while (false !== ($a = readdir($dir))) {
|
/PHP-5.5/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.5/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.5/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
|
H A D | scandir_variation2.phpt | 5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 7 * Source code: ext/standard/dir.c 17 $dir = dirname(__FILE__) . '/scandir_variation2'; 18 mkdir($dir); 93 var_dump( scandir($dir, $input) ); 102 $dir = dirname(__FILE__) . '/scandir_variation2'; 103 rmdir($dir);
|
/PHP-5.5/ext/standard/ |
H A D | php_dir.h | 25 PHP_MINIT_FUNCTION(dir); 26 PHP_RINIT_FUNCTION(dir);
|
/PHP-5.5/ext/spl/tests/ |
H A D | array_009.phpt | 8 $dir = new RecursiveIteratorIterator(new RecursiveArrayIterator($array), RecursiveIteratorIterator:… 10 foreach ($dir as $file) {
|
/PHP-5.5/tests/basic/ |
H A D | req60524.phpt | 4 sys_temp_dir=/path/to/temp/dir 14 /path/to/temp/dir
|
/PHP-5.5/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">
|
/PHP-5.5/ext/zip/tests/ |
H A D | oo_setcomment.phpt | 23 $zip->addFromString('dir/entry2d.txt', 'entry #2'); 30 var_dump($zip->setCommentName('dir/entry2d.txt', 'dir/entry2d.txt')); 68 string(15) "dir/entry2d.txt"
|
/PHP-5.5/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.5/scripts/dev/ |
H A D | check_parameters.php | 359 foreach($dirs as $dir) { 360 if (is_dir($dir)) { 361 if (!is_readable($dir)) { 362 echo "ERROR: directory '", $dir ,"' is not readable\n"; 366 echo "ERROR: bogus directory '", $dir ,"'\n"; 371 foreach ($dirs as $dir) { 372 recurse(realpath($dir));
|