Searched refs:dirp (Results 1 – 7 of 7) sorted by relevance
/PHP-7.1/ext/standard/ |
H A D | dir.c | 225 php_stream *dirp; in _php_do_opendir() local 235 if (dirp == NULL) { in _php_do_opendir() 241 php_set_default_dir(dirp->res); in _php_do_opendir() 249 php_stream_to_zval(dirp, return_value); in _php_do_opendir() 275 php_stream *dirp; in PHP_FUNCTION() local 285 res = dirp->res; in PHP_FUNCTION() 286 zend_list_close(dirp->res); in PHP_FUNCTION() 392 php_stream *dirp; in PHP_FUNCTION() local 401 php_stream_rewinddir(dirp); in PHP_FUNCTION() 410 php_stream *dirp; in PHP_NAMED_FUNCTION() local [all …]
|
/PHP-7.1/main/ |
H A D | php_scandir.c | 62 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 D | reentrancy.c | 128 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 D | php_reentrancy.h | 57 PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry,
|
/PHP-7.1/ext/spl/ |
H A D | spl_directory.c | 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() 211 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read() 754 if (intern->u.dir.dirp) { in SPL_METHOD() 755 php_stream_rewinddir(intern->u.dir.dirp); in SPL_METHOD() 771 if (intern->u.dir.dirp) { in SPL_METHOD() 1428 if (intern->u.dir.dirp) { in SPL_METHOD() 1590 if (intern->u.dir.dirp && php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { in SPL_METHOD() 1704 if (object->u.dir.dirp) { in spl_filesystem_dir_it_rewind() [all …]
|
H A D | spl_directory.h | 76 php_stream *dirp; member
|
/PHP-7.1/win32/ |
H A D | glob.c | 623 DIR *dirp; local 640 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) { 659 while ((dp = (*readdirfunc)(dirp))) { 687 (*pglob->gl_closedir)(dirp); 689 closedir(dirp);
|
Completed in 22 milliseconds