Home
last modified time | relevance | path

Searched refs:dirp (Results 1 – 8 of 8) sorted by relevance

/PHP-5.5/ext/standard/
H A Ddir.c94 if (!dirp) \
220 php_stream *dirp; in _php_do_opendir() local
230 if (dirp == NULL) { in _php_do_opendir()
244 php_stream_to_zval(dirp, return_value); in _php_do_opendir()
270 php_stream *dirp; in PHP_FUNCTION() local
280 rsrc_id = dirp->rsrc_id; in PHP_FUNCTION()
281 zend_list_delete(dirp->rsrc_id); in PHP_FUNCTION()
385 php_stream *dirp; in PHP_FUNCTION() local
394 php_stream_rewinddir(dirp); in PHP_FUNCTION()
403 php_stream *dirp; in PHP_NAMED_FUNCTION() local
[all …]
/PHP-5.5/main/
H A Dphp_scandir.c62 DIR *dirp = NULL; in php_scandir() local
73 if (!(dirp = opendir(dirname))) { in php_scandir()
77 while (!php_readdir_r(dirp, (struct dirent *)entry, &dp) && dp) { in php_scandir()
110 closedir(dirp); in php_scandir()
H A Dreentrancy.c128 PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry, in php_readdir_r() argument
139 readdir_r(dirp, entry); in php_readdir_r()
156 ptr = readdir(dirp); in php_readdir_r()
H A Dphp_reentrancy.h57 PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry,
/PHP-5.5/ext/spl/
H A Dspl_directory.h77 php_stream *dirp; member
H A Dspl_directory.c95 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()
225 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
760 if (intern->u.dir.dirp) { in SPL_METHOD()
761 php_stream_rewinddir(intern->u.dir.dirp); in SPL_METHOD()
777 if (intern->u.dir.dirp) { in SPL_METHOD()
1452 if (intern->u.dir.dirp) { in SPL_METHOD()
1453 php_stream_rewinddir(intern->u.dir.dirp); in SPL_METHOD()
1738 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind()
[all …]
/PHP-5.5/win32/
H A Dglob.c629 DIR *dirp; local
646 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {
665 while ((dp = (*readdirfunc)(dirp))) {
693 (*pglob->gl_closedir)(dirp);
695 closedir(dirp);
/PHP-5.5/sapi/thttpd/
H A Dthttpd_patch696 closedir( dirp );

Completed in 44 milliseconds