Home
last modified time | relevance | path

Searched refs:getFileOffset (Results 1 – 22 of 22) 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.cpp282 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
294 SM.getFileOffset(DirectiveToken.getLocation()) + in CommentOutDirective()
410 unsigned NextToWrite = SM.getFileOffset(RawLex.getSourceLocation()); in Process()
509 OutputContentUpTo(FromFile, NextToWrite, SM.getFileOffset(Loc), in Process()
513 SM.getFileOffset(RawToken.getLocation()) + in Process()
521 SM.getFileOffset(RawToken.getLocation()) + in Process()
540 SM.getFileOffset(RawToken.getLocation()) + in Process()
555 SM.getFileOffset(SM.getLocForEndOfFile(FileId)), LocalEOL, in Process()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DHeaderItem.java57 int mapOff = file.getMap().getFileOffset(); in writeTo()
60 int dataOff = firstDataSection.getFileOffset(); in writeTo()
61 int dataSize = lastDataSection.getFileOffset() + in writeTo()
DMethodIdsSection.java81 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
DFieldIdsSection.java81 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
DSection.java107 public final int getFileOffset() { in getFileOffset() method in Section
DProtoIdsSection.java69 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
DDexFile.java566 int zeroCount = one.getFileOffset() - out.getCursor(); in toDex0()
571 out.writeZeroes(one.getFileOffset() - out.getCursor()); in toDex0()
DStringIdsSection.java83 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
DTypeIdsSection.java82 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
DClassDefsSection.java93 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
DMapItem.java215 offset = section.getFileOffset(); in writeTo0()
DMixedItemSection.java140 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
/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.cpp107 SourceMgr.getFileOffset(Changes[i].OriginalWhitespaceRange.getBegin()); in calculateLineBreakInformation()
108 unsigned PreviousOriginalWhitespaceEnd = SourceMgr.getFileOffset( in calculateLineBreakInformation()
291 unsigned WhitespaceLength = SourceMgr.getFileOffset(Range.getEnd()) - in storeReplacement()
292 SourceMgr.getFileOffset(Range.getBegin()); in storeReplacement()
DFormat.cpp724 resetLexer(SourceMgr.getFileOffset(Tokens.back()->Tok.getLocation()) + 1); in tryMergeEscapeSequence()
762 resetLexer(SourceMgr.getFileOffset(Loc) + 2); in tryMergeJSRegexLiteral()
829 resetLexer(SourceMgr.getFileOffset(Loc) + CommentBacktickPos + 1); in tryMergeTemplateString()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp119 return Loc.getLocWithOffset(-SM.getFileOffset(Loc)); in getStartOfFileOrMacro()
127 SM.getFileOffset(Loc)); in getEndOfFileOrMacro()
/external/clang/lib/Frontend/
DCacheTokens.cpp288 Emit32(PP.getSourceManager().getFileOffset(T.getLocation())); in EmitToken()
DASTUnit.cpp1263 unsigned Offset = SM.getFileOffset(FileRange.getBegin()); in makeStandaloneRange()
1264 unsigned EndOffset = SM.getFileOffset(FileRange.getEnd()); in makeStandaloneRange()
1295 OutDiag.LocOffset = SM.getFileOffset(FileLoc); in makeStandaloneDiagnostic()
DSerializedDiagnosticPrinter.cpp371 Record.push_back(SM->getFileOffset(Loc)); in AddLocToRecord()
/external/clang/include/clang/Basic/
DSourceManager.h1135 unsigned getFileOffset(SourceLocation SpellingLoc) const { in getFileOffset() function
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp2131 unsigned BeginOffset = SM.getFileOffset(ExpansionRange.getBegin()); in getLengthOnSingleLine()
2132 unsigned EndOffset = SM.getFileOffset(ExpansionRange.getEnd()); in getLengthOnSingleLine()