Searched refs:globbuf (Results 1 – 4 of 4) sorted by relevance
/PHP-7.4/ext/standard/ |
H A D | dir.c | 429 glob_t globbuf; in PHP_FUNCTION() local 469 memset(&globbuf, 0, sizeof(glob_t)); in PHP_FUNCTION() 470 globbuf.gl_offs = 0; in PHP_FUNCTION() 471 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in PHP_FUNCTION() 489 if (!globbuf.gl_pathc || !globbuf.gl_pathv) { in PHP_FUNCTION() 510 for (n = 0; n < (size_t)globbuf.gl_pathc; n++) { in PHP_FUNCTION() 512 if (php_check_open_basedir_ex(globbuf.gl_pathv[n], 0)) { in PHP_FUNCTION() 528 if (0 != VCWD_STAT(globbuf.gl_pathv[n], &s)) { in PHP_FUNCTION() 536 add_next_index_string(return_value, globbuf.gl_pathv[n]+cwd_skip); in PHP_FUNCTION() 539 globfree(&globbuf); in PHP_FUNCTION()
|
/PHP-7.4/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 321 glob_t globbuf; local 325 memset(&globbuf, 0, sizeof(glob_t)); 327 ret = glob(filename, 0, NULL, &globbuf); 329 if (ret == GLOB_NOMATCH || !globbuf.gl_pathc) { 331 if (!globbuf.gl_pathc) { 335 for(i=0 ; i<globbuf.gl_pathc; i++) { 336 zend_accel_blacklist_loadone(blacklist, globbuf.gl_pathv[i]); 338 globfree(&globbuf);
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.c | 520 glob_t globbuf; in php_zip_glob() local 552 globbuf.gl_offs = 0; in php_zip_glob() 553 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in php_zip_glob() 572 if (!globbuf.gl_pathc || !globbuf.gl_pathv) { in php_zip_glob() 579 if (ZIP_OPENBASEDIR_CHECKPATH(globbuf.gl_pathv[0])) { in php_zip_glob() 584 for (n = 0; n < globbuf.gl_pathc; n++) { in php_zip_glob() 596 if (0 != VCWD_STAT(globbuf.gl_pathv[n], &s)) { in php_zip_glob() 604 add_next_index_string(return_value, globbuf.gl_pathv[n]+cwd_skip); in php_zip_glob() 607 ret = globbuf.gl_pathc; in php_zip_glob() 608 globfree(&globbuf); in php_zip_glob()
|
/PHP-7.4/ext/ffi/ |
H A D | ffi.c | 4896 glob_t globbuf; local 4900 memset(&globbuf, 0, sizeof(glob_t)); 4902 ret = glob(filename, 0, NULL, &globbuf); 4904 if (ret == GLOB_NOMATCH || !globbuf.gl_pathc) { 4906 if (!globbuf.gl_pathc) { 4910 for(i=0 ; i<globbuf.gl_pathc; i++) { 4911 zend_ffi *ffi = zend_ffi_load(globbuf.gl_pathv[i], 1); 4913 globfree(&globbuf); 4918 globfree(&globbuf);
|
Completed in 55 milliseconds