Lines Matching defs:buffer
97 // buffer for change events
98 private NativeBuffer buffer;
100 // pointer to bytes returned (in buffer)
103 // pointer to overlapped structure (in buffer)
120 NativeBuffer buffer,
128 this.buffer = buffer;
151 NativeBuffer buffer() {
152 return buffer;
171 // close directory and release buffer
174 buffer.cleaner().clean();
177 // Invalidate key by closing directory and releasing buffer
181 buffer = null;
270 // size of per-directory buffer for events (FIXME - make this configurable)
388 NativeBuffer buffer = NativeBuffers.getNativeBuffer(size);
390 long bufferAddress = buffer.address();
404 buffer.release();
412 .init(handle, events, watchSubtree, buffer, countAddress,
419 // 2. release existing key's resources (handle/buffer)
420 // 3. re-initialize key with new handle/buffer
423 watchKey = existing.init(handle, events, watchSubtree, buffer,
484 long address = key.buffer().address();
549 // buffer overflow
564 // insufficient buffer size
571 key.buffer().address(),