/external/llvm/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)); 66 SmallVector<StringRef, 4> Matches; local [all...] |
/external/chromium_org/components/bookmarks/browser/ |
H A D | bookmark_index.h | 57 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 D | text_track_config.cc | 23 bool TextTrackConfig::Matches(const TextTrackConfig& config) const { function in class:media::TextTrackConfig
|
H A D | audio_decoder_config.cc | 95 bool AudioDecoderConfig::Matches(const AudioDecoderConfig& config) const { function in class:media::AudioDecoderConfig
|
H A D | video_decoder_config.cc | 101 bool VideoDecoderConfig::Matches(const VideoDecoderConfig& config) const { function in class:media::VideoDecoderConfig
|
/external/clang/utils/TableGen/ |
H A D | ClangCommentHTMLTagsEmitter.cpp | 25 std::vector<StringMatcher::StringPair> Matches; local 28 Matches.push_back(StringMatcher::StringPair(Spelling, "return true;")); 34 StringMatcher("Name", Matches, OS).Emit();
|
H A D | ClangCommentCommandInfoEmitter.cpp | 63 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 D | StringMatcher.h | 37 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 D | shared_worker_instance.cc | 38 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 D | shared_worker_instance_unittest.cc | 32 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 D | cryptoparams.h | 42 bool Matches(const CryptoParams& params) const { function in struct:cricket::CryptoParams
|
/external/chromium_org/tools/cr/cr/base/ |
H A D | linux.py | 22 def Matches(self): member in class:LinuxHost
|
H A D | host.py | 36 def Matches(self): member in class:Host 48 if host.Matches():
|
/external/easymock/src/org/easymock/internal/matchers/ |
H A D | Matches.java | 22 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 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...] |
/external/mockito/src/org/mockito/internal/matchers/ |
H A D | Matches.java | 14 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 D | resource_cache_unittest.cc | 30 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 D | substring_set_matcher.h | 42 // 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 D | hid_device_filter.cc | 41 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 D | experiments.h | 35 bool Matches(const Experiments& rhs) { function in struct:syncer::Experiments
|
/external/chromium_org/chromeos/network/ |
H A D | managed_state.cc | 17 bool ManagedState::Matches(const NetworkTypePattern& pattern) const { function in class:chromeos::ManagedState
|
/external/chromium_org/device/usb/ |
H A D | usb_device_filter.cc | 59 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 D | label_pattern.cc | 202 bool LabelPattern::Matches(const Label& label) const { function in class:LabelPattern
|
/external/chromium_org/ui/gfx/geometry/ |
H A D | r_tree.h | 26 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 D | Regex.cpp | 59 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...] |