Lines Matching defs:file_path
643 /// @param file_path the path to the file to consider.
646 /// canonicalized path to the target file, if @p file_path is a
649 /// @return true iff @p file_path is a symbolic link. In that case,
653 maybe_get_symlink_target_file_path(const string& file_path,
658 if (!get_stat(file_path, &st))
664 char *link_target_path = realpath(file_path.c_str(), NULL);
1584 /// @param file_path the path to the file to consider.
1588 guess_file_type(const string& file_path)
1590 if (is_dir(file_path))
1593 if (string_ends_with(file_path, ".tar")
1594 || string_ends_with(file_path, ".tar.gz")
1595 || string_ends_with(file_path, ".tgz")
1596 || string_ends_with(file_path, ".tar.bz2")
1597 || string_ends_with(file_path, ".tbz2")
1598 || string_ends_with(file_path, ".tbz")
1599 || string_ends_with(file_path, ".tb2")
1600 || string_ends_with(file_path, ".tar.xz")
1601 || string_ends_with(file_path, ".txz")
1602 || string_ends_with(file_path, ".tar.lzma")
1603 || string_ends_with(file_path, ".tar.lz")
1604 || string_ends_with(file_path, ".tlz")
1605 || string_ends_with(file_path, ".tar.Z")
1606 || string_ends_with(file_path, ".taz")
1607 || string_ends_with(file_path, ".tz"))
1610 ifstream in(file_path.c_str(), ifstream::binary);
1871 /// @param file_path the path to the file that defines types that are
1881 handle_file_entry(const string& file_path,
1899 suppr->get_source_locations_to_keep().insert(file_path);