Lines Matching refs:Event
25 std::function<void(llvm::ArrayRef<clang::DirectoryWatcher::Event>, bool)>;
37 std::function<void(ArrayRef<DirectoryWatcher::Event>, bool)> Callback;
47 std::queue<DirectoryWatcher::Event> Q;
51 void emplace(DirectoryWatcher::Event::EventKind Kind, StringRef Path) { in emplace()
59 DirectoryWatcher::Event pop_front() { in pop_front()
63 DirectoryWatcher::Event E = Q.front(); in pop_front()
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()
236 DirectoryWatcher::Event E = Q.pop_front(); in NotifierThreadProc()
238 if (E.Kind == DirectoryWatcher::Event::EventKind::WatcherGotInvalidated) in NotifierThreadProc()