Home
last modified time | relevance | path

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

/external/google-breakpad/src/processor/
Dstatic_contained_range_map_unittest.cc162 google_breakpad::ContainedRangeMap<unsigned int, int> crm_map_; member in google_breakpad::TestStaticCRMMap
178 ASSERT_TRUE (crm_map_.StoreRange(10, 10, 1)); in SetUp()
179 ASSERT_FALSE(crm_map_.StoreRange(10, 10, 2)); // exactly equal to 1 in SetUp()
180 ASSERT_FALSE(crm_map_.StoreRange(11, 10, 3)); // begins inside 1 and extends up in SetUp()
181 ASSERT_FALSE(crm_map_.StoreRange( 9, 10, 4)); // begins below 1 and ends inside in SetUp()
182 ASSERT_TRUE (crm_map_.StoreRange(11, 9, 5)); // contained by existing in SetUp()
183 ASSERT_TRUE (crm_map_.StoreRange(12, 7, 6)); in SetUp()
184 ASSERT_TRUE (crm_map_.StoreRange( 9, 12, 7)); // contains existing in SetUp()
185 ASSERT_TRUE (crm_map_.StoreRange( 9, 13, 8)); in SetUp()
186 ASSERT_TRUE (crm_map_.StoreRange( 8, 14, 9)); in SetUp()
[all …]
Dmap_serializers_unittest.cc283 google_breakpad::ContainedRangeMap<AddrType, EntryType> crm_map_; member in TestContainedRangeMapSerializer
299 serialized_data_ = serializer_.Serialize(&crm_map_, &serialized_size_); in TEST_F()
322 crm_map_.StoreRange(3, 7, -1); in TEST_F()
324 serialized_data_ = serializer_.Serialize(&crm_map_, &serialized_size_); in TEST_F()
365 ASSERT_TRUE(crm_map_.StoreRange(2, 7, -1)); in TEST_F()
367 ASSERT_TRUE(crm_map_.StoreRange(10, 11, -1)); in TEST_F()
369 ASSERT_TRUE(crm_map_.StoreRange(3, 2, -1)); in TEST_F()
371 ASSERT_TRUE(crm_map_.StoreRange(6, 2, -1)); in TEST_F()
373 ASSERT_TRUE(crm_map_.StoreRange(16, 5, -1)); in TEST_F()
375 serialized_data_ = serializer_.Serialize(&crm_map_, &serialized_size_); in TEST_F()