Searched refs:getFileOffset (Results 1 – 16 of 16) sorted by relevance
134 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()140 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()154 unsigned PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput()155 unsigned RawOffs = SM.getFileOffset(RawTok.getLocation()); in RewriteMacrosInInput()177 RawOffs = SM.getFileOffset(RawTok.getLocation()); in RewriteMacrosInInput()201 PPOffs = SM.getFileOffset(PPLoc); in RewriteMacrosInInput()
298 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()310 SM.getFileOffset(DirectiveToken.getLocation()) + in CommentOutDirective()426 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()526 OutputContentUpTo(FromFile, NextToWrite, SM.getFileOffset(Loc), in Process()530 SM.getFileOffset(RawToken.getLocation()) + in Process()538 SM.getFileOffset(RawToken.getLocation()) + in Process()557 SM.getFileOffset(RawToken.getLocation()) + in Process()572 SM.getFileOffset(SM.getLocForEndOfFile(FileId)), LocalEOL, in Process()
161 unsigned Offset = Sources.getFileOffset(Start); in fillRanges()162 unsigned Length = Sources.getFileOffset(End) - Offset; in fillRanges()194 unsigned Offset = Sources.getFileOffset(Start); in fillRanges()195 unsigned Length = Sources.getFileOffset(End) - Offset; in fillRanges()
40 unsigned BOffset = SM.getFileOffset(B); in HighlightRange()41 unsigned EOffset = SM.getFileOffset(E); in HighlightRange()377 unsigned TokOffs = SM.getFileOffset(Tok.getLocation()); in SyntaxHighlight()425 TokEnd = SM.getFileOffset(Tok.getLocation())+Tok.getLength(); in SyntaxHighlight()
113 SourceMgr.getFileOffset(Changes[i].OriginalWhitespaceRange.getBegin()); in calculateLineBreakInformation()114 unsigned PreviousOriginalWhitespaceEnd = SourceMgr.getFileOffset( in calculateLineBreakInformation()499 unsigned WhitespaceLength = SourceMgr.getFileOffset(Range.getEnd()) - in storeReplacement()500 SourceMgr.getFileOffset(Range.getBegin()); in storeReplacement()
235 return FileContents.substr(SM.getFileOffset(Begin), in getSourceText()236 SM.getFileOffset(End) - SM.getFileOffset(Begin)); in getSourceText()
228 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in tryParseJSRegexLiteral()265 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset + 1))); in tryParseTemplateString()
1479 unsigned AfterComments = SourceMgr.getFileOffset(Tok.getLocation()); in getOffsetAfterHeaderGuardsAndComments()1483 return SourceMgr.getFileOffset(Tok.getLocation()); in getOffsetAfterHeaderGuardsAndComments()
100 oatHeader = new OatHeader(symbol.getFileOffset()); in OatFile()476 public int getFileOffset() {
110 return Loc.getLocWithOffset(-SM.getFileOffset(Loc)); in getStartOfFileOrMacro()118 SM.getFileOffset(Loc)); in getEndOfFileOrMacro()
289 Emit32(PP.getSourceManager().getFileOffset(T.getLocation())); in EmitToken()
1278 unsigned Offset = SM.getFileOffset(FileRange.getBegin()); in makeStandaloneRange()1279 unsigned EndOffset = SM.getFileOffset(FileRange.getEnd()); in makeStandaloneRange()1310 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
373 Record.push_back(SM->getFileOffset(Loc)); in AddLocToRecord()
1168 unsigned getFileOffset(SourceLocation SpellingLoc) const { in getFileOffset() function
2129 unsigned BeginOffset = SM.getFileOffset(ExpansionRange.getBegin()); in getLengthOnSingleLine()2130 unsigned EndOffset = SM.getFileOffset(ExpansionRange.getEnd()); in getLengthOnSingleLine()
META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...