Lines Matching refs:EndOff
130 unsigned StartOff, EndOff; in getRangeSize() local
133 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRangeSize()
144 EndOff = RB.getMappedOffset(EndOff, opts.IncludeInsertsAtEndOfRange); in getRangeSize()
152 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize()
154 return EndOff-StartOff; in getRangeSize()
174 unsigned StartOff, EndOff; in getRewrittenText() local
176 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRewrittenText()
191 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
192 return std::string(Ptr, Ptr+EndOff-StartOff); in getRewrittenText()
196 EndOff = RB.getMappedOffset(EndOff, true); in getRewrittenText()
201 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
207 std::advance(End, EndOff-StartOff); in getRewrittenText()
335 unsigned StartOff, EndOff, parentOff; in IncreaseIndentation() local
338 EndOff = getLocationOffsetAndFileID(range.getEnd(), EndFileID); in IncreaseIndentation()
343 if (StartOff > EndOff) in IncreaseIndentation()
351 unsigned endLineNo = SourceMgr->getLineNumber(FID, EndOff) - 1; in IncreaseIndentation()