Searched defs:mmap (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/nio/
H A DMemoryBlock.java100 public static MemoryBlock mmap(FileDescriptor fd, long offset, long size, MapMode mapMode) throws IOException { method in class:MemoryBlock
102 // You can't mmap(2) a zero-length region, but Java allows it.
105 // Check just those errors mmap(2) won't detect.
122 long address = Libcore.os.mmap(0L, size, prot, flags, fd, offset);
/libcore/luni/src/main/java/android/system/
H A DOs.java292 * See <a href="http://man7.org/linux/man-pages/man2/mmap.2.html">mmap(2)</a>.
294 public static long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException { return Libcore.os.mmap(address, byteCount, prot, flags, fd, offset); } method in class:Os
/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java111 public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException { return os.mmap(address, byteCount, prot, flags, fd, offset); } method in class:ForwardingOs
H A DOs.java103 public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException; method in interface:Os
H A DPosix.java105 public native long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException; method in class:Posix

Completed in 1584 milliseconds