Home
last modified time | relevance | path

Searched refs:wdFileNameMap_ (Results 1 - 4 of 4) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dwatcher_impl.cpp57 auto iter = wdFileNameMap_.find(fileName); in CheckEventWatched()
58 if (iter == wdFileNameMap_.end()) { in CheckEventWatched()
116 watchEvents = wdFileNameMap_[arg->fileName].second | arg->events; in StartNotify()
126 wdFileNameMap_[arg->fileName].first = newWd; in StartNotify()
127 wdFileNameMap_[arg->fileName].second = watchEvents; in StartNotify()
143 wdFileNameMap_[fileName].second = watchEvents; in NotifyToWatchNewEvents()
199 auto found = find_if(wdFileNameMap_.begin(), wdFileNameMap_.end(), in NotifyEvent()
203 if (found != wdFileNameMap_.end()) { in NotifyEvent()
278 wdFileNameMap_ in StopNotify()
[all...]
H A Dwatcher_impl.h96 std::unordered_map<std::string, std::pair<int, uint32_t>> wdFileNameMap_; member in OHOS::CJSystemapi::FileWatcherManager
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/
H A Dwatcher_entity.cpp60 auto iter = wdFileNameMap_.find(fileName); in CheckEventWatched()
61 if (iter == wdFileNameMap_.end()) { in CheckEventWatched()
86 watchEvents = wdFileNameMap_[arg->fileName].second | arg->events; in StartNotify()
96 wdFileNameMap_[arg->fileName].first = newWd; in StartNotify()
97 wdFileNameMap_[arg->fileName].second = watchEvents; in StartNotify()
113 wdFileNameMap_[fileName].second = watchEvents; in NotifyToWatchNewEvents()
159 wdFileNameMap_.erase(arg->fileName); in StopNotify()
164 wdFileNameMap_.erase(arg->fileName); in StopNotify()
254 auto found = find_if(wdFileNameMap_.begin(), wdFileNameMap_ in NotifyEvent()
[all...]
H A Dwatcher_entity.h75 std::unordered_map<std::string, std::pair<int, uint32_t>> wdFileNameMap_; member in OHOS::FileManagement::ModuleFileIO::FileWatcher

Completed in 3 milliseconds