Home
last modified time | relevance | path

Searched refs:range_test (Results 1 – 2 of 2) sorted by relevance

/external/google-breakpad/src/processor/
Dstatic_range_map_unittest.cc176 void StoreTest(RMap* range_map, const RangeTest* range_test);
183 void RetrieveTest(TestMap* range_map, const RangeTest* range_test);
200 const RangeTest* range_test) { in StoreTest() argument
201 bool stored = range_map->StoreRange(range_test->address, in StoreTest()
202 range_test->size, in StoreTest()
203 range_test->id); in StoreTest()
204 EXPECT_EQ(stored, range_test->expect_storable) in StoreTest()
205 << "StoreRange id " << range_test->id << "FAILED"; in StoreTest()
209 const RangeTest* range_test) { in RetrieveTest() argument
223 if (range_test->size == 1) { in RetrieveTest()
[all …]
Drange_map_unittest.cc105 static bool StoreTest(TestMap *range_map, const RangeTest *range_test) { in StoreTest() argument
106 linked_ptr<CountedObject> object(new CountedObject(range_test->id)); in StoreTest()
107 bool stored = range_map->StoreRange(range_test->address, in StoreTest()
108 range_test->size, in StoreTest()
111 if (stored != range_test->expect_storable) { in StoreTest()
114 range_test->id, in StoreTest()
115 range_test->expect_storable ? "storable" : "not storable", in StoreTest()
129 static bool RetrieveTest(TestMap *range_map, const RangeTest *range_test) { in RetrieveTest() argument
143 if (range_test->size == 1) { in RetrieveTest()
153 (!side ? range_test->address : in RetrieveTest()
[all …]