Home
last modified time | relevance | path

Searched refs:newWd (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dwatcher_impl.cpp107 int newWd = inotify_add_watch(notifyFd_, data_->fileName.c_str(), watchEvents); in StartNotify() local
108 if (newWd < 0) { in StartNotify()
112 data_->wd = newWd; in StartNotify()
113 wdFileNameMap_[data_->fileName].first = newWd; in StartNotify()
120 int newWd = inotify_add_watch(notifyFd_, fileName.c_str(), watchEvents); in NotifyToWatchNewEvents() local
121 if (newWd < 0) { in NotifyToWatchNewEvents()
126 if (newWd != wd) { in NotifyToWatchNewEvents()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/
H A Dwatcher_entity.cpp90 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()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcopy.cpp299 int newWd = inotify_add_watch(infos->notifyFd, destPath.c_str(), watchEvents); in CopySubDir() local
300 if (newWd < 0) { in CopySubDir()
301 HILOGE("inotify_add_watch, newWd is unvaild, newWd = %{public}d", newWd); in CopySubDir()
318 iter->second->wds.push_back({ newWd, receiveInfo }); in CopySubDir()
480 int newWd = inotify_add_watch(infos->notifyFd, infos->destPath.c_str(), IN_MODIFY); in SubscribeLocalListener() local
481 if (newWd < 0) { in SubscribeLocalListener()
491 inotify_rm_watch(infos->notifyFd, newWd); in SubscribeLocalListener()
496 callback->wds.push_back({ newWd, receiveInfo }); in SubscribeLocalListener()
/ohos5.0/docs/zh-cn/application-dev/key-features/multi-device-app-dev/
H A Dtypical-layout-scenario.md663 let newWd: number
666 newWd = 360
669 newWd = 360
672 newWd = 600
675 newWd = 600
679 this.myWidth = newWd