Lines Matching refs:dirp
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()
192 if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_path()
193 return php_glob_stream_get_path(intern->u.dir.dirp, len); in spl_filesystem_object_get_path()
238 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
263 intern->u.dir.dirp = php_stream_opendir(path, REPORT_ERRORS, FG(default_context)); in spl_filesystem_dir_open()
272 if (EG(exception) || intern->u.dir.dirp == NULL) { in spl_filesystem_dir_open()
642 if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_debug_info()
685 if (fsobj->u.dir.dirp == NULL && fsobj->orig_path == NULL) { in spl_filesystem_object_get_method_check()
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()
1433 php_stream_rewinddir(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()
1589 RETURN_LONG(php_glob_stream_get_count(intern->u.dir.dirp, NULL)); in PHP_METHOD()
1697 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
1698 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_dir_it_rewind()
1785 if (object->u.dir.dirp) { in spl_filesystem_tree_it_rewind()
1786 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_tree_it_rewind()