Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 14 of 14) sorted by relevance

/art/runtime/jit/
Djit_memory_region_test.cc68 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in BasicTest()
86 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in BasicTest()
124 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestUnmapWritableAfterFork()
134 mmap(nullptr, kPageSize, PROT_READ, MAP_SHARED, fd.get(), 0)); in TestUnmapWritableAfterFork()
148 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2.get(), 0)); in TestUnmapWritableAfterFork()
221 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestMadviseDontFork()
232 mmap(nullptr, kPageSize, PROT_READ, MAP_SHARED, fd.get(), 0)); in TestMadviseDontFork()
246 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2.get(), 0)); in TestMadviseDontFork()
318 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestFromSharedToPrivate()
330 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2.get(), 0)); in TestFromSharedToPrivate()
[all …]
/art/libartbase/base/
Dsafe_copy_test.cc37 void* map = mmap(nullptr, kPageSize * 4, PROT_READ | PROT_WRITE, in TEST()
85 void* src_map = mmap(nullptr, kPageSize * 3, PROT_READ | PROT_WRITE, in TEST()
90 void* dst_map = mmap(nullptr, kPageSize * 4, PROT_READ | PROT_WRITE, in TEST()
Dmem_map_unix.cc28 return mmap(start, len, prot, flags, fd, fd_off); in TargetMMap()
Dmem_map_fuchsia.cc73 return mmap(start, len, prot, flags, fd, fd_off); in TargetMMap()
/art/test/071-dexfile-map-clean/
Dexpected-stdout.txt2 Secondary dexfile mmap is clean
/art/runtime/
Dvdex_file.h187 explicit VdexFile(MemMap&& mmap) : mmap_(std::move(mmap)) {} in VdexFile() argument
Dvdex_file.cc131 MemMap mmap = MemMap::MapFileAtAddress( in OpenAtAddress() local
143 if (!mmap.IsValid()) { in OpenAtAddress()
148 std::unique_ptr<VdexFile> vdex(new VdexFile(std::move(mmap))); in OpenAtAddress()
Doat_file.cc1535 MemMap mmap = MemMap::MapPlaceholder(data.name, data.vaddr, data.memsz); in PreSetup()
1536 dlopen_mmaps_.push_back(std::move(mmap)); in PreSetup()
/art/dex2oat/
Dcommon_compiler_driver_test.cc113 inaccessible_page_ = mmap(nullptr, kPageSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in SetUp()
/art/compiler/jit/
Djit_logger.cc214 marker_address_ = mmap(nullptr, kPageSize, PROT_READ | PROT_EXEC, MAP_PRIVATE, fd, 0); in OpenMarkerFile()
/art/compiler/utils/
Dswap_space.cc155 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
/art/oatdump/
Doatdump.cc787 MemMap mmap = MemMap::MapFile( in OpenVdex() local
796 if (!mmap.IsValid()) { in OpenVdex()
801 std::unique_ptr<VdexFile> vdex_file(new VdexFile(std::move(mmap))); in OpenVdex()
/art/runtime/jni/
Dcheck_jni.cc1658 void* result = mmap(nullptr, len, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in DebugAlloc()
/art/build/boot/
Dboot-image-profile.txt45 HSPLandroid/system/Os;->mmap(JJIILjava/io/FileDescriptor;J)J
8486 HSPLlibcore/io/ForwardingOs;->mmap(JJIILjava/io/FileDescriptor;J)J