Lines Matching refs:Path
49 ErrorOr<vfs::Status> status(const Twine &Path) override { in status() argument
51 FilesAndDirs.find(Path.str()); in status()
57 openFileForRead(const Twine &Path) override { in openFileForRead() argument
58 auto S = status(Path); in openFileForRead()
66 std::error_code setCurrentWorkingDirectory(const Twine &Path) override { in setCurrentWorkingDirectory() argument
67 cwd = Path.str(); in setCurrentWorkingDirectory()
71 std::error_code getRealPath(const Twine &Path, in getRealPath() argument
73 auto I = FilesAndDirs.find(Path.str()); in getRealPath()
82 Path.toVector(Output); in getRealPath()
89 std::string Path; member
91 if (Path.size() < S.size() && S.find(Path) == 0) { in isInPath()
93 if (LastSep == Path.size() || LastSep == Path.size() - 1) in isInPath()
101 Path(_Path.str()) { in DirIterImpl()
131 void addEntry(StringRef Path, const vfs::Status &Status) { in addEntry() argument
132 FilesAndDirs[std::string(Path)] = Status; in addEntry()
135 void addRegularFile(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { in addRegularFile() argument
136 vfs::Status S(Path, UniqueID(FSID, FileID++), in addRegularFile()
139 addEntry(Path, S); in addRegularFile()
142 void addDirectory(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { in addDirectory() argument
143 vfs::Status S(Path, UniqueID(FSID, FileID++), in addDirectory()
146 addEntry(Path, S); in addDirectory()
149 void addSymlink(StringRef Path) { in addSymlink() argument
150 vfs::Status S(Path, UniqueID(FSID, FileID++), in addSymlink()
153 addEntry(Path, S); in addSymlink()