Lines Matching refs:StartAddr
90 const uint64_t StartAddr = 0x1000; in TEST() local
92 const uint64_t Size = EndAddr - StartAddr; in TEST()
94 FunctionInfo FI(StartAddr, Size, NameOffset); in TEST()
97 EXPECT_EQ(FI.startAddress(), StartAddr); in TEST()
103 FI.OptLineTable->push(LineEntry(StartAddr,FileIdx,Line)); in TEST()
136 FunctionInfo FISymtab(StartAddr, Size, NameOffset); in TEST()
137 FunctionInfo FIWithLines(StartAddr, Size, NameOffset); in TEST()
139 FIWithLines.OptLineTable->push(LineEntry(StartAddr,FileIdx,Line)); in TEST()
147 AddressRange(StartAddr, StartAddr + 0x10)); in TEST()
155 FIWithMoreLines.OptLineTable->push(LineEntry(StartAddr,FileIdx,Line+5)); in TEST()
548 const uint64_t StartAddr = 0x1000; in TEST() local
551 const AddressRange Range(StartAddr, EndAddr); in TEST()
552 EXPECT_EQ(Range.size(), EndAddr - StartAddr); in TEST()
556 EXPECT_FALSE(Range.contains(StartAddr - 1)); in TEST()
557 EXPECT_TRUE(Range.contains(StartAddr)); in TEST()
562 const AddressRange RangeSame(StartAddr, EndAddr); in TEST()
563 const AddressRange RangeDifferentStart(StartAddr + 1, EndAddr); in TEST()
564 const AddressRange RangeDifferentEnd(StartAddr, EndAddr + 1); in TEST()
565 const AddressRange RangeDifferentStartEnd(StartAddr + 1, EndAddr + 1); in TEST()
584 EXPECT_LT(Range.Start, StartAddr + 1); in TEST()
586 EXPECT_LT(StartAddr - 1, Range.Start); in TEST()
590 const AddressRange EndsBeforeRangeStart(0, StartAddr - 1); in TEST()
591 const AddressRange EndsAtRangeStart(0, StartAddr); in TEST()
592 const AddressRange OverlapsRangeStart(StartAddr - 1, StartAddr + 1); in TEST()
593 const AddressRange InsideRange(StartAddr + 1, EndAddr - 1); in TEST()
821 const uint64_t StartAddr = 0x1000; in TEST() local
824 LineEntry Line0(StartAddr+0x000, FileIdx, 10); in TEST()
825 LineEntry Line1(StartAddr+0x010, FileIdx, 11); in TEST()
826 LineEntry Line2(StartAddr+0x100, FileIdx, 1000); in TEST()
833 LT.push(LineEntry(StartAddr+0x120, FileIdx, 900)); in TEST()
834 LT.push(LineEntry(StartAddr+0x120, FileIdx, 2000)); in TEST()
835 LT.push(LineEntry(StartAddr+0x121, FileIdx, 2001)); in TEST()
836 LT.push(LineEntry(StartAddr+0x122, FileIdx, 2002)); in TEST()
837 LT.push(LineEntry(StartAddr+0x123, FileIdx, 2003)); in TEST()