Home
last modified time | relevance | path

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

/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_event_source_example/
H A Dbundle_event_source_example.cpp105 if (it.second != event->wd) { in OnFileDescriptorEvent()
147 int wd = inotify_add_watch(inotifyFd_, SYSTEM_FAULT_LOG_PATH.c_str(), IN_CLOSE_WRITE | IN_MOVED_TO); in GetPollFd() local
148 if (wd < 0) { in GetPollFd()
156 fileMap_[SYSTEM_FAULT_LOG_PATH] = wd; in GetPollFd()
/base/hiviewdfx/hiview/test/plugins/examples/event_source_example/
H A Devent_source_example.cpp109 if (it.second != event->wd) { in OnFileDescriptorEvent()
151 int wd = inotify_add_watch(inotifyFd_, SYSTEM_FAULT_LOG_PATH.c_str(), IN_CLOSE_WRITE | IN_MOVED_TO); in GetPollFd() local
152 if (wd < 0) { in GetPollFd()
160 fileMap_[SYSTEM_FAULT_LOG_PATH] = wd; in GetPollFd()
/base/hiviewdfx/hiview/base/test/unittest/common/
H A Devent_loop_test.cpp115 if (it.second != event->wd) { in OnFileDescriptorEvent()
116 printf("fail to find check point: %d", event->wd); in OnFileDescriptorEvent()
149 int wd = inotify_add_watch(inotifyFd_, EVENT_LOG_PATH.c_str(), IN_CLOSE_WRITE | IN_MOVED_TO); in GetPollFd() local
150 if (wd < 0) { in GetPollFd()
156 fileMap_[EVENT_LOG_PATH] = wd; in GetPollFd()
/base/account/os_account/services/accountmgr/src/
H A Daccount_file_watcher_manager.cpp257 if (fileNameMgrMap_.find(event->wd) != fileNameMgrMap_.end()) { in DealWithFileEvent()
258 std::shared_ptr<FileWatcher> fileWatcher = fileNameMgrMap_[event->wd]; in DealWithFileEvent()
502 ACCOUNT_LOGE("failed to remove wd, err:%{public}d", errno); in CloseNotify()

Completed in 3 milliseconds