Lines Matching refs:offset
45 if (!memory->Init(name, prev_real_map->offset, map_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
54 if (!memory->Init(name, prev_real_map->offset, max_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
58 elf_offset = offset - prev_real_map->offset; in InitFileMemoryFromPreviousReadOnlyMap()
59 elf_start_offset = prev_real_map->offset; in InitFileMemoryFromPreviousReadOnlyMap()
65 if (offset == 0) { in GetFileMemory()
87 if (!memory->Init(name, offset, map_size)) { in GetFileMemory()
94 elf_start_offset = offset; in GetFileMemory()
96 if (memory->Init(name, offset, max_size)) { in GetFileMemory()
100 if (memory->Init(name, offset, map_size)) { in GetFileMemory()
111 elf_offset = offset; in GetFileMemory()
115 if (prev_real_map == nullptr || prev_real_map->offset != 0 || in GetFileMemory()
117 elf_start_offset = offset; in GetFileMemory()
130 if (memory->Init(name, offset, map_size)) { in GetFileMemory()
175 if (offset == 0 || name.empty() || prev_real_map == nullptr || prev_real_map->name != name || in CreateMemory()
176 prev_real_map->offset >= offset) { in CreateMemory()
181 elf_offset = offset - prev_real_map->offset; in CreateMemory()
184 elf_start_offset = prev_real_map->offset; in CreateMemory()
238 elf_start_offset = offset; in GetElf()
239 } else if (prev_real_map != nullptr && elf_start_offset != offset && in GetElf()
240 prev_real_map->offset == elf_start_offset && prev_real_map->name == name) { in GetElf()