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

123

/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));
66 SmallVector<StringRef, 4> Matches; local
[all...]
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_index.h57 typedef std::vector<Match> Matches; typedef in class:bookmarks::BookmarkIndex
61 void SortMatches(const Matches& matches, Nodes* sorted_nodes) const;
75 Matches* matches);
83 Matches* matches);
95 const Matches& current_matches,
96 Matches* result);
/external/chromium_org/media/base/
H A Dtext_track_config.cc23 bool TextTrackConfig::Matches(const TextTrackConfig& config) const { function in class:media::TextTrackConfig
H A Daudio_decoder_config.cc95 bool AudioDecoderConfig::Matches(const AudioDecoderConfig& config) const { function in class:media::AudioDecoderConfig
H A Dvideo_decoder_config.cc101 bool VideoDecoderConfig::Matches(const VideoDecoderConfig& config) const { function in class:media::VideoDecoderConfig
/external/clang/utils/TableGen/
H A DClangCommentHTMLTagsEmitter.cpp25 std::vector<StringMatcher::StringPair> Matches; local
28 Matches.push_back(StringMatcher::StringPair(Spelling, "return true;"));
34 StringMatcher("Name", Matches, OS).Emit();
H A DClangCommentCommandInfoEmitter.cpp63 std::vector<StringMatcher::StringPair> Matches; local
69 Matches.push_back(StringMatcher::StringPair(Name, Return));
74 StringMatcher("Name", Matches, OS).Emit();
/external/llvm/include/llvm/TableGen/
H A DStringMatcher.h37 const std::vector<StringPair> &Matches; member in class:llvm::StringMatcher
43 : StrVariableName(strVariableName), Matches(matches), OS(os) {}
48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
/external/chromium_org/content/browser/shared_worker/
H A Dshared_worker_instance.cc38 bool SharedWorkerInstance::Matches(const GURL& match_url, function in class:content::SharedWorkerInstance
61 bool SharedWorkerInstance::Matches(const SharedWorkerInstance& other) const { function in class:content::SharedWorkerInstance
62 return Matches(other.url(),
H A Dshared_worker_instance_unittest.cc32 bool Matches(const SharedWorkerInstance& instance, function in class:content::SharedWorkerInstanceTest
35 return instance.Matches(GURL(url),
56 EXPECT_TRUE(Matches(instance1, "http://example.com/w.js", ""));
57 EXPECT_FALSE(Matches(instance1, "http://example.com/w2.js", ""));
58 EXPECT_FALSE(Matches(instance1, "http://example.net/w.js", ""));
59 EXPECT_FALSE(Matches(instance1, "http://example.net/w2.js", ""));
60 EXPECT_FALSE(Matches(instance1, "http://example.com/w.js", "name"));
61 EXPECT_FALSE(Matches(instance1, "http://example.com/w2.js", "name"));
62 EXPECT_FALSE(Matches(instance1, "http://example.net/w.js", "name"));
63 EXPECT_FALSE(Matches(instance
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dcryptoparams.h42 bool Matches(const CryptoParams& params) const { function in struct:cricket::CryptoParams
/external/chromium_org/tools/cr/cr/base/
H A Dlinux.py22 def Matches(self): member in class:LinuxHost
H A Dhost.py36 def Matches(self): member in class:Host
48 if host.Matches():
/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/mockito/src/org/mockito/internal/matchers/
H A DMatches.java14 public class Matches extends ArgumentMatcher<Object> implements Serializable { class in inherits:ArgumentMatcher,Serializable
19 public Matches(String regex) { method in class:Matches
/external/chromium_org/components/policy/core/common/cloud/
H A Dresource_cache_unittest.cc30 bool Matches(const std::string& expected, const std::string& subkey) { function in namespace:policy::__anon6727
142 cache.FilterSubkeys(kKey1, base::Bind(&Matches, kSubA));
/external/chromium_org/components/url_matcher/
H A Dsubstring_set_matcher.h42 // Matches |text| against all registered StringPatterns. Stores the IDs
86 typedef std::set<StringPattern::ID> Matches; typedef in class:url_matcher::SubstringSetMatcher::AhoCorasickNode
103 void AddMatches(const Matches& matches);
104 const Matches& matches() const { return matches_; }
114 Matches matches_;
/external/chromium_org/device/hid/
H A Dhid_device_filter.cc41 bool HidDeviceFilter::Matches(const HidDeviceInfo& device_info) const { function in class:device::HidDeviceFilter
82 if (i->Matches(device_info)) {
/external/chromium_org/sync/internal_api/public/util/
H A Dexperiments.h35 bool Matches(const Experiments& rhs) { function in struct:syncer::Experiments
/external/chromium_org/chromeos/network/
H A Dmanaged_state.cc17 bool ManagedState::Matches(const NetworkTypePattern& pattern) const { function in class:chromeos::ManagedState
/external/chromium_org/device/usb/
H A Dusb_device_filter.cc59 bool UsbDeviceFilter::Matches(scoped_refptr<UsbDevice> device) const { function in class:device::UsbDeviceFilter
127 if (i->Matches(device)) {
/external/chromium_org/tools/gn/
H A Dlabel_pattern.cc202 bool LabelPattern::Matches(const Label& label) const { function in class:LabelPattern
/external/chromium_org/ui/gfx/geometry/
H A Dr_tree.h26 typedef base::hash_set<Key> Matches; typedef in class:gfx::RTree
54 Matches* matches_out) const;
156 const Rect& query_rect, Matches* matches_out) const {
/external/llvm/lib/Support/
H A DRegex.cpp59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ argument
60 unsigned nmatch = Matches ? preg->re_nsub+1 : 0;
80 if (Matches) { // match position requested
81 Matches->clear();
86 Matches->push_back(StringRef());
90 Matches->push_back(StringRef(String.data()+pm[i].rm_so,
100 SmallVector<StringRef, 8> Matches; local
106 if (!match(String, &Matches))
111 std::string Res(String.begin(), Matches[0].begin());
159 RefValue < Matches
[all...]

Completed in 1811 milliseconds

123