Lines Matching refs:fname_cp
68 char fname_cp[PATH_MAX], pattern_cp[PATH_MAX]; in exclude_fname() local
134 (void) strlcpy(fname_cp, fname, sizeof (fname_cp)); in exclude_fname()
135 ptr = fname_cp; in exclude_fname()
179 (void) strlcpy(fname_cp, in exclude_fname()
181 sizeof (fname_cp)); in exclude_fname()
192 ptr = strrchr(fname_cp, '/'); in exclude_fname()
203 if (strlen(fname_cp) == 0) in exclude_fname()
210 num_fname_slash = count_slashes(fname_cp); in exclude_fname()
226 if (fname_cp[0] == '/') { in exclude_fname()
227 (void) strlcpy(fname_cp, in exclude_fname()
228 strchr(fname_cp, '/') + 1, in exclude_fname()
229 sizeof (fname_cp)); in exclude_fname()
246 fname_ptr = fname_cp; in exclude_fname()
273 if (fnmatch(pattern_cp, fname_cp, in exclude_fname()
298 (void) strlcpy(fname_cp, in exclude_fname()
299 strchr(fname_cp, '/') + 1, in exclude_fname()
300 sizeof (fname_cp)); in exclude_fname()
323 if (fnmatch(pattern_cp, fname_cp, in exclude_fname()
1046 char *ptr, fname_cp[PATH_MAX]; in match_subtree() local
1053 (void) strlcpy(fname_cp, fname, sizeof (fname_cp)); in match_subtree()
1064 for (ptr = fname_cp; num_rule_slash > 0; num_rule_slash--, ptr++) in match_subtree()
1076 match = fnmatch(rule, fname_cp, FNM_PATHNAME); in match_subtree()