Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/
H A Ddir.c201 php_stream *dirp; in _php_do_opendir() local
213 if (dirp == NULL) { in _php_do_opendir()
219 php_set_default_dir(dirp->res); in _php_do_opendir()
227 php_stream_to_zval(dirp, return_value); in _php_do_opendir()
250 php_stream *dirp; in PHP_FUNCTION() local
260 res = dirp->res; in PHP_FUNCTION()
261 zend_list_close(dirp->res); in PHP_FUNCTION()
361 php_stream *dirp; in PHP_FUNCTION() local
370 php_stream_rewinddir(dirp); in PHP_FUNCTION()
378 php_stream *dirp; in PHP_FUNCTION() local
[all …]
/PHP-8.0/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-8.0/ext/spl/
H A Dspl_directory.c81 if (intern->u.dir.dirp) { in spl_filesystem_object_destroy_object()
82 php_stream_close(intern->u.dir.dirp); in spl_filesystem_object_destroy_object()
83 intern->u.dir.dirp = NULL; in spl_filesystem_object_destroy_object()
238 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
775 if (intern->u.dir.dirp) { in PHP_METHOD()
776 php_stream_rewinddir(intern->u.dir.dirp); in PHP_METHOD()
791 if (intern->u.dir.dirp) { in PHP_METHOD()
1432 if (intern->u.dir.dirp) { in PHP_METHOD()
1588 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in PHP_METHOD()
1697 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
[all …]
H A Dspl_directory.h72 php_stream *dirp; member
/PHP-8.0/win32/
H A Dglob.c621 DIR *dirp; local
637 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {
657 while ((dp = (*readdirfunc)(dirp))) {
685 (*pglob->gl_closedir)(dirp);
687 closedir(dirp);

Completed in 23 milliseconds