Searched refs:globbuf (Results 1 – 4 of 4) sorted by relevance
/PHP-8.0/ext/standard/ |
H A D | dir.c | 408 glob_t globbuf; in PHP_FUNCTION() local 448 memset(&globbuf, 0, sizeof(glob_t)); in PHP_FUNCTION() 449 globbuf.gl_offs = 0; in PHP_FUNCTION() 450 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in PHP_FUNCTION() 468 if (!globbuf.gl_pathc || !globbuf.gl_pathv) { in PHP_FUNCTION() 489 for (n = 0; n < (size_t)globbuf.gl_pathc; n++) { in PHP_FUNCTION() 491 if (php_check_open_basedir_ex(globbuf.gl_pathv[n], 0)) { in PHP_FUNCTION() 507 if (0 != VCWD_STAT(globbuf.gl_pathv[n], &s)) { in PHP_FUNCTION() 515 add_next_index_string(return_value, globbuf.gl_pathv[n]+cwd_skip); in PHP_FUNCTION() 518 globfree(&globbuf); in PHP_FUNCTION()
|
/PHP-8.0/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 324 glob_t globbuf; local 328 memset(&globbuf, 0, sizeof(glob_t)); 330 ret = glob(filename, 0, NULL, &globbuf); 332 if (ret == GLOB_NOMATCH || !globbuf.gl_pathc) { 334 if (!globbuf.gl_pathc) { 338 for(i=0 ; i<globbuf.gl_pathc; i++) { 339 zend_accel_blacklist_loadone(blacklist, globbuf.gl_pathv[i]); 341 globfree(&globbuf);
|
/PHP-8.0/ext/zip/ |
H A D | php_zip.c | 615 glob_t globbuf; in php_zip_glob() local 648 globbuf.gl_offs = 0; in php_zip_glob() 649 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in php_zip_glob() 668 if (!globbuf.gl_pathc || !globbuf.gl_pathv) { in php_zip_glob() 675 if (ZIP_OPENBASEDIR_CHECKPATH(globbuf.gl_pathv[0])) { in php_zip_glob() 680 for (n = 0; n < globbuf.gl_pathc; n++) { in php_zip_glob() 692 if (0 != VCWD_STAT(globbuf.gl_pathv[n], &s)) { in php_zip_glob() 700 add_next_index_string(return_value, globbuf.gl_pathv[n]+cwd_skip); in php_zip_glob() 703 ret = globbuf.gl_pathc; in php_zip_glob() 704 globfree(&globbuf); in php_zip_glob()
|
/PHP-8.0/ext/ffi/ |
H A D | ffi.c | 4829 glob_t globbuf; local 4833 memset(&globbuf, 0, sizeof(glob_t)); 4835 ret = glob(filename, 0, NULL, &globbuf); 4837 if (ret == GLOB_NOMATCH || !globbuf.gl_pathc) { 4839 if (!globbuf.gl_pathc) { 4843 for(i=0 ; i<globbuf.gl_pathc; i++) { 4844 zend_ffi *ffi = zend_ffi_load(globbuf.gl_pathv[i], 1); 4846 globfree(&globbuf); 4851 globfree(&globbuf);
|
Completed in 44 milliseconds