/third_party/re2/re2/testing/ |
D | set_test.cc | 24 ASSERT_EQ(s.Match("foobar", NULL), true); in TEST() 25 ASSERT_EQ(s.Match("fooba", NULL), true); in TEST() 26 ASSERT_EQ(s.Match("oobar", NULL), true); in TEST() 29 ASSERT_EQ(s.Match("foobar", &v), true); in TEST() 34 ASSERT_EQ(s.Match("fooba", &v), true); in TEST() 38 ASSERT_EQ(s.Match("oobar", &v), true); in TEST() 51 ASSERT_EQ(s.Match("foobar", NULL), true); in TEST() 52 ASSERT_EQ(s.Match("obarfoobaroo", NULL), true); in TEST() 53 ASSERT_EQ(s.Match("fooba", NULL), true); in TEST() 54 ASSERT_EQ(s.Match("oobar", NULL), false); in TEST() [all …]
|
/third_party/flutter/skia/tests/ |
D | SkPEGTest.cpp | 22 static MatchT Match(const char* in) { in Match() function 35 static MatchT Match(const char* in) { in Match() function 55 const auto match = EOS::Match(gTests[i].fInput); in test_EOS() 75 const auto match = LIT<'X'>::Match(gTests[i].fInput); in test_LIT() 80 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match(""))); in test_LIT() 81 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match("Fo"))); in test_LIT() 82 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match("FoO"))); in test_LIT() 83 REPORTER_ASSERT(r, (LIT<'F', 'o', 'o'>::Match("Foo"))); in test_LIT() 84 REPORTER_ASSERT(r, (LIT<'F', 'o', 'o'>::Match("Foobar"))); in test_LIT() 110 const auto match = Alpha::Match(gTests[i].fInput); in test_Alpha() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | narrowTypeByInstanceof.types | 2 class Match { 3 >Match : Match 24 type FileMatchOrMatch = FileMatch | Match; 59 } else if (elementA instanceof Match && elementB instanceof Match) { 60 >elementA instanceof Match && elementB instanceof Match : boolean 61 >elementA instanceof Match : boolean 63 >Match : typeof Match 64 >elementB instanceof Match : boolean 66 >Match : typeof Match 72 >elementA : Match [all …]
|
D | narrowTypeByInstanceof.symbols | 2 class Match { 3 >Match : Symbol(Match, Decl(narrowTypeByInstanceof.ts, 0, 0)) 6 >range : Symbol(Match.range, Decl(narrowTypeByInstanceof.ts, 0, 17)) 24 type FileMatchOrMatch = FileMatch | Match; 27 >Match : Symbol(Match, Decl(narrowTypeByInstanceof.ts, 0, 0)) 54 } else if (elementA instanceof Match && elementB instanceof Match) { 56 >Match : Symbol(Match, Decl(narrowTypeByInstanceof.ts, 0, 0)) 58 >Match : Symbol(Match, Decl(narrowTypeByInstanceof.ts, 0, 0)) 62 >elementA.range : Symbol(Match.range, Decl(narrowTypeByInstanceof.ts, 0, 17)) 64 >range : Symbol(Match.range, Decl(narrowTypeByInstanceof.ts, 0, 17)) [all …]
|
D | narrowTypeByInstanceof.js | 2 class Match { class 14 type FileMatchOrMatch = FileMatch | Match; 22 } else if (elementA instanceof Match && elementB instanceof Match) { 29 var Match = /** @class */ (function () { 30 function Match() { class in Match 32 Match.prototype.range = function () { 35 return Match; 50 else if (elementA instanceof Match && elementB instanceof Match) {
|
D | indexingTypesWithNever.types | 117 type Match<Exp, Act> = [Exp] extends [Act] 118 >Match : Match<Exp, Act> 120 ? ([Act] extends [Exp] ? "Match" : "Did not match 2") 123 type ExpectType<Exp, Act> = Match<Exp, Act> extends "Match" 126 ? ({} extends Exp ? Match<Required<Exp>, Required<Act>> : "Match") 160 >p3NameTest : "Match" 163 >p2NameTest : "Match" 166 >p1NameTest : "Match" 169 >p0NameTest : "Match" 184 >p3Test : "Match" [all …]
|
/third_party/grpc/examples/cpp/route_guide/ |
D | helper.cc | 71 if (!Match("[")) { in Parser() 79 if (failed_ || Finished() || !Match("{")) { in TryParseOne() 82 if (!Match(location_) || !Match("{") || !Match(latitude_)) { in TryParseOne() 88 if (!Match(",") || !Match(longitude_)) { in TryParseOne() 93 if (!Match("},") || !Match(name_) || !Match("\"")) { in TryParseOne() 103 if (!Match("},")) { in TryParseOne() 118 bool Match(const std::string& prefix) { in Match() function in routeguide::Parser
|
/third_party/flutter/skia/experimental/svg/model/ |
D | SkPEG.h | 57 static MatchT Match(const char* in) { in Match() function 58 const auto m = E::Match(in); in Match() 94 static MatchT Match(const char* in) { 122 static MatchT Match(const char* in) { 123 const auto headMatch = E::Match(in); 128 const auto tailMatch = Seq<Es...>::Match(headMatch.fNext); 155 static MatchT Match(const char* in) { 156 if (const auto m1 = E1::Match(in)) { 159 if (const auto m2 = E2::Match(in)) { 181 static MatchT Match(const char* in) { [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 107 bool Match = match(In, m_And(m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() local 111 if (!Match) { in INITIALIZE_PASS_DEPENDENCY() 114 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() 118 if (!Match) { in INITIALIZE_PASS_DEPENDENCY() 122 Match = match(In, m_And(m_Shl(m_Value(BF), m_ConstantInt(CSL)), in INITIALIZE_PASS_DEPENDENCY() 124 if (Match && NoSR0) in INITIALIZE_PASS_DEPENDENCY() 127 if (!Match) { in INITIALIZE_PASS_DEPENDENCY() 131 Match = match(In, m_And(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() 134 if (!Match) { in INITIALIZE_PASS_DEPENDENCY() 138 Match = match(In, m_And(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() [all …]
|
/third_party/mindspore/tests/ut/cpp/pre_activate/common/ |
D | pattern_engine_test.cc | 112 d = TU.Match(v1, 1, primitive_vars_null, equiv_null); in TEST_F() 117 d = TU.Match(v1, 1, primitive_vars_null, equiv_null); in TEST_F() 124 d = TU.Match(v1, 1, primitive_vars_null, equiv_null); in TEST_F() 129 d = TU.Match(VectorRef({v1}), VectorRef({1}), primitive_vars_null, equiv_null); in TEST_F() 135 ASSERT_EQ(TU.Match(1, 2, primitive_vars_null, equiv_null), nullptr); in TEST_F() 145 d = TU.Match(VectorRef({sv1}), VectorRef({1, 2}), primitive_vars_null, equiv_null); in TEST_F() 151 d = TU.Match(VectorRef({v1, sv1}), VectorRef({1, 2}), primitive_vars_null, equiv_null); in TEST_F() 156 …ASSERT_EQ(TU.Match(VectorRef({sv1, sv2}), VectorRef({1, 2}), primitive_vars_null, equiv_null), nul… in TEST_F() 160 d = TU.Match(VectorRef({v1, sv1}), VectorRef({1, 1, 2}), primitive_vars_null, equiv_null); in TEST_F() 165 TEST_F(TestMatchEngine, Match) { in TEST_F() argument [all …]
|
/third_party/json/third_party/cpplint/ |
D | cpplint.py | 788 def Match(pattern, s): function 937 Match(r'^\s*#\s*include\b', clean_lines.elided[linenum - 1])): 1269 if Match(r'T(EST|est)', self.current_function): 1534 leading_space = Match(r'^(\s*)\S', line) 1555 matched = Match(r'^(.*?)\b(?:R|u8R|uR|UR|LR)"([^\s\\()]*)\((.*)$', line) 1557 not Match(r'^([^\'"]|\'(\\.|[^\'])*\'|"(\\.|[^"])*")*//', 1693 match = Match(r'^([^\'"]*)([\'"])(.*)$', elided) 1719 match_literal = Match(r'^((?:\'?[0-9a-zA-Z_])*)(.*)$', "'" + tail) 1837 if (line[pos] not in '({[<') or Match(r'<[<=]', line[pos:]): 1885 Match(r'\s>=\s', line[i - 1:]) or [all …]
|
/third_party/skia/src/core/ |
D | SkRecordOpts.cpp | 27 typename Pass::Match match; in apply() 44 Match; in multiple_set_matrices() typedef 46 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { in multiple_set_matrices() 81 Match; typedef 83 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch() 154 Match; typedef 156 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch() 185 typedef Pattern<Is<SaveLayer>, IsDraw, Is<Restore>> Match; typedef 187 bool onMatch(SkRecord* record, Match* match, int begin, int end) { in onMatch() 238 Is<Restore>, Is<Restore>, Is<Restore>> Match; typedef [all …]
|
/third_party/iptables/extensions/ |
D | libip6t_rt.man | 1 Match on IPv6 routing header 4 Match the type (numeric). 7 Match the `segments left' field (range). 10 Match the length of this header. 13 Match the reserved field, too (type=0) 16 Match type=0 addresses (list).
|
/third_party/flutter/skia/src/core/ |
D | SkRecordOpts.cpp | 27 typename Pass::Match match; in apply() 44 Match; in multiple_set_matrices() typedef 46 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { in multiple_set_matrices() 81 Match; typedef 83 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch() 154 Match; typedef 156 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch() 185 typedef Pattern<Is<SaveLayer>, IsDraw, Is<Restore>> Match; typedef 187 bool onMatch(SkRecord* record, Match* match, int begin, int end) { in onMatch() 244 Is<Restore>, Is<Restore>, Is<Restore>> Match; typedef [all …]
|
/third_party/icu/docs/userguide/strings/ |
D | regexp.md | 122 | \\a | ✓ | ✓ | Match a BELL, \\u0007. 123 | \\A | ✓ | | Match at the beginning of the input. Differs from… 124 | \\b | ✓ | | Match if the current position is a word boundary.… 125 | \\B | ✓ | | Match if the current position is not a word bound… 126 | \\cX | ✓ | ✓ | Match a control-X character. 127 | \\d | ✓ | ✓ | Match any character with the Unicode General Cate… 128 | \\D | ✓ | ✓ | Match any character that is not a decimal digit. 129 | \\e | ✓ | ✓ | Match an ESCAPE, \\u001B. 131 | \\f | ✓ | ✓ | Match a FORM FEED, \\u000C. 132 | \\G | ✓ | ✓ | Match if the current position is at the end of th… [all …]
|
/third_party/flatbuffers/tests/fuzzer/ |
D | flatbuffers_scalar_fuzzer.cc | 79 MatchResult Match(const std::string &input) const { in Match() function in RegexMatcher 198 case 0x0: return { "double", FloatRegex().Match(input) }; in Check() 199 case 0x1: return { "float", FloatRegex().Match(input) }; in Check() 200 case 0x2: return { "int8", IntegerRegex().Match(input) }; in Check() 201 case 0x3: return { "int16", IntegerRegex().Match(input) }; in Check() 202 case 0x4: return { "int32", IntegerRegex().Match(input) }; in Check() 203 case 0x5: return { "int64", IntegerRegex().Match(input) }; in Check() 204 case 0x6: return { "uint8", UIntegerRegex().Match(input) }; in Check() 205 case 0x7: return { "uint16", UIntegerRegex().Match(input) }; in Check() 206 case 0x8: return { "uint32", UIntegerRegex().Match(input) }; in Check() [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | narrowTypeByInstanceof.ts | 1 class Match { class 13 type FileMatchOrMatch = FileMatch | Match; 21 } else if (elementA instanceof Match && elementB instanceof Match) {
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | item_tuple_or_list_eliminate.h | 45 AnfVisitor::Match(prim::kPrimTupleGetItem, {IsCNode, IsVNode})(node); in operator() 46 AnfVisitor::Match(prim::kPrimListGetItem, {IsCNode, IsVNode})(node); in operator() 47 AnfVisitor::Match(prim::kPrimTupleSetItem, {IsCNode, IsVNode, IsNode})(node); in operator() 48 AnfVisitor::Match(prim::kPrimListSetItem, {IsCNode, IsVNode, IsNode})(node); in operator() 103 AnfVisitor::Match(prim::kPrimTupleGetItem, {IsCNode, IsVNode})(node); in operator() 104 AnfVisitor::Match(prim::kPrimListGetItem, {IsCNode, IsVNode})(node); in operator() 151 AnfVisitor::Match(prim::kPrimTupleGetItem, {IsVNode, IsVNode})(node); in operator() 152 AnfVisitor::Match(prim::kPrimListGetItem, {IsVNode, IsVNode})(node); in operator() 203 AnfVisitor::Match(prim::kPrimTupleSetItem, {IsCNode, IsVNode, IsNode})(node); in operator() 204 AnfVisitor::Match(prim::kPrimListSetItem, {IsCNode, IsVNode, IsNode})(node); in operator() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | ir_builder.cpp | 49 void Match(const std::string& original, IRContext* context, in Match() function 62 auto match_result = effcee::Match(assembly, original); in Match() 129 Match(text, context.get()); in TEST_F() 153 Match(text, context.get()); in TEST_F() 222 Match(text, context.get()); in TEST_F() 258 Match(text, context.get()); in TEST_F() 292 Match(text, context.get()); in TEST_F() 337 Match(text, context.get()); in TEST_F() 406 Match(text, context.get()); in TEST_F() 434 Match(text, context.get()); in TEST_F()
|
/third_party/spirv-tools/test/opt/ |
D | ir_builder.cpp | 49 void Match(const std::string& original, IRContext* context, in Match() function 62 auto match_result = effcee::Match(assembly, original); in Match() 129 Match(text, context.get()); in TEST_F() 153 Match(text, context.get()); in TEST_F() 222 Match(text, context.get()); in TEST_F() 258 Match(text, context.get()); in TEST_F() 292 Match(text, context.get()); in TEST_F() 337 Match(text, context.get()); in TEST_F() 406 Match(text, context.get()); in TEST_F() 434 Match(text, context.get()); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | ir_builder.cpp | 49 void Match(const std::string& original, IRContext* context, in Match() function 62 auto match_result = effcee::Match(assembly, original); in Match() 129 Match(text, context.get()); in TEST_F() 153 Match(text, context.get()); in TEST_F() 222 Match(text, context.get()); in TEST_F() 258 Match(text, context.get()); in TEST_F() 292 Match(text, context.get()); in TEST_F() 337 Match(text, context.get()); in TEST_F() 406 Match(text, context.get()); in TEST_F() 434 Match(text, context.get()); in TEST_F()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
D | lcssa.cpp | 44 void Match(const std::string& original, IRContext* context, in Match() function 57 auto match_result = effcee::Match(assembly, original); in Match() 146 Match(text, context.get()); in TEST_F() 232 Match(text, context.get()); in TEST_F() 331 Match(text, context.get()); in TEST_F() 424 Match(text, context.get()); in TEST_F() 519 Match(text, context.get()); in TEST_F() 602 Match(text, context.get()); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
D | lcssa.cpp | 44 void Match(const std::string& original, IRContext* context, in Match() function 57 auto match_result = effcee::Match(assembly, original); in Match() 146 Match(text, context.get()); in TEST_F() 232 Match(text, context.get()); in TEST_F() 331 Match(text, context.get()); in TEST_F() 424 Match(text, context.get()); in TEST_F() 519 Match(text, context.get()); in TEST_F() 602 Match(text, context.get()); in TEST_F()
|
D | fusion_legal.cpp | 45 void Match(const std::string& checks, IRContext* context) { in Match() function 58 auto match_result = effcee::Match(assembly, checks); in Match() 192 Match(checks, context.get()); in TEST_F() 328 Match(checks, context.get()); in TEST_F() 461 Match(checks, context.get()); in TEST_F() 602 Match(checks, context.get()); in TEST_F() 742 Match(checks, context.get()); in TEST_F() 886 Match(checks, context.get()); in TEST_F() 1028 Match(checks, context.get()); in TEST_F() 1165 Match(checks, context.get()); in TEST_F() [all …]
|
/third_party/spirv-tools/test/opt/loop_optimizations/ |
D | lcssa.cpp | 44 void Match(const std::string& original, IRContext* context, in Match() function 57 auto match_result = effcee::Match(assembly, original); in Match() 146 Match(text, context.get()); in TEST_F() 232 Match(text, context.get()); in TEST_F() 331 Match(text, context.get()); in TEST_F() 424 Match(text, context.get()); in TEST_F() 519 Match(text, context.get()); in TEST_F() 602 Match(text, context.get()); in TEST_F()
|