Home
last modified time | relevance | path

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

/PHP-8.3/ext/standard/
H A Ddir.c203 php_stream *dirp; in _php_do_opendir() local
215 if (dirp == NULL) { in _php_do_opendir()
221 php_set_default_dir(dirp->res); in _php_do_opendir()
229 php_stream_to_zval(dirp, return_value); in _php_do_opendir()
252 php_stream *dirp; in PHP_FUNCTION() local
262 res = dirp->res; in PHP_FUNCTION()
263 zend_list_close(dirp->res); in PHP_FUNCTION()
363 php_stream *dirp; in PHP_FUNCTION() local
372 php_stream_rewinddir(dirp); in PHP_FUNCTION()
380 php_stream *dirp; in PHP_FUNCTION() local
[all …]
/PHP-8.3/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.3/ext/spl/
H A Dspl_directory.c90 if (!(intern)->u.dir.dirp) { \
115 if (intern->u.dir.dirp) { in spl_filesystem_object_destroy_object()
116 php_stream_close(intern->u.dir.dirp); in spl_filesystem_object_destroy_object()
117 intern->u.dir.dirp = NULL; in spl_filesystem_object_destroy_object()
276 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
661 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_debug_info()
783 php_stream_rewinddir(intern->u.dir.dirp); in PHP_METHOD()
1444 if (intern->u.dir.dirp) { in PHP_METHOD()
1617 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in PHP_METHOD()
1726 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
[all …]
H A Dspl_directory.h64 php_stream *dirp; member
/PHP-8.3/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 30 milliseconds