• Home
  • Raw
  • Download

Lines Matching refs:Watch

67   typedef int Watch;  // Watch descriptor used by AddWatch and RemoveWatch.  typedef in base::__anonc6a57ca40111::InotifyReader
68 static const Watch kInvalidWatch = -1;
72 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher);
75 void RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
94 std::unordered_map<Watch, WatcherSet> watchers_;
123 void OnFilePathChanged(InotifyReader::Watch fired_watch,
130 void OnFilePathChangedOnOriginSequence(InotifyReader::Watch fired_watch,
138 bool Watch(const FilePath& path,
157 InotifyReader::Watch watch;
174 void UpdateRecursiveWatches(InotifyReader::Watch fired_watch, bool is_dir);
181 void TrackWatchForRecursion(InotifyReader::Watch watch, const FilePath& path);
205 std::unordered_map<InotifyReader::Watch, FilePath> recursive_paths_by_watch_;
206 std::map<FilePath, InotifyReader::Watch> recursive_watches_by_path_;
292 InotifyReader::Watch InotifyReader::AddWatch( in AddWatch()
299 Watch watch = inotify_add_watch(inotify_fd_, path.value().c_str(), in AddWatch()
312 void InotifyReader::RemoveWatch(Watch watch, FilePathWatcherImpl* watcher) { in RemoveWatch()
353 void FilePathWatcherImpl::OnFilePathChanged(InotifyReader::Watch fired_watch, in OnFilePathChanged()
370 InotifyReader::Watch fired_watch, in OnFilePathChangedOnOriginSequence()
457 bool FilePathWatcherImpl::Watch(const FilePath& path, in Watch() function in base::__anonc6a57ca40111::FilePathWatcherImpl
507 InotifyReader::Watch old_watch = watch_entry.watch; in UpdateWatches()
529 InotifyReader::Watch fired_watch, in UpdateRecursiveWatches()
558 std::map<FilePath, InotifyReader::Watch>::iterator start_it = in UpdateRecursiveWatches()
560 std::map<FilePath, InotifyReader::Watch>::iterator end_it = start_it; in UpdateRecursiveWatches()
591 InotifyReader::Watch watch = in UpdateRecursiveWatchesForPath()
596 InotifyReader::Watch old_watch = recursive_watches_by_path_[current]; in UpdateRecursiveWatchesForPath()
598 InotifyReader::Watch watch = in UpdateRecursiveWatchesForPath()
610 void FilePathWatcherImpl::TrackWatchForRecursion(InotifyReader::Watch watch, in TrackWatchForRecursion()
650 InotifyReader::Watch watch = in AddWatchForBrokenSymlink()