Searched refs:MatchType (Results 1 – 12 of 12) sorted by relevance
| /freebsd-9-stable/usr.sbin/pkg_install/info/ |
| D | main.c | 32 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()
|
| D | perform.c | 57 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()
|
| D | info.h | 72 extern match_t MatchType;
|
| /freebsd-9-stable/usr.sbin/pkg_install/delete/ |
| D | main.c | 38 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()
|
| D | perform.c | 43 if (MatchType != MATCH_EXACT) { in pkg_perform() 44 matched = matchinstalled(MatchType, pkgs, &errcode); in pkg_perform() 61 else switch (MatchType) { in pkg_perform()
|
| D | delete.h | 33 extern match_t MatchType;
|
| /freebsd-9-stable/usr.sbin/pkg_install/create/ |
| D | main.c | 21 match_t MatchType = MATCH_GLOB; variable 83 MatchType = MATCH_REGEX; in main() 87 MatchType = MATCH_EREGEX; in main() 91 MatchType = MATCH_EXACT; in main()
|
| D | create.h | 26 extern match_t MatchType;
|
| D | perform.c | 96 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/ |
| D | match.c | 58 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()
|
| D | lib.h | 224 int pattern_match(match_t MatchType, char *pattern, const char *pkgname);
|
| /freebsd-9-stable/usr.sbin/pkg_install/version/ |
| D | perform.c | 54 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()
|