Searched refs:dirp (Results 1 – 5 of 5) sorted by relevance
201 php_stream *dirp; in _php_do_opendir() local213 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() local260 res = dirp->res; in PHP_FUNCTION()261 zend_list_close(dirp->res); in PHP_FUNCTION()361 php_stream *dirp; in PHP_FUNCTION() local370 php_stream_rewinddir(dirp); in PHP_FUNCTION()378 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()
81 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 …]
72 php_stream *dirp; member
621 DIR *dirp; local637 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {657 while ((dp = (*readdirfunc)(dirp))) {685 (*pglob->gl_closedir)(dirp);687 closedir(dirp);
Completed in 23 milliseconds