Lines Matching refs:AddressRange

66 std::ostream& operator<<(std::ostream& os, const AddressRange& ar) {

67 os << "AddressRange(rva=" << ar.rva << ", length=" << ar.length << ")";
99 const AddressRange B(100, 15);
100 const AddressRange C(B.end(), 10);
101 const AddressRange D(C.end(), 25);
102 const AddressRange E(D.end(), 10);
103 const AddressRange F(E.end(), 40);
104 const AddressRange G(F.end(), 3);
105 const AddressRange H(G.end(), 7);
108 const AddressRange Bt(100, 15);
109 const AddressRange Dt(Bt.end(), 20); // D is shortened.
110 const AddressRange Ft(Dt.end(), F.length);
111 const AddressRange Et(Ft.end(), E.length);
112 const AddressRange injected(Et.end(), 5);
113 const AddressRange H1t(injected.end(), 4); // H is split.
114 const AddressRange G1t(H1t.end(), G.length); // G is copied.
115 const AddressRange G2t(G1t.end(), G.length); // G is copied.
116 const AddressRange H2t(G2t.end(), 3); // H is split.
235 AddressRange ar(0, 1024);
243 MapAddressRange(image_map, AddressRange(H.end() + 10, 10), &mapped_ranges);
257 AddressRange DEF(D.rva, F.end() - D.rva);
261 AddressRange DFEt(Dt.rva, Et.end() - Dt.rva);
267 MapAddressRange(image_map, AddressRange(D.rva, 0), &mapped_ranges);
269 EXPECT_THAT(mapped_ranges, testing::ElementsAre(AddressRange(Dt.rva, 0)));
274 MapAddressRange(image_map, AddressRange(G.rva, 0), &mapped_ranges);
276 EXPECT_THAT(mapped_ranges, testing::ElementsAre(AddressRange(G1t.rva, 0),
277 AddressRange(G2t.rva, 0)));
285 AddressRange(G1t.rva, G2t.end() - G1t.rva)));
298 AddressRange EFGH(E.rva, H.end() - E.rva);
302 AddressRange FEHGGHt(Ft.rva, H2t.end() - Ft.rva);
322 AddressRange AH(0, H.end());
326 AddressRange AHt(0, H2t.end());