Home
last modified time | relevance | path

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

12345678910>>...14

/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_helper_unittest.cc53 bool Match(const GURL& origin, in Match() function in __anon53701a6b0111::BrowsingDataHelperTest
117 EXPECT_FALSE(Match(kOrigin1, kUnprotected, mock_policy.get())); in TEST_F()
118 EXPECT_TRUE(Match(kOrigin2, kUnprotected, mock_policy.get())); in TEST_F()
119 EXPECT_FALSE(Match(kOriginExt, kUnprotected, mock_policy.get())); in TEST_F()
120 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected, mock_policy.get())); in TEST_F()
122 EXPECT_TRUE(Match(kOrigin1, kProtected, mock_policy.get())); in TEST_F()
123 EXPECT_FALSE(Match(kOrigin2, kProtected, mock_policy.get())); in TEST_F()
124 EXPECT_FALSE(Match(kOriginExt, kProtected, mock_policy.get())); in TEST_F()
125 EXPECT_FALSE(Match(kOriginDevTools, kProtected, mock_policy.get())); in TEST_F()
127 EXPECT_FALSE(Match(kOrigin1, kExtension, mock_policy.get())); in TEST_F()
[all …]
/external/chromium_org/components/autofill/core/browser/
Dform_field_unittest.cc16 TEST(FormFieldTest, Match) { in TEST() argument
20 EXPECT_TRUE(FormField::Match(&field, base::string16(), in TEST()
25 EXPECT_TRUE(FormField::Match(&field, base::string16(), in TEST()
30 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"), in TEST()
35 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"), in TEST()
40 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"), in TEST()
45 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^head"), in TEST()
47 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^tail"), in TEST()
52 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("head$"), in TEST()
54 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("tail$"), in TEST()
[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/clang/unittests/Tooling/
DCommentHandlerTest.cpp108 void Match(const char *Message, unsigned Line, unsigned Col) { in Match() function in clang::CommentVerifier
140 Verifier.Match("/* comment */", 1, 26); in TEST()
152 Verifier.Match("// comment 1", 1, 13); in TEST()
153 Verifier.Match("// comment 2", 3, 3); in TEST()
164 Verifier.Match("// visible comment", 4, 1); in TEST()
186 Verifier.Match("// visible_1", 1, 21); in TEST()
187 Verifier.Match("// visible_2", 2, 21); in TEST()
188 Verifier.Match("// visible_6", 6, 21); in TEST()
189 Verifier.Match("// visible_7", 7, 21); in TEST()
190 Verifier.Match("// visible_8", 8, 21); in TEST()
[all …]
DRecursiveASTVisitorTest.cpp20 Match(TypeLocation.getType().getAsString(), TypeLocation.getBeginLoc()); in VisitTypeLoc()
28 Match(Reference->getNameInfo().getAsString(), Reference->getLocation()); in VisitDeclRefExpr()
36 Match(Variable->getNameAsString(), Variable->getLocStart()); in VisitVarDecl()
47 Match(ParamVar->getNameAsString(), ParamVar->getLocStart()); in VisitParmVarDecl()
56 Match(Call->getMethodDecl()->getQualifiedNameAsString(), in VisitCXXMemberCallExpr()
71 Match(OS.str(), Decl->getLocation()); in VisitNamedDecl()
82 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc()); in TraverseCXXOperatorCallExpr()
91 Match("", Parens->getExprLoc()); in VisitParenExpr()
100 Match("", Lambda->getIntroducerRange().getBegin()); in VisitLambdaExpr()
126 Match("", Lambda->getCaptureDefaultLoc()); in VisitLambdaExpr()
[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;
/external/chromium_org/third_party/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/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/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 …]
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()
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()
/external/chromium_org/content/browser/service_worker/
Dservice_worker_cache_unittest.cc153 bool Match(const ServiceWorkerFetchRequest& request) { in Match() function in content::ServiceWorkerCacheTest
156 cache_->Match(CopyFetchRequest(request), in Match()
296 EXPECT_TRUE(Match(no_body_request_)); in TEST_P()
305 EXPECT_TRUE(Match(body_request_)); in TEST_P()
319 EXPECT_TRUE(Match(body_request_)); in TEST_P()
322 EXPECT_FALSE(Match(body_request_)); in TEST_P()
325 EXPECT_FALSE(Match(body_request_)); in TEST_P()
331 EXPECT_TRUE(Match(body_request_)); in TEST_P()
334 EXPECT_TRUE(Match(body_request_)); in TEST_P()
339 EXPECT_TRUE(Match(body_request_)); in TEST_P()
[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/chromium_org/third_party/libvpx/source/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/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/chromium_org/sdch/open-vcdiff/src/
Dblockhash.h78 class Match {
80 Match() : size_(0), source_offset_(-1), target_offset_(-1) { } in Match() function
110 Match(const Match&); // NOLINT
111 void operator=(const Match&);
298 Match* best_match) const;
/external/chromium_org/components/url_matcher/
Dregex_set_matcher_unittest.cc27 matcher.Match("http://abracadabra.com", &result1); in TEST()
33 matcher.Match("https://abfffffffffffffffffffffffffffffff.fi/cf", &result2); in TEST()
39 matcher.Match("http://nothing.com/", &result3); in TEST()
53 matcher.Match("http://aaa.net/", &result1); in TEST()
57 matcher.Match("http://aaa.net/quaaACK", &result2); in TEST()
Dsubstring_set_matcher_unittest.cc29 matcher.Match(test_string, &matches); in TestOnePattern()
60 matcher.Match(test_string, &matches); in TestTwoPatterns()
141 matcher.Match("abd", &matches); in TEST()
151 matcher.Match("abd", &matches); in TEST()
166 matcher.Match("abd", &matches); in TEST()
/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/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dregexp_adapter.h105 virtual bool Match(const string& input_string,
112 return Match(input_string, false, matched_string); in PartialMatch()
116 return Match(input_string, false, NULL); in PartialMatch()
121 return Match(input_string, true, matched_string); in FullMatch()
125 return Match(input_string, true, NULL); in FullMatch()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_suppressions.cc133 if (g_ctx->Match(frame->func, stype, &s) || in IsSuppressed()
134 g_ctx->Match(frame->file, stype, &s) || in IsSuppressed()
135 g_ctx->Match(frame->module, stype, &s)) { in IsSuppressed()
154 if (g_ctx->Match(loc->name, stype, &s) || in IsSuppressed()
155 g_ctx->Match(loc->file, stype, &s) || in IsSuppressed()
156 g_ctx->Match(loc->module, stype, &s)) { in IsSuppressed()
/external/chromium_org/third_party/WebKit/Source/core/css/
DSelectorChecker.h46 …enum Match { SelectorMatches, SelectorFailsLocally, SelectorFailsAllSiblings, SelectorFailsComplet… enum
105Match match(const SelectorCheckingContext&, const SiblingTraversalStrategy&, MatchResult* = 0) con…
128Match matchForSubSelector(const SelectorCheckingContext&, const SiblingTraversalStrategy&, MatchRe…
130Match matchForRelation(const SelectorCheckingContext&, const SiblingTraversalStrategy&, MatchResul…
132Match matchForShadowDistributed(const Element*, const SiblingTraversalStrategy&, SelectorCheckingC…
134Match matchForPseudoShadow(const ContainerNode*, const SelectorCheckingContext&, const SiblingTrav…
/external/clang/utils/TableGen/
DClangCommentHTMLTagsEmitter.cpp46 StringMatcher::StringPair Match(Spelling, "return true;"); in EmitClangCommentHTMLTagsProperties() local
48 MatchesEndTagOptional.push_back(Match); in EmitClangCommentHTMLTagsProperties()
50 MatchesEndTagForbidden.push_back(Match); in EmitClangCommentHTMLTagsProperties()

12345678910>>...14