Lines Matching refs:pattern
519 int php_zip_glob(char *pattern, int pattern_len, long flags, zval *return_value TSRMLS_DC) /* {{{ */ in php_zip_glob() argument
543 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in php_zip_glob()
549 if (IS_SLASH(*pattern)) { in php_zip_glob()
555 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
556 pattern = work_pattern; in php_zip_glob()
561 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in php_zip_glob()
1661 char *pattern; in php_zip_add_from_pattern() local
1679 &pattern, &pattern_len, &flags, &options) == FAILURE) { in php_zip_add_from_pattern()
1684 &pattern, &pattern_len, &path, &path_len, &options) == FAILURE) { in php_zip_add_from_pattern()
1704 found = php_zip_glob(pattern, pattern_len, flags, return_value TSRMLS_CC); in php_zip_add_from_pattern()
1706 found = php_zip_pcre(pattern, pattern_len, path, path_len, return_value TSRMLS_CC); in php_zip_add_from_pattern()
2640 ZEND_ARG_INFO(0, pattern)
2646 ZEND_ARG_INFO(0, pattern)