Lines Matching refs:pattern
492 int php_zip_glob(char *pattern, int pattern_len, zend_long flags, zval *return_value) /* {{{ */ in php_zip_glob() argument
516 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in php_zip_glob()
522 if (IS_SLASH(*pattern)) { in php_zip_glob()
528 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
529 pattern = work_pattern; in php_zip_glob()
534 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in php_zip_glob()
1637 zend_string *pattern; in php_zip_add_from_pattern() local
1647 &pattern, &flags, &options) == FAILURE) { in php_zip_add_from_pattern()
1652 &pattern, &path, &path_len, &options) == FAILURE) { in php_zip_add_from_pattern()
1657 if (ZSTR_LEN(pattern) == 0) { in php_zip_add_from_pattern()
1674 found = php_zip_glob(ZSTR_VAL(pattern), ZSTR_LEN(pattern), flags, return_value); in php_zip_add_from_pattern()
1676 found = php_zip_pcre(pattern, path, path_len, return_value); in php_zip_add_from_pattern()
2831 ZEND_ARG_INFO(0, pattern)
2837 ZEND_ARG_INFO(0, pattern)