Home
last modified time | relevance | path

Searched refs:EventKind (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/unittests/DirectoryWatcher/
H A DDirectoryWatcherTest.cpp35 typedef DirectoryWatcher::Event::EventKind EventKind; typedef
99 case EventKind::Removed: in eventKindToString()
101 case EventKind::Modified: in eventKindToString()
103 case EventKind::WatchedDirRemoved: in eventKindToString()
279 {{EventKind::Modified, "a"}, in TEST()
280 {EventKind::Modified, "b"}, in TEST()
286 {{EventKind::Modified, "a"}, in TEST()
287 {EventKind::Modified, "b"}, in TEST()
288 {EventKind::Modified, "c"}} in TEST()
312 {{EventKind::Modified, "a"}, in TEST()
[all …]
/llvm-project-15.0.7/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp51 void emplace(DirectoryWatcher::Event::EventKind Kind, StringRef Path) { in emplace()
157 Q.emplace(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in WatcherThreadProc()
172 Q.emplace(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in WatcherThreadProc()
184 Q.emplace(DirectoryWatcher::Event::EventKind::WatchedDirRemoved, in WatcherThreadProc()
186 Q.emplace(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in WatcherThreadProc()
194 Q.emplace(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in WatcherThreadProc()
205 DirectoryWatcher::Event::EventKind Kind = in WatcherThreadProc()
206 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated; in WatcherThreadProc()
211 Kind = DirectoryWatcher::Event::EventKind::Modified; in WatcherThreadProc()
215 Kind = DirectoryWatcher::Event::EventKind::Removed; in WatcherThreadProc()
[all …]
/llvm-project-15.0.7/clang/lib/DirectoryWatcher/mac/
H A DDirectoryWatcher-mac.cpp65 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""), in ~DirectoryWatcherMac()
119 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""}); in eventStreamCallback()
127 DirectoryWatcher::Event::EventKind::WatchedDirRemoved, ""}); in eventStreamCallback()
129 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""}); in eventStreamCallback()
135 Events.emplace_back(DirectoryWatcher::Event::EventKind::Removed, in eventStreamCallback()
140 Events.emplace_back(DirectoryWatcher::Event::EventKind::Removed, in eventStreamCallback()
143 Events.emplace_back(DirectoryWatcher::Event::EventKind::Modified, in eventStreamCallback()
151 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""}); in eventStreamCallback()
/llvm-project-15.0.7/clang/include/clang/DirectoryWatcher/
H A DDirectoryWatcher.h67 enum class EventKind { enum
93 EventKind Kind;
98 Event(EventKind Kind, llvm::StringRef Filename) in Event()
/llvm-project-15.0.7/clang/lib/DirectoryWatcher/linux/
H A DDirectoryWatcher-linux.cpp90 void push_back(const DirectoryWatcher::Event::EventKind K, in push_back()
169 Queue.push_back(DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, in StopWork()
257 Queue.push_back(DirectoryWatcher::Event::EventKind::Modified, in InotifyPollingLoop()
260 Queue.push_back(DirectoryWatcher::Event::EventKind::Removed, in InotifyPollingLoop()
263 Queue.push_back(DirectoryWatcher::Event::EventKind::WatchedDirRemoved, in InotifyPollingLoop()
289 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated) { in EventReceivingLoop()
/llvm-project-15.0.7/clang/lib/DirectoryWatcher/
H A DDirectoryScanner.cpp49 DirectoryWatcher::Event::EventKind::Modified, File}); in getAsFileEvents()