Searched refs:Match (Results 1 - 25 of 209) sorted by relevance

123456789

/external/nist-sip/java/gov/nist/core/
H A DMatch.java28 /** Match template for pattern matching.
38 public interface Match { interface
/external/chromium/chrome/browser/autofill/
H A Dform_field_unittest.cc12 TEST(FormFieldTest, Match) {
16 EXPECT_TRUE(FormField::Match(&field, string16(), true));
20 EXPECT_TRUE(FormField::Match(&field, string16(), true));
24 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"), true));
28 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"), true));
32 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"), true));
36 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^head"), true));
37 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^tail"), true));
41 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("head$"), true));
42 EXPECT_TRUE(FormField::Match(
[all...]
/external/chromium_org/components/autofill/core/browser/
H A Dform_field_unittest.cc14 TEST(FormFieldTest, Match) {
18 EXPECT_TRUE(FormField::Match(&field, base::string16(),
23 EXPECT_TRUE(FormField::Match(&field, base::string16(),
28 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"),
33 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"),
38 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"),
43 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^head"),
45 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^tail"),
50 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("head$"),
52 EXPECT_TRUE(FormField::Match(
[all...]
/external/chromium_org/tools/heapcheck/
H A Dsuppressions.py74 def Match(self, report): member in class:Suppression
144 """Tests the Suppression.Match() capabilities."""
149 assert not empty.Match([])
150 assert not empty.Match(['foo', 'bar'])
152 assert asterisk.Match(['foobar', 'foobaz'])
153 assert not asterisk.Match(['foobaz', 'foobar'])
155 assert ellipsis.Match(['foo', 'bar'])
156 assert ellipsis.Match(['bar', 'baz', 'foo'])
157 assert not ellipsis.Match(['bar', 'baz', 'bah'])
159 assert mixed.Match(['fooba
[all...]
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_helper_unittest.cc50 bool Match(const GURL& origin, function in class:__anon4277::BrowsingDataHelperTest
115 EXPECT_FALSE(Match(kOrigin1, kUnprotected, mock_policy.get()));
116 EXPECT_TRUE(Match(kOrigin2, kUnprotected, mock_policy.get()));
117 EXPECT_FALSE(Match(kOriginExt, kUnprotected, mock_policy.get()));
118 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected, mock_policy.get()));
120 EXPECT_TRUE(Match(kOrigin1, kProtected, mock_policy.get()));
121 EXPECT_FALSE(Match(kOrigin2, kProtected, mock_policy.get()));
122 EXPECT_FALSE(Match(kOriginExt, kProtected, mock_policy.get()));
123 EXPECT_FALSE(Match(kOriginDevTools, kProtected, mock_policy.get()));
125 EXPECT_FALSE(Match(kOrigin
[all...]
/external/clang/unittests/Tooling/
H A DCommentHandlerTest.cpp108 void Match(const char *Message, unsigned Line, unsigned Col) { function in class:clang::CommentVerifier
140 Verifier.Match("/* comment */", 1, 26);
152 Verifier.Match("// comment 1", 1, 13);
153 Verifier.Match("// comment 2", 3, 3);
164 Verifier.Match("// visible comment", 4, 1);
186 Verifier.Match("// visible_1", 1, 21);
187 Verifier.Match("// visible_2", 2, 21);
188 Verifier.Match("// visible_6", 6, 21);
189 Verifier.Match("// visible_7", 7, 21);
190 Verifier.Match("// visible_
[all...]
H A DRecursiveASTVisitorTest.cpp19 Match(TypeLocation.getType().getAsString(), TypeLocation.getBeginLoc());
27 Match(Reference->getNameInfo().getAsString(), Reference->getLocation());
35 Match(Variable->getNameAsString(), Variable->getLocStart());
44 Match(Call->getMethodDecl()->getQualifiedNameAsString(),
59 Match(OS.str(), Decl->getLocation());
70 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc());
79 Match("", Parens->getExprLoc());
88 Match("", Lambda->getIntroducerRange().getBegin());
117 Match(Stream.str(), ArgLoc.getLocation());
128 Match("tru
[all...]
/external/chromium_org/third_party/re2/re2/testing/
H A Dset_test.cc25 CHECK_EQ(s.Match("foobar", &v), true);
31 CHECK_EQ(s.Match("fooba", &v), true);
36 CHECK_EQ(s.Match("oobar", &v), true);
51 CHECK_EQ(s.Match("foobar", &v), true);
57 CHECK_EQ(s.Match("obarfoobaroo", &v), true);
63 CHECK_EQ(s.Match("fooba", &v), true);
68 CHECK_EQ(s.Match("oobar", &v), false);
79 CHECK_EQ(s.Match("foo", &v), true);
94 CHECK_EQ(s.Match("foobar", &v), false);
97 CHECK_EQ(s.Match("foob
[all...]
/external/regex-re2/re2/testing/
H A Dset_test.cc25 CHECK_EQ(s.Match("foobar", &v), true);
31 CHECK_EQ(s.Match("fooba", &v), true);
36 CHECK_EQ(s.Match("oobar", &v), true);
51 CHECK_EQ(s.Match("foobar", &v), true);
57 CHECK_EQ(s.Match("obarfoobaroo", &v), true);
63 CHECK_EQ(s.Match("fooba", &v), true);
68 CHECK_EQ(s.Match("oobar", &v), false);
79 CHECK_EQ(s.Match("foo", &v), true);
94 CHECK_EQ(s.Match("foobar", &v), false);
97 CHECK_EQ(s.Match("foob
[all...]
/external/chromium/chrome/browser/history/
H A Dtext_database.h30 struct Match { struct in class:history::TextDatabase
31 Match();
32 ~Match();
137 std::vector<Match>* results,
/external/chromium_org/v8/src/
H A Dinterpreter-irregexp.h39 static RegExpImpl::IrregexpResult Match(Isolate* isolate,
/external/v8/src/
H A Dinterpreter-irregexp.h39 static RegExpImpl::IrregexpResult Match(Isolate* isolate,
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
H A DDebugGrammarLexer.cs60 Match('-');
83 Match('%');
106 Match('(');
129 Match(')');
152 Match('*');
175 Match('/');
198 Match('+');
221 Match('=');
375 Match('\r');
382 Match('\
[all...]
H A DProfileGrammarLexer.cs60 Match('-');
83 Match('%');
106 Match('(');
129 Match(')');
152 Match('*');
175 Match('/');
198 Match('+');
221 Match('=');
375 Match('\r');
382 Match('\
[all...]
H A DDebugTreeGrammar.cs297 Match(input,17,Follow._17_in_stat98);
299 Match(input, TokenTypes.Down, null);
301 ID2=(CommonTree)Match(input,ID,Follow._ID_in_stat100);
309 Match(input, TokenTypes.Up, null);
322 Match(input,FUNC,Follow._FUNC_in_stat128);
324 Match(input, TokenTypes.Down, null);
391 Match(input, TokenTypes.Up, null);
520 Match(input,16,Follow._16_in_expr172);
522 Match(input, TokenTypes.Down, null);
536 Match(inpu
[all...]
H A DProfileTreeGrammar.cs302 Match(input,17,Follow._17_in_stat98);
304 Match(input, TokenTypes.Down, null);
306 ID2=(CommonTree)Match(input,ID,Follow._ID_in_stat100);
314 Match(input, TokenTypes.Up, null);
327 Match(input,FUNC,Follow._FUNC_in_stat128);
329 Match(input, TokenTypes.Down, null);
396 Match(input, TokenTypes.Up, null);
525 Match(input,16,Follow._16_in_expr172);
527 Match(input, TokenTypes.Down, null);
541 Match(inpu
[all...]
/external/chromium_org/extensions/common/matcher/
H A Dregex_set_matcher_unittest.cc28 matcher.Match("http://abracadabra.com", &result1);
34 matcher.Match("https://abfffffffffffffffffffffffffffffff.fi/cf", &result2);
40 matcher.Match("http://nothing.com/", &result3);
54 matcher.Match("http://aaa.net/", &result1);
58 matcher.Match("http://aaa.net/quaaACK", &result2);
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dregexp_adapter.h48 // phonenumberutil.cc. Consume(), Match() and Replace() methods must be
105 virtual bool Match(const string& input_string,
109 // Helper methods calling the Match method with the right arguments.
112 return Match(input_string, false, matched_string);
116 return Match(input_string, false, NULL);
121 return Match(input_string, true, matched_string);
125 return Match(input_string, true, NULL);
/external/chromium/sdch/open-vcdiff/src/
H A Dblockhash.h78 class Match { class in class:open_vcdiff::BlockHash
80 Match() : size_(0), source_offset_(-1), target_offset_(-1) { } function in class:open_vcdiff::BlockHash::Match
110 Match(const Match&); // NOLINT
111 void operator=(const Match&);
238 // point to a valid Match object, and cannot be NULL.
239 // The same Match object can be passed
244 // open_vcdiff::BlockHash::Match best_match;
298 Match* best_match) const;
/external/chromium_org/sdch/open-vcdiff/src/
H A Dblockhash.h78 class Match { class in class:open_vcdiff::BlockHash
80 Match() : size_(0), source_offset_(-1), target_offset_(-1) { } function in class:open_vcdiff::BlockHash::Match
110 Match(const Match&); // NOLINT
111 void operator=(const Match&);
238 // point to a valid Match object, and cannot be NULL.
239 // The same Match object can be passed
244 // open_vcdiff::BlockHash::Match best_match;
298 Match* best_match) const;
/external/open-vcdiff/src/
H A Dblockhash.h78 class Match { class in class:open_vcdiff::BlockHash
80 Match() : size_(0), source_offset_(-1), target_offset_(-1) { } function in class:open_vcdiff::BlockHash::Match
110 Match(const Match&); // NOLINT
111 void operator=(const Match&);
238 // point to a valid Match object, and cannot be NULL.
239 // The same Match object can be passed
244 // open_vcdiff::BlockHash::Match best_match;
298 Match* best_match) const;
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dmedia_path_filter.h25 bool Match(const base::FilePath& path);
/external/clang/utils/TableGen/
H A DClangCommentHTMLTagsEmitter.cpp50 StringMatcher::StringPair Match(Spelling, "return true;");
52 MatchesEndTagOptional.push_back(Match);
54 MatchesEndTagForbidden.push_back(Match);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_suppressions.cc105 if (g_ctx->Match(frame->func, stype, &s) ||
106 g_ctx->Match(frame->file, stype, &s) ||
107 g_ctx->Match(frame->module, stype, &s)) {
126 if (g_ctx->Match(loc->name, stype, &s) ||
127 g_ctx->Match(loc->file, stype, &s) ||
128 g_ctx->Match(loc->module, stype, &s)) {
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_index.h58 struct Match;
59 typedef std::vector<Match> Matches;
76 const Match& match,
99 // Iterates over |matches| updating each Match's nodes to contain the
100 // intersection of the Match's current nodes and the nodes at |index_i|.
101 // If the intersection is empty, the Match is removed.
108 // Match's nodes and the nodes at |index_i|. If the intersection between the

Completed in 2263 milliseconds

123456789