Home
last modified time | relevance | path

Searched refs:MatchType (Results 1 – 12 of 12) sorted by relevance

/freebsd-9-stable/usr.sbin/pkg_install/info/
Dmain.c32 match_t MatchType = MATCH_GLOB; variable
78 MatchType = MATCH_ALL; in main()
84 MatchType = MATCH_ALL; in main()
131 MatchType = MATCH_EXACT; in main()
202 MatchType = MATCH_REGEX; in main()
206 MatchType = MATCH_EREGEX; in main()
258 if (MatchType != MATCH_REGEX && MatchType != MATCH_EREGEX && !isfile(*argv) && !isURL(*argv)) in main()
267 if (isalnum(*pkgs_split) || ((MatchType == MATCH_GLOB) && \ in main()
277 if (pkgs == start && MatchType != MATCH_ALL && !CheckPkg && in main()
Dperform.c57 if (MatchType != MATCH_EXACT) { in pkg_perform()
58 matched = matchinstalled(MatchType, pkgs, &errcode); in pkg_perform()
65 else switch (MatchType) { in pkg_perform()
464 matched = matchinstalled(MatchType == MATCH_GLOB ? MATCH_NGLOB : MatchType, pkgs, &errcode); in matched_packages()
Dinfo.h72 extern match_t MatchType;
/freebsd-9-stable/usr.sbin/pkg_install/delete/
Dmain.c38 match_t MatchType = MATCH_GLOB; variable
99 MatchType = MATCH_ALL; in main()
103 MatchType = MATCH_EXACT; in main()
107 MatchType = MATCH_REGEX; in main()
111 MatchType = MATCH_EREGEX; in main()
134 if (MatchType != MATCH_REGEX) in main()
142 if (isalnum(*pkgs_split) || ((MatchType == MATCH_GLOB) && \ in main()
152 if (pkgs == start && MatchType != MATCH_ALL) in main()
Dperform.c43 if (MatchType != MATCH_EXACT) { in pkg_perform()
44 matched = matchinstalled(MatchType, pkgs, &errcode); in pkg_perform()
61 else switch (MatchType) { in pkg_perform()
Ddelete.h33 extern match_t MatchType;
/freebsd-9-stable/usr.sbin/pkg_install/create/
Dmain.c21 match_t MatchType = MATCH_GLOB; variable
83 MatchType = MATCH_REGEX; in main()
87 MatchType = MATCH_EREGEX; in main()
91 MatchType = MATCH_EXACT; in main()
Dcreate.h26 extern match_t MatchType;
Dperform.c96 if (MatchType != MATCH_EXACT) { in pkg_perform()
97 matched = matchinstalled(MatchType, pkgs, &error); in pkg_perform()
100 else if (MatchType != MATCH_GLOB) in pkg_perform()
/freebsd-9-stable/usr.sbin/pkg_install/lib/
Dmatch.c58 matchinstalled(match_t MatchType, char **patterns, int *retval) in matchinstalled() argument
108 if (MatchType == MATCH_ALL) in matchinstalled()
112 errcode = pattern_match(MatchType, patterns[i], f->fts_name); in matchinstalled()
134 if (MatchType == MATCH_GLOB) { in matchinstalled()
147 pattern_match(match_t MatchType, char *pattern, const char *pkgname) in pattern_match() argument
172 switch (MatchType) { in pattern_match()
175 errcode = rex_match(pattern, fname, MatchType == MATCH_EREGEX ? 1 : 0); in pattern_match()
Dlib.h224 int pattern_match(match_t MatchType, char *pattern, const char *pkgname);
/freebsd-9-stable/usr.sbin/pkg_install/version/
Dperform.c54 int MatchType; in pkg_perform() local
84 MatchType = RegexExtended ? MATCH_EREGEX : MATCH_REGEX; in pkg_perform()
87 MatchType = MATCH_ALL; in pkg_perform()
94 pkgs = matchinstalled(MatchType, patterns, &err_cnt); in pkg_perform()
103 switch (MatchType) { in pkg_perform()