HomeSort by relevance Sort by last modified time
    Searched refs:Match (Results 1 - 25 of 187) sorted by null

1 2 3 4 5 6 7 8

  /external/nist-sip/java/gov/nist/core/
Match.java 28 /** Match template for pattern matching.
38 public interface Match {
39 /** Return true if a match occurs for searchString.
40 * This is used for pattern matching in the find and replace and match
45 public boolean match(String searchString); method in interface:Match
  /external/chromium_org/chrome/browser/browsing_data/
browsing_data_helper_unittest.cc 53 bool Match(const GURL& origin,
117 EXPECT_FALSE(Match(kOrigin1, kUnprotected, mock_policy.get()));
118 EXPECT_TRUE(Match(kOrigin2, kUnprotected, mock_policy.get()));
119 EXPECT_FALSE(Match(kOriginExt, kUnprotected, mock_policy.get()));
120 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected, mock_policy.get()));
122 EXPECT_TRUE(Match(kOrigin1, kProtected, mock_policy.get()));
123 EXPECT_FALSE(Match(kOrigin2, kProtected, mock_policy.get()));
124 EXPECT_FALSE(Match(kOriginExt, kProtected, mock_policy.get()));
125 EXPECT_FALSE(Match(kOriginDevTools, kProtected, mock_policy.get()));
127 EXPECT_FALSE(Match(kOrigin1, kExtension, mock_policy.get()))
    [all...]
  /external/chromium_org/components/autofill/core/browser/
form_field_unittest.cc 16 TEST(FormFieldTest, Match) {
19 // Empty strings match.
20 EXPECT_TRUE(FormField::Match(&field, base::string16(),
25 EXPECT_TRUE(FormField::Match(&field, base::string16(),
30 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"),
33 // Strictly empty pattern does not match non-empty string.
35 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"),
38 // Non-empty pattern doesn't match empty string.
40 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"),
45 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^head")
    [all...]
form_field.h 51 // By default match label and name for input/text types.
59 // success and fills |match| with a pointer to the field.
62 AutofillField** match);
65 // as specified in the |match_type| bit field (see |MatchType|). If |match|
67 // A |true| result is returned in the case of a successful match, false
72 AutofillField** match);
75 // on success and fills |match| with a pointer to the field.
76 static bool ParseEmptyLabel(AutofillScanner* scanner, AutofillField** match);
90 FRIEND_TEST_ALL_PREFIXES(FormFieldTest, Match);
98 // Returns |true| if a match is found according to |match_type|, and |false
    [all...]
  /external/chromium_org/v8/src/
interpreter-irregexp.h 16 static RegExpImpl::IrregexpResult Match(Isolate* isolate,
  /external/clang/unittests/Tooling/
CommentHandlerTest.cpp 108 void Match(const char *Message, unsigned Line, unsigned Col) {
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_8", 8, 21)
    [all...]
TestVisitor.h 120 /// \brief Expect 'Match' *not* to occur at the given 'Line' and 'Column'.
123 void DisallowMatch(Twine Match, unsigned Line, unsigned Column) {
124 DisallowedMatches.push_back(MatchCandidate(Match, Line, Column));
127 /// \brief Expect 'Match' to occur at the given 'Line' and 'Column'.
131 void ExpectMatch(Twine Match, unsigned Line, unsigned Column) {
132 ExpectedMatches.push_back(ExpectedMatch(Match, Line, Column));
145 /// \brief Checks an actual match against expected and disallowed matches.
149 void Match(StringRef Name, SourceLocation Location) {
196 MatchCandidate const &Match) {
197 return Stream << Match.ExpectedNam
    [all...]
RecursiveASTVisitorTest.cpp 20 Match(TypeLocation.getType().getAsString(), TypeLocation.getBeginLoc());
28 Match(Reference->getNameInfo().getAsString(), Reference->getLocation());
36 Match(Variable->getNameAsString(), Variable->getLocStart());
47 Match(ParamVar->getNameAsString(), ParamVar->getLocStart());
56 Match(Call->getMethodDecl()->getQualifiedNameAsString(),
71 Match(OS.str(), Decl->getLocation());
82 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc());
91 Match("", Parens->getExprLoc());
100 Match("", Lambda->getIntroducerRange().getBegin());
126 Match("", Lambda->getCaptureDefaultLoc())
    [all...]
  /external/chromium_org/third_party/re2/re2/testing/
set_test.cc 25 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("fooba", &v), false)
    [all...]
  /external/chromium_org/components/url_matcher/
regex_set_matcher_unittest.cc 27 matcher.Match("http://abracadabra.com", &result1);
33 matcher.Match("https://abfffffffffffffffffffffffffffffff.fi/cf", &result2);
39 matcher.Match("http://nothing.com/", &result3);
53 matcher.Match("http://aaa.net/", &result1);
57 matcher.Match("http://aaa.net/quaaACK", &result2);
  /external/chromium_org/sdch/open-vcdiff/src/
blockhash.h 50 // Using (for example) kBlockSize = 4 guarantees that no match smaller
59 // match length that is guaranteed to be found in FindBestMatch(),
76 // This class is used to store the best match found by FindBestMatch()
78 class Match {
80 Match() : size_(0), source_offset_(-1), target_offset_(-1) { }
97 // The size of the best (longest) match passed to ReplaceIfBetterMatch().
100 // The source offset of the match, including the starting_offset_
101 // of the BlockHash for which the match was found.
104 // The target offset of the match. An offset of 0 corresponds to the
110 Match(const Match&); // NOLIN
    [all...]
  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
regexp_adapter.h 48 // phonenumberutil.cc. Consume(), Match() and Replace() methods must be
55 // matched, false otherwise, advances position in the match.
57 // anchor_at_start - if true, match would be successful only if it appears at
59 // matched_string1 - the first string extracted from the match. Can be NULL.
60 // matched_string2 - the second string extracted from the match. Can be NULL.
61 // matched_string3 - the third string extracted from the match. Can be NULL.
68 // Helper methods calling the Consume method that assume the match must start
92 // Helper method calling the Consume method that assumes the match can start
102 // full_match - if true, match would be successful only if it matches the
104 // matched_string - the string extracted from the match. Can be NULL
    [all...]
  /external/clang/utils/TableGen/
ClangCommentHTMLTagsEmitter.cpp 46 StringMatcher::StringPair Match(Spelling, "return true;");
48 MatchesEndTagOptional.push_back(Match);
50 MatchesEndTagForbidden.push_back(Match);
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp 70 StringMatcher::StringPair Match(Spelling, CLiteral.str());
71 NameToUTF8.push_back(Match);
  /external/lldb/include/lldb/Core/
RegularExpression.h 38 class Match
41 Match (uint32_t max_matches) :
154 /// Execute a regular expression match using the compiled regular
155 /// expression that is already in this object against the match
162 /// The string to match against the compile regular expression.
164 /// @param[in] match
165 /// A pointer to a RegularExpression::Match structure that was
177 Execute (const char* string, Match *match = NULL, int execute_flags = 0) const;
  /external/chromium_org/content/browser/service_worker/
service_worker_cache_unittest.cc 153 bool Match(const ServiceWorkerFetchRequest& request) {
156 cache_->Match(CopyFetchRequest(request),
296 EXPECT_TRUE(Match(no_body_request_));
305 EXPECT_TRUE(Match(body_request_));
319 EXPECT_TRUE(Match(body_request_));
322 EXPECT_FALSE(Match(body_request_));
325 EXPECT_FALSE(Match(body_request_));
331 EXPECT_TRUE(Match(body_request_));
334 EXPECT_TRUE(Match(body_request_));
339 EXPECT_TRUE(Match(body_request_))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
SelectorChecker.h 46 enum Match { SelectorMatches, SelectorFailsLocally, SelectorFailsAllSiblings, SelectorFailsCompletely };
105 Match match(const SelectorCheckingContext&, const SiblingTraversalStrategy&, MatchResult* = 0) const;
128 Match matchForSubSelector(const SelectorCheckingContext&, const SiblingTraversalStrategy&, MatchResult*) const;
130 Match matchForRelation(const SelectorCheckingContext&, const SiblingTraversalStrategy&, MatchResult*) const;
132 Match matchForShadowDistributed(const Element*, const SiblingTraversalStrategy&, SelectorCheckingContext& nextContext, MatchResult* = 0) const;
134 Match matchForPseudoShadow(const ContainerNode*, const SelectorCheckingContext&, const SiblingTraversalStrategy&, MatchResult*) const;
146 if (selector.match() != CSSSelector::PseudoClass)
  /external/compiler-rt/lib/tsan/rtl/
tsan_suppressions.cc 133 if (g_ctx->Match(frame->func, stype, &s) ||
134 g_ctx->Match(frame->file, stype, &s) ||
135 g_ctx->Match(frame->module, stype, &s)) {
154 if (g_ctx->Match(loc->name, stype, &s) ||
155 g_ctx->Match(loc->file, stype, &s) ||
156 g_ctx->Match(loc->module, stype, &s)) {
  /external/chromium_org/net/base/
ip_pattern.h 18 // IPPatterns are used to match IP address resolutions for possible augmentation
30 bool Match(const IPAddressNumber& address) const;
40 // ComponentPattern is used to define patterns to match individual components.
48 // exact match (OCTET in IPv4, or 4 hex digits in IPv6).
  /external/chromium_org/third_party/re2/re2/
set.h 26 // it in the result of Match, or -1 if the regexp cannot be parsed.
38 // Match returns true if text matches any of the regexps in the set.
40 bool Match(const StringPiece& text, vector<int>* v) const;
  /external/chromium_org/third_party/skia/src/pathops/
SkDQuadImplicit.h 16 bool match(const SkDQuadImplicit& two) const;
17 static bool Match(const SkDQuad& quad1, const SkDQuad& quad2);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_suppressions.h 44 bool Match(const char* str, SuppressionType type, Suppression **s);
  /external/chromium_org/components/bookmarks/browser/
bookmark_index.h 56 struct Match;
57 typedef std::vector<Match> Matches;
77 // Iterates over |matches| updating each Match's nodes to contain the
78 // intersection of the Match's current nodes and the nodes at |index_i|.
79 // If the intersection is empty, the Match is removed.
86 // Match's nodes and the nodes at |index_i|. If the intersection between the
87 // two is non-empty, a new match is added to |result|.
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DebugTreeGrammar.cs 297 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(input, TokenTypes.Up, null);
    [all...]
ProfileTreeGrammar.cs 302 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(input, TokenTypes.Up, null);
    [all...]

Completed in 582 milliseconds

1 2 3 4 5 6 7 8