Searched refs:Matches (Results 1 - 9 of 9) sorted by relevance
/macosx-10.9.5/llvmCore-3425.0.33/unittests/Support/ |
H A D | RegexTest.cpp | 27 SmallVector<StringRef, 1> Matches; local 29 EXPECT_TRUE(r2.match("aa216b", &Matches)); 30 EXPECT_EQ(1u, Matches.size()); 31 EXPECT_EQ("216", Matches[0].str()); 34 EXPECT_TRUE(r3.match("9a:513b", &Matches)); 35 EXPECT_EQ(3u, Matches.size()); 36 EXPECT_EQ("9a:513", Matches[0].str()); 37 EXPECT_EQ("a", Matches[1].str()); 38 EXPECT_EQ("513", Matches[2].str()); 40 EXPECT_TRUE(r3.match("9:513b", &Matches)); [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/TableGen/ |
H A D | StringMatcher.cpp | 24 StringMatcher::StringPair*> &Matches) { 25 assert(!Matches.empty()); 26 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { 28 char Letter = Matches[0]->first[i]; 30 for (unsigned str = 0, e = Matches.size(); str != e; ++str) 31 if (Matches[str]->first[i] != Letter) 35 return Matches[0]->first.size(); 44 EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches, argument 46 assert(!Matches.empty() && "Must have at least one string to match!"); 51 if (CharNo == Matches[ 23 FindFirstNonCommonLetter(const std::vector<const StringMatcher::StringPair*> &Matches) argument [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/TableGen/ |
H A D | StringMatcher.h | 36 const std::vector<StringPair> &Matches; member in class:llvm::StringMatcher 42 : StrVariableName(strVariableName), Matches(matches), OS(os) {} 48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/ |
H A D | Regex.cpp | 55 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ argument 56 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; 76 if (Matches) { // match position requested 77 Matches->clear(); 82 Matches->push_back(StringRef()); 86 Matches->push_back(StringRef(String.data()+pm[i].rm_so, 96 SmallVector<StringRef, 8> Matches; local 102 if (!match(String, &Matches)) 107 std::string Res(String.begin(), Matches[0].begin()); 155 RefValue < Matches [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/ |
H A D | Regex.h | 56 /// \param Matches - If given, on a successful match this will be filled in 61 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = 0);
|
/macosx-10.9.5/pcre-7/pcre/ |
H A D | pcregexp.pas | 69 Matches:Pointer;
470 Matches:=nil;
500 GetMem(Matches,SizeOf(TMatchArray));
510 if Matches <> nil then
511 FreeMem(Matches,SizeOf(TMatchArray));
520 MatchesCount:=pcre_exec( RegExpC, RegExpExt, AStr, ALen, PMatchArray(Matches)^[1],
521 Options, Matches, MAX_MATCHES ) else
523 Options, Matches, MAX_MATCHES );
544 Options, Matches, MAX_MATCHES );
555 Pos:=PMatchArray(Matches) [all...] |
/macosx-10.9.5/vim-53/runtime/syntax/ |
H A D | cheetah.vim | 29 " Matches cached placeholders
|
H A D | bib.vim | 44 " Matches
|
/macosx-10.9.5/llvmCore-3425.0.33/utils/TableGen/ |
H A D | AsmMatcherEmitter.cpp | 2113 std::vector<StringMatcher::StringPair> Matches; 2119 Matches.push_back(StringMatcher::StringPair(CI.ValueName, 2125 StringMatcher("Name", Matches, OS).Emit(); 2136 std::vector<StringMatcher::StringPair> Matches; 2144 Matches.push_back(StringMatcher::StringPair( 2151 StringMatcher("Name", Matches, OS).Emit();
|
Completed in 100 milliseconds