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()
218 if (intern->type == SPL_FS_DIR && php_stream_is(intern->u.dir.dirp, &php_glob_stream_ops)) { in spl_filesystem_object_get_path()
220 char *tmp = php_glob_stream_get_path(intern->u.dir.dirp, &len); in spl_filesystem_object_get_path()
276 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
301 intern->u.dir.dirp = php_stream_opendir(ZSTR_VAL(path), REPORT_ERRORS, FG(default_context)); in spl_filesystem_dir_open()
310 if (EG(exception) || intern->u.dir.dirp == NULL) { in spl_filesystem_dir_open()
661 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in spl_filesystem_object_get_debug_info()
704 if (fsobj->u.dir.dirp == NULL && fsobj->orig_path == NULL) { in spl_filesystem_object_get_method_check()
783 php_stream_rewinddir(intern->u.dir.dirp); in PHP_METHOD()
1444 if (intern->u.dir.dirp) { in PHP_METHOD()
1445 php_stream_rewinddir(intern->u.dir.dirp); in PHP_METHOD()
1617 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in PHP_METHOD()
1618 RETURN_LONG(php_glob_stream_get_count(intern->u.dir.dirp, NULL)); in PHP_METHOD()
1726 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
1727 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_dir_it_rewind()
1816 if (object->u.dir.dirp) { in spl_filesystem_tree_it_rewind()
1817 php_stream_rewinddir(object->u.dir.dirp); in spl_filesystem_tree_it_rewind()