Searched refs:mmap (Results 1 - 9 of 9) sorted by path
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 295 * 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 D | ForwardingOs.java | 115 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 D | MemoryMappedFile.java | 31 * 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 D | Os.java | 107 public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws ErrnoException; method in interface:Os
|
H A D | Posix.java | 109 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 D | libcore_icu_ICU.cpp | 846 void* data = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fd.get(), 0); 848 FAIL_WITH_STRERROR("mmap");
|
H A D | libcore_io_Posix.cpp | 1316 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 D | FileChannelImpl.c | 51 #define mmap64 mmap
|
H A D | zip_util.c | 52 #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