Searched defs:Matches (Results 1 - 25 of 29) sorted by relevance

12

/external/llvm/unittests/Support/
H A DRegexTest.cpp27 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...]
/external/chromium/third_party/libjingle/source/talk/session/phone/
H A Dcodec.cc35 bool AudioCodec::Matches(int payload, const std::string& nm) const { function in class:cricket::AudioCodec
40 bool AudioCodec::Matches(const AudioCodec& codec) const { function in class:cricket::AudioCodec
47 return Matches(codec.id, codec.name) &&
61 bool VideoCodec::Matches(int payload, const std::string& nm) const { function in class:cricket::VideoCodec
66 bool VideoCodec::Matches(const VideoCodec& codec) const { function in class:cricket::VideoCodec
68 return Matches(codec.id, codec.name);
H A Dcryptoparams.h42 bool Matches(const CryptoParams& params) const { function in struct:cricket::CryptoParams
/external/clang/utils/TableGen/
H A DClangCommentCommandInfoEmitter.cpp54 std::vector<StringMatcher::StringPair> Matches; local
60 Matches.push_back(StringMatcher::StringPair(Name, Return));
65 StringMatcher("Name", Matches, OS).Emit();
H A DClangCommentHTMLTagsEmitter.cpp24 std::vector<StringMatcher::StringPair> Matches; local
29 Matches.push_back(StringMatcher::StringPair(Spelling, "return true;"));
35 StringMatcher("Name", Matches, OS).Emit();
H A DClangAttrEmitter.cpp1123 std::vector<StringMatcher::StringPair> Matches; local
1149 Matches.push_back(
1154 Matches.push_back(
1163 StringMatcher("Name", Matches, OS).Emit();
/external/llvm/include/llvm/TableGen/
H A DStringMatcher.h36 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,
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_index.h59 typedef std::vector<Match> Matches; typedef in class:BookmarkIndex
62 // Used to sort Matches in decreasing order of typed count.
68 void SortMatches(const Matches& matches,
97 Matches* matches);
105 Matches* matches);
117 const Matches& current_matches,
118 Matches* result);
/external/chromium/chrome/browser/content_settings/
H A Dcontent_settings_pattern.cc68 bool ContentSettingsPattern::Matches(const GURL& url) const { function in class:ContentSettingsPattern
/external/easymock/src/org/easymock/internal/matchers/
H A DMatches.java22 public class Matches implements IArgumentMatcher, Serializable { class in inherits:IArgumentMatcher,Serializable
28 public Matches(String regex) { method in class:Matches
/external/llvm/lib/TableGen/
H A DStringMatcher.cpp24 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...]
/external/llvm/lib/Support/
H A DRegex.cpp55 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...]
/external/chromium/net/proxy/
H A Dproxy_config_service_common_unittest.cc72 ::testing::AssertionResult ProxyRulesExpectation::Matches( function in class:net::ProxyRulesExpectation
H A Dproxy_bypass_rules.cc27 virtual bool Matches(const GURL& url) const { function in class:net::__anon2990::HostnamePatternRule
63 virtual bool Matches(const GURL& url) const { function in class:net::__anon2990::BypassLocalRule
95 virtual bool Matches(const GURL& url) const { function in class:net::__anon2990::BypassIPBlockRule
169 bool ProxyBypassRules::Matches(const GURL& url) const { function in class:net::ProxyBypassRules
171 if ((*it)->Matches(url))
/external/chromium/chrome/browser/history/
H A Dquery_parser.cc82 virtual bool Matches(const string16& word, bool exact) const;
93 if (Matches(words[i].word, false)) {
104 bool QueryNodeWord::Matches(const string16& word, bool exact) const { function in class:QueryNodeWord
143 // QueryNodeList is never used with Matches or HasMatchIn.
144 virtual bool Matches(const string16& word, bool exact) const { function in class:QueryNodeList
208 virtual bool Matches(const string16& word, bool exact) const;
213 bool QueryNodePhrase::Matches(const string16& word, bool exact) const { function in class:QueryNodePhrase
227 if (!children_[j]->Matches(words[i + j].word, true)) {
/external/chromium/net/base/
H A Dx509_cert_types_mac.cc252 // byte-for-byte by a Matches() call.
300 bool CertPrincipal::Matches(const CertPrincipal& against) const { function in class:net::CertPrincipal
/external/clang/unittests/Tooling/
H A DTestVisitor.h138 EXPECT_FALSE(It->Matches(Name, FullLocation))
160 bool Matches(StringRef Name, FullSourceLoc const &Location) const { function in struct:clang::ExpectedLocationVisitor::MatchCandidate
190 if (Candidate.Matches(Name, Location)) {
/external/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp14 // calling the Matches(...) method of each matcher we are running on each
131 Matches(false) {}
151 return Matches;
190 Matches = false;
221 Matches = true;
238 Matches = true;
256 bool Matches; member in class:clang::ast_matchers::internal::__anon3535::MatchChildASTVisitor
317 // Matches children or descendants of 'Node' with 'BaseMatcher'.
339 // Matches children or descendants of 'Node' with 'BaseMatcher'.
438 // Matches al
[all...]
/external/regex-re2/re2/
H A Dprog.h114 inline bool Matches(int c) { function in class:re2::Prog::Inst
/external/chromium/net/http/
H A Dhttp_cache.cc173 bool Matches(Transaction* trans) const { return trans == trans_; } function in class:net::HttpCache::WorkItem
964 if (pending_op->writer->Matches(trans)) {
973 if ((*it)->Matches(trans)) {
/external/chromium/testing/gmock/include/gmock/
H A Dgmock-matchers.h200 bool Matches(T x) const { function in class:testing::internal::MatcherBase
475 // Matches the value against the given matcher, prints the value and explains
486 return matcher.Matches(value);
508 // TuplePrefix<N>::Matches(matcher_tuple, value_tuple) returns true
512 static bool Matches(const MatcherTuple& matcher_tuple, function in class:testing::internal::TuplePrefix
515 return TuplePrefix<N - 1>::Matches(matcher_tuple, value_tuple)
516 && get<N - 1>(matcher_tuple).Matches(get<N - 1>(value_tuple));
563 static bool Matches(const MatcherTuple& /* matcher_tuple */, function in class:testing::internal::TuplePrefix
589 Matches(matcher_tuple, value_tuple);
1420 // Used for implementing Matches(matche
3027 inline internal::MatcherAsPredicate<M> Matches(M matcher) { function in namespace:testing
[all...]
/external/v8/src/
H A Disolate.h396 bool Matches(Isolate* isolate, ThreadId thread_id) const { function in class:v8::internal::Isolate::PerIsolateThreadData
H A Dliveobjectlist.cc259 inline bool Matches(HeapObject* obj) { function in class:v8::internal::LolFilter
651 if (!filter->Matches(heap_obj)) {
692 if (!filter->Matches(heap_obj)) {
872 if (!filter->Matches(heap_obj)) {
1884 if (filter->Matches(heap_obj)) {
H A Djsregexp.h482 bool Matches(NodeInfo* that) { function in struct:v8::internal::NodeInfo
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp1588 SmallVector<std::pair<DeclAccessPair,FunctionDecl*>, 2> Matches; local
1643 Matches.push_back(std::make_pair(D.getPair(), Fn));
1654 Matches.push_back(std::make_pair(D.getPair(), Fn));
1662 if (Matches.size() == 1) {
1663 OperatorDelete = Matches[0].second;
1680 Matches[0].first);
1962 SmallVector<DeclAccessPair,4> Matches; local
1973 Matches.push_back(F.getPair());
1977 if (Matches.size() == 1) {
1978 Operator = cast<CXXMethodDecl>(Matches[
[all...]

Completed in 536 milliseconds

12