Lines Matching refs:existing
85 // file key (used to detect existing registrations)
311 * 5. Create or return existing key representing registration
364 WindowsWatchKey existing = fk2key.get(fk);
368 if (existing != null && watchSubtree == existing.watchSubtree()) {
369 existing.setEvents(events);
370 return existing;
409 if (existing == null) {
418 // 1. remove mapping from old completion key to existing watch key
419 // 2. release existing key's resources (handle/buffer)
421 int2key.remove(existing.completionKey());
422 existing.releaseResources();
423 watchKey = existing.init(handle, events, watchSubtree, buffer,