/external/iptables/tests/ |
D | options-most.rules | 6 :matches - - 9 -A INPUT -j matches 59 -A matches -m connbytes --connbytes 1 --connbytes-mode bytes --connbytes-dir both 60 -A matches 61 -A matches -m connbytes --connbytes :2 --connbytes-mode bytes --connbytes-dir both 62 -A matches 63 -A matches -m connbytes --connbytes 0:3 --connbytes-mode bytes --connbytes-dir both 64 -A matches 65 -A matches -m connbytes --connbytes 4: --connbytes-mode bytes --connbytes-dir both 66 -A matches [all …]
|
/external/libvpx/examples/includes/PHP-Markdown-Extra-1.2.3/ |
D | markdown.php | 376 function _stripLinkDefinitions_callback($matches) { argument 377 $link_id = strtolower($matches[1]); 378 $this->urls[$link_id] = $matches[2]; 379 $this->titles[$link_id] =& $matches[3]; 521 function _hashHTMLBlocks_callback($matches) { argument 522 $text = $matches[1]; 662 function _doHardBreaks_callback($matches) { argument 737 function _doAnchors_reference_callback($matches) { argument 738 $whole_match = $matches[1]; 739 $link_text = $matches[2]; [all …]
|
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | Pattern2Test.java | 34 assertTrue(m1.matches()); in testSimpleMatch() 39 assertFalse(m2.matches()); in testSimpleMatch() 43 assertTrue(Pattern.matches("foo.*", "foo123")); in testSimpleMatch() 44 assertFalse(Pattern.matches("foo.*", "fox")); in testSimpleMatch() 46 assertFalse(Pattern.matches("bar", "foobar")); in testSimpleMatch() 48 assertTrue(Pattern.matches("", "")); in testSimpleMatch() 363 if (m.matches()) { in testEscapes() 406 assertTrue(m.matches()); in testCharacterClasses() 408 assertTrue(m.matches()); in testCharacterClasses() 410 assertFalse(m.matches()); in testCharacterClasses() [all …]
|
D | MatcherTest.java | 47 assertFalse(m.matches()); in testRegionsIntInt() 52 assertTrue(m.matches()); in testRegionsIntInt() 118 assertTrue(m.matches()); in testResetCharSequence() 120 assertFalse(m.matches()); in testResetCharSequence() 179 mat.matches(); in testGroupint() 204 mat.matches(); in testGroupint() 220 mat.matches(); in testGroup() 231 mat.matches(); in testGroup() 244 mat.matches(); in testGroupPossessive() 289 + posSeq[i][j], mat.matches()); in testMatchesMisc() [all …]
|
D | PatternTest.java | 51 assertTrue(p.matcher("abcd").matches()); in testCommentsInPattern() 166 assertFalse(mat.matches()); in testFlags() 172 assertTrue(mat.matches()); in testFlags() 178 assertTrue(mat.matches()); in testFlags() 184 assertTrue(mat.matches()); in testFlags() 190 assertTrue(mat.matches()); in testFlags() 196 assertFalse(mat.matches()); in testFlags() 202 assertFalse(mat.matches()); in testFlags() 208 assertTrue(mat.matches()); in testFlags() 214 assertTrue(mat.matches()); in testFlags() [all …]
|
/external/chromium/chrome/browser/resources/options/chromeos/ |
D | accounts_user_name_edit.js | 70 var matches = format1.exec(str); 71 if (matches) { 73 name: matches[1], 74 email: matches[1] + '@gmail.com', 79 matches = format2.exec(str); 80 if (matches) { 82 name: matches[1], 83 email: matches[1] + '@' + matches[2], 88 matches = format3.exec(str); 89 if (matches) { [all …]
|
/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_index_unittest.cc | 53 std::vector<bookmark_utils::TitleMatch> matches; in ExpectMatches() local 54 model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16(query), 1000, &matches); in ExpectMatches() 55 ASSERT_EQ(expected_titles.size(), matches.size()); in ExpectMatches() 58 for (size_t j = 0; j < matches.size(); ++j) { in ExpectMatches() 59 if (ASCIIToUTF16(expected_titles[i]) == matches[j].node->GetTitle()) { in ExpectMatches() 60 matches.erase(matches.begin() + j); in ExpectMatches() 70 Snippet::MatchPositions* matches) { in ExtractMatchPositions() argument 77 matches->push_back(Snippet::MatchPosition()); in ExtractMatchPositions() 81 matches->back().first = chunks0; in ExtractMatchPositions() 82 matches->back().second = chunks1; in ExtractMatchPositions() [all …]
|
/external/chromium/chrome/browser/history/ |
D | visit_database_unittest.cc | 88 std::vector<VisitRow> matches; in TEST_F() local 89 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); in TEST_F() 90 EXPECT_EQ(static_cast<size_t>(2), matches.size()); in TEST_F() 93 EXPECT_TRUE(IsVisitInfoEqual(matches[0], visit_info1) && in TEST_F() 94 IsVisitInfoEqual(matches[1], visit_info2)); in TEST_F() 117 std::vector<VisitRow> matches; in TEST_F() local 118 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); in TEST_F() 119 EXPECT_EQ(static_cast<size_t>(3), matches.size()); in TEST_F() 120 EXPECT_TRUE(IsVisitInfoEqual(matches[0], visit_info1) && in TEST_F() 121 IsVisitInfoEqual(matches[1], visit_info2) && in TEST_F() [all …]
|
D | history_types_unittest.cc | 20 const size_t* matches = result.MatchesForURL(result[i].url(), &match_count); in CheckHistoryResultConsistency() local 24 if (matches[match] == i) { in CheckHistoryResultConsistency() 78 const size_t* matches = results.MatchesForURL(url1, &match_count); in TEST() local 80 EXPECT_TRUE((matches[0] == 0 && matches[1] == 1) || in TEST() 81 (matches[0] == 1 && matches[1] == 0)); in TEST() 84 matches = results.MatchesForURL(url2, &match_count); in TEST() 86 EXPECT_TRUE(matches[0] == 2); in TEST() 93 matches = results.MatchesForURL(url1, &match_count); in TEST() 95 EXPECT_TRUE(matches[0] == 0); in TEST() 96 matches = results.MatchesForURL(url2, &match_count); in TEST() [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/ |
D | match-001.js | 78 for ( var matches = 0; matches < matches_array.length; matches++ ) { 80 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 81 matches_array[matches], 82 string.match(regexp)[matches] ); 94 for ( var matches = 0; matches < matches_array.length; matches++ ) { 96 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 97 matches_array[matches], 98 string.match(regexp)[matches] );
|
D | split-001.js | 72 for ( var matches = 0; matches < split_array.length; matches++ ) { 74 "( " + string + " ).split(" + str_sep +")[" + matches +"]", 75 split_array[matches], 76 string.split( separator )[matches] ); 100 for ( var matches = 0; matches < split_array.length; matches++ ) { 102 "( " + string + " ).split(" + str_sep +", " + str_limit + " )[" + matches +"]", 103 split_array[matches], 104 string.split( separator )[matches] );
|
D | split-003.js | 80 for ( var matches = 0; matches < split_array.length; matches++ ) { 82 "( " + string + " ).split(" + str_sep +")[" + matches +"]", 83 split_array[matches], 84 string.split( separator )[matches] ); 111 for ( var matches = 0; matches < slimit; matches++ ) { 113 "( " + string + " ).split(" + str_sep +", " + limit + " )[" + matches +"]", 114 split_array[matches], 115 string.split( separator, limit )[matches] );
|
D | match-004.js | 130 for ( var matches = 0; matches < limit; matches++ ) { 132 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 133 matches_array[matches], 134 string.match(regexp)[matches] ); 161 for ( var matches = 0; matches < limit; matches++ ) { 163 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 164 matches_array[matches], 165 string.match(regexp)[matches] );
|
D | match-002.js | 131 for ( var matches = 0; matches < limit; matches++ ) { 133 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 134 matches_array[matches], 135 string.match(regexp)[matches] ); 162 for ( var matches = 0; matches < limit; matches++ ) { 164 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 165 matches_array[matches], 166 string.match(regexp)[matches] );
|
/external/iproute2/tc/ |
D | m_mirred.c | 80 if (matches(*argv, "action") == 0) { in parse_egress() 82 } else if (matches(*argv, "egress") == 0) { in parse_egress() 88 if (matches(*argv, "index") == 0) { in parse_egress() 104 } else if (!mirror && matches(*argv, "mirror") == 0) { in parse_egress() 113 } else if (!redir && matches(*argv, "redirect") == 0) { in parse_egress() 122 } else if ((redir || mirror) && matches(*argv, "dev") == 0) { in parse_egress() 160 if (matches(*argv, "reclassify") == 0) { in parse_egress() 163 } else if (matches(*argv, "pipe") == 0) { in parse_egress() 166 } else if (matches(*argv, "drop") == 0 || in parse_egress() 167 matches(*argv, "shot") == 0) { in parse_egress() [all …]
|
D | m_gact.c | 76 if (matches(*argv, "reclassify") == 0) { in get_act() 78 } else if (matches(*argv, "drop") == 0 || matches(*argv, "shot") == 0) { in get_act() 80 } else if (matches(*argv, "continue") == 0) { in get_act() 82 } else if (matches(*argv, "pipe") == 0) { in get_act() 84 } else if (matches(*argv, "pass") == 0 || matches(*argv, "ok") == 0) { in get_act() 113 if (matches(*argv, "gact") == 0) { in parse_gact() 133 if (matches(*argv, "random") == 0) { in parse_gact() 136 if (matches(*argv, "netrand") == 0) { in parse_gact() 139 } else if (matches(*argv, "determ") == 0) { in parse_gact() 166 } else if (matches(*argv, "help") == 0) { in parse_gact() [all …]
|
D | q_cbq.c | 66 if (matches(*argv, "bandwidth") == 0 || in cbq_parse_opt() 67 matches(*argv, "rate") == 0) { in cbq_parse_opt() 73 } else if (matches(*argv, "ewma") == 0) { in cbq_parse_opt() 83 } else if (matches(*argv, "cell") == 0) { in cbq_parse_opt() 99 } else if (matches(*argv, "avpkt") == 0) { in cbq_parse_opt() 105 } else if (matches(*argv, "mpu") == 0) { in cbq_parse_opt() 111 } else if (matches(*argv, "allot") == 0) { in cbq_parse_opt() 118 } else if (matches(*argv, "overhead") == 0) { in cbq_parse_opt() 123 } else if (matches(*argv, "linklayer") == 0) { in cbq_parse_opt() 128 } else if (matches(*argv, "help") == 0) { in cbq_parse_opt() [all …]
|
D | m_skbedit.c | 63 if (matches(*argv, "skbedit") != 0) in parse_skbedit() 69 if (matches(*argv, "queue_mapping") == 0) { in parse_skbedit() 78 } else if (matches(*argv, "priority") == 0) { in parse_skbedit() 86 } else if (matches(*argv, "mark") == 0) { in parse_skbedit() 94 } else if (matches(*argv, "help") == 0) { in parse_skbedit() 104 if (matches(*argv, "reclassify") == 0) { in parse_skbedit() 107 } else if (matches(*argv, "pipe") == 0) { in parse_skbedit() 110 } else if (matches(*argv, "drop") == 0 || in parse_skbedit() 111 matches(*argv, "shot") == 0) { in parse_skbedit() 114 } else if (matches(*argv, "continue") == 0) { in parse_skbedit() [all …]
|
/external/chromium/chrome/browser/autocomplete/ |
D | history_url_provider.cc | 245 params->matches.push_back(what_you_typed_match); in DoAutocomplete() 253 params->matches.push_back(what_you_typed_match); in DoAutocomplete() 270 GURL(params->matches.front().destination_url))); in DoAutocomplete() 271 params->matches.push_back(HistoryMatchToACMatch(params, match, NORMAL, in DoAutocomplete() 294 matches_.swap(params->matches); in QueryComplete() 353 HistoryMatches* matches) const { in FixupExactSuggestion() 355 DCHECK(matches != NULL); in FixupExactSuggestion() 408 EnsureMatchPresent(info, string16::npos, false, matches, true); in FixupExactSuggestion() 433 params->matches.push_back(HistoryMatchToACMatch(params, match, in PromoteMatchForInlineAutocomplete() 479 HistoryMatches* matches) { in PromoteOrCreateShorterSuggestion() argument [all …]
|
D | history_contents_provider_unittest.cc | 52 const ACMatches& matches() const { return provider_->matches(); } in matches() function in __anonfbae03c50111::HistoryContentsProviderTest 115 const ACMatches& m = matches(); in TEST_F() 129 const ACMatches& m = matches(); in TEST_F() 144 const ACMatches& m1 = matches(); in TEST_F() 151 const ACMatches& m2 = matches(); in TEST_F() 157 const ACMatches& m3 = matches(); in TEST_F() 175 const ACMatches& m1 = matches(); in TEST_F() 185 const ACMatches& m2 = matches(); in TEST_F() 193 const ACMatches& m3 = matches(); in TEST_F() 210 const ACMatches& m = matches(); in TEST_F() [all …]
|
/external/chromium/webkit/glue/ |
D | regular_expression_unittest.cc | 25 const Match* matches, in testMatches() argument 29 int matchedLength = matches[i].textLength; in testMatches() 30 EXPECT_EQ(matches[i].matchPosition, regex.match( in testMatches() 31 WebString(matches[i].text, matches[i].textLength), 0, &matchedLength)); in testMatches() 32 if (matches[i].matchPosition != -1) in testMatches() 33 EXPECT_EQ(matches[i].matchLength, matchedLength); in testMatches() 66 const Match matches[] = { in TEST() local 73 testMatches(regex, matches, arraysize(matches)); in TEST() 88 const Match matches[] = { in TEST() local 97 testMatches(regex, matches, arraysize(matches)); in TEST()
|
/external/iproute2/ip/ |
D | ip.c | 89 if (matches(argv0, c->cmd) == 0) in do_cmd() 161 if (matches(opt, "-family") == 0) { in main() 190 } else if (matches(opt, "-stats") == 0 || in main() 191 matches(opt, "-statistics") == 0) { in main() 193 } else if (matches(opt, "-details") == 0) { in main() 195 } else if (matches(opt, "-resolve") == 0) { in main() 197 } else if (matches(opt, "-oneline") == 0) { in main() 199 } else if (matches(opt, "-timestamp") == 0) { in main() 202 } else if (matches(opt, "-numeric") == 0) { in main() 205 } else if (matches(opt, "-Version") == 0) { in main() [all …]
|
D | iptuntap.c | 116 if (matches(*argv, "mode") == 0) { in parse_args() 118 if (matches(*argv, "tun") == 0) { in parse_args() 124 } else if (matches(*argv, "tap") == 0) { in parse_args() 134 } else if (uid && matches(*argv, "user") == 0) { in parse_args() 149 } else if (gid && matches(*argv, "group") == 0) { in parse_args() 165 } else if (matches(*argv, "pi") == 0) { in parse_args() 167 } else if (matches(*argv, "one_queue") == 0) { in parse_args() 169 } else if (matches(*argv, "vnet_hdr") == 0) { in parse_args() 171 } else if (matches(*argv, "dev") == 0) { in parse_args() 175 if (matches(*argv, "name") == 0) { in parse_args() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | CharMatcher.java | 121 @Override public boolean matches(char c) { 132 @Override public boolean matches(char c) { 142 @Override public boolean matches(char c) { 152 @Override public boolean matches(char c) { 162 @Override public boolean matches(char c) { 219 @Override public boolean matches(char c) { 299 @Override public boolean matches(char c) { 381 @Override public boolean matches(char c) { in is() 390 return other.matches(match) ? this : NONE; in is() 394 return other.matches(match) ? other : super.or(other); in is() [all …]
|
/external/proguard/src/proguard/util/ |
D | ConstantMatcher.java | 30 private boolean matches; field in ConstantMatcher 36 public ConstantMatcher(boolean matches) in ConstantMatcher() argument 38 this.matches = matches; in ConstantMatcher() 44 public boolean matches(String string) in matches() method in ConstantMatcher 46 return matches; in matches()
|