Home
last modified time | relevance | path

Searched refs:Matches (Results 1 – 25 of 65) sorted by relevance

123

/freebsd-9-stable/contrib/llvm/lib/TableGen/
DStringMatcher.cpp24 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter() argument
25 assert(!Matches.empty()); in FindFirstNonCommonLetter()
26 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { in FindFirstNonCommonLetter()
28 char Letter = Matches[0]->first[i]; in FindFirstNonCommonLetter()
30 for (unsigned str = 0, e = Matches.size(); str != e; ++str) in FindFirstNonCommonLetter()
31 if (Matches[str]->first[i] != Letter) in FindFirstNonCommonLetter()
35 return Matches[0]->first.size(); in FindFirstNonCommonLetter()
44 EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches, in EmitStringMatcherForChar() argument
46 assert(!Matches.empty() && "Must have at least one string to match!"); in EmitStringMatcherForChar()
51 if (CharNo == Matches[0]->first.size()) { in EmitStringMatcherForChar()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Support/
DRegex.cpp57 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ in match() argument
58 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match()
78 if (Matches) { // match position requested in match()
79 Matches->clear(); in match()
84 Matches->push_back(StringRef()); in match()
88 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match()
98 SmallVector<StringRef, 8> Matches; in sub() local
104 if (!match(String, &Matches)) in sub()
109 std::string Res(String.begin(), Matches[0].begin()); in sub()
157 RefValue < Matches.size()) in sub()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DSampleProfile.cpp325 SmallVector<StringRef, 4> Matches; in loadText() local
327 if (!HeadRE.match(Line, &Matches)) in loadText()
330 assert(Matches.size() == 5); in loadText()
331 StringRef FName = Matches[1]; in loadText()
333 Matches[2].getAsInteger(10, NumSamples); in loadText()
334 Matches[3].getAsInteger(10, NumHeadSamples); in loadText()
335 Matches[4].getAsInteger(10, NumSampledLines); in loadText()
343 if (!LineSample.match(Line, &Matches)) in loadText()
345 assert(Matches.size() == 3); in loadText()
347 Matches[1].getAsInteger(10, LineOffset); in loadText()
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/TableGen/
DStringMatcher.h36 const std::vector<StringPair> &Matches; variable
42 : StrVariableName(strVariableName), Matches(matches), OS(os) {} in StringMatcher()
48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
/freebsd-9-stable/contrib/llvm/tools/clang/utils/TableGen/
DClangCommentHTMLTagsEmitter.cpp25 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentHTMLTags() local
30 Matches.push_back(StringMatcher::StringPair(Spelling, "return true;")); in EmitClangCommentHTMLTags()
36 StringMatcher("Name", Matches, OS).Emit(); in EmitClangCommentHTMLTags()
DClangCommentCommandInfoEmitter.cpp63 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentCommandInfo() local
69 Matches.push_back(StringMatcher::StringPair(Name, Return)); in EmitClangCommentCommandInfo()
74 StringMatcher("Name", Matches, OS).Emit(); in EmitClangCommentCommandInfo()
/freebsd-9-stable/share/i18n/csmapper/APPLE/
DUCS%CENTEURO.src29 # c02 2005-Apr-04 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs. Matches internal utom<b1>.
32 # b02 1999-Sep-22 Update contact e-mail address. Matches
36 # mapping changes. Matches internal utom<n3>,
40 # Matches internal ufrm<n5>.
DCENTEURO%UCS.src29 # c02 2005-Apr-04 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs. Matches internal utom<b1>.
32 # b02 1999-Sep-22 Update contact e-mail address. Matches
36 # mapping changes. Matches internal utom<n3>,
40 # Matches internal ufrm<n5>.
DUCS%CYRILLIC.src29 # c03 2005-Apr-05 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
36 # Update contact e-mail address. Matches
40 # mapping changes. Matches internal utom<n3>,
44 # Matches internal ufrm<n5>.
DCYRILLIC%UCS.src29 # c03 2005-Apr-05 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
36 # Update contact e-mail address. Matches
40 # mapping changes. Matches internal utom<n3>,
44 # Matches internal ufrm<n5>.
DUCS%ROMAN.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
31 # b4,c1 2002-Dec-19 Update URLs, notes. Matches internal
33 # b03 1999-Sep-22 Update contact e-mail address. Matches
38 # EURO SIGN. Matches internal utom<b3>,
48 # Matches internal ufrm<n9>.
DROMAN%UCS.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
31 # b4,c1 2002-Dec-19 Update URLs, notes. Matches internal
33 # b03 1999-Sep-22 Update contact e-mail address. Matches
38 # EURO SIGN. Matches internal utom<b3>,
48 # Matches internal ufrm<n9>.
DUCS%TURKISH.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
33 # b02 1999-Sep-22 Update contact e-mail address. Matches
41 # Matches internal ufrm<n4>.
DTURKISH%UCS.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
33 # b02 1999-Sep-22 Update contact e-mail address. Matches
41 # Matches internal ufrm<n4>.
DCROATIAN%UCS.src29 # c02 2005-Apr-04 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
35 # SIGN. Update contact e-mail address. Matches
43 # Matches internal ufrm<6>.
DUCS%CROATIAN.src29 # c02 2005-Apr-04 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
35 # SIGN. Update contact e-mail address. Matches
43 # Matches internal ufrm<6>.
DICELAND%UCS.src25 # c02 2005-Apr-05 Update header comments. Matches internal xml
27 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
31 # SIGN. Update contact e-mail address. Matches
40 # Matches internal ufrm<n5>.
DROMANIAN%UCS.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
33 # Unicode 3.0. Update URLs, notes. Matches
37 # SIGN. Update contact e-mail address. Matches
49 # Matches internal ufrm<n4>.
DUCS%ROMANIAN.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
33 # Unicode 3.0. Update URLs, notes. Matches
37 # SIGN. Update contact e-mail address. Matches
49 # Matches internal ufrm<n4>.
DDINGBATS%UCS.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
33 # Matches internal utom<b2>.
34 # b02 1999-Sep-22 Update contact e-mail address. Matches
45 # Matches internal ufrm<n4>.
DUCS%ICELAND.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
35 # SIGN. Update contact e-mail address. Matches
44 # Matches internal ufrm<n5>.
DUCS%DINGBATS.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
33 # Matches internal utom<b2>.
34 # b02 1999-Sep-22 Update contact e-mail address. Matches
45 # Matches internal ufrm<n4>.
/freebsd-9-stable/contrib/llvm/tools/clang/lib/ASTMatchers/
DASTMatchFinder.cpp99 Matches(false) {} in MatchChildASTVisitor()
135 return Matches; in findMatch()
215 Matches = false; in reset()
255 Matches = true; in match()
264 Matches = true; in match()
290 bool Matches; member in clang::ast_matchers::internal::__anon0817615f0111::MatchChildASTVisitor
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaExprCXX.cpp1682 SmallVector<std::pair<DeclAccessPair,FunctionDecl*>, 2> Matches; in FindAllocationFunctions() local
1736 Matches.push_back(std::make_pair(D.getPair(), Fn)); in FindAllocationFunctions()
1747 Matches.push_back(std::make_pair(D.getPair(), Fn)); in FindAllocationFunctions()
1760 if (getLangOpts().SizedDeallocation && Matches.size() == 2) { in FindAllocationFunctions()
1761 if (Matches[0].second->getNumParams() == 1) in FindAllocationFunctions()
1762 Matches.erase(Matches.begin()); in FindAllocationFunctions()
1764 Matches.erase(Matches.begin() + 1); in FindAllocationFunctions()
1765 assert(Matches[0].second->getNumParams() == 2 && in FindAllocationFunctions()
1774 if (Matches.size() == 1) { in FindAllocationFunctions()
1775 OperatorDelete = Matches[0].second; in FindAllocationFunctions()
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/Support/
DRegex.h66 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = 0);

123