| /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 …]
|
| /external/rust/crates/regex-automata/data/tests/ |
| D | unicode.toml | 5 matches = [[0, 3]] 11 matches = [[0, 3]] 18 matches = [[0, 3]] 25 matches = [[0, 2]] 32 matches = [[0, 3]] 38 matches = [[0, 3]] 44 matches = [[0, 8]] 50 matches = [[0, 2]] 56 matches = [[0, 2]] 62 matches = [[2, 5]] [all …]
|
| /external/catch2/projects/SelfTest/IntrospectiveTests/ |
| D | CmdLine.tests.cpp | 33 CHECK( spec.matches( tcA ) == false ); 34 CHECK( spec.matches( tcB ) == false ); 40 CHECK( spec.matches(tcA ) == false ); 41 CHECK( spec.matches( tcB ) == false ); 47 CHECK( spec.matches( tcA ) == false ); 48 CHECK( spec.matches( tcB ) == false ); 54 CHECK( spec.matches( tcA ) == false ); 55 CHECK( spec.matches( tcB ) == true ); 61 CHECK( spec.matches( tcA ) == false ); 62 CHECK( spec.matches( tcB ) == true ); [all …]
|
| /external/rust/crates/regex-automata/data/tests/fowler/ |
| D | basic.toml | 6 matches = [[7, 18]] 13 matches = [[2, 7]] 20 matches = [[2, 8]] 27 matches = [[1, 2]] 34 matches = [[0, 2]] 41 matches = [[0, 1]] 48 matches = [[0, 1]] 55 matches = [[0, 1]] 62 matches = [[0, 1]] 69 matches = [[1, 3]] [all …]
|
| D | nullsubexpr.toml | 6 matches = [[0, 1]] 13 matches = [[0, 0]] 20 matches = [[0, 6]] 27 matches = [[0, 6]] 34 matches = [[0, 1]] 41 matches = [[0, 0]] 48 matches = [[0, 6]] 55 matches = [[0, 6]] 62 matches = [[0, 1]] 69 matches = [[0, 0]] [all …]
|
| D | repetition.toml | 6 matches = [] 13 matches = [] 20 matches = [] 27 matches = [] 34 matches = [] 41 matches = [] 48 matches = [[0, 0]] 55 matches = [[0, 1]] 62 matches = [] 69 matches = [] [all …]
|
| D | repetition-long.toml | 6 matches = [[0, 9]] 13 matches = [[0, 9]] 20 matches = [[0, 9]] 27 matches = [[0, 9]] 34 matches = [[0, 9]] 41 matches = [[0, 9]] 48 matches = [[0, 9]] 55 matches = [[0, 9]] 62 matches = [[0, 9]] 69 matches = [[0, 9]] [all …]
|
| /external/clang/include/clang/ASTMatchers/ |
| D | ASTMatchers.h | 111 /// \brief If the provided matcher matches a node, binds the node to \c ID. 131 /// \brief Matches any node. 137 /// Example: \c DeclarationMatcher(anything()) matches all declarations, e.g., 147 /// \brief Matches the top declaration context. 157 /// matches "int X", but not "int Y". 161 /// \brief Matches typedef declarations. 169 /// matches "typedef int X", but not "using Y = int" 172 /// \brief Matches typedef name declarations. 180 /// matches "typedef int X" and "using Y = int" 184 /// \brief Matches type alias declarations. [all …]
|
| /external/clang/unittests/ASTMatchers/ |
| D | ASTMatchersNodeTest.cpp | 36 EXPECT_TRUE(matches("namespace x { class X {}; } using x::X;", in TEST() 42 EXPECT_TRUE(matches("typedef int X;", NamedX)); in TEST() 43 EXPECT_TRUE(matches("int X;", NamedX)); in TEST() 44 EXPECT_TRUE(matches("class foo { virtual void X(); };", NamedX)); in TEST() 45 EXPECT_TRUE(matches("void foo() try { } catch(int X) { }", NamedX)); in TEST() 46 EXPECT_TRUE(matches("void foo() { int X; }", NamedX)); in TEST() 47 EXPECT_TRUE(matches("namespace X { }", NamedX)); in TEST() 48 EXPECT_TRUE(matches("enum X { A, B, C };", NamedX)); in TEST() 55 EXPECT_TRUE(matches("typedef int Xa;", NamedX)); in TEST() 56 EXPECT_TRUE(matches("int Xb;", NamedX)); in TEST() [all …]
|
| D | ASTMatchersNarrowingTest.cpp | 28 EXPECT_TRUE(matches(Program, in TEST() 31 EXPECT_TRUE(matches(Program, in TEST() 36 EXPECT_TRUE(matches(Program, in TEST() 42 EXPECT_TRUE(matches(Program, in TEST() 53 EXPECT_TRUE(matches("class Y { class X {}; };", HasClassX)); in TEST() 54 EXPECT_TRUE(matches("class X {};", HasClassX)); in TEST() 58 EXPECT_TRUE(matches("class Y { class X {}; };", YHasClassX)); in TEST() 77 EXPECT_TRUE(matches( in TEST() 89 EXPECT_TRUE(matches( in TEST() 103 EXPECT_TRUE(matches( in TEST() [all …]
|
| /external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
| D | AbstractGlobMatcherTest.java | 26 assertThat("foo").matches("foo"); in testMatching_literal() 27 assertThat("/foo").matches("/foo"); in testMatching_literal() 28 assertThat("/foo/bar/baz").matches("/foo/bar/baz"); in testMatching_literal() 33 assertThat("?").matches("a", "A", "$", "5", "_").doesNotMatch("/", "ab", ""); in testMatching_questionMark() 34 assertThat("??").matches("ab"); in testMatching_questionMark() 35 assertThat("????").matches("1234"); in testMatching_questionMark() 36 assertThat("?oo?").matches("book", "doom").doesNotMatch("/oom"); in testMatching_questionMark() 37 assertThat("/?oo/ba?").matches("/foo/bar"); in testMatching_questionMark() 38 assertThat("foo.?").matches("foo.h"); in testMatching_questionMark() 39 assertThat("foo.??").matches("foo.cc"); in testMatching_questionMark() [all …]
|
| /external/llvm/docs/ |
| D | re_format.7 | 81 It matches anything that matches one of the branches. 86 It matches a match for the first, followed by a match for the second, etc. 98 matches a sequence of 0 or more matches of the atom. 101 matches a sequence of 1 or more matches of the atom. 104 matches a sequence of 0 or 1 matches of the atom. 120 and no comma matches 123 matches of the atom. 127 and a comma matches 130 or more matches of the atom. 136 matches a sequence of [all …]
|
| /external/skia/src/sksl/ |
| D | SkSLUtil.cpp | 47 if (type.matches(*context.fTypes.fVoid )) { *outType = SkSLType::kVoid; return true; } in type_to_sksltype() 48 if (type.matches(*context.fTypes.fBool )) { *outType = SkSLType::kBool; return true; } in type_to_sksltype() 49 if (type.matches(*context.fTypes.fBool2 )) { *outType = SkSLType::kBool2; return true; } in type_to_sksltype() 50 if (type.matches(*context.fTypes.fBool3 )) { *outType = SkSLType::kBool3; return true; } in type_to_sksltype() 51 if (type.matches(*context.fTypes.fBool4 )) { *outType = SkSLType::kBool4; return true; } in type_to_sksltype() 52 if (type.matches(*context.fTypes.fShort )) { *outType = SkSLType::kShort; return true; } in type_to_sksltype() 53 if (type.matches(*context.fTypes.fShort2 )) { *outType = SkSLType::kShort2; return true; } in type_to_sksltype() 54 if (type.matches(*context.fTypes.fShort3 )) { *outType = SkSLType::kShort3; return true; } in type_to_sksltype() 55 if (type.matches(*context.fTypes.fShort4 )) { *outType = SkSLType::kShort4; return true; } in type_to_sksltype() 56 if (type.matches(*context.fTypes.fUShort )) { *outType = SkSLType::kUShort; return true; } in type_to_sksltype() [all …]
|
| /external/mockito/src/test/java/org/mockito/internal/matchers/ |
| D | InstanceOfTest.java | 22 …assertThat(new InstanceOf(Object.class, "matches something").toString()).isEqualTo("matches someth… in should_describe_the_matcher() 27 assertThat(new InstanceOf(Object.class).matches(new Object())).isTrue(); in should_check_instance_type() 28 assertThat(new InstanceOf(Object.class).matches(new ArrayList())).isTrue(); in should_check_instance_type() 29 assertThat(new InstanceOf(List.class).matches(new ArrayList())).isTrue(); in should_check_instance_type() 30 assertThat(new InstanceOf(List.class).matches(new Object())).isFalse(); in should_check_instance_type() 35 assertThat(new InstanceOf(int.class).matches(1000)).isTrue(); in should_check_for_primitive_wrapper_types() 36 assertThat(new InstanceOf(Integer.class).matches(1000)).isTrue(); in should_check_for_primitive_wrapper_types() 37 assertThat(new InstanceOf(int.class).matches(new Integer(1000))).isTrue(); in should_check_for_primitive_wrapper_types() 38 assertThat(new InstanceOf(Integer.class).matches(new Integer(1000))).isTrue(); in should_check_for_primitive_wrapper_types() 40 assertThat(new InstanceOf(double.class).matches(1000.1)).isTrue(); in should_check_for_primitive_wrapper_types() [all …]
|
| /external/libtextclassifier/native/utils/container/ |
| D | sorted-strings-table_test.cc | 36 std::vector<StringSet::Match> matches; in TEST() local 37 EXPECT_TRUE(table.FindAllPrefixMatches("hello there", &matches)); in TEST() 38 EXPECT_EQ(matches.size(), 2); in TEST() 39 EXPECT_EQ(matches[0].id, 0 /*hell*/); in TEST() 40 EXPECT_EQ(matches[0].match_length, 4 /*hell*/); in TEST() 41 EXPECT_EQ(matches[1].id, 1 /*hello*/); in TEST() 42 EXPECT_EQ(matches[1].match_length, 5 /*hello*/); in TEST() 46 std::vector<StringSet::Match> matches; in TEST() local 47 EXPECT_TRUE(table.FindAllPrefixMatches("he", &matches)); in TEST() 48 EXPECT_THAT(matches, testing::IsEmpty()); in TEST() [all …]
|
| D | double-array-trie_test.cc | 43 std::vector<StringSet::Match> matches; in TEST() local 44 EXPECT_TRUE(trie.FindAllPrefixMatches("hello there", &matches)); in TEST() 45 EXPECT_EQ(matches.size(), 2); in TEST() 46 EXPECT_EQ(matches[0].id, 0 /*hell*/); in TEST() 47 EXPECT_EQ(matches[0].match_length, 4 /*hell*/); in TEST() 48 EXPECT_EQ(matches[1].id, 1 /*hello*/); in TEST() 49 EXPECT_EQ(matches[1].match_length, 5 /*hello*/); in TEST() 53 std::vector<StringSet::Match> matches; in TEST() local 54 EXPECT_TRUE(trie.FindAllPrefixMatches("he", &matches)); in TEST() 55 EXPECT_THAT(matches, testing::IsEmpty()); in TEST() [all …]
|
| /external/brotli/c/enc/ |
| D | static_dict.c | 27 uint32_t* matches) { in AddMatch() argument 29 matches[len] = BROTLI_MIN(uint32_t, matches[len], match); in AddMatch() 79 size_t min_length, size_t max_length, uint32_t* matches) { in BrotliFindAllStaticDictionaryMatches() argument 100 AddMatch(id, l, l, matches); in BrotliFindAllStaticDictionaryMatches() 106 AddMatch(id + 12 * n, l - 1, l, matches); in BrotliFindAllStaticDictionaryMatches() 110 AddMatch(id + 49 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatches() 122 AddMatch(id + transform_id * n, len, l, matches); in BrotliFindAllStaticDictionaryMatches() 131 AddMatch(id + n, l + 1, l, matches); in BrotliFindAllStaticDictionaryMatches() 134 AddMatch(id + 28 * n, l + 3, l, matches); in BrotliFindAllStaticDictionaryMatches() 136 if (s[3] == ' ') AddMatch(id + 46 * n, l + 4, l, matches); in BrotliFindAllStaticDictionaryMatches() [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/guice/extensions/servlet/test/com/google/inject/servlet/ |
| D | UriPatternTypeTest.java | 27 assertTrue(pattern.matches("/foo/asdf")); in testMatches_servlet() 28 assertTrue(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet() 29 assertFalse(pattern.matches("/path/file.bar")); in testMatches_servlet() 30 assertFalse(pattern.matches("/path/file.bar?val=1")); in testMatches_servlet() 31 assertFalse(pattern.matches("/asdf")); in testMatches_servlet() 32 assertFalse(pattern.matches("/asdf?val=1")); in testMatches_servlet() 35 assertFalse(pattern.matches("/foo/asdf")); in testMatches_servlet() 36 assertFalse(pattern.matches("/foo/asdf?val=1")); in testMatches_servlet() 37 assertTrue(pattern.matches("/path/file.bar")); in testMatches_servlet() 38 assertTrue(pattern.matches("/path/file.bar?val=1")); in testMatches_servlet() [all …]
|
| /external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/ |
| D | matchers.cc | 37 // TODO(ashithasantosh): Check principal matches DNS SAN, followed by Subject in AuthenticatedMatchesHelper() 120 bool AndAuthorizationMatcher::Matches(const EvaluateArgs& args) const { in Matches() function in grpc_core::AndAuthorizationMatcher 121 bool matches = true; in Matches() local 123 if (!matcher->Matches(args)) { in Matches() 124 matches = false; in Matches() 128 return matches != not_rule_; in Matches() 147 bool OrAuthorizationMatcher::Matches(const EvaluateArgs& args) const { in Matches() function in grpc_core::OrAuthorizationMatcher 148 bool matches = false; in Matches() local 150 if (matcher->Matches(args)) { in Matches() 151 matches = true; in Matches() [all …]
|
| /external/rust/crates/bindgen/src/ |
| D | options.rs | 25 let matches = App::new("bindgen") in builder_from_flags() localVariable 54 "Mark any enum whose name matches <regex> as a set of \ in builder_from_flags() 63 .help("Mark any enum whose name matches <regex> as a newtype.") in builder_from_flags() 70 .help("Mark any enum whose name matches <regex> as a Rust enum.") in builder_from_flags() 78 "Mark any enum whose name matches <regex> as a series of \ in builder_from_flags() 88 "Mark any enum whose name matches <regex> as a module of \ in builder_from_flags() 116 "Mark any typedef alias whose name matches <regex> to use \ in builder_from_flags() 126 "Mark any typedef alias whose name matches <regex> to have \ in builder_from_flags() 136 "Mark any typedef alias whose name matches <regex> to have \ in builder_from_flags() 432 Arg::with_name("no-record-matches") in builder_from_flags() [all …]
|
| /external/xz-java/src/org/tukaani/xz/lzma/ |
| D | LZMAEncoderFast.java | 15 import org.tukaani.xz.lz.Matches; 22 private Matches matches = null; field in LZMAEncoderFast 48 // Get the matches for the next byte unless readAhead indicates in getNextSymbol() 49 // that we already got the new matches during the previous call in getNextSymbol() 52 matches = getMatches(); in getNextSymbol() 89 if (matches.count > 0) { in getNextSymbol() 90 mainLen = matches.len[matches.count - 1]; in getNextSymbol() 91 mainDist = matches.dist[matches.count - 1]; in getNextSymbol() 99 while (matches.count > 1 in getNextSymbol() 100 && mainLen == matches.len[matches.count - 2] + 1) { in getNextSymbol() [all …]
|
| /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/ |
| D | WildcardMatcherTest.java | 24 assertTrue(new WildcardMatcher("").matches("")); in empty_expression_should_match_any_string() 25 assertFalse(new WildcardMatcher("").matches("abc")); in empty_expression_should_match_any_string() 30 assertTrue(new WildcardMatcher("abc/def.txt").matches("abc/def.txt")); in expressions_without_wildcards_should_match_exactly() 31 assertFalse(new WildcardMatcher("abc/def.txt").matches("/abc/def.txt")); in expressions_without_wildcards_should_match_exactly() 36 assertFalse(new WildcardMatcher("abcdef").matches("abcDef")); in should_match_case_sensitive() 37 assertFalse(new WildcardMatcher("ABCDEF").matches("AbCDEF")); in should_match_case_sensitive() 42 assertFalse(new WildcardMatcher("rst.xyz").matches("rstAxyz")); in should_not_use_regex_characters() 43 assertTrue(new WildcardMatcher("(x)+").matches("(x)+")); in should_not_use_regex_characters() 48 assertTrue(new WildcardMatcher("*").matches("")); in asterix_should_match_any_number_of_any_character() 49 assertTrue(new WildcardMatcher("*").matches("java/lang/Object")); in asterix_should_match_any_number_of_any_character() [all …]
|