/frameworks/rs/cpu_ref/linkloader/lib/ |
D | MemChunk.cpp | 75 PROT_READ | PROT_WRITE, in allocate() 80 PROT_READ | PROT_WRITE, in allocate()
|
/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 53 result = ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); in create() 55 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); in create() 59 result = ashmem_set_prot_region(ashmemFd, PROT_READ); in create() 101 void* data = ::mmap(NULL, size, PROT_READ, MAP_SHARED, dupAshmemFd, 0); in createFromParcel()
|
/frameworks/native/libs/binder/ |
D | MemoryHeapBase.cpp | 60 ashmem_set_prot_region(fd, PROT_READ); in MemoryHeapBase() 128 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); in mapfd()
|
D | Parcel.cpp | 794 int result = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in writeBlob() 798 void* ptr = ::mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in writeBlob() 802 result = ashmem_set_prot_region(fd, PROT_READ); in writeBlob() 1193 void* ptr = ::mmap(NULL, len, PROT_READ, MAP_SHARED, fd, 0); in readBlob()
|
D | ProcessState.cpp | 386 mVMStart = mmap(0, BINDER_VM_SIZE, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, mDriverFD, 0); in ProcessState()
|
D | IMemory.cpp | 306 int access = PROT_READ; in assertReallyMapped()
|
/frameworks/rs/cpu_ref/linkloader/include/ |
D | mmanWindows.h | 53 #define PROT_READ 0x1 macro
|
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
D | ELFSectionBits.hxx | 55 int prot = PROT_READ; in protect()
|
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 41 private static final int PROT_READ = 0x1; field in MemoryFile 73 mAddress = native_mmap(mFD, length, PROT_READ | PROT_WRITE); in MemoryFile()
|
/frameworks/rs/cpu_ref/linkloader/android/ |
D | test-librsloader.c | 88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in main()
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 170 prot = PROT_READ; 180 prot = PROT_READ | PROT_WRITE;
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 165 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); in main()
|
/frameworks/rs/cpu_ref/linkloader/ |
D | main.cpp | 238 mmap(0, size, PROT_READ, MAP_PRIVATE, fd, 0)); in open_mmap_file()
|
/frameworks/av/services/audioflinger/ |
D | test-resample.cpp | 164 input_vaddr = mmap(0, input_size, PROT_READ, MAP_PRIVATE, input_fd, 0); in main()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_cache.cpp | 315 PROT_READ, MAP_PRIVATE, fd, 0)); in loadBlobCacheLocked()
|
/frameworks/base/tests/touchlag/ |
D | touchlag.cpp | 227 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicColorMatrix.cpp | 413 mBuf = (uint8_t *)mmap(0, mBufSize, PROT_READ | PROT_WRITE, in build() 655 int ret = mprotect(mBuf, mBufSize, PROT_READ | PROT_EXEC); in build()
|
/frameworks/base/core/jni/ |
D | android_database_SQLiteConnection.cpp | 524 void* ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in createAshmemRegionWithData() 535 if (ashmem_set_prot_region(fd, PROT_READ) < 0) { in createAshmemRegionWithData()
|
/frameworks/native/cmds/servicemanager/ |
D | binder.c | 112 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); in binder_open()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeAac.cpp | 432 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); in TestDecToBuffQueue()
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 333 ptr = mmap(NULL, statbuf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, (off_t) 0); in main()
|