Lines Matching refs:pc
92 match(const char *pc, char *pcrule) in match() argument
102 if (fnmatch(pc, pcrule, FNM_PATHNAME) == 0 || in match()
103 fnmatch(pc, pcrule, 0) == 0) in match()
107 j = strncmp(pc, pcrule, n - 1); in match()
246 char *pc = "var/sadm/install/special_contents"; in get_special_contents() local
259 if (snprintf(path, PATH_MAX, "%s%s", pcroot, pc) >= PATH_MAX) { in get_special_contents()
264 if (snprintf(path, PATH_MAX, "%s/%s", pcroot, pc) in get_special_contents()
354 char *pc = NULL; in get_path() local
355 if (i <= 1 || (pc = (char *) calloc(i + 1, 1)) == NULL) in get_path()
357 (void) memcpy(pc, pcline, i); in get_path()
358 return (pc); in get_path()
434 pathcmp(const char *pc, const struct cfent *pent) in pathcmp() argument
440 if ((p = strstr(pc, "=")) == NULL) { in pathcmp()
442 i = strcmp(pc, pent->path); in pathcmp()
453 i = strcmp(pc, pent->path); in pathcmp()
465 i = strcmp(pc, pent->path); in pathcmp()