Lines Matching defs:dir
110 WatchKey register(Path dir,
116 return poller.register(dir, events, modifiers);
144 UnixPath dir,
149 super(dir, watcher);
281 UnixPath dir = (UnixPath)obj;
286 attrs = UnixFileAttributes.get(dir, true);
288 return x.asIOException(dir);
291 return new NotDirectoryException(dir.getPathForExceptionMessage());
306 object = registerImpl(dir, (FILE_MODIFIED | FILE_ATTRIB));
308 return x.asIOException(dir);
312 watchKey = new SolarisWatchKey(watcher, dir, fileKey, object, events);
317 registerChildren(dir, watchKey, false);
543 void registerChildren(UnixPath dir,
555 stream = Files.newDirectoryStream(dir);
640 long registerImpl(UnixPath dir, int events)
644 byte[] path = dir.getByteArrayForSysCalls();