/frameworks/libs/binary_translation/tests/ndk_program_tests/ |
D | sigaltstack_test.cc | 50 g_access_2 = mmap(nullptr, kAccessSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in HandleSignalOnAccess() 80 g_ss = mmap(nullptr, kStackSize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST() 91 g_access_1 = mmap(nullptr, kAccessSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
|
D | proc_self_maps_test.cc | 70 mmap(0, 3 * kPageSize, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST() 78 MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, in TEST() 94 mmap(0, 3 * kPageSize, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
D | signal_test.cc | 154 g_data_page = static_cast<int*>(mmap(0, 4096, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/arm/ |
D | runtime_code_patching_test.cc | 61 mmap(0, 4096, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST() 91 mmap(0, 4096, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
D | handle_not_executable_test.cc | 35 MAP_PRIVATE | MAP_ANONYMOUS, in TEST() 93 0, kPageSize * 2, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
D | syscall_test.cc | 44 MAP_PRIVATE | MAP_ANONYMOUS, in TEST()
|
/frameworks/libs/binary_translation/base/ |
D | memfd_backed_mmap.cc | 64 LargeMmapImplOrDie({.size = map_size, .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE})); in CreateMemfdBackedMapOrDie() 70 .flags = MAP_PRIVATE | MAP_FIXED, in CreateMemfdBackedMapOrDie()
|
D | large_mmap.cc | 64 {.size = kBufferSize + kSpacingSize, .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE})); in InitLargeMmap()
|
D | mapped_file_fragment.cc | 65 static_cast<uint8_t*>(mmap64(nullptr, map_size, PROT_READ, MAP_PRIVATE, fd, page_min)); in Map()
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/riscv64/ |
D | handle_not_executable_test.cc | 35 MAP_PRIVATE | MAP_ANONYMOUS, in TEST() 99 0, kPageSize * 2, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
D | runtime_code_patching_test.cc | 89 mmap(0, kPageSize, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/arm64/ |
D | handle_not_executable_test.cc | 35 MAP_PRIVATE | MAP_ANONYMOUS, in TEST() 93 0, kPageSize * 2, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
D | runtime_code_patching_test.cc | 83 mmap(0, 4096, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
|
/frameworks/libs/binary_translation/runtime_primitives/ |
D | code_pool_test.cc | 51 .flags = MAP_PRIVATE | MAP_ANONYMOUS, in AllocWritableRegion() 59 .flags = MAP_PRIVATE | MAP_ANONYMOUS, in AllocExecutableRegion()
|
/frameworks/libs/binary_translation/test_utils/include/berberis/test_utils/ |
D | guest_exec_region.h | 36 MAP_PRIVATE | MAP_ANONYMOUS, in MakeGuestExecRegion()
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | mmap.h | 49 int flags = MAP_PRIVATE | MAP_ANONYMOUS;
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 88 PROT_READ, MAP_PRIVATE, fd, 0)); in FileBlobCache()
|
D | MultifileBlobCache.cpp | 206 mmap(nullptr, fileSize, PROT_READ, MAP_PRIVATE, fd, 0)); in MultifileBlobCache() 457 reinterpret_cast<uint8_t*>(mmap(nullptr, fileSize, PROT_READ, MAP_PRIVATE, fd, 0)); in get()
|
/frameworks/libs/binary_translation/tiny_loader/ |
D | tiny_loader.cc | 342 int mmap_flags = MAP_PRIVATE | MAP_ANONYMOUS; in Reserve() 464 MAP_FIXED | MAP_PRIVATE, fd, file_page_start); in LoadSegments() 490 PFLAGS_TO_PROT(phdr->p_flags), MAP_FIXED | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in LoadSegments()
|
/frameworks/libs/binary_translation/guest_os_primitives/ |
D | guest_map_shadow.cc | 107 {.size = kShadowSize, .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE})); in GuestMapShadow()
|
/frameworks/base/native/webview/loader/ |
D | loader.cpp | 55 void* addr = mmap(NULL, vsize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in DoReserveAddressSpace()
|
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/ |
D | macro_assembler.cc | 322 MAP_PRIVATE | MAP_ANONYMOUS | MAP_32BIT, in GetConstants()
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 167 flag = MAP_FILE | MAP_PRIVATE;
|
/frameworks/base/libs/protoutil/src/ |
D | EncodedBuffer.cpp | 146 MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in writeBuffer()
|
/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 574 mVMStart = mmap(nullptr, BINDER_VM_SIZE, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, in ProcessState()
|