Home
last modified time | relevance | path

Searched refs:dir (Results 126 – 150 of 528) sorted by relevance

12345678910>>...22

/PHP-5.5/ext/fileinfo/libmagic/
H A Dapptype.c49 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 Dreadcdf.c233 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 Ddisk_free_space_basic.phpt25 $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 Drename_variation12.phpt17 /* 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 Dspl_directory.c95 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 Dbug_43663.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
9 require_once $dir . 'pdo_test.inc';
H A Dpecl_bug_5772.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dpecl_bug_5809.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug61292.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';
/PHP-5.5/ext/soap/
H A Dconfig.m48 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 D019.phpt25 $dir = opendir('phar://hio/b');
27 if ($dir) {
28 while (false !== ($a = readdir($dir))) {
/PHP-5.5/ext/phar/tests/zip/
H A Dunixzip.phpt11 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 Dbug44295.phpt10 $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 Dopendir_variation6-win32.phpt13 * 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 Dscandir_error2.phpt11 /* 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 Dscandir_variation2.phpt5 /* 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 Dphp_dir.h25 PHP_MINIT_FUNCTION(dir);
26 PHP_RINIT_FUNCTION(dir);
/PHP-5.5/ext/spl/tests/
H A Darray_009.phpt8 $dir = new RecursiveIteratorIterator(new RecursiveArrayIterator($array), RecursiveIteratorIterator:…
10 foreach ($dir as $file) {
/PHP-5.5/tests/basic/
H A Dreq60524.phpt4 sys_temp_dir=/path/to/temp/dir
14 /path/to/temp/dir
/PHP-5.5/ext/libxml/tests/
H A Dbug61367-read.phpt18 $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 Doo_setcomment.phpt23 $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 Dopen_basedir_scandir.phpt32 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 Dcheck_parameters.php359 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));

Completed in 38 milliseconds

12345678910>>...22