Lines Matching refs:dirp
95 if (intern->u.dir.dirp) { in spl_filesystem_object_free_storage()
96 php_stream_close(intern->u.dir.dirp); in spl_filesystem_object_free_storage()
97 intern->u.dir.dirp = NULL; in spl_filesystem_object_free_storage()
190 if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_path()
191 return php_glob_stream_get_path(intern->u.dir.dirp, 0, len); in spl_filesystem_object_get_path()
222 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
247 intern->u.dir.dirp = php_stream_opendir(path, REPORT_ERRORS, FG(default_context)); in spl_filesystem_dir_open()
256 if (EG(exception) || intern->u.dir.dirp == NULL) { in spl_filesystem_dir_open()
628 if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_debug_info()
757 if (intern->u.dir.dirp) { in SPL_METHOD()
758 php_stream_rewinddir(intern->u.dir.dirp); in SPL_METHOD()
774 if (intern->u.dir.dirp) { in SPL_METHOD()
1449 if (intern->u.dir.dirp) { in SPL_METHOD()
1450 php_stream_rewinddir(intern->u.dir.dirp); in SPL_METHOD()
1620 if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in SPL_METHOD()
1621 RETURN_LONG(php_glob_stream_get_count(intern->u.dir.dirp, NULL)); in SPL_METHOD()
1740 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
1741 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_dir_it_rewind()
1834 if (object->u.dir.dirp) { in spl_filesystem_tree_it_rewind()
1835 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_tree_it_rewind()