Searched defs:Allocate (Results 1 - 3 of 3) sorted by relevance

/ndk/sources/android/crazy_linker/src/
H A Dcrazy_linker_ashmem.cpp21 bool AshmemRegion::Allocate(size_t region_size, const char* region_name) { function in class:crazy::AshmemRegion
55 if (map.Allocate(NULL, map_size, MemoryMapping::CAN_WRITE, fd)) {
69 if (!map.Allocate(NULL, map_size, MemoryMapping::CAN_READ, fd)) {
H A Dcrazy_linker_memory_mapping.h31 // Allocate a new mapping.
37 bool Allocate(void* address, size_t size, Protection prot, int fd) { function in class:crazy::MemoryMapping
H A Dcrazy_linker_elf_relro.cpp70 bool SharedRelro::Allocate(size_t relro_size, function in class:crazy::SharedRelro
73 // Allocate a new ashmem region.
76 if (!ashmem_.Allocate(relro_size, name.c_str())) {
93 if (!map.Allocate(NULL, relro_size, MemoryMapping::CAN_WRITE, ashmem_.fd())) {
124 if (!map.Allocate(
172 if (!fd_map.Allocate(NULL, relro_size, MemoryMapping::CAN_READ, ashmem_fd)) {

Completed in 249 milliseconds