Lines Matching refs:f
854 static bool tomoyo_path_matches_pattern2(const char *f, const char *p) in tomoyo_path_matches_pattern2() argument
859 while (*f && *p) { in tomoyo_path_matches_pattern2()
860 f_delimiter = strchr(f, '/'); in tomoyo_path_matches_pattern2()
862 f_delimiter = f + strlen(f); in tomoyo_path_matches_pattern2()
868 if (!tomoyo_file_matches_pattern(f, f_delimiter, p, in tomoyo_path_matches_pattern2()
871 f = f_delimiter; in tomoyo_path_matches_pattern2()
872 if (*f) in tomoyo_path_matches_pattern2()
873 f++; in tomoyo_path_matches_pattern2()
882 return !*f && !*p; in tomoyo_path_matches_pattern2()
895 if (!tomoyo_file_matches_pattern(f, f_delimiter, p + 2, in tomoyo_path_matches_pattern2()
899 f = f_delimiter; in tomoyo_path_matches_pattern2()
900 if (!*f) in tomoyo_path_matches_pattern2()
902 f++; in tomoyo_path_matches_pattern2()
904 if (tomoyo_path_matches_pattern2(f, p_delimiter + 1)) in tomoyo_path_matches_pattern2()
906 f_delimiter = strchr(f, '/'); in tomoyo_path_matches_pattern2()
940 const char *f = filename->name; in tomoyo_path_matches_pattern() local
951 if (strncmp(f, p, len)) in tomoyo_path_matches_pattern()
953 f += len; in tomoyo_path_matches_pattern()
955 return tomoyo_path_matches_pattern2(f, p); in tomoyo_path_matches_pattern()