Home
last modified time | relevance | path

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

/art/runtime/jit/
Djit_memory_region_test.cc67 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in BasicTest()
85 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in BasicTest()
123 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestUnmapWritableAfterFork()
133 mmap(nullptr, kPageSize, PROT_READ, MAP_SHARED, fd.get(), 0)); in TestUnmapWritableAfterFork()
147 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2.get(), 0)); in TestUnmapWritableAfterFork()
220 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestMadviseDontFork()
231 mmap(nullptr, kPageSize, PROT_READ, MAP_SHARED, fd.get(), 0)); in TestMadviseDontFork()
245 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2.get(), 0)); in TestMadviseDontFork()
317 mmap(nullptr, kPageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd.get(), 0)); in TestFromSharedToPrivate()
329 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.h189 explicit VdexFile(MemMap&& mmap) : mmap_(std::move(mmap)) {} in VdexFile() argument
Dvdex_file.cc129 MemMap mmap = MemMap::MapFileAtAddress( in OpenAtAddress() local
141 if (!mmap.IsValid()) { in OpenAtAddress()
146 std::unique_ptr<VdexFile> vdex(new VdexFile(std::move(mmap))); in OpenAtAddress()
Doat_file.cc1421 MemMap mmap = MemMap::MapPlaceholder(data.name, data.vaddr, data.memsz); in PreSetup()
1422 dlopen_mmaps_.push_back(std::move(mmap)); in PreSetup()
/art/dex2oat/
Dcommon_compiler_driver_test.cc114 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.cc781 MemMap mmap = MemMap::MapFile( in OpenVdex() local
790 if (!mmap.IsValid()) { in OpenVdex()
795 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+]Llibcore/io/Os;missing_types
8166 HSPLlibcore/io/ForwardingOs;->mmap(JJIILjava/io/FileDescriptor;J)J+]Llibcore/io/Os;Llibcore/io/Linu…