Searched refs:dirp (Results 1 – 5 of 5) sorted by relevance
147 php_stream *dirp; in _php_do_opendir() local159 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() local206 res = dirp->res; in PHP_FUNCTION()207 zend_list_close(dirp->res); in PHP_FUNCTION()307 php_stream *dirp; in PHP_FUNCTION() local316 php_stream_rewinddir(dirp); in PHP_FUNCTION()324 php_stream *dirp; in PHP_FUNCTION() local[all …]
54 DIR *dirp = NULL; in php_scandir() local64 if (!(dirp = opendir(dirname))) { in php_scandir()68 while ((dp = readdir(dirp))) { in php_scandir()101 closedir(dirp); in php_scandir()
88 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 …]
63 php_stream *dirp; member
591 DIR *dirp; in glob3() local607 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