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

/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/llvm/utils/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,
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...]
H A DAsmMatcherEmitter.cpp1798 std::vector<StringMatcher::StringPair> Matches; local
1804 Matches.push_back(StringMatcher::StringPair(CI.ValueName,
1810 StringMatcher("Name", Matches, OS).Emit();
1821 std::vector<StringMatcher::StringPair> Matches; local
1829 Matches.push_back(StringMatcher::StringPair(
1836 StringMatcher("Name", Matches, OS).Emit();
/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/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::__anon2577::HostnamePatternRule
63 virtual bool Matches(const GURL& url) const { function in class:net::__anon2577::BypassLocalRule
95 virtual bool Matches(const GURL& url) const { function in class:net::__anon2577::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/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.cpp1540 SmallVector<std::pair<DeclAccessPair,FunctionDecl*>, 2> Matches; local
1595 Matches.push_back(std::make_pair(D.getPair(), Fn));
1606 Matches.push_back(std::make_pair(D.getPair(), Fn));
1614 if (Matches.size() == 1) {
1615 OperatorDelete = Matches[0].second;
1632 Matches[0].first);
1914 SmallVector<DeclAccessPair,4> Matches; local
1925 Matches.push_back(F.getPair());
1929 if (Matches.size() == 1) {
1930 Operator = cast<CXXMethodDecl>(Matches[
[all...]
H A DSemaTemplate.cpp1469 bool Matches(unsigned ParmDepth) { function in struct:__anon3337::DependencyChecker
1478 return !Matches(T->getDepth());
1484 if (Matches(PD->getDepth())) return false;
6638 UnresolvedSet<8> Matches; local
6645 Matches.clear();
6647 Matches.addDecl(Method, P.getAccess());
6669 Matches.addDecl(Specialization, P.getAccess());
6674 = getMostSpecialized(Matches.begin(), Matches.end(), TPOC_Other, 0,
6680 if (Result == Matches
[all...]
H A DSemaOverload.cpp8746 SmallVector<std::pair<DeclAccessPair, FunctionDecl*>, 4> Matches; member in class:AddressOfFunctionResolver
8781 Matches.push_back(std::make_pair(dap,Fn));
8793 if (Matches.size() > 1) {
8852 Matches.push_back(std::make_pair(CurAccessFunPair, Specialization));
8878 Matches.push_back(std::make_pair(CurAccessFunPair,
8918 assert(Ret || Matches.empty());
8935 for (unsigned I = 0, E = Matches.size(); I != E; ++I)
8936 MatchesCopy.addDecl(Matches[I].second, Matches[I].first.getAccess());
8943 << Matches[
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.metadata_2.0.0.v20100601.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 520 milliseconds