HomeSort by relevance Sort by last modified time
    Searched refs:SM (Results 1 - 25 of 232) sorted by null

1 2 3 4 5 6 7 8 910

  /external/libcxx/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/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/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 $
46 public interface 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/include/clang/Basic/
PrettyStackTrace.h 28 SourceManager &SM;
32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
33 : SM(sm), Loc(L), Message(Msg) {}
PlistSupport.h 23 const SourceManager &SM, SourceLocation L) {
24 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
32 inline unsigned GetFID(const FIDMap &FIDs, const SourceManager &SM,
34 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
91 inline void EmitLocation(raw_ostream &o, const SourceManager &SM,
95 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM));
99 extend ? Lexer::MeasureTokenLength(Loc, SM, LangOpts) - 1 : 0
    [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/include/clang/Frontend/
DiagnosticRenderer.h 55 /// a different source manager than SM.
79 const SourceManager *SM,
85 const SourceManager &SM) = 0;
91 const SourceManager &SM) = 0;
94 const SourceManager &SM) = 0;
97 const SourceManager &SM) = 0;
100 const SourceManager &SM) = 0;
111 DiagnosticsEngine::Level Level, const SourceManager &SM);
112 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM);
113 void emitImportStack(SourceLocation Loc, const SourceManager &SM);
    [all...]
TextDiagnostic.h 82 const SourceManager *SM,
88 const SourceManager &SM) override;
94 const SourceManager &SM) override {
95 emitSnippetAndCaret(Loc, Level, Ranges, Hints, SM);
99 const SourceManager &SM) override;
103 const SourceManager &SM) override;
107 const SourceManager &SM) override;
113 const SourceManager &SM);
117 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.isWrittenInMainFile(PPLoc))
    [all...]
RewriteTest.cpp 20 SourceManager &SM = PP.getSourceManager();
23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
  /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);
65 SourceLocation::printToString(const SourceManager &SM) const {
68 print(OS, SM);
72 LLVM_DUMP_METHOD 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 86 const SourceManager &SM,
110 EmitRange(o, SM, LangOpts, CharSourceRange::getTokenRange(StartEdge), FM,
115 EmitRange(o, SM, LangOpts, CharSourceRange::getTokenRange(EndEdge), FM,
138 const SourceManager &SM,
157 EmitLocation(o, SM, LangOpts, L, FM, indent);
168 EmitRange(o, SM, LangOpts, CharSourceRange::getTokenRange(*I), FM,
198 const FIDMap& FM, const SourceManager &SM,
207 const FIDMap& FM, const SourceManager &SM,
216 ReportPiece(o, *callEnter, FM, SM, LangOpts, indent, depth, true,
225 ReportPiece(o, *callEnterWithinCaller, FM, SM, LangOpts
    [all...]
  /external/clang/tools/libclang/
CIndexInclusionStack.cpp 33 SourceManager &SM = CXXUnit->getSourceManager();
37 unsigned n = SM.local_sloc_entry_size();
45 n = SM.loaded_sloc_entry_size();
51 const SrcMgr::SLocEntry &SL = (SM.*Getter)(i, &Invalid);
64 PresumedLoc PLoc = SM.getPresumedLoc(L);
CXSourceLocation.cpp 217 const SourceManager &SM =
219 return SM.isInSystemHeader(Loc);
228 const SourceManager &SM =
230 return SM.isWrittenInMainFile(Loc);
251 const SourceManager &SM =
253 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc);
257 FileID fileID = SM.getFileID(ExpansionLoc);
259 const SrcMgr::SLocEntry &sloc = SM.getSLocEntry(fileID, &Invalid);
266 *file = const_cast<FileEntry *>(SM.getFileEntryForSLocEntry(sloc));
268 *line = SM.getExpansionLineNumber(ExpansionLoc)
    [all...]
CXSourceLocation.h 30 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts,
35 CXSourceLocation Result = { { &SM, &LangOpts, },
54 CXSourceRange translateSourceRange(const SourceManager &SM,
  /external/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

Completed in 675 milliseconds

1 2 3 4 5 6 7 8 910