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

1 2 3 4 5 6 7

  /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/v8/src/
interpreter-irregexp.h 16 static RegExpImpl::IrregexpResult Match(Isolate* isolate,
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DomainMatcher.java 17 public enum Match {None, Primary, Secondary}
23 private final Match mMatch;
25 private Label(Match match) {
26 mMatch = match;
27 mSubDomains = match == Match.None ? new HashMap<String, Label>() : null;
30 private void addDomain(Iterator<String> labels, Match match) {
33 Label subLabel = new Label(Match.None)
    [all...]
  /external/regex-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/selinux/sepolgen/tests/
test_matching.py 28 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/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...]
RecursiveASTVisitorTest.cpp 21 Match("", Lambda->getIntroducerRange().getBegin());
61 Match("", Lambda->getCaptureDefaultLoc());
106 Match(ME->getMemberDecl()->getNameAsString(), ME->getLocStart());
110 Match("Attr", A->getLocation());
114 Match("guarded_by", A->getLocation());
RecursiveASTVisitorTestExprVisitor.cpp 20 Match("", Parens->getExprLoc());
40 Match(Stream.str(), ArgLoc.getLocation());
60 Match("true", BE->getLocation());
62 Match("false", BE->getLocation());
85 Match(Class->getName(), Ctor->getLocation());
106 /// The name recorded for the match is the name of the class whose constructor
123 Match(Class->getName(), Expr->getLocation());
166 Match(Reference->getNameInfo().getAsString(), Reference->getLocation());
RecursiveASTVisitorTestDeclVisitor.cpp 20 Match(Variable->getNameAsString(), Variable->getLocStart());
40 Match(ParamVar->getNameAsString(), ParamVar->getLocStart());
49 // Match parameter variable name of implicit copy assignment operator and
52 // same SourceLocation with its class declaration, so we match an empty name
72 Match(OS.str(), Decl->getLocation());
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...]
RecursiveASTVisitorTestCallVisitor.cpp 21 Match(Call->getMethodDecl()->getQualifiedNameAsString(),
105 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc());
  /external/compiler-rt/lib/asan/
asan_suppressions.cc 56 // Match "interceptor_name" suppressions.
57 return suppression_ctx->Match(interceptor_name, kInterceptorName, &s);
69 // Match "odr_violation" suppressions.
70 return suppression_ctx->Match(global_var_name, kODRViolation, &s);
84 // Match "interceptor_via_lib" suppressions.
86 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s))
97 // Match "interceptor_via_fun" suppressions.
98 if (suppression_ctx->Match(function_name, kInterceptorViaFunction,
  /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/compiler-rt/lib/sanitizer_common/
sanitizer_suppressions.h 37 bool Match(const char *str, const char *type, Suppression **s);
  /external/regex-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;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
Match.java 26 /** A match is a potential pairing of two segments with a given {@link ConstraintType}. */
27 class Match {
37 /** the type of constraint this is a match for */
40 /** whether this {@link Match} results in a cycle */
43 /** The associated {@link GuidelineHander} which performed the match */
47 * Create a new match.
49 * @param handler the handler which performed the match
52 * @param type the type of constraint this is a match for
55 public Match(GuidelineHandler handler, Segment edge, Segment with,
66 * Returns the XML constraint attribute value for this match
    [all...]
  /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...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_suppressions.cc 109 if (suppression_ctx->Match(info.function, stype, &s) ||
110 suppression_ctx->Match(info.file, stype, &s) ||
111 suppression_ctx->Match(info.module, stype, &s)) {
131 if (suppression_ctx->Match(global.name, stype, &s) ||
132 suppression_ctx->Match(global.module, stype, &s)) {
  /external/clang/lib/Analysis/
FormatString.cpp 279 return Match;
293 return Match;
304 return Match;
314 return T == C.UnsignedCharTy || T == C.SignedCharTy ? Match
317 return T == C.UnsignedShortTy ? Match : NoMatch;
319 return T == C.ShortTy ? Match : NoMatch;
321 return T == C.UnsignedIntTy ? Match : NoMatch;
323 return T == C.IntTy ? Match : NoMatch;
325 return T == C.UnsignedLongTy ? Match : NoMatch;
327 return T == C.LongTy ? Match : NoMatch
    [all...]
  /external/lldb/source/Core/
RegularExpression.cpp 121 // Execute a regular expression match using the compiled regular
122 // expression that is already in this object against the match
129 RegularExpression::Execute(const char* s, Match *match, int execute_flags) const
134 if (match)
138 match->GetSize(),
139 match->GetData(),
155 if (match)
156 match->Clear();
163 RegularExpression::Match::GetMatchAtIndex (const char* s, uint32_t idx, std::string& match_str) cons
    [all...]
  /system/core/libbacktrace/
ThreadEntry.h 54 bool Match(pid_t chk_pid, pid_t chk_tid) { return (chk_pid == pid_ && chk_tid == tid_); }
  /art/tools/
cpplint.py 302 # match those on a word boundary.
341 # Match start of assembly blocks
409 def Match(pattern, s):
411 # The regexp compilation caching is inlined in both Match and Search for
416 return _regexp_compile_cache[pattern].match(s)
712 if Match(r'T(EST|est)', self.current_function):
    [all...]

Completed in 617 milliseconds

1 2 3 4 5 6 7