Lines Matching refs:pattern
604 int php_zip_glob(char *pattern, int pattern_len, zend_long flags, zval *return_value) /* {{{ */ in php_zip_glob() argument
629 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in php_zip_glob()
635 if (IS_SLASH(*pattern)) { in php_zip_glob()
641 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
642 pattern = work_pattern; in php_zip_glob()
647 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in php_zip_glob()
1703 zend_string *pattern; local
1708 &pattern, &glob_flags, &options) == FAILURE) {
1713 &pattern, &path, &path_len, &options) == FAILURE) {
1718 if (ZSTR_LEN(pattern) == 0) {
1727 found = php_zip_glob(ZSTR_VAL(pattern), ZSTR_LEN(pattern), glob_flags, return_value);
1729 found = php_zip_pcre(pattern, path, path_len, return_value);