HomeSort by relevance Sort by last modified time
    Searched defs:Matches (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/chromium_org/media/base/
text_track_config.cc 23 bool TextTrackConfig::Matches(const TextTrackConfig& config) const {
audio_decoder_config.cc 95 bool AudioDecoderConfig::Matches(const AudioDecoderConfig& config) const {
video_decoder_config.cc 101 bool VideoDecoderConfig::Matches(const VideoDecoderConfig& config) const {
  /external/chromium_org/content/browser/shared_worker/
shared_worker_instance.cc 38 bool SharedWorkerInstance::Matches(const GURL& match_url,
61 bool SharedWorkerInstance::Matches(const SharedWorkerInstance& other) const {
62 return Matches(other.url(),
shared_worker_instance_unittest.cc 31 bool Matches(const SharedWorkerInstance& instance,
34 return instance.Matches(GURL(url),
54 EXPECT_TRUE(Matches(instance1, "http://example.com/w.js", ""));
55 EXPECT_FALSE(Matches(instance1, "http://example.com/w2.js", ""));
56 EXPECT_FALSE(Matches(instance1, "http://example.net/w.js", ""));
57 EXPECT_FALSE(Matches(instance1, "http://example.net/w2.js", ""));
58 EXPECT_FALSE(Matches(instance1, "http://example.com/w.js", "name"));
59 EXPECT_FALSE(Matches(instance1, "http://example.com/w2.js", "name"));
60 EXPECT_FALSE(Matches(instance1, "http://example.net/w.js", "name"));
61 EXPECT_FALSE(Matches(instance1, "http://example.net/w2.js", "name"))
    [all...]
  /external/clang/utils/TableGen/
ClangCommentHTMLTagsEmitter.cpp 25 std::vector<StringMatcher::StringPair> Matches;
28 Matches.push_back(StringMatcher::StringPair(Spelling, "return true;"));
34 StringMatcher("Name", Matches, OS).Emit();
ClangCommentCommandInfoEmitter.cpp 63 std::vector<StringMatcher::StringPair> Matches;
69 Matches.push_back(StringMatcher::StringPair(Name, Return));
74 StringMatcher("Name", Matches, OS).Emit();
  /external/llvm/include/llvm/TableGen/
StringMatcher.h 29 /// not exit this code fragment. If nothing matches, execution falls through.
37 const std::vector<StringPair> &Matches;
42 const std::vector<StringPair> &matches, raw_ostream &os)
43 : StrVariableName(strVariableName), Matches(matches), OS(os) {}
48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
  /external/llvm/unittests/Support/
RegexTest.cpp 27 SmallVector<StringRef, 1> Matches;
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_org/third_party/libjingle/source/talk/media/base/
cryptoparams.h 42 bool Matches(const CryptoParams& params) const {
  /external/easymock/src/org/easymock/internal/matchers/
Matches.java 22 public class Matches implements IArgumentMatcher, Serializable {
28 public Matches(String regex) {
32 public boolean matches(Object actual) { method in class:Matches
33 return (actual instanceof String) && ((String) actual).matches(regex);
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
  /external/mockito/src/org/mockito/internal/matchers/
Matches.java 14 public class Matches extends ArgumentMatcher<Object> implements Serializable {
19 public Matches(String regex) {
23 public boolean matches(Object actual) { method in class:Matches
24 return (actual instanceof String) && ((String) actual).matches(regex);
28 description.appendText("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
  /external/chromium_org/components/bookmarks/browser/
bookmark_index.h 60 typedef std::vector<Match> Matches;
62 // Extracts |matches.nodes| into Nodes, sorts the pairs in decreasing order of
63 // typed count (if supported by the client), and then de-dupes the matches.
64 void SortMatches(const Matches& matches, Nodes* sorted_nodes) const;
66 // Add |node| to |results| if the node matches the query.
73 // Populates |matches| for the specified term. If |first_term| is true, this
78 Matches* matches);
80 // Iterates over |matches| updating each Match's nodes to contain th
    [all...]
  /external/chromium_org/tools/cr/cr/base/
linux.py 22 def Matches(self):
host.py 36 def Matches(self):
41 true if the plugin matches the machine it is running on.
48 if host.Matches():
  /external/chromium_org/chromeos/network/
managed_state.cc 17 bool ManagedState::Matches(const NetworkTypePattern& pattern) const {
  /external/chromium_org/components/policy/core/common/cloud/
resource_cache_unittest.cc 30 bool Matches(const std::string& expected, const std::string& subkey) {
142 cache.FilterSubkeys(kKey1, base::Bind(&Matches, kSubA));
  /external/chromium_org/components/url_matcher/
substring_set_matcher.h 42 // Matches |text| against all registered StringPatterns. Stores the IDs
43 // of matching patterns in |matches|. |matches| is not cleared before adding
46 std::set<StringPattern::ID>* matches) const;
57 // IDs that are used to report matches.
60 // any registered pattern matches a text at the beginning of the text (i.e.
65 // would report all pattern IDs associated with the trie nodes as matches.
67 // As we are not looking for all prefix matches but all substring matches,
86 typedef std::set<StringPattern::ID> Matches;
104 const Matches& matches() const { return matches_; } function in class:url_matcher::SubstringSetMatcher::AhoCorasickNode
    [all...]
  /external/chromium_org/net/proxy/
proxy_config_service_common_unittest.cc 18 // Helper to verify that |expected_proxy| matches the first proxy conatined in
95 ::testing::AssertionResult ProxyRulesExpectation::Matches(
  /external/chromium_org/sync/internal_api/public/util/
experiments.h 34 bool Matches(const Experiments& rhs) {
  /external/llvm/lib/Support/
Regex.cpp 54 /// matches it contains.
59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){
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;
106 if (!match(String, &Matches))
111 std::string Res(String.begin(), Matches[0].begin())
    [all...]
  /external/chromium_org/chrome/browser/prerender/
prerender_handle.cc 66 bool PrerenderHandle::Matches(
72 return prerender_data_->contents()->Matches(url, session_storage_namespace);
  /external/chromium_org/extensions/common/manifest_handlers/
webview_info.cc 42 bool Matches(const std::string& partition_id) const {
56 // A pattern string that matches partition IDs.
84 if (item->Matches(partition_id) &&
  /external/chromium_org/gpu/config/
gpu_test_config.cc 198 bool GPUTestBotConfig::Matches(const GPUTestConfig& config) const {
223 bool GPUTestBotConfig::Matches(const std::string& config_data) const {
229 return Matches(config);
267 return my_config.Matches(config_data);
277 if (my_config.Matches(configs[i]))
  /external/chromium_org/third_party/leveldatabase/src/util/
bloom_test.cc 69 bool Matches(const Slice& s) {
80 if (Matches(Key(i + 1000000000, buffer))) {
89 ASSERT_TRUE(! Matches("hello"));
90 ASSERT_TRUE(! Matches("world"));
96 ASSERT_TRUE(Matches("hello"));
97 ASSERT_TRUE(Matches("world"));
98 ASSERT_TRUE(! Matches("x"));
99 ASSERT_TRUE(! Matches("foo"));
134 ASSERT_TRUE(Matches(Key(i, buffer)))

Completed in 1034 milliseconds

1 2 3 4