Home
last modified time | relevance | path

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

12345678910>>...25

/PHP-7.1/ext/standard/tests/file/
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 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 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.phpt2 Test copy() function: usage variations - dir as source (Bug #42111)
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 Dlstat_stat_variation17.phpt2 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";
50 *** Testing lstat() on a dir after changing its access permission ***
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);
H A Dbug41655_2.phpt7 $dir = dirname(__FILE__);
8 $a=glob($dir . "/test*csv");
/PHP-7.1/ext/spl/
H A Dspl_directory.c95 if (intern->u.dir.dirp) { in spl_filesystem_object_free_storage()
211 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
243 intern->u.dir.index = 0; in spl_filesystem_dir_open()
627 ZVAL_STRINGL(&tmp, intern->u.dir.sub_path, intern->u.dir.sub_path_len); in spl_filesystem_object_get_debug_info()
802 intern->u.dir.index++; in SPL_METHOD()
1513 if (intern->u.dir.sub_path && intern->u.dir.sub_path[0]) { in SPL_METHOD()
1514 …subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path… in SPL_METHOD()
1516 subdir->u.dir.sub_path_len = strlen(intern->u.dir.entry.d_name); in SPL_METHOD()
1517 subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len); in SPL_METHOD()
1537 RETURN_STRINGL(intern->u.dir.sub_path, intern->u.dir.sub_path_len); in SPL_METHOD()
[all …]
/PHP-7.1/ext/fileinfo/libmagic/
H A Dreadcdf.c364 dir, "Catalog", scn)) <= 0) in cdf_file_catalog_info()
409 cdf_file_dir_info(struct magic_set *ms, const cdf_dir_t *dir) in cdf_file_dir_info() argument
416 if (cdf_find_stream(dir, si->sections[j], si->types[j]) in cdf_file_dir_info()
448 cdf_dir_t dir; in file_trycdf() local
480 if ((i = cdf_read_dir(&info, &h, &sat, &dir)) == -1) { in file_trycdf()
491 cdf_dump_dir(&info, &h, &sat, &ssat, &sst, &dir); in file_trycdf()
536 &dir, &scn); in file_trycdf()
539 i = cdf_file_dir_info(ms, &dir); in file_trycdf()
558 for (j = 0; str == NULL && j < dir.dir_len; j++) { in file_trycdf()
559 d = &dir.dir_tab[j]; in file_trycdf()
[all …]
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()
/PHP-7.1/ext/phar/tests/
H A D027.phpt28 $dir = opendir($phar . $base);
33 while (false !== ($entry = readdir($dir))) {
48 echo "fseek on dir handle\n";
52 echo "fwrite on dir handle\n";
78 fseek on dir handle
85 fwrite on dir handle
90 Warning: opendir(phar://): failed to open dir: phar error: no directory in "phar://", must have at …
94 Warning: opendir(phar://foo.phar/hi): failed to open dir: phar error: invalid url or non-existent p…
H A D027U.phpt28 $dir = opendir($phar . $base);
33 while (false !== ($entry = readdir($dir))) {
48 echo "fseek on dir handle\n";
52 echo "fwrite on dir handle\n";
78 fseek on dir handle
85 fwrite on dir handle
90 Warning: opendir(phar://): failed to open dir: phar error: no directory in "phar://", must have at …
94 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 = dirname(__FILE__) . '/broken.dirname';
13 mkdir($dir, 0777);
15 $fname = $dir . '/dotted_path.phar';
/PHP-7.1/ext/libxml/
H A Dconfig0.m49 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
10 [ --with-libxml-dir[=DIR] LIBXML: libxml2 install prefix], no, no)
/PHP-7.1/ext/xmlwriter/
H A Dconfig.m49 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
10 [ --with-libxml-dir=DIR XMLWriter: libxml2 install prefix], no, no)
/PHP-7.1/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.1/ext/zlib/tests/
H A Dreadgzfile_variation15.phpt53 gzwrite($h, "This is a file in working dir");
64 //should read the file in working dir
71 gzwrite($h, "This is a file in script dir");
74 //should read the file in script dir
91 file content:This is a file in working dir
92 file content:This is a file in script dir
/PHP-7.1/ext/xmlreader/
H A Dconfig.m49 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
10 [ --with-libxml-dir=DIR XMLReader: libxml2 install prefix], no, no)
/PHP-7.1/ext/ftp/
H A Dconfig.m48 PHP_ARG_WITH(openssl-dir,OpenSSL dir for FTP,
9 [ --with-openssl-dir[=DIR] FTP: openssl install prefix], no, no)
/PHP-7.1/ext/pdo/tests/
H A Dbug_72788.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_40285.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_50458.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
/PHP-7.1/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-7.1/ext/simplexml/
H A Dconfig.m48 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
9 [ --with-libxml-dir=DIR SimpleXML: libxml2 install prefix], no, no)

Completed in 59 milliseconds

12345678910>>...25