Lines Matching refs:FID

215                                               FileID &FID) const {  in getLocationOffsetAndFileID()
218 FID = V.first; in getLocationOffsetAndFileID()
225 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) { in getEditBuffer() argument
227 RewriteBuffers.lower_bound(FID); in getEditBuffer()
228 if (I != RewriteBuffers.end() && I->first == FID) in getEditBuffer()
230 I = RewriteBuffers.insert(I, std::make_pair(FID, RewriteBuffer())); in getEditBuffer()
232 StringRef MB = SourceMgr->getBufferData(FID); in getEditBuffer()
243 FileID FID; in InsertText() local
244 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); in InsertText()
248 StringRef MB = SourceMgr->getBufferData(FID); in InsertText()
250 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1; in InsertText()
252 Content = SourceMgr->getSLocEntry(FID).getFile().getContentCache(); in InsertText()
277 getEditBuffer(FID).InsertText(StartOffs, Str, InsertAfter); in InsertText()
283 FileID FID; in InsertTextAfterToken() local
284 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); in InsertTextAfterToken()
288 getEditBuffer(FID).InsertText(StartOffs, Str, /*InsertAfter*/true); in InsertTextAfterToken()
296 FileID FID; in RemoveText() local
297 unsigned StartOffs = getLocationOffsetAndFileID(Start, FID); in RemoveText()
298 getEditBuffer(FID).RemoveText(StartOffs, Length, opts.RemoveLineIfEmpty); in RemoveText()
322 FileID FID; in ReplaceText() local
324 FID); in ReplaceText()
325 StringRef MB = SourceMgr->getBufferData(FID); in ReplaceText()
348 FileID FID = StartFileID; in IncreaseIndentation() local
349 StringRef MB = SourceMgr->getBufferData(FID); in IncreaseIndentation()
351 unsigned parentLineNo = SourceMgr->getLineNumber(FID, parentOff) - 1; in IncreaseIndentation()
352 unsigned startLineNo = SourceMgr->getLineNumber(FID, StartOff) - 1; in IncreaseIndentation()
353 unsigned endLineNo = SourceMgr->getLineNumber(FID, EndOff) - 1; in IncreaseIndentation()
356 Content = SourceMgr->getSLocEntry(FID).getFile().getContentCache(); in IncreaseIndentation()
383 RewriteBuffer &RB = getEditBuffer(FID); in IncreaseIndentation()