Lines Matching refs:offset

81       prev_real_map->offset() >= offset()) {  in InitFileMemoryFromPreviousReadOnlyMap()
86 if (!memory->Init(name(), prev_real_map->offset(), map_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
95 if (!memory->Init(name(), prev_real_map->offset(), max_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
99 set_elf_offset(offset() - prev_real_map->offset()); in InitFileMemoryFromPreviousReadOnlyMap()
100 set_elf_start_offset(prev_real_map->offset()); in InitFileMemoryFromPreviousReadOnlyMap()
111 if (offset() == 0) { in CreateFileMemory()
137 if (!file_memory->Init(name(), offset(), map_size)) { in CreateFileMemory()
144 set_elf_start_offset(offset()); in CreateFileMemory()
146 if (file_memory->Init(name(), offset(), max_size)) { in CreateFileMemory()
150 if (file_memory->Init(name(), offset(), map_size)) { in CreateFileMemory()
161 set_elf_offset(offset()); in CreateFileMemory()
173 if (file_memory->Init(name(), offset(), map_size)) { in CreateFileMemory()
213 set_elf_start_offset(offset()); in CreateMemory()
219 if (offset() != 0 || next_real_map == nullptr || offset() >= next_real_map->offset()) { in CreateMemory()
232 next_real_map->offset() - offset())); in CreateMemory()
243 if (offset() == 0 || prev_real_map == nullptr || prev_real_map->offset() >= offset()) { in CreateMemory()
249 set_elf_offset(offset() - prev_real_map->offset()); in CreateMemory()
252 set_elf_start_offset(prev_real_map->offset()); in CreateMemory()
302 set_elf_start_offset(offset()); in GetElf()
305 prev_real_map->offset() < offset()) { in GetElf()
317 prev_real_map->set_elf_offset(prev_real_map->offset() - elf_start_offset()); in GetElf()