Lines Matching refs:memory_
82 memory_ = new MemoryFake; in SetUp()
83 process_memory_.reset(memory_); in SetUp()
92 memory_->SetMemoryBlock(offset, 0x1000, 0); in CreateElf()
104 memory_->SetMemory(offset, &ehdr, sizeof(ehdr)); in CreateElf()
109 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
117 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
118 memory_->SetMemory(offset + 0x500, ".debug_frame"); in CreateElf()
119 memory_->SetMemory(offset + 0x550, ".text"); in CreateElf()
128 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
137 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
143 memory_->SetData32(dwarf_offset, 0xfc); in CreateElf()
144 memory_->SetData32(dwarf_offset + 0x4, 0xffffffff); in CreateElf()
145 memory_->SetData8(dwarf_offset + 0x8, 1); in CreateElf()
146 memory_->SetData8(dwarf_offset + 0x9, '\0'); in CreateElf()
147 memory_->SetData8(dwarf_offset + 0xa, 0x4); in CreateElf()
148 memory_->SetData8(dwarf_offset + 0xb, 0x4); in CreateElf()
149 memory_->SetData8(dwarf_offset + 0xc, 0x1); in CreateElf()
152 memory_->SetData32(dwarf_offset + 0x100, 0xfc); in CreateElf()
153 memory_->SetData32(dwarf_offset + 0x104, 0); in CreateElf()
154 memory_->SetData32(dwarf_offset + 0x108, pc); in CreateElf()
155 memory_->SetData32(dwarf_offset + 0x10c, size); in CreateElf()
158 memory_->SetData32(dwarf_offset, 0xffffffff); in CreateElf()
159 memory_->SetData64(dwarf_offset + 4, 0xf4); in CreateElf()
160 memory_->SetData64(dwarf_offset + 0xc, 0xffffffffffffffffULL); in CreateElf()
161 memory_->SetData8(dwarf_offset + 0x14, 1); in CreateElf()
162 memory_->SetData8(dwarf_offset + 0x15, '\0'); in CreateElf()
163 memory_->SetData8(dwarf_offset + 0x16, 0x4); in CreateElf()
164 memory_->SetData8(dwarf_offset + 0x17, 0x4); in CreateElf()
165 memory_->SetData8(dwarf_offset + 0x18, 0x1); in CreateElf()
168 memory_->SetData32(dwarf_offset + 0x100, 0xffffffff); in CreateElf()
169 memory_->SetData64(dwarf_offset + 0x104, 0xf4); in CreateElf()
170 memory_->SetData64(dwarf_offset + 0x10c, 0); in CreateElf()
171 memory_->SetData64(dwarf_offset + 0x114, pc); in CreateElf()
172 memory_->SetData64(dwarf_offset + 0x11c, size); in CreateElf()
186 MemoryFake* memory_; member in unwindstack::JitDebugTest
194 memory_->SetData32(addr, 1); in WriteDescriptor32()
196 memory_->SetData32(addr + 4, 0); in WriteDescriptor32()
198 memory_->SetData32(addr + 8, 0); in WriteDescriptor32()
200 memory_->SetData32(addr + 12, entry); in WriteDescriptor32()
206 memory_->SetData32(addr, 1); in WriteDescriptor64()
208 memory_->SetData32(addr + 4, 0); in WriteDescriptor64()
210 memory_->SetData64(addr + 8, 0); in WriteDescriptor64()
212 memory_->SetData64(addr + 16, entry); in WriteDescriptor64()
219 memory_->SetData32(addr, next); in WriteEntry32Pack()
221 memory_->SetData32(addr + 4, prev); in WriteEntry32Pack()
223 memory_->SetData32(addr + 8, elf_addr); in WriteEntry32Pack()
225 memory_->SetData64(addr + 12, elf_size); in WriteEntry32Pack()
232 memory_->SetData32(addr, next); in WriteEntry32Pad()
234 memory_->SetData32(addr + 4, prev); in WriteEntry32Pad()
236 memory_->SetData32(addr + 8, elf_addr); in WriteEntry32Pad()
238 memory_->SetData32(addr + 12, 0); in WriteEntry32Pad()
240 memory_->SetData64(addr + 16, elf_size); in WriteEntry32Pad()
247 memory_->SetData64(addr, next); in WriteEntry64()
249 memory_->SetData64(addr + 8, prev); in WriteEntry64()
251 memory_->SetData64(addr + 16, elf_addr); in WriteEntry64()
253 memory_->SetData64(addr + 24, elf_size); in WriteEntry64()
297 memory_->SetData32(0x11800, 2); in TEST_F()
318 memory_->Clear(); in TEST_F()
357 memory_->Clear(); in TEST_F()
375 memory_->Clear(); in TEST_F()
396 memory_->Clear(); in TEST_F()