Lines Matching defs:Cursor
208 size_t Cursor = 0;
209 while ((Cursor = Filepath.find("\\.\\", Cursor)) != std::string::npos)
210 Filepath.erase(Cursor, 2);
214 Cursor = 0;
215 while ((Cursor = Filepath.find("\\..\\", Cursor)) != std::string::npos) {
217 if (Cursor == 0)
220 size_t PrevSlash = Filepath.rfind('\\', Cursor - 1);
225 Filepath.erase(PrevSlash, Cursor + 3 - PrevSlash);
227 Cursor = PrevSlash;
231 Cursor = 0;
232 while ((Cursor = Filepath.find("\\\\", Cursor)) != std::string::npos)
233 Filepath.erase(Cursor, 1);