/external/chromium_org/third_party/WebKit/Source/wtf/ |
TCSystemAlloc.cpp | 101 PROT_READ | PROT_WRITE, 215 void* newAddress = mmap(start, length, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0);
|
/frameworks/native/libs/binder/ |
MemoryHeapBase.cpp | 60 ashmem_set_prot_region(fd, PROT_READ); 128 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset);
|
/system/core/init/ |
logo.c | 65 fb->bits = mmap(0, fb_size(fb), PROT_READ | PROT_WRITE, 126 data = mmap(0, s.st_size, PROT_READ, MAP_SHARED, fd, 0);
|
/system/extras/tests/memtest/ |
memtest.cpp | 146 void* addr1 = mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); 165 void* addr2 = mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
|
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_ionbuf.c | 83 l_buffer = mmap(NULL, p_buffer->alloc.len, PROT_READ | PROT_WRITE,
|
/external/aac/libSYS/src/linux/ |
genericStds_linux.cpp | 205 ptr = (unsigned long *)mmap(NULL, KERNEL_SRAM_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/external/chromium_org/v8/src/ |
platform-freebsd.cc | 86 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); 120 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); 135 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); 299 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
|
platform-macos.cc | 82 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); 122 PROT_READ | PROT_WRITE, 142 PROT_READ | PROT_WRITE, 303 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
|
platform-cygwin.cc | 79 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); 112 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); 127 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0);
|
/external/valgrind/main/memcheck/tests/ |
custom_alloc.c | 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC,
|
/external/valgrind/main/none/tests/linux/ |
mremap.c | 15 p = (char *)mmap(0, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
|
/frameworks/base/libs/androidfw/ |
CursorWindow.cpp | 53 result = ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); 55 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); 59 result = ashmem_set_prot_region(ashmemFd, PROT_READ); 101 void* data = ::mmap(NULL, size, PROT_READ, MAP_SHARED, dupAshmemFd, 0);
|
/frameworks/rs/cpu_ref/linkloader/android/ |
test-librsloader.c | 88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpeg_ionbuf.c | 83 l_buffer = mmap(NULL, p_buffer->alloc.len, PROT_READ | PROT_WRITE,
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_helper.c | 67 PROT_READ | PROT_WRITE, 130 PROT_READ | PROT_WRITE, 300 PROT_READ | PROT_WRITE,
|
/external/oprofile/libdb/ |
db_manage.c | 81 new_map = mmap(0, new_file_size, PROT_READ | PROT_WRITE, 185 int mmflags = (rw == ODB_RDWR) ? (PROT_READ | PROT_WRITE) : PROT_READ;
|
/libcore/luni/src/main/java/java/nio/ |
MemoryBlock.java | 106 prot = PROT_READ|PROT_WRITE; 109 prot = PROT_READ; 112 prot = PROT_READ|PROT_WRITE;
|
/external/chromium_org/third_party/icu/source/common/ |
umapfile.c | 185 data=mmap(0, length, PROT_READ, MAP_SHARED, fd, 0); 187 data=mmap(0, length, PROT_READ, MAP_PRIVATE, fd, 0); 397 data=mmap(0, length, PROT_READ, MAP_PRIVATE, fd, 0);
|
/external/icu4c/common/ |
umapfile.c | 181 data=mmap(0, length, PROT_READ, MAP_SHARED, fd, 0); 183 data=mmap(0, length, PROT_READ, MAP_PRIVATE, fd, 0); 393 data=mmap(0, length, PROT_READ, MAP_PRIVATE, fd, 0);
|
/art/runtime/gc/accounting/ |
card_table.cc | 58 capacity + 256, PROT_READ | PROT_WRITE));
|
/art/runtime/gc/space/ |
large_object_space.cc | 60 PROT_READ | PROT_WRITE); 132 PROT_READ | PROT_WRITE); 233 mprotect(header, allocation_size, PROT_READ); 294 mprotect(new_header, allocation_size, PROT_READ | PROT_WRITE);
|
/external/aac/libSYS/src/mips/ |
genericStds_mips.cpp | 142 ptr = (unsigned long *)mmap(NULL, MIPS_SRAM_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/external/blktrace/btt/ |
mmap.c | 91 cur_map = mmap(NULL, len, PROT_READ, MAP_SHARED, fd,
|
/external/chromium_org/base/memory/ |
shared_memory_nacl.cc | 94 memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE),
|
/external/linux-tools-perf/util/ |
util.c | 78 addr = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fromfd, 0);
|