Lines Matching refs:Path

49   ErrorOr<vfs::Status> status(const Twine &Path) override {  in status()  argument
51 FilesAndDirs.find(Path.str()); in status()
62 openFileForRead(const Twine &Path) override { in openFileForRead() argument
63 auto S = status(Path); in openFileForRead()
71 std::error_code setCurrentWorkingDirectory(const Twine &Path) override { in setCurrentWorkingDirectory() argument
72 cwd = Path.str(); in setCurrentWorkingDirectory()
76 std::error_code getRealPath(const Twine &Path, in getRealPath() argument
78 auto I = FilesAndDirs.find(Path.str()); in getRealPath()
87 Path.toVector(Output); in getRealPath()
94 std::string Path; member
96 if (Path.size() < S.size() && S.starts_with(Path)) { in isInPath()
98 if (LastSep == Path.size() || LastSep == Path.size() - 1) in isInPath()
106 Path(_Path.str()) { in DirIterImpl()
136 void addEntry(StringRef Path, const vfs::Status &Status) { in addEntry() argument
137 FilesAndDirs[std::string(Path)] = Status; in addEntry()
140 void addRegularFile(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { in addRegularFile() argument
141 vfs::Status S(Path, UniqueID(FSID, FileID++), in addRegularFile()
144 addEntry(Path, S); in addRegularFile()
147 void addDirectory(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { in addDirectory() argument
148 vfs::Status S(Path, UniqueID(FSID, FileID++), in addDirectory()
151 addEntry(Path, S); in addDirectory()
154 void addSymlink(StringRef Path) { in addSymlink() argument
155 vfs::Status S(Path, UniqueID(FSID, FileID++), in addSymlink()
158 addEntry(Path, S); in addSymlink()
161 void addBrokenSymlink(StringRef Path) { in addBrokenSymlink() argument
162 vfs::Status S(Path, UniqueID(FSID, FileID++), in addBrokenSymlink()
165 addEntry(Path, S); in addBrokenSymlink()