Home
last modified time | relevance | path

Searched refs:MAP_PRIVATE (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dsigaltstack_test.cc50 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()
Dproc_self_maps_test.cc70 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()
Dsignal_test.cc154 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/
Druntime_code_patching_test.cc61 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()
Dhandle_not_executable_test.cc35 MAP_PRIVATE | MAP_ANONYMOUS, in TEST()
93 0, kPageSize * 2, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
Dsyscall_test.cc44 MAP_PRIVATE | MAP_ANONYMOUS, in TEST()
/frameworks/libs/binary_translation/base/
Dmemfd_backed_mmap.cc64 LargeMmapImplOrDie({.size = map_size, .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE})); in CreateMemfdBackedMapOrDie()
70 .flags = MAP_PRIVATE | MAP_FIXED, in CreateMemfdBackedMapOrDie()
Dlarge_mmap.cc64 {.size = kBufferSize + kSpacingSize, .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE})); in InitLargeMmap()
Dmapped_file_fragment.cc65 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/
Dhandle_not_executable_test.cc35 MAP_PRIVATE | MAP_ANONYMOUS, in TEST()
99 0, kPageSize * 2, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
Druntime_code_patching_test.cc89 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/
Dhandle_not_executable_test.cc35 MAP_PRIVATE | MAP_ANONYMOUS, in TEST()
93 0, kPageSize * 2, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
Druntime_code_patching_test.cc83 mmap(0, 4096, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST()
/frameworks/libs/binary_translation/runtime_primitives/
Dcode_pool_test.cc51 .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/
Dguest_exec_region.h36 MAP_PRIVATE | MAP_ANONYMOUS, in MakeGuestExecRegion()
/frameworks/libs/binary_translation/base/include/berberis/base/
Dmmap.h49 int flags = MAP_PRIVATE | MAP_ANONYMOUS;
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp88 PROT_READ, MAP_PRIVATE, fd, 0)); in FileBlobCache()
DMultifileBlobCache.cpp206 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/
Dtiny_loader.cc342 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/
Dguest_map_shadow.cc107 {.size = kShadowSize, .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE})); in GuestMapShadow()
/frameworks/base/native/webview/loader/
Dloader.cpp55 void* addr = mmap(NULL, vsize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in DoReserveAddressSpace()
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/
Dmacro_assembler.cc322 MAP_PRIVATE | MAP_ANONYMOUS | MAP_32BIT, in GetConstants()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc167 flag = MAP_FILE | MAP_PRIVATE;
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp146 MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in writeBuffer()
/frameworks/native/libs/binder/
DProcessState.cpp574 mVMStart = mmap(nullptr, BINDER_VM_SIZE, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, in ProcessState()

12