Searched refs:wd (Results 1 – 2 of 2) sorted by relevance
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
D | inotifyndk.cpp | 74 int wd = ERROR; in InotifyAddWatch() local 77 wd = inotify_add_watch(fd, path, IN_ALL_EVENTS); in InotifyAddWatch() 78 inotify_rm_watch(fd, wd); in InotifyAddWatch() 80 if (wd != ERROR) { in InotifyAddWatch() 81 wd = TRUE; in InotifyAddWatch() 84 napi_create_int32(env, wd, &result); in InotifyAddWatch() 93 int wd = ERROR; in InotifyRmWatch() local 96 wd = inotify_add_watch(fd, path, IN_ALL_EVENTS); in InotifyRmWatch() 97 wd = inotify_rm_watch(fd, wd); in InotifyRmWatch() 99 if (wd != ERROR) { in InotifyRmWatch() [all …]
|
/test/ostest/wukong/report/src/ |
D | report.cpp | 49 int wd; in ListenCrashDir() local 59 wd = inotify_add_watch(fd, "/data/log/faultlog/faultlogger/", IN_CLOSE_WRITE); in ListenCrashDir() 61 if (wd < 0) { in ListenCrashDir()
|