/external/clang/lib/Rewrite/Frontend/ |
RewriteTest.cpp | 20 SourceManager &SM = PP.getSourceManager(); 23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.members/ |
default.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm; local 25 assert(sm.matched == false); 29 typedef std::sub_match<const CharT*> SM; 30 SM sm; local 31 assert(sm.matched == false);
|
length.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 assert(sm.length() == 0); 27 sm.first = s; 28 sm.second = s + 3; 29 sm.matched = true; 30 assert(sm.length() == 3); 34 typedef std::sub_match<const CharT*> SM; 35 SM sm = SM(); local [all...] |
compare_string_type.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 typedef SM::string_type string; 25 SM sm = SM(); local 26 SM sm2 = SM(); 27 assert(sm.compare(string()) == 0); 29 sm.first = s; 30 sm.second = s + 3 39 SM sm = SM(); local [all...] |
compare_sub_match.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 SM sm2 = SM(); 26 assert(sm.compare(sm2) == 0); 28 sm.first = s; 29 sm.second = s + 3; 30 sm.matched = true 40 SM sm = SM(); local [all...] |
compare_value_type_ptr.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 SM sm2 = SM(); 26 assert(sm.compare("") == 0); 28 sm.first = s; 29 sm.second = s + 3; 30 sm.matched = true 37 SM sm = SM(); local [all...] |
operator_string.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 SM::string_type str = sm; 28 sm.first = s; 29 sm.second = s + 3; 30 sm.matched = true; 31 str = sm; 37 SM sm = SM(); local [all...] |
str.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 SM::string_type str = sm.str(); 28 sm.first = s; 29 sm.second = s + 3; 30 sm.matched = true; 31 str = sm.str() 37 SM sm = SM(); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/ |
types.pass.cpp | 33 typedef std::sub_match<char*> SM; 34 static_assert((std::is_same<SM::iterator, char*>::value), ""); 35 static_assert((std::is_same<SM::value_type, char>::value), ""); 36 static_assert((std::is_same<SM::difference_type, std::ptrdiff_t>::value), ""); 37 static_assert((std::is_same<SM::string_type, std::string>::value), ""); 38 static_assert((std::is_convertible<SM*, std::pair<char*, char*>*>::value), ""); 40 SM sm; local 41 sm.first = nullptr; 42 sm.second = nullptr 53 SM sm; local [all...] |
/external/clang/include/clang/Basic/ |
PrettyStackTrace.h | 28 SourceManager &SM; 32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg) 33 : SM(sm), Loc(L), Message(Msg) {}
|
/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())
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.op/ |
stream.pass.cpp | 27 typedef std::sub_match<typename string::const_iterator> SM; 29 SM sm; local 30 sm.first = s.begin(); 31 sm.second = s.end(); 32 sm.matched = true; 34 os << sm; local
|
/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/Tooling/ |
JSONCompilationDatabase.h | 85 : Database(Database), YAMLStream(Database->getBuffer(), SM) {} 108 llvm::SourceMgr SM;
|
/frameworks/compile/slang/ |
slang_rs_export_var.cpp | 35 const clang::SourceManager *SM = Context->getSourceManager(); 36 return DiagEngine->Report(clang::FullSourceLoc(Loc, *SM),
|
/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/clang/lib/Frontend/ |
HeaderIncludeGen.cpp | 20 SourceManager &SM; 32 : SM(PP->getSourceManager()), OutputFile(OutputFile_), 81 PresumedLoc UserLoc = SM.getPresumedLoc(Loc);
|
LogDiagnosticPrinter.cpp | 129 const SourceManager &SM = Info.getSourceManager(); 130 FileID FID = SM.getMainFileID(); 132 const FileEntry *FE = SM.getFileEntryForID(FID); 152 const SourceManager &SM = Info.getSourceManager(); 153 PresumedLoc PLoc = SM.getPresumedLoc(Info.getLocation()); 157 FileID FID = SM.getFileID(Info.getLocation()); 159 const FileEntry *FE = SM.getFileEntryForID(FID);
|
/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 54 SourceManager &SM = PP.getSourceManager(); 55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); 129 SourceManager &SM = PP.getSourceManager(); 130 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); 159 SourceManager &SM = PP.getSourceManager(); 160 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); 161 SourceLocation SpellLoc = SM.getSpellingLoc(Tok.getLocation());
|
/external/clang/lib/Parse/ |
ParseAST.cpp | 64 const SourceManager &SM = P.getPreprocessor().getSourceManager(); 66 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid);
|
/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);
|
/external/clang/include/clang/Lex/ |
PPConditionalDirectiveRecord.h | 43 SourceManager &SM; 45 explicit Comp(SourceManager &SM) : SM(SM) {} 48 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc()); 51 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS); 54 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc()); 67 explicit PPConditionalDirectiveRecord(SourceManager &SM);
|
/external/clang/lib/ARCMigrate/ |
TransBlockObjCVariable.cpp | 142 SourceManager &SM = Pass.Ctx.getSourceManager(); 144 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()),
|
/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 std::string SourceLocation::printToString(const SourceManager &SM) const { 67 print(OS, SM); 71 void SourceLocation::dump(const SourceManager &SM) const [all...] |
/external/llvm/unittests/Support/ |
YAMLParserTest.cpp | 34 SourceMgr SM; 35 yaml::Stream Stream(Input, SM); 36 SM.setDiagHandler(SuppressDiagnosticsOutput); 43 SourceMgr SM; 44 yaml::Stream Stream(Input, SM); 148 SourceMgr SM; 149 yaml::Stream Stream(StringInArray, SM); 185 SourceMgr SM; 186 yaml::Stream Stream("[\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"]", SM); 193 SourceMgr SM; [all...] |