Home | History | Annotate | Download | only in files

Lines Matching refs:FilePath

55   Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher);
105 const FilePath::StringType& child,
116 bool Watch(const FilePath& path,
139 explicit WatchEntry(const FilePath::StringType& dirname)
144 FilePath::StringType subdir;
145 FilePath::StringType linkname;
163 void UpdateRecursiveWatchesForPath(const FilePath& path);
167 void TrackWatchForRecursion(InotifyReader::Watch watch, const FilePath& path);
174 void AddWatchForBrokenSymlink(const FilePath& path, WatchEntry* watch_entry);
182 FilePath target_;
191 hash_map<InotifyReader::Watch, FilePath> recursive_paths_by_watch_;
192 std::map<FilePath, InotifyReader::Watch> recursive_watches_by_path_;
294 const FilePath& path, FilePathWatcherImpl* watcher) {
331 FilePath::StringType child(event->len ? event->name : FILE_PATH_LITERAL(""));
350 const FilePath::StringType& child,
450 bool FilePathWatcherImpl::Watch(const FilePath& path,
462 std::vector<FilePath::StringType> comps;
467 watches_.push_back(WatchEntry(FilePath::StringType()));
517 FilePath path(FILE_PATH_LITERAL("/"));
563 const FilePath& changed_dir = recursive_paths_by_watch_[fired_watch];
565 std::map<FilePath, InotifyReader::Watch>::iterator start_it =
567 std::map<FilePath, InotifyReader::Watch>::iterator end_it = start_it;
569 const FilePath& cur_path = end_it->first;
579 void FilePathWatcherImpl::UpdateRecursiveWatchesForPath(const FilePath& path) {
591 for (FilePath current = enumerator.Next();
618 const FilePath& path) {
636 for (hash_map<InotifyReader::Watch, FilePath>::const_iterator it =
646 void FilePathWatcherImpl::AddWatchForBrokenSymlink(const FilePath& path,
649 FilePath link;