Searched defs:MemMap (Results 1 - 2 of 2) sorted by relevance

/art/runtime/
H A Dmem_map.h48 // On 64b systems not supporting MAP_32BIT, the implementation of MemMap will do a linear scan
51 // For this to work, it is paramount that there are no other static initializers that access MemMap.
53 class MemMap { class in namespace:art
62 // On success, returns returns a MemMap instance. On failure, returns a NULL;
63 static MemMap* MapAnonymous(const char* ashmem_name, byte* addr, size_t byte_count, int prot,
69 // On success, returns returns a MemMap instance. On failure, returns a NULL;
70 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start,
81 // On success, returns returns a MemMap instance. On failure, returns a
83 static MemMap* MapFileAtAddress(byte* addr, size_t byte_count, int prot, int flags, int fd,
88 ~MemMap() LOCKS_EXCLUDE
[all...]
H A Dmem_map.cc62 std::ostream& operator<<(std::ostream& os, const MemMap::Maps& mem_maps) {
63 os << "MemMap:" << std::endl;
66 MemMap* map = it->second;
73 MemMap::Maps* MemMap::maps_ = nullptr;
130 uintptr_t MemMap::next_mem_pos_ = GenerateNextMemPos();
239 MemMap* MemMap::MapAnonymous(const char* name, byte* expected_ptr, size_t byte_count, int prot,
242 return new MemMap(name, nullptr, 0, nullptr, 0, prot, false);
382 return new MemMap(nam
476 MemMap::MemMap(const std::string& name, byte* begin, size_t size, void* base_begin, function in class:art::MemMap
[all...]

Completed in 174 milliseconds