Home
last modified time | relevance | path

Searched refs:mmap64_fn (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/tiny_loader/
Dtiny_loader.cc128 bool LoadFromFile(int fd, off64_t file_size, size_t align, TinyLoader::mmap64_fn_t mmap64_fn,
145 TinyLoader::mmap64_fn_t mmap64_fn, TinyLoader::munmap_fn_t munmap_fn,
149 size_t phdr_num, size_t align, TinyLoader::mmap64_fn_t mmap64_fn,
160 uint8_t* Reserve(void* hint, size_t size, TinyLoader::mmap64_fn_t mmap64_fn);
341 uint8_t* TinyElfLoader::Reserve(void* hint, size_t size, TinyLoader::mmap64_fn_t mmap64_fn) { in Reserve() argument
344 void* mmap_ptr = mmap64_fn(hint, size, PROT_NONE, mmap_flags, -1, 0); in Reserve()
353 size_t align, TinyLoader::mmap64_fn_t mmap64_fn, in ReserveAddressSpace() argument
368 start = Reserve(addr, size, mmap64_fn); in ReserveAddressSpace()
380 start = Reserve(nullptr, size, mmap64_fn); in ReserveAddressSpace()
389 uint8_t* unaligned_start = Reserve(nullptr, align + size, mmap64_fn); in ReserveAddressSpace()
[all …]
/frameworks/libs/binary_translation/tiny_loader/include/berberis/tiny_loader/
Dtiny_loader.h34 static bool LoadFromFile(const char* path, size_t align, mmap64_fn_t mmap64_fn,