/external/clang/lib/Frontend/Rewrite/ |
D | RewriteMacros.cpp | 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()
|
D | InclusionRewriter.cpp | 282 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/ |
D | HeaderItem.java | 57 int mapOff = file.getMap().getFileOffset(); in writeTo() 60 int dataOff = firstDataSection.getFileOffset(); in writeTo() 61 int dataSize = lastDataSection.getFileOffset() + in writeTo()
|
D | MethodIdsSection.java | 81 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
|
D | FieldIdsSection.java | 81 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
|
D | Section.java | 107 public final int getFileOffset() { in getFileOffset() method in Section
|
D | ProtoIdsSection.java | 69 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
|
D | DexFile.java | 566 int zeroCount = one.getFileOffset() - out.getCursor(); in toDex0() 571 out.writeZeroes(one.getFileOffset() - out.getCursor()); in toDex0()
|
D | StringIdsSection.java | 83 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
|
D | TypeIdsSection.java | 82 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
|
D | ClassDefsSection.java | 93 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
|
D | MapItem.java | 215 offset = section.getFileOffset(); in writeTo0()
|
D | MixedItemSection.java | 140 int offset = (sz == 0) ? 0 : getFileOffset(); in writeHeaderPart()
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 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()
|
/external/clang/lib/Format/ |
D | WhitespaceManager.cpp | 107 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()
|
D | Format.cpp | 724 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/ |
D | CoverageMappingGen.cpp | 119 return Loc.getLocWithOffset(-SM.getFileOffset(Loc)); in getStartOfFileOrMacro() 127 SM.getFileOffset(Loc)); in getEndOfFileOrMacro()
|
/external/clang/lib/Frontend/ |
D | CacheTokens.cpp | 288 Emit32(PP.getSourceManager().getFileOffset(T.getLocation())); in EmitToken()
|
D | ASTUnit.cpp | 1263 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()
|
D | SerializedDiagnosticPrinter.cpp | 371 Record.push_back(SM->getFileOffset(Loc)); in AddLocToRecord()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1135 unsigned getFileOffset(SourceLocation SpellingLoc) const { in getFileOffset() function
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporter.cpp | 2131 unsigned BeginOffset = SM.getFileOffset(ExpansionRange.getBegin()); in getLengthOnSingleLine() 2132 unsigned EndOffset = SM.getFileOffset(ExpansionRange.getEnd()); in getLengthOnSingleLine()
|