Lines Matching refs:Regions
56 std::vector<CounterMappingRegion> Regions; member
63 Record.MappingRegions = Regions; in fillCoverageMappingRecord()
94 std::vector<CounterMappingRegion> Regions; member
146 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeRegion( in addCMR()
152 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeExpansion( in addExpansionCMR()
163 CoverageMappingWriter(FileIDs, None, Data.Regions).write(OS); in writeCoverageRegions()
174 Expressions, Data.Regions); in readCoverageRegions()
181 std::string Regions = writeCoverageRegions(InputFunctions[I]); in writeAndReadCoverageRegions() local
182 readCoverageRegions(Regions, OutputFunctions[I]); in writeAndReadCoverageRegions()
231 size_t N = makeArrayRef(Input.Regions).size(); in TEST_P()
232 ASSERT_EQ(N, Output.Regions.size()); in TEST_P()
234 ASSERT_EQ(Input.Regions[I].Count, Output.Regions[I].Count); in TEST_P()
235 ASSERT_EQ(Input.Regions[I].FileID, Output.Regions[I].FileID); in TEST_P()
236 ASSERT_EQ(Input.Regions[I].startLoc(), Output.Regions[I].startLoc()); in TEST_P()
237 ASSERT_EQ(Input.Regions[I].endLoc(), Output.Regions[I].endLoc()); in TEST_P()
238 ASSERT_EQ(Input.Regions[I].Kind, Output.Regions[I].Kind); in TEST_P()
257 ASSERT_EQ(N, Output.Regions.size()); in TEST_P()
261 ASSERT_GT(N, Output.Regions[I].FileID); in TEST_P()
262 ASSERT_GT(N, Output.Regions[I].LineStart); in TEST_P()
263 EXPECT_EQ(FileNames[Output.Regions[I].LineStart], in TEST_P()
264 Output.Filenames[Output.Regions[I].FileID]); in TEST_P()
332 ASSERT_EQ(CounterMappingRegion::ExpansionRegion, Output.Regions[2].Kind); in TEST_P()
333 ASSERT_EQ(Counter::getCounter(2), Output.Regions[2].Count); in TEST_P()
334 ASSERT_EQ(3U, Output.Regions[2].LineStart); in TEST_P()