Searched refs:dir (Results 1 - 25 of 65) sorted by relevance

123

/PHP_5_3/TSRM/
H A Dreaddir.h34 char *dir; /* the dir we are reading */ member in struct:__anon3
/PHP_5_3/build/
H A Dconfig-stubs5 dir=$1; shift
6 for stubfile in $dir/*/config0.m4 $dir/*/config.m4 $dir/*/config9.m4; do
/PHP_5_3/ext/phar/phar/
H A Dpharcommand.inc249 self::notice("PEAR package PHP_Archive: corrupt or inaccessible base dir: $php_dir.\n");
634 $dir = new RecursiveDirectoryIterator($input);
635 $dir = new RecursiveIteratorIterator($dir);
638 $dir = new RegexIterator($dir, $regex);
642 $dir = new InvertedRegexIterator($dir, $invregex);
646 foreach($dir as $file) {
648 self::phar_add_file($phar, $level, $dir
[all...]
/PHP_5_3/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc56 * @param string $dir
58 function mkdir($dir)
60 $this->zip->addEmptyDir($dir);
/PHP_5_3/ext/spl/examples/
H A Dautoload.inc13 * Tries to load class $classname from directory $dir.
15 function __load_class($classname, $dir)
17 $file = $dir . '/' . $classname . '.inc';
39 foreach($inc as $dir)
41 if (__load_class($classname, $dir))
H A Dphar_from_dir.php33 $dir = new RecursiveDirectoryIterator($argv[2]); variable
34 $dir = new RecursiveIteratorIterator($dir); variable
37 $dir = new RegexIterator($dir, '/'.$argv[3].'/'); variable
42 foreach($dir as $file)
/PHP_5_3/ext/zip/tests/
H A Dutils.inc10 function rmdir_rf($dir) {
11 if ($handle = opendir($dir)) {
14 if (is_dir($dir . '/' . $item)) {
15 rmdir_rf($dir . '/' . $item);
17 unlink($dir . '/' . $item);
22 rmdir($dir);
/PHP_5_3/
H A Dltmain.sh311 # func_extract_an_archive dir oldlib
1545 -inst-prefix-dir)
1563 dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
1565 case $dir in
1568 absdir=`cd "$dir" && pwd`
1570 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
1571 absdir="$dir"
1572 notinst_path="$notinst_path $dir"
1574 dir="$absdir"
1578 *" -L$dir "*) ;;
[all...]
/PHP_5_3/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));
H A Dextern_c.php3 function scan_dir($dir) {
4 if (!is_dir($dir)) return;
6 foreach (glob("$dir/*") as $file) {
39 foreach ($_SERVER["argv"] as $dir) {
40 scan_dir($dir);
H A Dfind_tested.php178 function get_phpt_files($dir, &$phpt_file_count, &$all_phpt)
180 $thisdir = dir($dir.'/'); //include the trailing slash
/PHP_5_3/scripts/
H A Dphp-config.in53 --extension-dir)
55 --include-dir)
63 --man-dir)
77 --extension-dir [$extension_dir]
78 --include-dir [$include_dir]
79 --man-dir [$man_dir]
/PHP_5_3/win32/build/
H A Dconfutils.js515 // returns the dir in which the file was found,
651 // It is common practice to put libs under one of these dir names
864 // if true, add the dir part of the header_name to the include path
889 * the dir part.... */
1302 function ADD_SOURCES(dir, file_list, target, obj_dir)
1326 dir = dir.replace(new RegExp("/", "g"), "\\");
1332 /* if module dir is not a child of the main source dir,
1340 var build_dir = dir
[all...]
/PHP_5_3/win32/
H A Dreaddir.c22 DIR *opendir(const char *dir) argument
31 if (!VCWD_REALPATH(dir, resolved_path_buff)) {
63 dp->dir = strdup(resolved_path_buff);
128 if (dp->dir)
129 free(dp->dir);
148 filespec = (char *)malloc(strlen(dp->dir) + 2 + 1);
153 strcpy(filespec, dp->dir);
H A Dreaddir.h38 char *dir; /* the dir we are reading */ member in struct:__anon537
/PHP_5_3/ext/fileinfo/libmagic/
H A Dapptype.c49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], local
61 _splitpath(filename, drive, dir, fname, ext);
63 (*dir == '\0') ? "./" : dir,
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];
315 free(dir.dir_tab);
/PHP_5_3/ext/ftp/
H A Dftp.h128 int ftp_chdir(ftpbuf_t *ftp, const char *dir);
136 char* ftp_mkdir(ftpbuf_t *ftp, const char *dir);
139 int ftp_rmdir(ftpbuf_t *ftp, const char *dir);
/PHP_5_3/ext/gettext/
H A Dgettext.c55 ZEND_ARG_INFO(0, dir)
244 /* {{{ proto string bindtextdomain(string domain_name, string dir)
245 Bind to the text domain domain_name, looking for translations in dir. Returns the current domain */
248 char *domain, *dir; local
252 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &domain, &domain_len, &dir, &dir_len) == FAILURE) {
263 if (dir[0] != '\0' && strcmp(dir, "0")) {
264 if (!VCWD_REALPATH(dir, dir_name)) {
/PHP_5_3/ext/standard/
H A Dphp_dir.h25 PHP_MINIT_FUNCTION(dir); variable
26 PHP_RINIT_FUNCTION(dir); variable
/PHP_5_3/main/
H A Dphp_open_temporary_file.c247 * Unlike tempnam(), the supplied dir argument takes precedence
252 PHPAPI int php_open_temporary_fd_ex(const char *dir, const char *pfx, char **opened_path_p, zend_bool open_basedir_check TSRMLS_DC) argument
264 if (!dir || *dir == '\0') {
276 fd = php_do_open_temporary_file(dir, pfx, opened_path_p TSRMLS_CC);
284 PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC) argument
286 return php_open_temporary_fd_ex(dir, pfx, opened_path_p, 0 TSRMLS_CC);
289 PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC) argument
292 int fd = php_open_temporary_fd(dir, pfx, opened_path_p TSRMLS_CC);
H A Dphp_open_temporary_file.h25 PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC);
26 PHPAPI int php_open_temporary_fd_ex(const char *dir, const char *pfx, char **opened_path_p, zend_bool open_basedir_check TSRMLS_DC);
27 PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC);
H A Dphp_scandir.h28 #include <sys/dir.h>
/PHP_5_3/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_path STREAMS_DC TSRMLS_DC);
49 #define php_stream_fopen_temporary_file(dir, pfx, opened_path) _php_stream_fopen_temporary_file((dir), (pfx), (opened_path) STREAMS_CC TSRMLS_CC)
/PHP_5_3/ext/spl/
H A Dspl_directory.c95 if (intern->u.dir.dirp) {
96 php_stream_close(intern->u.dir.dirp);
97 intern->u.dir.dirp = NULL;
99 if (intern->u.dir.sub_path) {
100 efree(intern->u.dir.sub_path);
191 if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) {
192 return php_glob_stream_get_path(intern->u.dir.dirp, 0, len);
215 slash, intern->u.dir.entry.d_name);
223 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir
[all...]

Completed in 63 milliseconds

123