Home
last modified time | relevance | path

Searched refs:NativeBuffer (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DNativeBuffers.java40 private static ThreadLocal<NativeBuffer[]> threadLocal =
41 new ThreadLocal<NativeBuffer[]>();
46 static NativeBuffer allocNativeBuffer(int size) { in allocNativeBuffer()
49 return new NativeBuffer(size); in allocNativeBuffer()
56 static NativeBuffer getNativeBufferFromCache(int size) { in getNativeBufferFromCache()
58 NativeBuffer[] buffers = threadLocal.get(); in getNativeBufferFromCache()
61 NativeBuffer buffer = buffers[i]; in getNativeBufferFromCache()
76 static NativeBuffer getNativeBuffer(int size) { in getNativeBuffer()
77 NativeBuffer buffer = getNativeBufferFromCache(size); in getNativeBuffer()
90 static void releaseNativeBuffer(NativeBuffer buffer) { in releaseNativeBuffer()
[all …]
DUnixNativeDispatcher.java39 private static NativeBuffer copyToNativeBuffer(UnixPath path) { in copyToNativeBuffer()
42 NativeBuffer buffer = NativeBuffers.getNativeBufferFromCache(size); in copyToNativeBuffer()
69 NativeBuffer buffer = copyToNativeBuffer(path); in open()
83 NativeBuffer buffer = NativeBuffers.asNativeBuffer(path); in openat()
102 NativeBuffer pathBuffer = copyToNativeBuffer(filename); in fopen()
103 NativeBuffer modeBuffer = NativeBuffers.asNativeBuffer(Util.toBytes(mode)); in fopen()
123 NativeBuffer existingBuffer = copyToNativeBuffer(existing); in link()
124 NativeBuffer newBuffer = copyToNativeBuffer(newfile); in link()
139 NativeBuffer buffer = copyToNativeBuffer(path); in unlink()
152 NativeBuffer buffer = NativeBuffers.asNativeBuffer(path); in unlinkat()
[all …]
DLinuxNativeDispatcher.java42 NativeBuffer pathBuffer = NativeBuffers.asNativeBuffer(filename); in setmntent()
43 NativeBuffer typeBuffer = NativeBuffers.asNativeBuffer(type); in setmntent()
71 NativeBuffer buffer = NativeBuffers.asNativeBuffer(name); in fgetxattr()
88 NativeBuffer buffer = NativeBuffers.asNativeBuffer(name); in fsetxattr()
103 NativeBuffer buffer = NativeBuffers.asNativeBuffer(name); in fremovexattr()
DNativeBuffer.java35 class NativeBuffer { class
56 NativeBuffer(int size) { in NativeBuffer() method in NativeBuffer
DLinuxUserDefinedFileAttributeView.java105 NativeBuffer buffer = null; in list()
165 NativeBuffer nb; in read()
223 NativeBuffer nb; in write()
299 NativeBuffer buffer = null; in copyExtendedAttributes()
361 NativeBuffer buffer = NativeBuffers.getNativeBuffer(size); in copyExtendedAttribute()
DLinuxDosFileAttributeView.java214 NativeBuffer buffer = NativeBuffers.getNativeBuffer(size);
271 NativeBuffer buffer = NativeBuffers.asNativeBuffer(value);
DLinuxWatchService.java264 NativeBuffer buffer = in implRegister()
/libcore/
Dopenjdk_java_files.bp1615 "ojluni/src/main/java/sun/nio/fs/NativeBuffer.java",