Searched refs:MemoryMapping (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_memory_mapping.h | 17 class MemoryMapping { 24 MemoryMapping() : map_(NULL), size_(0) {} in MemoryMapping() function 25 ~MemoryMapping() {} in ~MemoryMapping() 75 class ScopedMemoryMapping : public MemoryMapping {
|
D | crazy_linker_ashmem.cpp | 55 if (map.Allocate(NULL, map_size, MemoryMapping::CAN_WRITE, fd)) { in CheckFileDescriptorIsReadOnly() 69 if (!map.Allocate(NULL, map_size, MemoryMapping::CAN_READ, fd)) { in CheckFileDescriptorIsReadOnly() 73 if (map.SetProtection(MemoryMapping::CAN_READ_WRITE)) { in CheckFileDescriptorIsReadOnly()
|
D | crazy_linker_elf_relro.cpp | 93 if (!map.Allocate(NULL, relro_size, MemoryMapping::CAN_WRITE, ashmem_.fd())) { in CopyFrom() 125 NULL, relro_size, MemoryMapping::CAN_READ_WRITE, ashmem_.fd())) { in CopyFromRelocated() 172 if (!fd_map.Allocate(NULL, relro_size, MemoryMapping::CAN_READ, ashmem_fd)) { in InitFrom()
|