/external/valgrind/main/memcheck/tests/ |
custom_alloc.c | 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC,
|
origin1-yes.c | 144 mmap(0, 4096, PROT_READ, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
|
pointer-trace.c | 66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0);
|
/external/valgrind/main/memcheck/tests/linux/ |
stack_changes.c | 37 stack = (void *)mmap(0, STACK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC,
|
/external/valgrind/main/none/tests/amd64/ |
smc1.c | 103 code = mmap(NULL, 20, PROT_READ|PROT_WRITE|PROT_EXEC,
|
/external/valgrind/main/none/tests/ |
map_unmap.c | 13 void *ret = mmap(0, LEN, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
|
/external/webkit/Source/WebKit2/Platform/unix/ |
SharedMemoryUnix.cpp | 139 void* data = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileDescriptor, 0); 159 return PROT_READ; 161 return PROT_READ | PROT_WRITE; 165 return PROT_READ | PROT_WRITE;
|
/libcore/luni/src/main/java/libcore/io/ |
MemoryMappedFile.java | 53 long address = Libcore.os.mmap(0L, size, PROT_READ, MAP_SHARED, fd, 0);
|
/system/core/libcutils/ |
mspace.c | 118 if (mprotect(cs, newbrk - (char *)cs, PROT_READ | PROT_WRITE) < 0) 152 if (mprotect(base, starting_capacity, PROT_READ | PROT_WRITE) < 0) { 185 if ((mprotect(base, prot_brk - (char *)base, PROT_READ | PROT_WRITE) < 0) || 230 base = mmap(NULL, max_capacity, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/system/core/toolbox/ |
r.c | 63 page = mmap(0, mmap_size, PROT_READ | PROT_WRITE,
|
/dalvik/vm/ |
LinearAlloc.cpp | 142 pHdr->mapAddr = (char*)mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE, 156 pHdr->mapAddr = mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE, 195 ENFORCE_READ_ONLY ? PROT_READ : PROT_READ|PROT_WRITE) != 0) 355 cc = mprotect(pHdr->mapAddr + start, len, PROT_READ | PROT_WRITE); 497 SYSTEM_PAGE_SIZE, PROT_READ); 511 SYSTEM_PAGE_SIZE, PROT_READ | PROT_WRITE);
|
/dalvik/vm/compiler/ |
Compiler.h | 47 #define PROTECT_CODE_CACHE_ATTRS (PROT_READ | PROT_EXEC) 48 #define UNPROTECT_CODE_CACHE_ATTRS (PROT_READ | PROT_EXEC | PROT_WRITE)
|
/frameworks/base/libs/binder/ |
MemoryHeapBase.cpp | 60 ashmem_set_prot_region(fd, PROT_READ); 128 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset);
|
CursorWindow.cpp | 54 result = ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); 56 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); 60 result = ashmem_set_prot_region(ashmemFd, PROT_READ); 102 void* data = ::mmap(NULL, size, PROT_READ, MAP_SHARED, dupAshmemFd, 0);
|
/frameworks/base/libs/ui/tests/ |
InputChannel_test.cpp | 93 PROT_READ | PROT_WRITE, MAP_SHARED, serverChannel->getAshmemFd(), 0)); 95 PROT_READ | PROT_WRITE, MAP_SHARED, clientChannel->getAshmemFd(), 0));
|
/frameworks/compile/libbcc/lib/CodeGen/ |
CodeMemoryManager.cpp | 91 mprotect(mpCodeMem, MaxCodeSize, PROT_READ | PROT_WRITE | PROT_EXEC); 98 mprotect(mpCodeMem, MaxCodeSize, PROT_READ | PROT_EXEC);
|
/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);
|
/external/valgrind/main/none/tests/linux/ |
mremap.c | 15 p = (char *)mmap(0, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
OSAllocatorPosix.cpp | 49 int protection = PROT_READ;
|
/frameworks/compile/linkloader/android/ |
test-librsloader.c | 88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
|
/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 | 107 prot = PROT_READ|PROT_WRITE; 110 prot = PROT_READ; 113 prot = PROT_READ|PROT_WRITE;
|
/external/v8/src/ |
platform-solaris.cc | 169 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); 194 mprotect(address, size, PROT_READ); 200 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); 246 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); 261 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); 358 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0);
|
/external/icu4c/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/blktrace/btt/ |
mmap.c | 91 cur_map = mmap(NULL, len, PROT_READ, MAP_SHARED, fd,
|