Home
last modified time | relevance | path

Searched refs:getFileOffset (Results 1 – 16 of 16) sorted by relevance

/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp134 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()
DInclusionRewriter.cpp298 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()
/external/clang/tools/clang-format/
DClangFormat.cpp161 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()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp40 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()
/external/clang/lib/Format/
DWhitespaceManager.cpp113 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()
DSortJavaScriptImports.cpp235 return FileContents.substr(SM.getFileOffset(Begin), in getSourceText()
236 SM.getFileOffset(End) - SM.getFileOffset(Begin)); in getSourceText()
DFormatTokenLexer.cpp228 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in tryParseJSRegexLiteral()
265 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset + 1))); in tryParseTemplateString()
DFormat.cpp1479 unsigned AfterComments = SourceMgr.getFileOffset(Tok.getLocation()); in getOffsetAfterHeaderGuardsAndComments()
1483 return SourceMgr.getFileOffset(Tok.getLocation()); in getOffsetAfterHeaderGuardsAndComments()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DOatFile.java100 oatHeader = new OatHeader(symbol.getFileOffset()); in OatFile()
476 public int getFileOffset() {
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp110 return Loc.getLocWithOffset(-SM.getFileOffset(Loc)); in getStartOfFileOrMacro()
118 SM.getFileOffset(Loc)); in getEndOfFileOrMacro()
/external/clang/lib/Frontend/
DCacheTokens.cpp289 Emit32(PP.getSourceManager().getFileOffset(T.getLocation())); in EmitToken()
DASTUnit.cpp1278 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()
DSerializedDiagnosticPrinter.cpp373 Record.push_back(SM->getFileOffset(Loc)); in AddLocToRecord()
/external/clang/include/clang/Basic/
DSourceManager.h1168 unsigned getFileOffset(SourceLocation SpellingLoc) const { in getFileOffset() function
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp2129 unsigned BeginOffset = SM.getFileOffset(ExpansionRange.getBegin()); in getLengthOnSingleLine()
2130 unsigned EndOffset = SM.getFileOffset(ExpansionRange.getEnd()); in getLengthOnSingleLine()
/external/dexmaker/lib/
Ddalvik-dx-9.0.0_r3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...