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()
176 if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_path()
177 return php_glob_stream_get_path(intern->u.dir.dirp, 0, len); in spl_filesystem_object_get_path()
211 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
236 intern->u.dir.dirp = php_stream_opendir(path, REPORT_ERRORS, FG(default_context)); in spl_filesystem_dir_open()
245 if (EG(exception) || intern->u.dir.dirp == NULL) { in spl_filesystem_dir_open()
617 if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_debug_info()
660 if (fsobj->u.dir.dirp == NULL && fsobj->orig_path == NULL) { in spl_filesystem_object_get_method_check()
754 if (intern->u.dir.dirp) { in SPL_METHOD()
755 php_stream_rewinddir(intern->u.dir.dirp); in SPL_METHOD()
771 if (intern->u.dir.dirp) { in SPL_METHOD()
1428 if (intern->u.dir.dirp) { in SPL_METHOD()
1429 php_stream_rewinddir(intern->u.dir.dirp); in SPL_METHOD()
1590 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in SPL_METHOD()
1591 RETURN_LONG(php_glob_stream_get_count(intern->u.dir.dirp, NULL)); in SPL_METHOD()
1704 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
1705 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_dir_it_rewind()
1794 if (object->u.dir.dirp) { in spl_filesystem_tree_it_rewind()
1795 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_tree_it_rewind()