Home
last modified time | relevance | path

Searched refs:Match (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/external/skia/tests/
DSkPEGTest.cpp21 static MatchT Match(const char* in) { in Match() function
34 static MatchT Match(const char* in) { in Match() function
54 const auto match = EOS::Match(gTests[i].fInput); in test_EOS()
74 const auto match = LIT<'X'>::Match(gTests[i].fInput); in test_LIT()
79 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match(""))); in test_LIT()
80 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match("Fo"))); in test_LIT()
81 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match("FoO"))); 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("Foobar"))); in test_LIT()
109 const auto match = Alpha::Match(gTests[i].fInput); in test_Alpha()
[all …]
/external/owasp/sanitizer/tools/findbugs/doc/
DFilterFile.txt6 which has some number of "Match" elements as children. Each Match
17 Match has "class" and "classregex" attributes specifying what class or classes
20 Match contains children, which are conjuncts of the predicate.
24 Types of Match clauses:
40 <Or> combines Match clauses as disjuncts. I.e., you can put two
47 Match clauses can only match information that is actually contained in the
54 Only the FIRST (primary) class is matched against Match clauses.
57 two Match clauses:
59 <Match class="com.foobar.A">
61 </Match>
[all …]
/external/openssh/regress/
Dcfginclude.sh10 Match host a
13 Match host b
17 Match host c
21 Match host m
40 Match host xxxxxx
44 Match host a
47 Match host b
50 Match host c
64 Match host a
67 Match host b
[all …]
Daddrmatch.sh25 Match Address 192.168.0.0/16,!192.168.30.0/24,10.0.0.0/8,host.example.com
27 Match Address 1.1.1.1,::1,!::3,2000::/16
29 Match LocalAddress 127.0.0.1,::1
31 Match LocalPort 5678
/external/regex-re2/re2/testing/
Dset_test.cc25 CHECK_EQ(s.Match("foobar", &v), true); in TEST()
31 CHECK_EQ(s.Match("fooba", &v), true); in TEST()
36 CHECK_EQ(s.Match("oobar", &v), true); in TEST()
51 CHECK_EQ(s.Match("foobar", &v), true); in TEST()
57 CHECK_EQ(s.Match("obarfoobaroo", &v), true); in TEST()
63 CHECK_EQ(s.Match("fooba", &v), true); in TEST()
68 CHECK_EQ(s.Match("oobar", &v), false); in TEST()
79 CHECK_EQ(s.Match("foo", &v), true); in TEST()
94 CHECK_EQ(s.Match("foobar", &v), false); in TEST()
97 CHECK_EQ(s.Match("fooba", &v), false); in TEST()
[all …]
/external/clang/unittests/Tooling/
DCommentHandlerTest.cpp112 void Match(const char *Message, unsigned Line, unsigned Col) { in Match() function in clang::CommentVerifier
144 Verifier.Match("/* comment */", 1, 26); in TEST()
156 Verifier.Match("// comment 1", 1, 13); in TEST()
157 Verifier.Match("// comment 2", 3, 3); in TEST()
168 Verifier.Match("// visible comment", 4, 1); in TEST()
190 Verifier.Match("// visible_1", 1, 21); in TEST()
191 Verifier.Match("// visible_2", 2, 21); in TEST()
192 Verifier.Match("// visible_6", 6, 21); in TEST()
193 Verifier.Match("// visible_7", 7, 21); in TEST()
194 Verifier.Match("// visible_8", 8, 21); in TEST()
[all …]
DTestVisitor.h123 void DisallowMatch(Twine Match, unsigned Line, unsigned Column) { in DisallowMatch() argument
124 DisallowedMatches.push_back(MatchCandidate(Match, Line, Column)); in DisallowMatch()
131 void ExpectMatch(Twine Match, unsigned Line, unsigned Column) { in ExpectMatch() argument
132 ExpectedMatches.push_back(ExpectedMatch(Match, Line, Column)); in ExpectMatch()
149 void Match(StringRef Name, SourceLocation Location) { in Match() function
196 MatchCandidate const &Match) {
197 return Stream << Match.ExpectedName
198 << " at " << Match.LineNumber << ":" << Match.ColumnNumber;
DRecursiveASTVisitorTestExprVisitor.cpp20 Match("", Parens->getExprLoc()); in VisitParenExpr()
40 Match(Stream.str(), ArgLoc.getLocation()); in TraverseTemplateArgumentLoc()
60 Match("true", BE->getLocation()); in VisitCXXBoolLiteralExpr()
62 Match("false", BE->getLocation()); in VisitCXXBoolLiteralExpr()
85 Match(Class->getName(), Ctor->getLocation()); in VisitCXXConstructorDecl()
123 Match(Class->getName(), Expr->getLocation()); in VisitCXXConstructExpr()
166 Match(Reference->getNameInfo().getAsString(), Reference->getLocation()); in VisitDeclRefExpr()
DRecursiveASTVisitorTest.cpp21 Match("", Lambda->getIntroducerRange().getBegin()); in VisitLambdaExpr()
61 Match("", Lambda->getCaptureDefaultLoc()); in VisitLambdaExpr()
105 Match(ME->getMemberDecl()->getNameAsString(), ME->getLocStart()); in VisitMemberExpr()
109 Match("Attr", A->getLocation()); in VisitAttr()
113 Match("guarded_by", A->getLocation()); in VisitGuardedByAttr()
140 Match(VD->getNameAsString(), VD->getLocStart()); in VisitVarDecl()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugTreeGrammar.cs297 Match(input,17,Follow._17_in_stat98); in stat()
299 Match(input, TokenTypes.Down, null); in stat()
301 ID2=(CommonTree)Match(input,ID,Follow._ID_in_stat100); in stat()
309 Match(input, TokenTypes.Up, null); in stat()
322 Match(input,FUNC,Follow._FUNC_in_stat128); in stat()
324 Match(input, TokenTypes.Down, null); in stat()
391 Match(input, TokenTypes.Up, null); in stat()
520 Match(input,16,Follow._16_in_expr172); in expr()
522 Match(input, TokenTypes.Down, null); in expr()
536 Match(input, TokenTypes.Up, null); in expr()
[all …]
DProfileTreeGrammar.cs302 Match(input,17,Follow._17_in_stat98); in stat()
304 Match(input, TokenTypes.Down, null); in stat()
306 ID2=(CommonTree)Match(input,ID,Follow._ID_in_stat100); in stat()
314 Match(input, TokenTypes.Up, null); in stat()
327 Match(input,FUNC,Follow._FUNC_in_stat128); in stat()
329 Match(input, TokenTypes.Down, null); in stat()
396 Match(input, TokenTypes.Up, null); in stat()
525 Match(input,16,Follow._16_in_expr172); in expr()
527 Match(input, TokenTypes.Down, null); in expr()
541 Match(input, TokenTypes.Up, null); in expr()
[all …]
DProfileGrammarLexer.cs60 Match('-'); in mT__10()
83 Match('%'); in mT__11()
106 Match('('); in mT__12()
129 Match(')'); in mT__13()
152 Match('*'); in mT__14()
175 Match('/'); in mT__15()
198 Match('+'); in mT__16()
221 Match('='); in mT__17()
375 Match('\r'); in mNEWLINE()
382 Match('\n'); in mNEWLINE()
DDebugGrammarLexer.cs60 Match('-'); in mT__10()
83 Match('%'); in mT__11()
106 Match('('); in mT__12()
129 Match(')'); in mT__13()
152 Match('*'); in mT__14()
175 Match('/'); in mT__15()
198 Match('+'); in mT__16()
221 Match('='); in mT__17()
375 Match('\r'); in mNEWLINE()
382 Match('\n'); in mNEWLINE()
/external/skia/experimental/svg/model/
DSkPEG.h57 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 …]
/external/llvm/lib/Target/Hexagon/
DHexagonGenExtract.cpp94 bool Match = match(In, m_And(m_Shl(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY() local
98 if (!Match) { in INITIALIZE_PASS_DEPENDENCY()
101 Match = match(In, m_And(m_Shl(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
105 if (!Match) { in INITIALIZE_PASS_DEPENDENCY()
109 Match = match(In, m_And(m_Shl(m_Value(BF), m_ConstantInt(CSL)), in INITIALIZE_PASS_DEPENDENCY()
111 if (Match && NoSR0) in INITIALIZE_PASS_DEPENDENCY()
114 if (!Match) { in INITIALIZE_PASS_DEPENDENCY()
118 Match = match(In, m_And(m_LShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
121 if (!Match) { in INITIALIZE_PASS_DEPENDENCY()
125 Match = match(In, m_And(m_AShr(m_Value(BF), m_ConstantInt(CSR)), in INITIALIZE_PASS_DEPENDENCY()
[all …]
/external/iptables/extensions/
Dlibip6t_rt.man1 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).
Dlibxt_devgroup.man1 Match device group of a packets incoming/outgoing interface.
4 Match device group of incoming device
7 Match device group of outgoing device
/external/selinux/python/sepolgen/tests/
Dtest_matching.py28 a = matching.Match()
32 b = matching.Match()
51 a = matching.Match()
56 a = matching.Match()
63 a = matching.Match()
74 a = matching.Match()
78 b = matching.Match()
82 c = matching.Match()
/external/skia/src/core/
DSkRecordOpts.cpp26 typename Pass::Match match; in apply()
43 Match; in multiple_set_matrices() typedef
45 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { in multiple_set_matrices()
80 Match; typedef
82 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch()
157 Match; typedef
159 bool onMatch(SkRecord* record, Match*, int begin, int end) { in onMatch()
188 typedef Pattern<Is<SaveLayer>, IsDraw, Is<Restore>> Match; typedef
190 bool onMatch(SkRecord* record, Match* match, int begin, int end) { in onMatch()
246 Is<Restore>, Is<Restore>, Is<Restore>> Match; typedef
[all …]
/external/libvpx/libvpx/tools/
Dcpplint.py504 def Match(pattern, s): function
618 not Match(r'^\s*$', clean_lines.elided[linenum - 1])):
833 if Match(r'T(EST|est)', self.current_function):
1081 leading_space = Match(r'^(\s*)\S', line)
1091 matched = Match(r'^(.*)\b(?:R|u8R|uR|UR|LR)"([^\s\\()]*)\((.*)$', line)
1698 initial_indent = Match(r'^( *)\S', clean_lines.raw_lines[linenum])
1727 indent = Match(r'^( *)\}', clean_lines.elided[linenum])
1761 and not Match(r'};*\s*(//|/\*).*\bnamespace\b', line)):
1778 if not Match((r'};*\s*(//|/\*).*\bnamespace\s+' + re.escape(self.name) +
1786 if not Match(r'};*\s*(//|/\*).*\bnamespace[\*/\.\\\s]*$', line):
[all …]
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py409 def Match(pattern, s): function
708 if Match(r'T(EST|est)', self.current_function):
1451 and not Match(r'};*\s*(//|/\*).*\bnamespace\b', line)):
1468 if not Match((r'};*\s*(//|/\*).*\bnamespace\s+' + re.escape(self.name) +
1476 if not Match(r'};*\s*(//|/\*).*\bnamespace[\*/\.\\\s]*$', line):
1549 if Match(r'^\s*#\s*(if|ifdef|ifndef)\b', line):
1553 elif Match(r'^\s*#\s*(else|elif)\b', line):
1568 elif Match(r'^\s*#\s*endif\b', line):
1629 namespace_decl_match = Match(r'^\s*namespace\b\s*([:\w]+)?(.*)$', line)
1662 class_decl_match = Match(
[all …]
/external/clang/lib/Analysis/
DFormatString.cpp310 return Match; in matchesType()
324 return Match; in matchesType()
335 return Match; in matchesType()
345 return T == C.UnsignedCharTy || T == C.SignedCharTy ? Match in matchesType()
348 return T == C.UnsignedShortTy ? Match : NoMatch; in matchesType()
350 return T == C.ShortTy ? Match : NoMatch; in matchesType()
352 return T == C.UnsignedIntTy ? Match : NoMatch; in matchesType()
354 return T == C.IntTy ? Match : NoMatch; in matchesType()
356 return T == C.UnsignedLongTy ? Match : NoMatch; in matchesType()
358 return T == C.LongTy ? Match : NoMatch; in matchesType()
[all …]
/external/llvm/lib/Fuzzer/test/
DSimpleDictionaryTest.cpp19 size_t Match = 0; in LLVMFuzzerTestOneInput() local
22 Match++; in LLVMFuzzerTestOneInput()
23 if (Match == strlen(Expected)) { in LLVMFuzzerTestOneInput()
/external/compiler-rt/lib/asan/
Dasan_suppressions.cc57 return suppression_ctx->Match(interceptor_name, kInterceptorName, &s); in IsInterceptorSuppressed()
70 return suppression_ctx->Match(global_var_name, kODRViolation, &s); in IsODRViolationSuppressed()
86 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s)) in IsStackTraceSuppressed()
99 if (suppression_ctx->Match(function_name, kInterceptorViaFunction, in IsStackTraceSuppressed()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_suppressions.cc103 if (suppression_ctx->Match(info.function, stype, sp) || in IsSuppressed()
104 suppression_ctx->Match(info.file, stype, sp) || in IsSuppressed()
105 suppression_ctx->Match(info.module, stype, sp)) { in IsSuppressed()
142 if (suppression_ctx->Match(global.name, stype, &s) || in IsSuppressed()
143 suppression_ctx->Match(global.module, stype, &s)) { in IsSuppressed()

12345678910>>...12