Searched refs:dirp (Results 1 – 5 of 5) sorted by relevance
203 php_stream *dirp; in _php_do_opendir() local215 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() local262 res = dirp->res; in PHP_FUNCTION()263 zend_list_close(dirp->res); in PHP_FUNCTION()363 php_stream *dirp; in PHP_FUNCTION() local372 php_stream_rewinddir(dirp); in PHP_FUNCTION()380 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()
90 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 …]
64 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 30 milliseconds