/external/chromium/third_party/libjingle/source/talk/session/phone/ |
codec.cc | 35 bool AudioCodec::Matches(int payload, const std::string& nm) const { 40 bool AudioCodec::Matches(const AudioCodec& codec) const { 47 return Matches(codec.id, codec.name) && 61 bool VideoCodec::Matches(int payload, const std::string& nm) const { 66 bool VideoCodec::Matches(const VideoCodec& codec) const { 68 return Matches(codec.id, codec.name);
|
cryptoparams.h | 42 bool Matches(const CryptoParams& params) const {
|
/external/llvm/include/llvm/TableGen/ |
StringMatcher.h | 29 /// not exit this code fragment. If nothing matches, execution falls through. 36 const std::vector<StringPair> &Matches; 41 const std::vector<StringPair> &matches, raw_ostream &os) 42 : 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/chrome/test/pyautolib/ |
omnibox_info.py | 13 print info.Matches() 27 - a list of matches in the same order as you'd see in the omnibox, 32 { u'matches': [ 83 def Matches(self): 84 """Get omnibox matches. 89 return self.omniboxdict.get('matches', []) 92 """Find all omnibox matches which match the attributes in |attr_dict|. 105 for item in self.Matches():
|
/external/chromium_org/media/base/ |
audio_decoder_config.cc | 86 bool AudioDecoderConfig::Matches(const AudioDecoderConfig& config) const {
|
video_decoder_config.cc | 99 bool VideoDecoderConfig::Matches(const VideoDecoderConfig& config) const {
|
/external/chromium_org/sync/internal_api/public/util/ |
experiments.h | 21 bool Matches(const Experiments& rhs) {
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
cryptoparams.h | 42 bool Matches(const CryptoParams& params) const {
|
codec.cc | 90 bool Codec::Matches(const Codec& codec) const { 132 bool AudioCodec::Matches(const AudioCodec& codec) const { 142 return Codec::Matches(codec) &&
|
/external/clang/utils/TableGen/ |
ClangCommentHTMLTagsEmitter.cpp | 25 std::vector<StringMatcher::StringPair> Matches; 30 Matches.push_back(StringMatcher::StringPair(Spelling, "return true;")); 36 StringMatcher("Name", Matches, OS).Emit();
|
ClangCommentCommandInfoEmitter.cpp | 62 std::vector<StringMatcher::StringPair> Matches; 68 Matches.push_back(StringMatcher::StringPair(Name, Return)); 73 StringMatcher("Name", Matches, OS).Emit();
|
/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/chrome/browser/bookmarks/ |
bookmark_index.h | 59 typedef std::vector<Match> Matches; 62 // Used to sort Matches in decreasing order of typed count. 66 // Extracts |matches.nodes| into NodeTypedCountPairs and sorts the pairs in 68 void SortMatches(const Matches& matches, 80 // count so that the best matches will always be added to the results. 86 // Add |node| to |results| if the node matches the query. 92 // Populates |matches| for the specified term. If |first_term| is true, this 97 Matches* matches); [all...] |
/external/chromium/chrome/browser/content_settings/ |
content_settings_pattern.cc | 26 // - [*.]domain.tld (matches domain.tld and all sub-domains) 27 // - host (matches an exact hostname) 28 // - a.b.c.d (matches an exact IPv4 ip) 29 // - [a:b:c:d:e:f:g:h] (matches an exact IPv6 ip) 68 bool ContentSettingsPattern::Matches(const GURL& url) const {
|
/external/chromium/net/proxy/ |
proxy_config_service_common_unittest.cc | 18 // Helper to verify that |expected_proxy| matches |actual_proxy|. If it does 72 ::testing::AssertionResult ProxyRulesExpectation::Matches(
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_index.h | 57 typedef std::vector<Match> Matches; 60 // Used to sort Matches in decreasing order of typed count. 64 // Extracts |matches.nodes| into NodeTypedCountPairs, sorts the pairs in 65 // decreasing order of typed count, and then de-dupes the matches. 66 void SortMatches(const Matches& matches, 78 // count so that the best matches will always be added to the results. 84 // Add |node| to |results| if the node matches the query. 90 // Populates |matches| for the specified term. If |first_term| is true, this 95 Matches* matches) [all...] |
/external/llvm/lib/Support/ |
Regex.cpp | 52 /// matches it contains. 57 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ 58 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; 78 if (Matches) { // match position requested 79 Matches->clear(); 84 Matches->push_back(StringRef()); 88 Matches->push_back(StringRef(String.data()+pm[i].rm_so, 98 SmallVector<StringRef, 8> Matches; 104 if (!match(String, &Matches)) 109 std::string Res(String.begin(), Matches[0].begin()) [all...] |
/external/chromium_org/chrome/browser/policy/ |
policy_domain_descriptor.cc | 18 bool Matches(const PolicySchema* schema, const base::Value& value) { 32 if (!Matches(schema->GetSchemaForProperty(it.key()), it.value())) 38 if (!*it || !Matches(schema->GetSchemaForItems(), **it)) 92 if (!policy_value || !Matches(policy_schema, *policy_value))
|
/external/chromium_org/chrome/browser/prerender/ |
prerender_handle.cc | 55 bool PrerenderHandle::Matches( 61 return prerender_data_->contents()->Matches(url, session_storage_namespace);
|
/external/chromium_org/extensions/common/matcher/ |
substring_set_matcher.h | 41 // Matches |text| against all registered StringPatterns. Stores the IDs 42 // of matching patterns in |matches|. |matches| is not cleared before adding 45 std::set<StringPattern::ID>* matches) const; 56 // IDs that are used to report matches. 59 // any registered pattern matches a text at the beginning of the text (i.e. 64 // would report all pattern IDs associated with the trie nodes as matches. 66 // As we are not looking for all prefix matches but all substring matches, 85 typedef std::set<StringPattern::ID> Matches; 103 const Matches& matches() const { return matches_; } function in class:extensions::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/gpu/config/ |
gpu_test_config.cc | 189 bool GPUTestBotConfig::Matches(const GPUTestConfig& config) const { 214 bool GPUTestBotConfig::Matches(const std::string& config_data) const { 220 return Matches(config); 255 return my_config.Matches(config_data); 265 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")); 133 ASSERT_TRUE(Matches(Key(i, buffer)))
|