Home
last modified time | relevance | path

Searched refs:MapFile (Results 1 – 4 of 4) sorted by relevance

/art/runtime/
Dmem_map.h77 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start, in MapFile() function
Delf_file.cc192 if (!SetMap(MemMap::MapFile(elf_header_size, prot, flags, file_->Fd(), 0, in Setup()
205 if (!SetMap(MemMap::MapFile(program_header_size, prot, flags, file_->Fd(), 0, in Setup()
213 if (!SetMap(MemMap::MapFile(file_->GetLength(), prot, flags, file_->Fd(), 0, in Setup()
1778 std::unique_ptr<MemMap> map(MemMap::MapFile(EI_NIDENT, PROT_READ, MAP_PRIVATE, file->Fd(), 0, in Open()
1812 std::unique_ptr<MemMap> map(MemMap::MapFile(EI_NIDENT, PROT_READ, MAP_PRIVATE, file->Fd(), 0, in Open()
Ddex_file.cc228 map.reset(MemMap::MapFile(length, PROT_READ, MAP_PRIVATE, fd, 0, location, error_msg)); in OpenFile()
/art/patchoat/
Dpatchoat.cc153 std::unique_ptr<MemMap> image(MemMap::MapFile(image_len, PROT_READ | PROT_WRITE, MAP_PRIVATE, in Patch()
248 std::unique_ptr<MemMap> image(MemMap::MapFile(image_len, PROT_READ | PROT_WRITE, MAP_PRIVATE, in Patch()