Lines Matching refs:mapped_ranges
234 AddressRangeVector mapped_ranges;
236 MapAddressRange(im, ar, &mapped_ranges);
237 EXPECT_EQ(1u, mapped_ranges.size());
238 EXPECT_EQ(ar, mapped_ranges[0]);
242 AddressRangeVector mapped_ranges;
243 MapAddressRange(image_map, AddressRange(H.end() + 10, 10), &mapped_ranges);
244 EXPECT_EQ(0u, mapped_ranges.size());
248 AddressRangeVector mapped_ranges;
249 MapAddressRange(image_map, B, &mapped_ranges);
250 EXPECT_EQ(1u, mapped_ranges.size());
251 EXPECT_THAT(mapped_ranges, testing::ElementsAre(B));
255 AddressRangeVector mapped_ranges;
258 MapAddressRange(image_map, DEF, &mapped_ranges);
259 EXPECT_EQ(1u, mapped_ranges.size());
262 EXPECT_THAT(mapped_ranges, testing::ElementsAre(DFEt));
266 AddressRangeVector mapped_ranges;
267 MapAddressRange(image_map, AddressRange(D.rva, 0), &mapped_ranges);
268 EXPECT_EQ(1u, mapped_ranges.size());
269 EXPECT_THAT(mapped_ranges, testing::ElementsAre(AddressRange(Dt.rva, 0)));
273 AddressRangeVector mapped_ranges;
274 MapAddressRange(image_map, AddressRange(G.rva, 0), &mapped_ranges);
275 EXPECT_EQ(2u, mapped_ranges.size());
276 EXPECT_THAT(mapped_ranges, testing::ElementsAre(AddressRange(G1t.rva, 0),
281 AddressRangeVector mapped_ranges;
282 MapAddressRange(image_map, G, &mapped_ranges);
283 EXPECT_EQ(1u, mapped_ranges.size());
284 EXPECT_THAT(mapped_ranges, testing::ElementsAre(
289 AddressRangeVector mapped_ranges;
290 MapAddressRange(image_map, H, &mapped_ranges);
291 EXPECT_EQ(2u, mapped_ranges.size());
292 EXPECT_THAT(mapped_ranges, testing::ElementsAre(H1t, H2t));
296 AddressRangeVector mapped_ranges;
299 MapAddressRange(image_map, EFGH, &mapped_ranges);
300 EXPECT_EQ(1u, mapped_ranges.size());
303 EXPECT_THAT(mapped_ranges, testing::ElementsAre(FEHGGHt));
307 AddressRangeVector mapped_ranges;
308 MapAddressRange(image_map, C, &mapped_ranges);
309 EXPECT_EQ(0u, mapped_ranges.size());
313 AddressRangeVector mapped_ranges;
314 MapAddressRange(image_map, D, &mapped_ranges);
315 EXPECT_EQ(1u, mapped_ranges.size());
316 EXPECT_THAT(mapped_ranges, testing::ElementsAre(Dt));
320 AddressRangeVector mapped_ranges;
323 MapAddressRange(image_map, AH, &mapped_ranges);
324 EXPECT_EQ(1u, mapped_ranges.size());
327 EXPECT_THAT(mapped_ranges, testing::ElementsAre(AHt));