Home
last modified time | relevance | path

Searched refs:dirp (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/standard/
H A Ddir.c147 php_stream *dirp; in _php_do_opendir() local
159 if (dirp == NULL) { in _php_do_opendir()
165 php_set_default_dir(dirp->res); in _php_do_opendir()
173 php_stream_to_zval(dirp, return_value); in _php_do_opendir()
196 php_stream *dirp; in PHP_FUNCTION() local
206 res = dirp->res; in PHP_FUNCTION()
207 zend_list_close(dirp->res); in PHP_FUNCTION()
307 php_stream *dirp; in PHP_FUNCTION() local
316 php_stream_rewinddir(dirp); in PHP_FUNCTION()
324 php_stream *dirp; in PHP_FUNCTION() local
[all …]
/php-src/main/
H A Dphp_scandir.c54 DIR *dirp = NULL; in php_scandir() local
64 if (!(dirp = opendir(dirname))) { in php_scandir()
68 while ((dp = readdir(dirp))) { in php_scandir()
101 closedir(dirp); in php_scandir()
/php-src/ext/spl/
H A Dspl_directory.c88 if (!(intern)->u.dir.dirp) { \
113 if (intern->u.dir.dirp) { in spl_filesystem_object_destroy_object()
114 php_stream_close(intern->u.dir.dirp); in spl_filesystem_object_destroy_object()
115 intern->u.dir.dirp = NULL; in spl_filesystem_object_destroy_object()
267 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
639 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_debug_info()
751 php_stream_rewinddir(intern->u.dir.dirp); in PHP_METHOD()
1416 if (intern->u.dir.dirp) { in PHP_METHOD()
1593 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in PHP_METHOD()
1702 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
[all …]
H A Dspl_directory.h63 php_stream *dirp; member
/php-src/win32/
H A Dglob.c591 DIR *dirp; in glob3() local
607 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) { in glob3()
627 while ((dp = (*readdirfunc)(dirp))) { in glob3()
655 (*pglob->gl_closedir)(dirp); in glob3()
657 closedir(dirp); in glob3()

Completed in 18 milliseconds