Lines Matching refs:wd
138 def inotify_rm_watch(self, fd, wd): argument
139 return self._inotify_rm_watch(fd, wd)
164 wd = inotify_syscalls.inotify_add_watch(fd, pathname, mask)
168 return wd
170 def _inotify_rm_watch(self, fd, wd): argument
172 ret = inotify_syscalls.inotify_rm_watch(fd, wd)
233 def _inotify_rm_watch(self, fd, wd): argument
235 return self._libc.inotify_rm_watch(fd, wd)
493 def __init__(self, wd, mask, cookie, name): argument
511 d = {'wd': wd,
678 watch_ = self._watch_manager.get_watch(raw_event.wd)
722 watch_ = self._watch_manager.get_watch(raw_event.wd)
733 watch_ = self._watch_manager.get_watch(raw_event.wd)
770 watch_ = self._watch_manager.get_watch(raw_event.wd)
815 self._watch_manager.del_watch(raw_event.wd)
825 watch_ = self._watch_manager.get_watch(raw_event.wd)
831 dict_ = {'wd': raw_event.wd,
1226 wd, mask, cookie, fname_len = struct.unpack('iIII',
1233 rawevent = _RawEvent(wd, mask, cookie, uname)
1255 watch_ = self._watch_manager.get_watch(raw_event.wd)
1574 def __init__(self, wd, path, mask, proc_fun, auto_add, exclude_filter): argument
1593 self.wd = wd
1751 def get_watch(self, wd): argument
1758 return self._wmd.get(wd)
1760 def del_watch(self, wd): argument
1768 del self._wmd[wd]
1797 wd = self._inotify_wrapper.inotify_add_watch(self._fd, path, mask)
1798 if wd < 0:
1799 return wd
1800 watch = Watch(wd=wd, path=path, mask=mask, proc_fun=proc_fun,
1803 self._wmd[wd] = watch
1805 return wd
1877 wd = ret_[rpath] = self.__add_watch(rpath, mask,
1881 if wd < 0:
1883 (rpath, wd,
1928 yield iwd[1].wd
1930 def update_watch(self, wd, mask=None, proc_fun=None, rec=False, argument
1961 lwd = self.__format_param(wd)
2031 def get_path(self, wd): argument
2040 watch_ = self._wmd.get(wd)
2062 def rm_watch(self, wd, rec=False, quiet=True): argument
2080 lwd = self.__format_param(wd)