/external/clang/lib/Analysis/ |
CFGStmtMap.cpp | 28 SMap *SM = AsMap(M); 34 SMap::iterator I = SM->find(X); 35 if (I != SM->end()) { 39 (*SM)[X] = B; 49 static void Accumulate(SMap &SM, CFGBlock *B) { 57 CFGBlock *&Entry = SM[CS->getStmt()]; 69 SM[Label] = B; 75 SM[Term] = B; 82 SMap *SM = new SMap(); 87 Accumulate(*SM, *I) [all...] |
/external/apache-http/src/org/apache/http/cookie/ |
SM.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SM.java $ 41 public interface SM {
|
/external/clang/include/clang/Basic/ |
PrettyStackTrace.h | 27 SourceManager &SM; 31 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg) 32 : SM(sm), Loc(L), Message(Msg) {}
|
/external/clang/lib/Frontend/ |
DiagnosticRenderer.cpp | 29 static SourceLocation skipToMacroArgExpansion(const SourceManager &SM, 32 L = SM.getImmediateSpellingLoc(L)) { 33 if (SM.isMacroArgExpansion(L)) 43 static SourceLocation getImmediateMacroCallerLoc(const SourceManager &SM, 50 if (SM.isMacroArgExpansion(Loc)) 51 return SM.getImmediateSpellingLoc(Loc); 55 return SM.getImmediateExpansionRange(Loc).first; 60 static SourceLocation getImmediateMacroCalleeLoc(const SourceManager &SM, 67 if (SM.isMacroArgExpansion(Loc)) 68 return SM.getImmediateExpansionRange(Loc).first [all...] |
/external/clang/lib/Rewrite/ |
RewriteMacros.cpp | 64 SourceManager &SM = PP.getSourceManager(); 68 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); 69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 91 SourceManager &SM = PP.getSourceManager(); 94 Rewrite.setSourceMgr(SM, PP.getLangOpts()); 95 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); 115 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); 118 if (!SM.isFromMainFile(PPLoc)) [all...] |
RewriteTest.cpp | 20 SourceManager &SM = PP.getSourceManager(); 23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
|
TokenRewriter.cpp | 21 TokenRewriter::TokenRewriter(FileID FID, SourceManager &SM, 23 ScratchBuf.reset(new ScratchBuffer(SM)); 26 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); 27 Lexer RawLex(FID, FromFile, SM, LangOpts);
|
HTMLRewrite.cpp | 35 SourceManager &SM = R.getSourceMgr(); 36 B = SM.getExpansionLoc(B); 37 E = SM.getExpansionLoc(E); 38 FileID FID = SM.getFileID(B); 39 assert(SM.getFileID(E) == FID && "B/E not in the same file!"); 41 unsigned BOffset = SM.getFileOffset(B); 42 unsigned EOffset = SM.getFileOffset(E); 48 const char *BufferStart = SM.getBufferData(FID, &Invalid).data(); 361 const SourceManager &SM = PP.getSourceManager(); 362 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID) [all...] |
/external/clang/lib/ARCMigrate/ |
PlistReporter.cpp | 23 const SourceManager &SM, SourceLocation L) { 25 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); 32 static unsigned GetFID(const FIDMap& FIDs, const SourceManager &SM, 34 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); 45 static void EmitLocation(raw_ostream& o, const SourceManager &SM, 50 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); 54 extend ? Lexer::MeasureTokenLength(Loc, SM, LangOpts) - 1 : 0 [all...] |
/external/llvm/tools/llvm-mc/ |
Disassembler.h | 36 SourceMgr &SM, 41 SourceMgr &SM,
|
/external/clang/lib/Basic/ |
SourceLocation.cpp | 28 Loc.print(OS, SM); 38 void SourceLocation::print(raw_ostream &OS, const SourceManager &SM)const{ 45 PresumedLoc PLoc = SM.getPresumedLoc(*this); 57 SM.getExpansionLoc(*this).print(OS, SM); 60 SM.getSpellingLoc(*this).print(OS, SM); 64 void SourceLocation::dump(const SourceManager &SM) const { 65 print(llvm::errs(), SM);
|
/external/clang/tools/libclang/ |
CIndexInclusionStack.cpp | 29 SourceManager &SM = CXXUnit->getSourceManager(); 33 unsigned n = SM.local_sloc_entry_size(); 41 n = SM.loaded_sloc_entry_size(); 47 const SrcMgr::SLocEntry &SL = (SM.*Getter)(i, &Invalid); 60 PresumedLoc PLoc = SM.getPresumedLoc(L);
|
CXSourceLocation.h | 30 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts, 35 CXSourceLocation Result = { { (void*) &SM, (void*) &LangOpts, }, 54 CXSourceRange translateSourceRange(const SourceManager &SM,
|
CXSourceLocation.cpp | 216 const SourceManager &SM = 218 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); 222 FileID fileID = SM.getFileID(ExpansionLoc); 224 const SrcMgr::SLocEntry &sloc = SM.getSLocEntry(fileID, &Invalid); 231 *file = (void *)SM.getFileEntryForSLocEntry(sloc); 233 *line = SM.getExpansionLineNumber(ExpansionLoc); 235 *column = SM.getExpansionColumnNumber(ExpansionLoc); 237 *offset = SM.getDecomposedLoc(ExpansionLoc).second; 257 const SourceManager &SM = 259 PresumedLoc PreLoc = SM.getPresumedLoc(Loc) [all...] |
CIndexHigh.cpp | 132 static SourceLocation getFileSpellingLoc(SourceManager &SM, 136 SourceLocation SpellLoc = SM.getImmediateSpellingLoc(Loc); 138 return getFileSpellingLoc(SM, SpellLoc, isMacroArg); 140 isMacroArg = SM.isMacroArgExpansion(Loc); 186 SourceManager &SM = Ctx.getSourceManager(); 190 Loc = getFileSpellingLoc(SM, Loc, isMacroArg); 195 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); 216 SourceManager &SM = Unit->getSourceManager(); 218 FileID FID = SM.translateFile(File); 233 SourceRange Range(SM.getLocForStartOfFile(FID), SM.getLocForEndOfFile(FID)) [all...] |
/external/llvm/unittests/Support/ |
YAMLParserTest.cpp | 22 SourceMgr SM; 23 yaml::Stream Stream(Input, SM); 30 SourceMgr SM; 31 yaml::Stream Stream(Input, SM); 135 SourceMgr SM; 136 yaml::Stream Stream(StringInArray, SM); 172 SourceMgr SM; 173 yaml::Stream Stream("[\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"]", SM);
|
/external/clang/include/clang/Lex/ |
ScratchBuffer.h | 31 ScratchBuffer(SourceManager &SM);
|
Lexer.h | 109 const SourceManager &SM, const LangOptions &LangOpts); 275 const SourceManager &SM, 284 const SourceManager &SM, 292 const SourceManager &SM, 311 const SourceManager &SM, 320 const SourceManager &SM, 330 const SourceManager &SM, 339 const SourceManager &SM, 344 const SourceManager &SM, 356 const SourceManager &SM, [all...] |
/external/llvm/lib/AsmParser/ |
Parser.cpp | 29 SourceMgr SM; 30 SM.AddNewSourceBuffer(F, SMLoc()); 34 return LLParser(F, SM, Err, M).Run() ? 0 : M; 38 if (LLParser(F, SM, Err, M2.get()).Run())
|
/external/clang/lib/StaticAnalyzer/Core/ |
PlistDiagnostics.cpp | 88 const SourceManager* SM, SourceLocation L) { 90 FileID FID = SM->getFileID(SM->getExpansionLoc(L)); 97 static unsigned GetFID(const FIDMap& FIDs, const SourceManager &SM, 99 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); 110 static void EmitLocation(raw_ostream &o, const SourceManager &SM, 115 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); 119 extend ? Lexer::MeasureTokenLength(Loc, SM, LangOpts) - 1 : 0 [all...] |
/external/llvm/utils/FileCheck/ |
FileCheck.cpp | 82 bool ParsePattern(StringRef PatternStr, SourceMgr &SM); 95 void PrintFailureInfo(const SourceMgr &SM, StringRef Buffer, 100 bool AddRegExToRegEx(StringRef RegExStr, unsigned &CurParen, SourceMgr &SM); 110 bool Pattern::ParsePattern(StringRef PatternStr, SourceMgr &SM) { 120 SM.PrintMessage(PatternLoc, SourceMgr::DK_Error, 147 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), 160 if (AddRegExToRegEx(PatternStr.substr(2, End-2), CurParen, SM)) 177 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), 191 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, 199 SM.PrintMessage(SMLoc::getFromPointer(Name.data()+i) [all...] |
/external/clang/lib/Lex/ |
ScratchBuffer.cpp | 24 ScratchBuffer::ScratchBuffer(SourceManager &SM) : SourceMgr(SM), CurBuffer(0) {
|
/external/clang/lib/Edit/ |
Commit.cpp | 19 SourceLocation Commit::Edit::getFileLocation(SourceManager &SM) const { 20 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); 26 CharSourceRange Commit::Edit::getFileRange(SourceManager &SM) const { 27 SourceLocation Loc = getFileLocation(SM); 31 CharSourceRange Commit::Edit::getInsertFromRange(SourceManager &SM) const { 32 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); 227 const SourceManager &SM = SourceMgr; 228 while (SM.isMacroArgExpansion(loc)) 229 loc = SM.getImmediateSpellingLoc(loc); 235 if (SM.isInSystemHeader(loc) [all...] |
/external/clang/include/clang/Frontend/ |
DiagnosticRenderer.h | 46 const SourceManager &SM; 54 /// a different source manager than SM. 69 DiagnosticRenderer(const SourceManager &SM, 134 DiagnosticNoteRenderer(const SourceManager &SM, 137 : DiagnosticRenderer(SM, LangOpts, DiagOpts) {}
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
StackAddrEscapeChecker.cpp | 39 SourceManager &SM); 45 SourceManager &SM) { 56 << SM.getExpansionLineNumber(CL->getLocStart()) 65 << SM.getExpansionLineNumber(L); 72 << SM.getExpansionLineNumber(L);
|