Lines Matching refs:Path
114 StringRef Path = ((const char **)EventPaths)[i]; in eventStreamCallback() local
125 Path == ctx->WatchedPath) { in eventStreamCallback()
136 llvm::sys::path::filename(Path)); in eventStreamCallback()
139 if (!getFileStatus(Path).has_value()) { in eventStreamCallback()
141 llvm::sys::path::filename(Path)); in eventStreamCallback()
144 llvm::sys::path::filename(Path)); in eventStreamCallback()
161 StringRef Path, in createFSEventStream() argument
164 if (Path.empty()) in createFSEventStream()
171 CFStringCreateWithBytes(nullptr, (const UInt8 *)Path.data(), in createFSEventStream()
172 Path.size(), kCFStringEncodingUTF8, false); in createFSEventStream()
182 StringRef P = llvm::Twine(Path).toNullTerminatedStringRef(Storage); in createFSEventStream()
187 RealPath = Path.str(); in createFSEventStream()
217 StringRef Path, in create() argument
223 if (Path.empty()) in create()
227 auto EventStream = createFSEventStream(Path, Receiver, Queue); in create()
231 std::make_unique<DirectoryWatcherMac>(Queue, EventStream, Receiver, Path); in create()
235 const std::string CopiedPath = Path.str(); in create()
260 StringRef Path, in create() argument