/ndk/sources/cxx-stl/llvm-libc++/test/re/re.submatch/re.submatch.members/ |
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...] |
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);
|
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...] |
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...] |
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...] |
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...] |
/external/clang/lib/Frontend/ |
DiagnosticRenderer.cpp | 43 const SourceManager &SM, 47 while (SM.isMacroArgExpansion(Loc)) 48 Loc = SM.getImmediateExpansionRange(Loc).first; 52 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc)))) 58 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).first); 62 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); 63 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts) [all...] |
/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...] |
/ndk/sources/cxx-stl/llvm-libc++/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/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 | 28 SourceManager &SM; 32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg) 33 : SM(sm), Loc(L), Message(Msg) {}
|
/external/clang/include/clang/Frontend/ |
DiagnosticRenderer.h | 55 /// a different source manager than SM. 79 const SourceManager *SM, 85 const SourceManager &SM) = 0; 93 const SourceManager &SM) = 0; 96 const SourceManager &SM) = 0; 99 const SourceManager &SM) = 0; 102 const SourceManager &SM) = 0; 112 DiagnosticsEngine::Level Level, const SourceManager &SM); 113 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM); 114 void emitImportStack(SourceLocation Loc, const SourceManager &SM); [all...] |
TextDiagnostic.h | 83 const SourceManager *SM, 89 const SourceManager &SM); 95 const SourceManager &SM) { 96 emitSnippetAndCaret(Loc, Level, Ranges, Hints, SM); 102 const SourceManager &SM); 106 const SourceManager &SM); 110 const SourceManager &SM); 116 const SourceManager &SM); 120 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
|
/external/clang/lib/Rewrite/Frontend/ |
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);
|
/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/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/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/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...] |
/external/clang/lib/StaticAnalyzer/Core/ |
PlistDiagnostics.cpp | 85 const SourceManager* SM, SourceLocation L) { 87 FileID FID = SM->getFileID(SM->getExpansionLoc(L)); 94 static unsigned GetFID(const FIDMap& FIDs, const SourceManager &SM, 96 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); 107 static void EmitLocation(raw_ostream &o, const SourceManager &SM, 112 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); 116 extend ? Lexer::MeasureTokenLength(Loc, SM, LangOpts) - 1 : 0 [all...] |
/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 = { { &SM, &LangOpts, }, 54 CXSourceRange translateSourceRange(const SourceManager &SM,
|
/external/llvm/tools/llvm-mc/ |
Disassembler.cpp | 53 SourceMgr &SM, raw_ostream &Out, 70 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), 78 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), 94 SourceMgr &SM) { 125 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, 144 SourceMgr &SM, 161 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM); 164 ErrorOccurred |= PrintInsts(*DisAsm, ByteArray, SM, Out, Streamer);
|
/ndk/sources/cxx-stl/llvm-libc++/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
|