Searched refs:path_part (Results 1 – 2 of 2) sorted by relevance
1625 const char *path_part; in g_filename_from_uri() local1646 path_part = uri + strlen ("file:"); in g_filename_from_uri()1648 if (strchr (path_part, '#') != NULL) in g_filename_from_uri()1656 if (has_case_prefix (path_part, "///")) in g_filename_from_uri()1657 path_part += 2; in g_filename_from_uri()1658 else if (has_case_prefix (path_part, "//")) in g_filename_from_uri()1660 path_part += 2; in g_filename_from_uri()1661 host_part = path_part; in g_filename_from_uri()1663 path_part = strchr (path_part, '/'); in g_filename_from_uri()1665 if (path_part == NULL) in g_filename_from_uri()[all …]
132 std::string path_part = url.substr(url_path_.length()); in GetFilePath() local134 std::replace(path_part.begin(), path_part.end(), '/', '\\'); in GetFilePath()136 return directory_path_ + path_part; in GetFilePath()