Home
last modified time | relevance | path

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

/ndk/sources/host-tools/ndk-stack/elff/
Dmapfile.c158 void* mapped_at = NULL; in mapfile_map() local
214 mapped_at = MapViewOfFile(map_handle, win32_map, converter.HighPart, in mapfile_map()
220 if (mapped_at == NULL) { in mapfile_map()
225 mapped_at = in mapfile_map()
227 if (mapped_at == MAP_FAILED) { in mapfile_map()
232 *mapped_offset = (char*)mapped_at + (offset - map_offset); in mapfile_map()
235 return mapped_at; in mapfile_map()
239 mapfile_unmap(void* mapped_at, size_t len) in mapfile_unmap() argument
242 if (!UnmapViewOfFile(mapped_at)) { in mapfile_unmap()
248 return munmap(mapped_at, len); in mapfile_unmap()
Dmapfile.h127 extern int mapfile_unmap(void* mapped_at, size_t len);