/external/libxml2/result/pattern/ |
D | multiple | 1 Node /c/b[1]/a[1] matches pattern a 2 Node /c/b[1]/a[2] matches pattern a 3 Node /c/c/b/a[1] matches pattern a 4 Node /c/c/b/a[2] matches pattern a 5 Node /c/b[2]/a[1] matches pattern a 6 Node /c/b[2]/a[2] matches pattern a 7 Node /c/b[1] matches pattern b 8 Node /c/c/b matches pattern b 9 Node /c/b[2] matches pattern b 10 Node /c matches pattern c [all …]
|
D | conj | 1 Node /a matches pattern a|b 2 Node /a/b matches pattern a|b 3 Node /a/b/c[1]/b matches pattern a|b 4 Node /a/b/c[2]/b matches pattern a|b 5 Node /a/b/c[2]/c/b matches pattern a|b 6 Node /a/c/b matches pattern a|b 7 Node /a matches pattern a|c 8 Node /a/b/c[1] matches pattern a|c 9 Node /a/b/c[2] matches pattern a|c 10 Node /a/b/c[2]/c matches pattern a|c [all …]
|
D | namespaces | 1 Node /a matches pattern //a 2 Node /a/b:b/a matches pattern //a 3 Node /a/*[4]/a matches pattern //a 4 Node /a/a:a matches pattern //a:a 5 Node /a/b:b/a/a:a matches pattern //a:a 6 Node /a/*[4] matches pattern //a:a 7 Node /a/c:a matches pattern //a:a 8 Node /a/b matches pattern //b 9 Node /a/a:a/b:b matches pattern //b:b 10 Node /a/b:b matches pattern //b:b [all …]
|
D | simple | 1 Node /a matches pattern a 2 Node /a/b matches pattern b 3 Node /a/b matches pattern b 4 Node /a matches pattern /a 5 Node /a/b matches pattern a/b 6 Node /a/b/c matches pattern a/b/c 7 Node /a matches pattern //a 8 Node /a/b matches pattern //b 9 Node /a/b/c matches pattern //c 10 Node /a/b matches pattern a//b [all …]
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 60 EXPECT_TRUE(matches("namespace x { class X {}; } using x::X;", in TEST() 66 EXPECT_TRUE(matches("typedef int X;", NamedX)); in TEST() 67 EXPECT_TRUE(matches("int X;", NamedX)); in TEST() 68 EXPECT_TRUE(matches("class foo { virtual void X(); };", NamedX)); in TEST() 69 EXPECT_TRUE(matches("void foo() try { } catch(int X) { }", NamedX)); in TEST() 70 EXPECT_TRUE(matches("void foo() { int X; }", NamedX)); in TEST() 71 EXPECT_TRUE(matches("namespace X { }", NamedX)); in TEST() 72 EXPECT_TRUE(matches("enum X { A, B, C };", NamedX)); in TEST() 79 EXPECT_TRUE(matches("typedef int Xa;", NamedX)); in TEST() 80 EXPECT_TRUE(matches("int Xb;", NamedX)); in TEST() [all …]
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | UriPatternTypeTest.java | 26 assertTrue(pattern.matches("/foo/asdf")); in testMatches_servlet() 27 assertTrue(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet() 28 assertFalse(pattern.matches("/path/file.bar")); in testMatches_servlet() 29 assertFalse(pattern.matches("/path/file.bar?val=1")); in testMatches_servlet() 30 assertFalse(pattern.matches("/asdf")); in testMatches_servlet() 31 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet() 34 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet() 35 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet() 36 assertTrue(pattern.matches("/path/file.bar")); in testMatches_servlet() 37 assertTrue(pattern.matches("/path/file.bar?val=1")); in testMatches_servlet() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
D | WildcardMatcherTest.java | 23 assertTrue(new WildcardMatcher("").matches("")); in testEmpty() 24 assertFalse(new WildcardMatcher("").matches("abc")); in testEmpty() 29 assertTrue(new WildcardMatcher("abc/def.txt").matches("abc/def.txt")); in testExact() 34 assertFalse(new WildcardMatcher("abcdef").matches("abcDef")); in testCaseSensitive() 35 assertFalse(new WildcardMatcher("ABCDEF").matches("AbCDEF")); in testCaseSensitive() 40 assertFalse(new WildcardMatcher("rst.xyz").matches("rstAxyz")); in testQuote() 41 assertTrue(new WildcardMatcher("(x)+").matches("(x)+")); in testQuote() 46 assertTrue(new WildcardMatcher("*").matches("")); in testWildcards() 47 assertTrue(new WildcardMatcher("*").matches("java/lang/Object")); in testWildcards() 48 assertTrue(new WildcardMatcher("*Test").matches("jacoco/MatcherTest")); in testWildcards() [all …]
|
/external/iptables/tests/ |
D | options-most.rules | 5 :matches - - 8 -A INPUT -j matches 60 -A matches -m connbytes --connbytes 1 --connbytes-mode bytes --connbytes-dir both 61 -A matches 62 -A matches -m connbytes --connbytes :2 --connbytes-mode bytes --connbytes-dir both 63 -A matches 64 -A matches -m connbytes --connbytes 0:3 --connbytes-mode bytes --connbytes-dir both 65 -A matches 66 -A matches -m connbytes --connbytes 4: --connbytes-mode bytes --connbytes-dir both 67 -A matches [all …]
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | RegistryTest.cpp | 139 EXPECT_TRUE(matches(ClassSnippet, IsArrowValue)); in TEST_F() 140 EXPECT_TRUE(matches(BoolSnippet, BoolValue)); in TEST_F() 141 EXPECT_FALSE(matches(ClassSnippet, BoolValue)); in TEST_F() 142 EXPECT_FALSE(matches(BoolSnippet, IsArrowValue)); in TEST_F() 149 EXPECT_TRUE(matches("class X {};", Value)); in TEST_F() 150 EXPECT_FALSE(matches("int x;", Value)); in TEST_F() 154 EXPECT_TRUE(matches("void foo(int,int);", Value)); in TEST_F() 155 EXPECT_FALSE(matches("void foo(int);", Value)); in TEST_F() 168 EXPECT_FALSE(matches(code, HasInitializerSimple)); in TEST_F() 169 EXPECT_FALSE(matches(code, HasInitializerComplex)); in TEST_F() [all …]
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
D | LZMAEncoderFast.java | 21 private Matches matches = null; field in LZMAEncoderFast 50 matches = getMatches(); in getNextSymbol() 87 if (matches.count > 0) { in getNextSymbol() 88 mainLen = matches.len[matches.count - 1]; in getNextSymbol() 89 mainDist = matches.dist[matches.count - 1]; in getNextSymbol() 97 while (matches.count > 1 in getNextSymbol() 98 && mainLen == matches.len[matches.count - 2] + 1) { in getNextSymbol() 99 if (!changePair(matches.dist[matches.count - 2], mainDist)) in getNextSymbol() 102 --matches.count; in getNextSymbol() 103 mainLen = matches.len[matches.count - 1]; in getNextSymbol() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 30 static int match_length(regmatch_t * matches, int index) in match_length() argument 32 return matches[index].rm_eo - matches[index].rm_so; in match_length() 38 regmatch_t * matches, in regex_helper() argument 53 err_code = regexec(®ex, search_str, num_matches, matches, 0); in regex_helper() 57 matches[i].rm_so, matches[i].rm_eo); in regex_helper() 94 regmatch_t matches[REGEX_SRC_MATCHES]; in init_rc_normal_src() local 100 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { in init_rc_normal_src() 106 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src() 107 tokens.Negate.Length = match_length(matches, 1); in init_rc_normal_src() 108 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src() [all …]
|
/external/llvm/lib/Option/ |
D | ArgList.cpp | 30 if (O.matches(Id0) || in SkipToNextArg() 31 (Id1.isValid() && O.matches(Id1)) || in SkipToNextArg() 32 (Id2.isValid() && O.matches(Id2))) in SkipToNextArg() 43 [=](Arg *A) { return A->getOption().matches(Id); }), in eraseArg() 50 if ((*it)->getOption().matches(Id)) in getLastArgNoClaim() 58 if ((*it)->getOption().matches(Id0) || in getLastArgNoClaim() 59 (*it)->getOption().matches(Id1)) in getLastArgNoClaim() 68 if ((*it)->getOption().matches(Id0) || (*it)->getOption().matches(Id1) || in getLastArgNoClaim() 69 (*it)->getOption().matches(Id2)) in getLastArgNoClaim() 78 if ((*it)->getOption().matches(Id0) || (*it)->getOption().matches(Id1) || in getLastArgNoClaim() [all …]
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
D | HC4.java | 16 private final Matches matches; field in HC4 48 matches = new Matches(niceLen - 1); in HC4() 81 matches.count = 0; in getMatches() 88 return matches; in getMatches() 111 matches.len[0] = 2; in getMatches() 112 matches.dist[0] = delta2 - 1; in getMatches() 113 matches.count = 1; in getMatches() 123 matches.dist[matches.count++] = delta3 - 1; in getMatches() 128 if (matches.count > 0) { in getMatches() 133 matches.len[matches.count - 1] = lenBest; in getMatches() [all …]
|
D | BT4.java | 16 private final Matches matches; field in BT4 40 matches = new Matches(niceLen - 1); in BT4() 64 matches.count = 0; in getMatches() 72 return matches; in getMatches() 93 matches.len[0] = 2; in getMatches() 94 matches.dist[0] = delta2 - 1; in getMatches() 95 matches.count = 1; in getMatches() 105 matches.dist[matches.count++] = delta3 - 1; in getMatches() 110 if (matches.count > 0) { in getMatches() 115 matches.len[matches.count - 1] = lenBest; in getMatches() [all …]
|
/external/iproute2/ip/ |
D | ip.c | 109 if (matches(argv0, c->cmd) == 0) in do_cmd() 193 if (matches(opt, "-loops") == 0) { in main() 199 } else if (matches(opt, "-family") == 0) { in main() 224 } else if (matches(opt, "-human") == 0 || in main() 225 matches(opt, "-human-readable") == 0) { in main() 227 } else if (matches(opt, "-iec") == 0) { in main() 229 } else if (matches(opt, "-stats") == 0 || in main() 230 matches(opt, "-statistics") == 0) { in main() 232 } else if (matches(opt, "-details") == 0) { in main() 234 } else if (matches(opt, "-resolve") == 0) { in main() [all …]
|
D | iplink_vxlan.c | 81 if (!matches(*argv, "id") || in vxlan_parse_opt() 82 !matches(*argv, "vni")) { in vxlan_parse_opt() 88 } else if (!matches(*argv, "group")) { in vxlan_parse_opt() 96 } else if (!matches(*argv, "remote")) { in vxlan_parse_opt() 104 } else if (!matches(*argv, "local")) { in vxlan_parse_opt() 115 } else if (!matches(*argv, "dev")) { in vxlan_parse_opt() 123 } else if (!matches(*argv, "ttl") || in vxlan_parse_opt() 124 !matches(*argv, "hoplimit")) { in vxlan_parse_opt() 135 } else if (!matches(*argv, "tos") || in vxlan_parse_opt() 136 !matches(*argv, "dsfield")) { in vxlan_parse_opt() [all …]
|
D | iplink_can.c | 121 if (matches(*argv, "bitrate") == 0) { in can_parse_opt() 125 } else if (matches(*argv, "sample-point") == 0) { in can_parse_opt() 133 } else if (matches(*argv, "tq") == 0) { in can_parse_opt() 137 } else if (matches(*argv, "prop-seg") == 0) { in can_parse_opt() 141 } else if (matches(*argv, "phase-seg1") == 0) { in can_parse_opt() 145 } else if (matches(*argv, "phase-seg2") == 0) { in can_parse_opt() 149 } else if (matches(*argv, "sjw") == 0) { in can_parse_opt() 153 } else if (matches(*argv, "dbitrate") == 0) { in can_parse_opt() 157 } else if (matches(*argv, "dsample-point") == 0) { in can_parse_opt() 164 } else if (matches(*argv, "dtq") == 0) { in can_parse_opt() [all …]
|
/external/iproute2/tc/ |
D | m_csum.c | 49 if ((matches(*argv, "iph") == 0) || in parse_csum_args() 50 (matches(*argv, "ip4h") == 0) || in parse_csum_args() 51 (matches(*argv, "ipv4h") == 0)) in parse_csum_args() 54 else if (matches(*argv, "icmp") == 0) in parse_csum_args() 57 else if (matches(*argv, "igmp") == 0) in parse_csum_args() 60 else if (matches(*argv, "tcp") == 0) in parse_csum_args() 63 else if (matches(*argv, "udp") == 0) in parse_csum_args() 66 else if (matches(*argv, "udplite") == 0) in parse_csum_args() 69 else if ((matches(*argv, "and") == 0) || in parse_csum_args() 70 (matches(*argv, "or") == 0) || in parse_csum_args() [all …]
|
D | tc.c | 233 if (matches(*argv, "qdisc") == 0) in do_cmd() 235 if (matches(*argv, "class") == 0) in do_cmd() 237 if (matches(*argv, "filter") == 0) in do_cmd() 239 if (matches(*argv, "actions") == 0) in do_cmd() 241 if (matches(*argv, "monitor") == 0) in do_cmd() 243 if (matches(*argv, "exec") == 0) in do_cmd() 245 if (matches(*argv, "help") == 0) { in do_cmd() 313 if (matches(argv[1], "-stats") == 0 || in main() 314 matches(argv[1], "-statistics") == 0) { in main() 316 } else if (matches(argv[1], "-details") == 0) { in main() [all …]
|
D | m_mirred.c | 81 if (matches(*argv, "action") == 0) { in parse_egress() 83 } else if (matches(*argv, "egress") == 0) { in parse_egress() 89 if (matches(*argv, "index") == 0) { in parse_egress() 105 } else if (!mirror && matches(*argv, "mirror") == 0) { in parse_egress() 114 } else if (!redir && matches(*argv, "redirect") == 0) { in parse_egress() 123 } else if ((redir || mirror) && matches(*argv, "dev") == 0) { in parse_egress() 161 if (matches(*argv, "reclassify") == 0) { in parse_egress() 164 } else if (matches(*argv, "pipe") == 0) { in parse_egress() 167 } else if (matches(*argv, "drop") == 0 || in parse_egress() 168 matches(*argv, "shot") == 0) { in parse_egress() [all …]
|
/external/opencv3/modules/features2d/test/ |
D | test_matchers_algorithmic.cpp | 86 vector<DMatch> matches; in emptyDataTest() local 91 dmatcher->match( queryDescriptors, trainDescriptors, matches, mask ); in emptyDataTest() 131 dmatcher->match( queryDescriptors, matches, masks ); in emptyDataTest() 199 vector<DMatch> matches; in matchTest() local 200 dmatcher->match( query, train, matches ); in matchTest() 202 if( (int)matches.size() != queryDescCount ) in matchTest() 210 for( size_t i = 0; i < matches.size(); i++ ) in matchTest() 212 DMatch& match = matches[i]; in matchTest() 227 vector<DMatch> matches; in matchTest() local 228 dmatcher->match( query, query, matches ); in matchTest() [all …]
|
/external/libedit/src/ |
D | filecomplete.c | 286 size_t matches; in completion_matches() local 288 matches = 0; in completion_matches() 290 while ((retstr = (*genfunc) (text, (int)matches)) != NULL) { in completion_matches() 292 if (matches + 3 >= match_list_len) { in completion_matches() 294 while (matches + 3 >= match_list_len) in completion_matches() 305 match_list[++matches] = retstr; in completion_matches() 315 for (; which <= matches; which++) { in completion_matches() 332 match_list[matches + 1] = NULL; in completion_matches() 358 fn_display_match_list (EditLine *el, char **matches, size_t num, size_t width) in fn_display_match_list() argument 364 matches++; in fn_display_match_list() [all …]
|
/external/opencv3/modules/cudafeatures2d/src/ |
D | brute_force_matcher.cpp | 211 std::vector<DMatch>& matches, 215 std::vector<DMatch>& matches, 219 OutputArray matches, 224 OutputArray matches, 229 std::vector<DMatch>& matches); 232 std::vector<std::vector<DMatch> >& matches, 238 std::vector<std::vector<DMatch> >& matches, 244 OutputArray matches, 250 OutputArray matches, 256 std::vector< std::vector<DMatch> >& matches, [all …]
|
/external/opencv3/modules/features2d/test/ocl/ |
D | test_brute_force_matcher.cpp | 122 std::vector<cv::DMatch> matches; in OCL_TEST_P() local 123 matcher.match(uquery, utrain, matches); in OCL_TEST_P() 125 ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); in OCL_TEST_P() 128 for (size_t i = 0; i < matches.size(); i++) in OCL_TEST_P() 130 cv::DMatch match = matches[i]; in OCL_TEST_P() 148 std::vector< std::vector<cv::DMatch> > matches; in OCL_TEST_P() local 149 matcher.knnMatch(uquery, utrain, matches, knn); in OCL_TEST_P() 151 ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); in OCL_TEST_P() 154 for (size_t i = 0; i < matches.size(); i++) in OCL_TEST_P() 156 if ((int)matches[i].size() != knn) in OCL_TEST_P() [all …]
|
/external/guice/core/test/com/google/inject/matcher/ |
D | MatcherTest.java | 49 assertTrue(any().matches(null)); in testAny() 56 assertFalse(not(any()).matches(null)); in testNot() 63 assertTrue(any().and(any()).matches(null)); in testAnd() 64 assertFalse(any().and(not(any())).matches(null)); in testAnd() 71 assertTrue(any().or(not(any())).matches(null)); in testOr() 72 assertFalse(not(any()).or(not(any())).matches(null)); in testOr() 79 assertTrue(annotatedWith(Foo.class).matches(Bar.class)); in testAnnotatedWith() 80 assertFalse(annotatedWith(Foo.class).matches( in testAnnotatedWith() 94 assertTrue(subclassesOf(Runnable.class).matches(Runnable.class)); in testSubclassesOf() 95 assertTrue(subclassesOf(Runnable.class).matches(MyRunnable.class)); in testSubclassesOf() [all …]
|