Lines Matching defs:Filepath
30 std::string &Filepath =
32 if (!Filepath.empty())
33 return Filepath;
40 Filepath = Filename;
42 Filepath = (Dir + "\\" + Filename).str();
47 std::replace(Filepath.begin(), Filepath.end(), '/', '\\');
51 while ((Cursor = Filepath.find("\\.\\", Cursor)) != std::string::npos)
52 Filepath.erase(Cursor, 2);
57 while ((Cursor = Filepath.find("\\..\\", Cursor)) != std::string::npos) {
62 size_t PrevSlash = Filepath.rfind('\\', Cursor - 1);
67 Filepath.erase(PrevSlash, Cursor + 3 - PrevSlash);
74 while ((Cursor = Filepath.find("\\\\", Cursor)) != std::string::npos)
75 Filepath.erase(Cursor, 1);
77 return Filepath;