Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 12 of 12) 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.txt2 Secondary dexfile mmap is clean
/art/dex2oat/
Dcommon_compiler_driver_test.cc115 inaccessible_page_ = mmap(nullptr, kPageSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in SetUp()
/art/runtime/
Dvdex_file.h179 explicit VdexFile(MemMap&& mmap) : mmap_(std::move(mmap)) {} in VdexFile() argument
Dvdex_file.cc160 MemMap mmap = MemMap::MapFileAtAddress( in OpenAtAddress() local
172 if (!mmap.IsValid()) { in OpenAtAddress()
177 std::unique_ptr<VdexFile> vdex(new VdexFile(std::move(mmap))); in OpenAtAddress()
Doat_file.cc1354 MemMap mmap = MemMap::MapDummy(data.name, data.vaddr, data.memsz); in PreSetup()
1355 dlopen_mmaps_.push_back(std::move(mmap)); in PreSetup()
/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.cc762 MemMap mmap = MemMap::MapFile( in OpenVdexUnquicken() local
771 if (!mmap.IsValid()) { in OpenVdexUnquicken()
776 std::unique_ptr<VdexFile> vdex_file(new VdexFile(std::move(mmap))); in OpenVdexUnquicken()