Home
last modified time | relevance | path

Searched refs:MAP_ANONYMOUS (Results 1 – 25 of 30) 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/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/
Dmemfd_backed_mmap.cc64 LargeMmapImplOrDie({.size = map_size, .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE})); in CreateMemfdBackedMapOrDie()
Dlarge_mmap.cc64 {.size = kBufferSize + kSpacingSize, .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE})); in InitLargeMmap()
/frameworks/libs/binary_translation/base/include/berberis/base/
Dmmap.h49 int flags = MAP_PRIVATE | MAP_ANONYMOUS;
/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/libs/binary_translation/tiny_loader/
Dtiny_loader.cc342 int mmap_flags = MAP_PRIVATE | MAP_ANONYMOUS; in Reserve()
490 PFLAGS_TO_PROT(phdr->p_flags), MAP_FIXED | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in LoadSegments()
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp146 MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in writeBuffer()
/frameworks/base/cmds/incidentd/src/
DSection.cpp743 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in BlockingCall()
838 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in BlockingCall()
/frameworks/base/core/jni/
Dcom_android_internal_os_ZygoteCommandBuffer.cpp300 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in com_android_internal_os_ZygoteCommandBuffer_getNativeBuffer()
/frameworks/native/libs/vr/libbroadcastring/
Dbroadcast_ring_test.cc575 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in TEST()
615 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in TEST()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java443 public static final int MAP_ANONYMOUS = placeholder(); field in OsConstants
/frameworks/av/media/libmedia/
DIOMX.cpp543 MAP_PRIVATE | MAP_ANONYMOUS, -1 /* fd */, 0 /* offset */); in onTransact()

12