Searched refs:globbuf (Results 1 - 2 of 2) sorted by relevance

/PHP_5_3/ext/standard/
H A Ddir.c434 glob_t globbuf; local
476 memset(&globbuf, 0, sizeof(glob_t));
477 globbuf.gl_offs = 0;
478 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
496 if (!globbuf.gl_pathc || !globbuf.gl_pathv) {
510 for (n = 0; n < globbuf.gl_pathc; n++) {
512 if (PG(safe_mode) && (!php_checkuid_ex(globbuf.gl_pathv[n], NULL, CHECKUID_CHECK_FILE_AND_DIR, CHECKUID_NO_ERRORS))) {
515 } else if (php_check_open_basedir_ex(globbuf.gl_pathv[n], 0 TSRMLS_CC)) {
531 if (0 != VCWD_STAT(globbuf
[all...]
/PHP_5_3/ext/zip/
H A Dphp_zip.c537 glob_t globbuf; local
569 globbuf.gl_offs = 0;
570 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
589 if (!globbuf.gl_pathc || !globbuf.gl_pathv) {
596 strncpy(cwd, globbuf.gl_pathv[0], MAXPATHLEN);
602 for (n = 0; n < globbuf.gl_pathc; n++) {
614 if (0 != VCWD_STAT(globbuf.gl_pathv[n], &s)) {
622 add_next_index_string(return_value, globbuf.gl_pathv[n]+cwd_skip, 1);
625 globfree(&globbuf);
[all...]

Completed in 14 milliseconds