• Home
  • Raw
  • Download

Lines Matching refs:mapped_ranges

233   AddressRangeVector mapped_ranges;  in TEST_F()  local
235 MapAddressRange(im, ar, &mapped_ranges); in TEST_F()
236 EXPECT_EQ(1u, mapped_ranges.size()); in TEST_F()
237 EXPECT_EQ(ar, mapped_ranges[0]); in TEST_F()
241 AddressRangeVector mapped_ranges; in TEST_F() local
242 MapAddressRange(image_map, AddressRange(H.end() + 10, 10), &mapped_ranges); in TEST_F()
243 EXPECT_EQ(0u, mapped_ranges.size()); in TEST_F()
247 AddressRangeVector mapped_ranges; in TEST_F() local
248 MapAddressRange(image_map, B, &mapped_ranges); in TEST_F()
249 EXPECT_EQ(1u, mapped_ranges.size()); in TEST_F()
250 EXPECT_THAT(mapped_ranges, testing::ElementsAre(B)); in TEST_F()
254 AddressRangeVector mapped_ranges; in TEST_F() local
257 MapAddressRange(image_map, DEF, &mapped_ranges); in TEST_F()
258 EXPECT_EQ(1u, mapped_ranges.size()); in TEST_F()
261 EXPECT_THAT(mapped_ranges, testing::ElementsAre(DFEt)); in TEST_F()
265 AddressRangeVector mapped_ranges; in TEST_F() local
266 MapAddressRange(image_map, AddressRange(D.rva, 0), &mapped_ranges); in TEST_F()
267 EXPECT_EQ(1u, mapped_ranges.size()); in TEST_F()
268 EXPECT_THAT(mapped_ranges, testing::ElementsAre(AddressRange(Dt.rva, 0))); in TEST_F()
272 AddressRangeVector mapped_ranges; in TEST_F() local
273 MapAddressRange(image_map, AddressRange(G.rva, 0), &mapped_ranges); in TEST_F()
274 EXPECT_EQ(2u, mapped_ranges.size()); in TEST_F()
275 EXPECT_THAT(mapped_ranges, testing::ElementsAre(AddressRange(G1t.rva, 0), in TEST_F()
280 AddressRangeVector mapped_ranges; in TEST_F() local
281 MapAddressRange(image_map, G, &mapped_ranges); in TEST_F()
282 EXPECT_EQ(1u, mapped_ranges.size()); in TEST_F()
283 EXPECT_THAT(mapped_ranges, testing::ElementsAre( in TEST_F()
288 AddressRangeVector mapped_ranges; in TEST_F() local
289 MapAddressRange(image_map, H, &mapped_ranges); in TEST_F()
290 EXPECT_EQ(2u, mapped_ranges.size()); in TEST_F()
291 EXPECT_THAT(mapped_ranges, testing::ElementsAre(H1t, H2t)); in TEST_F()
295 AddressRangeVector mapped_ranges; in TEST_F() local
298 MapAddressRange(image_map, EFGH, &mapped_ranges); in TEST_F()
299 EXPECT_EQ(1u, mapped_ranges.size()); in TEST_F()
302 EXPECT_THAT(mapped_ranges, testing::ElementsAre(FEHGGHt)); in TEST_F()
306 AddressRangeVector mapped_ranges; in TEST_F() local
307 MapAddressRange(image_map, C, &mapped_ranges); in TEST_F()
308 EXPECT_EQ(0u, mapped_ranges.size()); in TEST_F()
312 AddressRangeVector mapped_ranges; in TEST_F() local
313 MapAddressRange(image_map, D, &mapped_ranges); in TEST_F()
314 EXPECT_EQ(1u, mapped_ranges.size()); in TEST_F()
315 EXPECT_THAT(mapped_ranges, testing::ElementsAre(Dt)); in TEST_F()
319 AddressRangeVector mapped_ranges; in TEST_F() local
322 MapAddressRange(image_map, AH, &mapped_ranges); in TEST_F()
323 EXPECT_EQ(1u, mapped_ranges.size()); in TEST_F()
326 EXPECT_THAT(mapped_ranges, testing::ElementsAre(AHt)); in TEST_F()