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

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

Completed in 59 milliseconds