Lines Matching refs:pattern
137 local int add_filter OF((int flag, char *pattern));
162 char *pattern;
755 " zip -ds 10 --temp-dir=path zipfile path1 path2 --exclude pattern pattern",
786 " -i pattern pattern ... include files that match a pattern",
787 " -x pattern pattern ... exclude files that match a pattern",
790 " zip -x pattern pattern @ zipfile path path ...",
824 " zip archive -d pattern pattern ...",
883 " zip inarchive --copy pattern pattern ... --out outarchive",
1531 local int add_filter(flag, pattern)
1533 char *pattern;
1543 if (pattern == NULL) {
1544 ZIPERR(ZE_LOGIC, "null pattern to add_filter");
1547 if (pattern[0] == '@') {
1548 /* read file with 1 pattern per line */
1549 if (pattern[1] == '\0') {
1552 fp = fopen(pattern + 1, "r");
1554 sprintf(errbuf, "%c pattern file '%s'", flag, pattern);
1572 lastfilter->pattern = in2ex(iname);
1575 lastfilter->pattern = NULL;
1583 /* single pattern */
1588 /* first pattern */
1595 iname = ex2in(pattern, 0, (int *)NULL);
1597 lastfilter->pattern = in2ex(iname);
1600 lastfilter->pattern = NULL;
1622 ZIPERR(ZE_MEM, "was creating pattern list");
1635 patterns[i].zname = filterlist->pattern;
3325 /* value is R pattern */