/external/valgrind/main/memcheck/tests/ |
D | addressable.c | 43 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test2() 57 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test3() 67 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test4() 69 mprotect(m, pgsz, PROT_WRITE); in test4() 80 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test5()
|
D | mempool.c | 37 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 40 PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 59 PROT_READ|PROT_WRITE|PROT_EXEC, in push()
|
D | pointer-trace.c | 59 map = mmap(0, stepsize * 2, PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); in main() 66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0); in main()
|
D | sigaltstack.c | 21 char *stk = (char *)mmap(0, size, PROT_READ|PROT_WRITE|PROT_EXEC, in main()
|
D | custom_alloc.c | 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
D | bug133694.c | 9 …if ((a1 = mmap((void *)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, … in main() 21 …if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)… in main() 27 …if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FA… in main()
|
/external/qemu/android/utils/ |
D | mapfile.c | 193 if ((prot & (PROT_WRITE | PROT_EXEC)) == 0) { in mapfile_map() 196 } else if ((prot & (PROT_WRITE | PROT_EXEC)) == in mapfile_map() 197 (PROT_WRITE | PROT_EXEC)) { in mapfile_map() 200 } else if ((prot & PROT_WRITE) == PROT_WRITE) { in mapfile_map()
|
D | mapfile.h | 30 #define PROT_WRITE 0x2 macro
|
/external/libffi/testsuite/libffi.special/ |
D | ffitestcxx.h | 69 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap() 73 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap()
|
/external/libffi/testsuite/libffi.call/ |
D | ffitest.h | 69 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap() 73 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap()
|
/external/webkit/Source/WebKit2/Platform/unix/ |
D | SharedMemoryUnix.cpp | 139 void* data = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileDescriptor, 0); in create() 161 return PROT_READ | PROT_WRITE; in accessModeMMap() 165 return PROT_READ | PROT_WRITE; in accessModeMMap()
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | PageAllocationAligned.cpp | 45 protection |= PROT_WRITE; in allocate() 50 …mentMask, flags, MEMORY_OBJECT_NULL, 0, FALSE, protection, PROT_READ | PROT_WRITE | PROT_EXEC, VM_… in allocate()
|
D | TCSystemAlloc.cpp | 180 PROT_READ | PROT_WRITE, in TryMmap() 312 void *result = mmap(0, size + extra, PROT_READ | PROT_WRITE, in TryDevMem() 446 …void* newAddress = mmap(start, length, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_F… in TCMalloc_SystemRelease()
|
/external/jpeg/ |
D | jmem-ashmem.c | 129 int err = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in get_ashmem() 133 info->addr = mmap(NULL, total_bytes_needed, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in get_ashmem()
|
/external/v8/src/ |
D | platform-solaris.cc | 169 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 200 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Unprotect() 246 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in open() 261 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in create() 358 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); in Commit()
|
D | platform-openbsd.cc | 153 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); in Allocate() 232 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in open() 247 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in create() 343 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); in Commit()
|
D | platform-cygwin.cc | 149 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 179 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Unprotect() 225 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in open() 240 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in create()
|
/external/kernel-headers/original/asm-generic/ |
D | mman.h | 10 #define PROT_WRITE 0x2 /* page can be written */ macro
|
/external/valgrind/main/none/tests/amd64/ |
D | nibz_bennee_mmap.c | 35 if ((p = mmap((void*)0x1F7F100000, 4096, PROT_READ|PROT_WRITE, in main()
|
/external/valgrind/main/memcheck/tests/linux/ |
D | stack_switch.c | 39 …if ( ( stack = mmap( NULL, 2* STACK_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 )… in main()
|
/external/skia/src/ports/ |
D | SkImageRef_ashmem.cpp | 85 int err = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in allocPixelRef() 92 addr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in allocPixelRef()
|
/external/valgrind/main/massif/tests/ |
D | custom_alloc.c | 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
|
/external/valgrind/main/drd/tests/ |
D | custom_alloc.c | 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock()
|
/external/chromium/net/disk_cache/ |
D | mapped_file_posix.cc | 24 buffer_ = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, in Init()
|
/external/srec/srec/clib/ |
D | voc_read.c | 289 *buf = mmap(0, inflateSize(statbuf.st_size), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in mmap_zip() 311 buf2 = mmap(0, inflateSize(size2), PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in mmap_zip()
|