Lines Matching refs:buffer
64 // Parses buffer as array of NULL-terminated C strings.
101 NativeBuffer buffer = null;
104 buffer = NativeBuffers.getNativeBuffer(size);
107 int n = flistxattr(fd, buffer.address(), size);
108 List<String> list = asList(buffer.address(), n);
111 // allocate larger buffer if required
113 buffer.release();
115 buffer = null;
116 buffer = NativeBuffers.getNativeBuffer(size);
125 if (buffer != null)
126 buffer.release();
155 throw new IllegalArgumentException("Read-only buffer");
167 // substitute with native buffer
184 // copy from buffer into backing array if necessary
193 "Insufficient space in buffer" : x.getMessage();
221 // substitute with native buffer
226 // copy from backing array into buffer
283 NativeBuffer buffer = null;
288 buffer = NativeBuffers.getNativeBuffer(size);
291 size = flistxattr(ofd, buffer.address(), size);
294 // allocate larger buffer if required
296 buffer.release();
298 buffer = null;
299 buffer = NativeBuffers.getNativeBuffer(size);
308 // parse buffer as array of NULL-terminated C strings.
309 long address = buffer.address();
332 if (buffer != null)
333 buffer.release();
341 NativeBuffer buffer = NativeBuffers.getNativeBuffer(size);
343 long address = buffer.address();
347 buffer.release();