Home
last modified time | relevance | path

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

/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/runtime/
Dvdex_file.h179 explicit VdexFile(MemMap&& mmap) : mmap_(std::move(mmap)) {} in VdexFile() argument
Dvdex_file.cc156 MemMap mmap = MemMap::MapFileAtAddress( in OpenAtAddress() local
168 if (!mmap.IsValid()) { in OpenAtAddress()
173 std::unique_ptr<VdexFile> vdex(new VdexFile(std::move(mmap))); in OpenAtAddress()
Doat_file.cc1188 MemMap mmap = MemMap::MapDummy(info->dlpi_name, vaddr, memsz); in PreSetup()
1189 context->dlopen_mmaps_->push_back(std::move(mmap)); in PreSetup()
/art/dex2oat/
Dcommon_compiler_driver_test.cc115 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.cc763 MemMap mmap = MemMap::MapFile( in OpenVdexUnquicken() local
772 if (!mmap.IsValid()) { in OpenVdexUnquicken()
777 std::unique_ptr<VdexFile> vdex_file(new VdexFile(std::move(mmap))); in OpenVdexUnquicken()
/art/runtime/jni/
Dcheck_jni.cc1608 void* result = mmap(nullptr, len, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in DebugAlloc()