Lines Matching refs:dirp
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()
228 if (intern->type == SPL_FS_DIR && php_stream_is(intern->u.dir.dirp, &php_glob_stream_ops)) { in spl_filesystem_object_get_path()
230 char *tmp = php_glob_stream_get_path(intern->u.dir.dirp, &len); in spl_filesystem_object_get_path()
286 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
311 intern->u.dir.dirp = php_stream_opendir(ZSTR_VAL(path), REPORT_ERRORS, FG(default_context)); in spl_filesystem_dir_open()
320 if (EG(exception) || intern->u.dir.dirp == NULL) { in spl_filesystem_dir_open()
671 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_debug_info()
714 if (fsobj->u.dir.dirp == NULL && fsobj->orig_path == NULL) { in spl_filesystem_object_get_method_check()
795 php_stream_rewinddir(intern->u.dir.dirp); in PHP_METHOD()
1456 if (intern->u.dir.dirp) { in PHP_METHOD()
1457 php_stream_rewinddir(intern->u.dir.dirp); in PHP_METHOD()
1624 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in PHP_METHOD()
1625 RETURN_LONG(php_glob_stream_get_count(intern->u.dir.dirp, NULL)); in PHP_METHOD()
1733 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
1734 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_dir_it_rewind()
1823 if (object->u.dir.dirp) { in spl_filesystem_tree_it_rewind()
1824 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_tree_it_rewind()