Searched refs:map_offset (Results 1 – 2 of 2) sorted by relevance
/arkcompiler/runtime_core/platforms/unix/libpandabase/ |
D | mem.cpp | 42 size_t map_offset = RoundDown(file_offset, GetPageSize()); in MapFile() local 43 size_t offset = file_offset - map_offset; in MapFile() 45 void *result = mmap(hint, map_size, prot, flags, file.GetFd(), map_offset); in MapFile()
|
/arkcompiler/runtime_core/platforms/windows/libpandabase/ |
D | mem.cpp | 161 size_t map_offset = RoundDown(file_offset, GetPageSize()); in MapFile() local 162 size_t offset = file_offset - map_offset; in MapFile() 164 void *result = mmap(hint, map_size, prot, flags, file.GetFd(), map_offset); in MapFile()
|