Searched refs:mmap (Results 1 - 9 of 9) sorted by path

/libcore/luni/src/main/java/android/system/
H A DOs.java295 * See <a href="http://man7.org/linux/man-pages/man2/mmap.2.html">mmap(2)</a>.
297 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.java115 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 DMemoryMappedFile.java31 * A memory-mapped file. Use {@link #mmap} to map a file, {@link #close} to unmap a file,
40 * Use this if you've called {@code mmap} yourself.
48 * Use this to mmap the whole file read-only.
53 long address = Libcore.os.mmap(0L, size, PROT_READ, MAP_SHARED, fd, 0);
H A DOs.java107 public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException; method in interface:Os
H A DPosix.java109 public native long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException; method in class:Posix
/libcore/luni/src/main/native/
H A Dlibcore_icu_ICU.cpp846 void* data = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fd.get(), 0);
848 FAIL_WITH_STRERROR("mmap");
H A Dlibcore_io_Posix.cpp1316 void* ptr = mmap(suggestedPtr, byteCount, prot, flags, fd, offset);
1318 throwErrnoException(env, "mmap");
2026 NATIVE_METHOD(Posix, mmap, "(JJIILjava/io/FileDescriptor;J)J"),
/libcore/ojluni/src/main/native/
H A DFileChannelImpl.c51 #define mmap64 mmap
H A Dzip_util.c52 #define mmap64 mmap
55 /* USE_MMAP means mmap the CEN & ENDHDR part of the zip file. */
613 /* On Solaris & Linux prior to JDK 6, we used to mmap the whole jar file to
615 * footprint numbers because the mmap'ed pages were adding into the totals shown
619 * 1. Greatly reduces mmap overhead after startup complete;
646 jio_fprintf(stderr, "mmap failed for CEN and END part of zip file\n");

Completed in 148 milliseconds