/external/clang/lib/AST/ |
H A D | StmtDumper.cpp | 30 SourceManager *SM; member in class:__anon3523::StmtDumper 46 : SM(sm), OS(os), IndentLevel(0-1), MaxDepth(maxDepth) { 185 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc); 189 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc); 212 if (SM == 0) return; 730 void Stmt::dump(SourceManager &SM) const { 731 dump(llvm::errs(), SM); local 734 void Stmt::dump(raw_ostream &OS, SourceManager &SM) const { 735 StmtDumper P(&SM, OS, 4); 750 void Stmt::dumpAll(SourceManager &SM) cons [all...] |
H A D | CommentLexer.cpp | 10 void Token::dump(const Lexer &L, const SourceManager &SM) const { 12 Loc.dump(SM); 13 llvm::errs() << " " << Length << " \"" << L.getSpelling(*this, SM) << "\"\n";
|
/external/clang/include/clang/Edit/ |
H A D | EditedSource.h | 47 EditedSource(const SourceManager &SM, const LangOptions &LangOpts, argument 49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec),
|
/external/llvm/lib/AsmParser/ |
H A D | LLLexer.h | 33 SourceMgr &SM; member in class:llvm::LLLexer 46 explicit LLLexer(MemoryBuffer *StartBuf, SourceMgr &SM, SMDiagnostic &,
|
/external/clang/lib/Tooling/ |
H A D | Refactoring.cpp | 51 SourceManager &SM = Rewrite.getSourceMgr(); local 52 const FileEntry *Entry = SM.getFileManager().getFile(FilePath); 56 // FIXME: Use SM.translateFile directly. 57 SourceLocation Location = SM.translateFileLineCol(Entry, 1, 1); 59 SM.getFileID(Location) : 60 SM.createFileID(Entry, SourceLocation(), SrcMgr::C_User); 64 SM.getLocForStartOfFile(ID).
|
/external/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 54 SourceManager &SM = PP.getSourceManager(); 55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); 129 SourceManager &SM = PP.getSourceManager(); local 130 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation()));
|
H A D | MacroInfo.cpp | 61 unsigned MacroInfo::getDefinitionLengthSlow(SourceManager &SM) const { 78 startInfo = SM.getDecomposedExpansionLoc(macroStart); 80 endInfo = SM.getDecomposedExpansionLoc(macroEnd);
|
H A D | PreprocessingRecord.cpp | 40 PreprocessingRecord::PreprocessingRecord(SourceManager &SM, argument 42 : SourceMgr(SM), 72 SourceManager &SM) { 81 if (SM.isInFileID(SM.getFileLoc(Loc), FID)) 175 const SourceManager &SM; member in struct:__anon133::PPEntityComp 177 explicit PPEntityComp(const SourceManager &SM) : SM(SM) { } argument 182 return SM 71 isPreprocessedEntityIfInFileID(PreprocessedEntity *PPE, FileID FID, SourceManager &SM) argument [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCUnusedIVarsChecker.cpp | 101 SourceManager &SM) { 106 if (SM.getFileID(L) == FID) 159 SourceManager &SM = BR.getSourceManager(); 160 Scan(M, D->getDeclContext(), SM.getFileID(D->getLocation()), SM); 100 Scan(IvarUsageMap &M, const DeclContext *C, const FileID FID, SourceManager &SM) argument
|
/external/clang/include/clang/Lex/ |
H A D | MacroInfo.h | 163 unsigned getDefinitionLength(SourceManager &SM) const { 166 return getDefinitionLengthSlow(SM); 326 unsigned getDefinitionLengthSlow(SourceManager &SM) const;
|
H A D | PreprocessingRecord.h | 319 SourceManager &SM; member in class:clang::PreprocessingRecord::CondDirectiveLoc::Comp 321 explicit Comp(SourceManager &SM) : SM(SM) {} argument 324 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc()); 327 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS); 330 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc()); 392 PreprocessingRecord(SourceManager &SM, bool RecordConditionalDirectives);
|
H A D | LiteralSupport.h | 165 const SourceManager &SM; member in class:clang::StringLiteralParser 185 : SM(sm), Features(features), Target(target), Diags(diags),
|
/external/clang/lib/ARCMigrate/ |
H A D | TransRetainReleaseDealloc.cpp | 251 SourceManager &SM = Pass.Ctx.getSourceManager(); 252 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM, 303 if (SM.isMacroArgExpansion(RecRange.getBegin())) 304 RecRange.setBegin(SM.getImmediateSpellingLoc(RecRange.getBegin())); 305 if (SM.isMacroArgExpansion(RecRange.getEnd())) 306 RecRange.setEnd(SM.getImmediateSpellingLoc(RecRange.getEnd()));
|
H A D | TransBlockObjCVariable.cpp | 141 SourceManager &SM = Pass.Ctx.getSourceManager(); local 143 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()),
|
H A D | TransGCAttrs.cpp | 94 SourceManager &SM = Ctx.getSourceManager(); local 96 Loc = SM.getImmediateExpansionRange(Loc).first; 100 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()), 101 Buf, SM, Ctx.getLangOpts(), &Invalid); 180 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager(); 181 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID());
|
/external/clang/tools/arcmt-test/ |
H A D | arcmt-test.cpp | 310 SourceManager &SM = Ctx.getSourceManager(); local 311 PresumedLoc PL = SM.getPresumedLoc(loc); 320 SourceManager &SM = Ctx.getSourceManager(); local 323 PresumedLoc PL = SM.getPresumedLoc(range.getBegin()); 331 PL = SM.getPresumedLoc(end); 335 endCol += Lexer::MeasureTokenLength(end, SM, langOpts);
|
/external/clang/tools/libclang/ |
H A D | CIndexDiagnostic.cpp | 118 const SourceManager *SM, 124 if (SM) 125 L = translateSourceLocation(*SM, LangOpts, Loc); 135 const SourceManager &SM) {} 141 const SourceManager &SM) {} 144 const SourceManager *SM) { 146 if (SM) 147 L = translateSourceLocation(*SM, LangOpts, Loc); 114 emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef<CharSourceRange> Ranges, const SourceManager *SM, DiagOrStoredDiag D) argument 132 emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges, const SourceManager &SM) argument 137 emitCodeContext(SourceLocation Loc, DiagnosticsEngine::Level Level, SmallVectorImpl<CharSourceRange>& Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument 143 emitNote(SourceLocation Loc, StringRef Message, const SourceManager *SM) argument
|
/external/llvm/include/llvm/MC/ |
H A D | MCInstrItineraries.h | 125 InstrItineraryData(const MCSchedModel *SM, const InstrStage *S, argument 127 : SchedModel(SM), Stages(S), OperandCycles(OS), Forwardings(F),
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 180 static void InlineAsmDiagHandler(const llvm::SMDiagnostic &SM,void *Context, argument 183 ((BackendConsumer*)Context)->InlineAsmDiagHandler2(SM, Loc); 373 SourceManager &SM = CI.getSourceManager(); local 374 const llvm::MemoryBuffer *MainFile = SM.getBuffer(SM.getMainFileID(), 388 SourceLocation Loc = SM.translateFileLineCol( 389 SM.getFileEntryForID(SM.getMainFileID()), Err.getLineNo(),
|
/external/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 368 SourceManager &SM = PP.getSourceManager(); local 371 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); 372 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 442 const SourceManager& SM = CI.getSourceManager(); local 443 const llvm::MemoryBuffer *Buffer = SM.getBuffer(SM.getMainFileID(),
|
H A D | DependencyFile.cpp | 110 SourceManager &SM = PP->getSourceManager(); 113 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc)));
|
/external/clang/include/clang/Rewrite/Core/ |
H A D | TokenRewriter.h | 51 TokenRewriter(FileID FID, SourceManager &SM, const LangOptions &LO);
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
H A D | BrowserCompatSpec.java | 45 import org.apache.http.cookie.SM; 161 buffer.append(SM.COOKIE);
|
H A D | NetscapeDraftSpec.java | 44 import org.apache.http.cookie.SM; 155 buffer.append(SM.COOKIE);
|
/external/llvm/lib/TableGen/ |
H A D | TGLexer.cpp | 30 TGLexer::TGLexer(SourceMgr &SM) : SrcMgr(SM) { argument
|