Lines Matching refs:object

133         // pointer to native file_obj object
134 private final long object;
146 long object,
151 this.object = object;
164 public long object() {
165 return object;
225 // events that tell us not to re-associate the object
240 // maps file_obj object to Node
304 long object = 0L;
306 object = registerImpl(dir, (FILE_MODIFIED | FILE_ATTRIB));
312 watchKey = new SolarisWatchKey(watcher, dir, fileKey, object, events);
313 object2Node.put(object, watchKey);
333 long object = node.object();
334 object2Node.remove(object);
335 releaseObject(object, true);
340 long object = key.object();
341 object2Node.remove(object);
342 releaseObject(object, true);
353 for (Long object: object2Node.keySet()) {
354 releaseObject(object, true);
404 long object = unsafe.getAddress(address + OFFSETOF_OBJECT);
419 // lookup object to get Node
420 Node node = object2Node.get(object);
450 object,
458 // object is not re-registered so release resources. If
459 // object is a watched directory then signal key
462 object2Node.remove(object);
463 releaseObject(object, false);
574 long object = 0L;
576 object = registerImpl((UnixPath)entry, events);
583 EntryNode node = new EntryNode(object, entry.getFileName(), parent);
586 object2Node.put(object, node);
622 long object = entry.getValue().object();
626 object,
651 // allocate memory for filedatanode structure - this is the object
653 long object = unsafe.allocateMemory(SIZEOF_FILEOBJ);
654 unsafe.setMemory(null, object, SIZEOF_FILEOBJ, (byte)0);
655 unsafe.putAddress(object + OFFSET_FO_NAME, name);
657 // associate the object with the port
661 object,
671 unsafe.freeMemory(object);
674 return object;
678 * Frees all resources for an file_obj object; optionally remove
681 void releaseObject(long object, boolean dissociate) {
685 portDissociate(port, PORT_SOURCE_FILE, object);
692 long name = unsafe.getAddress(object + OFFSET_FO_NAME);
694 unsafe.freeMemory(object);
702 long object();
718 private final long object;
722 EntryNode(long object, Path name, DirectoryNode parent) {
723 this.object = object;
729 public long object() {
730 return object;
748 private static native void portAssociate(int port, int source, long object, int events)
751 private static native void portDissociate(int port, int source, long object)