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()
753 if (intern->u.dir.dirp) { in SPL_METHOD()
754 php_stream_rewinddir(intern->u.dir.dirp); in SPL_METHOD()
770 if (intern->u.dir.dirp) { in SPL_METHOD()
1424 if (intern->u.dir.dirp) { in SPL_METHOD()
1425 php_stream_rewinddir(intern->u.dir.dirp); in SPL_METHOD()
1586 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in SPL_METHOD()
1587 RETURN_LONG(php_glob_stream_get_count(intern->u.dir.dirp, NULL)); in SPL_METHOD()
1699 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
1700 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_dir_it_rewind()
1789 if (object->u.dir.dirp) { in spl_filesystem_tree_it_rewind()
1790 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_tree_it_rewind()