Lines Matching refs:info
200 MapInfo* info = maps.Find(0x1000); in TEST() local
201 ASSERT_TRUE(info != nullptr); in TEST()
202 ASSERT_EQ(0x1000U, info->start); in TEST()
203 ASSERT_EQ(0x2000U, info->end); in TEST()
204 ASSERT_EQ(0x10U, info->offset); in TEST()
205 ASSERT_EQ(PROT_READ, info->flags); in TEST()
206 ASSERT_EQ("/system/lib/fake1.so", info->name); in TEST()
208 info = maps.Find(0x3020); in TEST()
209 ASSERT_TRUE(info != nullptr); in TEST()
210 ASSERT_EQ(0x3000U, info->start); in TEST()
211 ASSERT_EQ(0x4000U, info->end); in TEST()
212 ASSERT_EQ(0x20U, info->offset); in TEST()
213 ASSERT_EQ(PROT_WRITE, info->flags); in TEST()
214 ASSERT_EQ("/system/lib/fake2.so", info->name); in TEST()
216 info = maps.Find(0x6020); in TEST()
217 ASSERT_TRUE(info != nullptr); in TEST()
218 ASSERT_EQ(0x6000U, info->start); in TEST()
219 ASSERT_EQ(0x8000U, info->end); in TEST()
220 ASSERT_EQ(0x30U, info->offset); in TEST()
221 ASSERT_EQ(PROT_EXEC, info->flags); in TEST()
222 ASSERT_EQ("/system/lib/fake3.so", info->name); in TEST()
224 info = maps.Find(0xafff); in TEST()
225 ASSERT_TRUE(info != nullptr); in TEST()
226 ASSERT_EQ(0xa000U, info->start); in TEST()
227 ASSERT_EQ(0xb000U, info->end); in TEST()
228 ASSERT_EQ(0x40U, info->offset); in TEST()
229 ASSERT_EQ(PROT_READ | PROT_WRITE, info->flags); in TEST()
230 ASSERT_EQ("/system/lib/fake4.so", info->name); in TEST()
232 info = maps.Find(0xe500); in TEST()
233 ASSERT_TRUE(info != nullptr); in TEST()
234 ASSERT_EQ(0xe000U, info->start); in TEST()
235 ASSERT_EQ(0xf000U, info->end); in TEST()
236 ASSERT_EQ(0x50U, info->offset); in TEST()
237 ASSERT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, info->flags); in TEST()
238 ASSERT_EQ("/system/lib/fake5.so", info->name); in TEST()