Searched refs:newWd (Results 1 - 4 of 4) sorted by relevance
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | watcher_impl.cpp | 120 int newWd = inotify_add_watch(notifyFd_, arg->fileName.c_str(), watchEvents); in StartNotify() local 121 if (newWd < 0) { in StartNotify() 125 arg->wd = newWd; in StartNotify() 126 wdFileNameMap_[arg->fileName].first = newWd; in StartNotify() 133 int newWd = inotify_add_watch(notifyFd_, fileName.c_str(), watchEvents); in NotifyToWatchNewEvents() local 134 if (newWd < 0) { in NotifyToWatchNewEvents() 139 if (newWd != wd) { in NotifyToWatchNewEvents()
|
H A D | copy.cpp | 239 int newWd = inotify_add_watch(infos->notifyFd, destPath.c_str(), watchEvents); in CopySubDir() local 240 if (newWd < 0) { in CopySubDir() 241 LOGE("inotify_add_watch, newWd is unvaild, newWd = %{public}d", newWd); in CopySubDir() 258 iter->second->wds.push_back({ newWd, receiveInfo }); in CopySubDir() 675 int newWd = inotify_add_watch(infos->notifyFd, infos->destPath.c_str(), IN_MODIFY); in SubscribeLocalListener() local 676 if (newWd < 0) { in SubscribeLocalListener() 685 inotify_rm_watch(infos->notifyFd, newWd); in SubscribeLocalListener() 690 callback->wds.push_back({ newWd, receiveInf in SubscribeLocalListener() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/ |
H A D | watcher_entity.cpp | 90 int newWd = inotify_add_watch(notifyFd_, arg->fileName.c_str(), watchEvents); in StartNotify() local 91 if (newWd < 0) { in StartNotify() 95 arg->wd = newWd; in StartNotify() 96 wdFileNameMap_[arg->fileName].first = newWd; in StartNotify() 103 int newWd = inotify_add_watch(notifyFd_, fileName.c_str(), watchEvents); in NotifyToWatchNewEvents() local 104 if (newWd < 0) { in NotifyToWatchNewEvents() 109 if (newWd != wd) { in NotifyToWatchNewEvents()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | copy.cpp | 303 int newWd = inotify_add_watch(infos->notifyFd, destPath.c_str(), watchEvents); in CopySubDir() local 304 if (newWd < 0) { in CopySubDir() 305 HILOGE("inotify_add_watch, newWd is unvaild, newWd = %{public}d", newWd); in CopySubDir() 322 iter->second->wds.push_back({ newWd, receiveInfo }); in CopySubDir() 488 int newWd = inotify_add_watch(infos->notifyFd, infos->destPath.c_str(), IN_MODIFY); in SubscribeLocalListener() local 489 if (newWd < 0) { in SubscribeLocalListener() 499 inotify_rm_watch(infos->notifyFd, newWd); in SubscribeLocalListener() 504 callback->wds.push_back({ newWd, receiveInf in SubscribeLocalListener() [all...] |
Completed in 5 milliseconds