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

1 2 3 4 5 6 7 8 9

  /external/llvm/utils/TableGen/
DAGISelMatcher.h 1 //===- DAGISelMatcher.h - Representation of DAG pattern matcher -----------===//
22 class Matcher;
31 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant,
33 Matcher *OptimizeMatcher(Matcher *Matcher, const CodeGenDAGPatterns &CGP);
34 void EmitMatcherTable(const Matcher *Matcher, const CodeGenDAGPatterns &CGP,
38 /// Matcher - Base class for all the the DAG ISel Matcher representatio
    [all...]
DAGISelMatcherOpt.cpp 1 //===- DAGISelMatcherOpt.cpp - Optimize a DAG Matcher ---------------------===//
10 // This file implements the DAG Matcher optimizer.
23 /// ContractNodes - Turn multiple matcher node patterns like 'MoveChild+Record'
25 static void ContractNodes(OwningPtr<Matcher> &MatcherPtr,
28 Matcher *N = MatcherPtr.get();
34 OwningPtr<Matcher> Child(Scope->takeChild(i));
44 Matcher *New = 0;
80 Matcher *EmitNode = MatcherPtr.take();
81 Matcher *MFR = EmitNode->takeNext();
82 Matcher *Tail = MFR->takeNext()
    [all...]
DAGISelMatcherEmitter.cpp 1 //===- DAGISelMatcherEmitter.cpp - Matcher Emitter ------------------------===//
10 // This file contains code to generate C++ code for a matcher.
54 unsigned EmitMatcherList(const Matcher *N, unsigned Indent,
59 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS);
61 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx,
135 /// EmitMatcherOpcodes - Emit bytes for the specified matcher and return
138 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx,
143 case Matcher::Scope: {
205 case Matcher::RecordNode:
214 case Matcher::RecordChild
    [all...]
DAGISelMatcher.cpp 1 //===- DAGISelMatcher.cpp - Representation of DAG pattern matcher ---------===//
18 void Matcher::dump() const {
22 void Matcher::print(raw_ostream &OS, unsigned indent) const {
28 void Matcher::printOne(raw_ostream &OS) const {
35 Matcher *Matcher::unlinkNode(Matcher *Other) {
40 Matcher *Cur = this;
50 /// canMoveBefore - Return true if this matcher is the same as Other, or if
51 /// we can move this matcher past all of the nodes in-between Other and thi
    [all...]
  /external/chromium/testing/gmock/test/
gmock-generated-internal-utils_test.cc 43 using ::testing::Matcher;
56 CompileAssertTypesEqual<tuple<Matcher<int> >,
61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >,
66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>,
67 Matcher<double>, Matcher<char*> >,
88 CompileAssertTypesEqual<tuple<Matcher<bool> >, F::ArgumentMatcherTuple>()
    [all...]
gmock-matchers_test.cc 96 using testing::Matcher;
164 Matcher<int> GreaterThan(int n) {
176 // Returns the description of the given matcher.
178 string Describe(const Matcher<T>& m) {
184 // Returns the description of the negation of the given matcher.
186 string DescribeNegation(const Matcher<T>& m) {
248 // Tests implementing a monomorphic matcher using MatchAndExplain().
270 Matcher<int> m = MakeMatcher(new NewEvenMatcherImpl);
277 // Tests default-constructing a matcher.
279 Matcher<double> m
3236 Matcher<int> matcher = ResultOf(&IntToStringFunction, Eq(string("foo"))); local
3244 Matcher<int> matcher = ResultOf(&IntToStringFunction, StrEq("foo")); local
3256 Matcher<int> matcher = ResultOf(&IntFunction, Ge(85)); local
3268 Matcher<int> matcher = ResultOf(&IntFunction, Eq(80)); local
3285 Matcher<double&> matcher = ResultOf(&DoubleFunction, Ref(x)); local
3307 Matcher<const string&> matcher = ResultOf(&StringFunction, Ref(s)); local
3317 Matcher<int> matcher = ResultOf(IntFunction, Matcher<signed char>(Ge(85))); local
3334 Matcher<int> matcher = ResultOf(IntToStringFunction, StrEq("foo")); local
3348 Matcher<int> matcher = ResultOf(Functor(), Eq(string("foo"))); local
    [all...]
gmock-generated-matchers_test.cc 69 using testing::Matcher;
82 // Returns the description of the given matcher.
84 string Describe(const Matcher<T>& m) {
90 // Returns the description of the negation of the given matcher.
92 string DescribeNegation(const Matcher<T>& m) {
141 // The MATCHER*() macros trigger warning C4100 (unreferenced formal
151 MATCHER(SumIsZero, "") {
168 const Matcher<Tuple3> m = Args<1, 2>(Lt());
175 const Matcher<const Tuple3&> m = Args<0, 1>(Lt());
195 const Matcher<tuple<int, bool, char> > m = Args<2, 0>(Lt())
    [all...]
  /external/chromium/testing/gmock/src/
gmock-matchers.cc 34 // This file implements Matcher<const string&>, Matcher<string>, and
46 // Constructs a matcher that matches a const string& whose value is
48 Matcher<const internal::string&>::Matcher(const internal::string& s) {
52 // Constructs a matcher that matches a const string& whose value is
54 Matcher<const internal::string&>::Matcher(const char* s) {
58 // Constructs a matcher that matches a string whose value is equal to s.
59 Matcher<internal::string>::Matcher(const internal::string& s) { *this = Eq(s);
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
LogCatStackTraceParser.java 18 import java.util.regex.Matcher;
42 return EXCEPTION_LINE_PATTERN.matcher(line).find();
52 Matcher m = EXCEPTION_LINE_PATTERN.matcher(line);
62 Matcher m = EXCEPTION_LINE_PATTERN.matcher(line);
72 Matcher m = EXCEPTION_LINE_PATTERN.matcher(line);
  /external/chromium/testing/gmock/include/gmock/internal/
gmock-generated-internal-utils.h 47 class Matcher;
64 // MatcherTuple<T>::type is a tuple type where each field is a Matcher
76 typedef ::std::tr1::tuple<Matcher<A1> > type;
81 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2> > type;
86 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type;
91 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/build/
BaseBuilderTest.java 19 import java.util.regex.Matcher;
30 Matcher m = p.matcher(s);
  /external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
MatcherTest.java 20 import java.util.regex.Matcher;
46 Matcher m = p.matcher("axxxxxa");
81 Matcher m = pat.matcher("Today is XX-XX-XX ...");
93 Matcher m = p.matcher("xx $ equals to xx rur.");
107 Matcher mat = pat.matcher(input);
113 * Class under test for Matcher reset(CharSequence
605 Matcher matcher = pattern.matcher(input); local
651 Matcher matcher = pattern.matcher("abcde"); local
671 Matcher matcher = pattern.matcher(inputStr); local
706 Matcher matcher = pattern.matcher(s[i]); local
751 Matcher matcher = pattern.matcher(input); local
    [all...]
ReplaceTest.java 19 import java.util.regex.Matcher;
36 Matcher m = p.matcher(target);
45 Matcher m;
52 m = p.matcher(target);
62 m = p.matcher(target);
  /external/chromium/chrome/browser/sync/
js_test_util.h 27 // A matcher for gmock. Use like:
30 ::testing::Matcher<const JsArgList&> HasArgs(const JsArgList& expected_args);
33 ::testing::Matcher<const JsArgList&> HasArgsAsList(
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
GetPropReceiver.java 19 import java.util.regex.Matcher;
54 Matcher m = GETPROP_PATTERN.matcher(line);
NativeStackCallInfo.java 19 import java.util.regex.Matcher;
60 Matcher m = SOURCE_NAME_PATTERN.matcher(sourceFile);
  /libcore/luni/src/test/java/libcore/java/util/regex/
OldMatcherTest.java 20 import java.util.regex.Matcher;
30 Matcher m = pat.matcher("Today is XX-XX-XX ...");
40 m = pat.matcher("one-cat-two-cats-in-the-yard");
65 Matcher mat = pat.matcher(testString1);
69 assertFalse("After reset matcher should not find pattern in given input", mat.find());
71 assertTrue("After reset matcher should find pattern in given input", mat.find());
76 Matcher m = p.matcher("one-cat-two-cats-in-the-yard")
    [all...]
  /frameworks/base/core/java/android/util/
Patterns.java 19 import java.util.regex.Matcher;
179 * regex Matcher and return them as a concatenated string.
181 * @param matcher The Matcher object from which grouped text will
187 public static final String concatGroups(Matcher matcher) {
189 final int numGroups = matcher.groupCount();
192 String s = matcher.group(i);
208 * @param matcher The Matcher object from which digits and plus wil
    [all...]
EventLogTags.java 25 import java.util.regex.Matcher;
  /libcore/luni/src/main/native/
java_util_regex_Matcher.cpp 17 #define LOG_TAG "Matcher"
124 MatcherAccessor matcher(env, addr, javaText, false);
125 UBool result = matcher->find(startIndex, matcher.status());
127 matcher.updateOffsets(offsets);
133 MatcherAccessor matcher(env, addr, javaText, false);
134 if (matcher.status() != U_ZERO_ERROR) {
137 UBool result = matcher->find();
139 matcher.updateOffsets(offsets);
145 MatcherAccessor matcher(env, addr)
    [all...]
  /libcore/luni/src/main/java/java/util/regex/
Matcher.java 23 public final class Matcher implements MatchResult {
84 * Creates a matcher for a given combination of pattern and input. Both
92 Matcher(Pattern pattern, CharSequence input) {
109 * @return the {@code Matcher} itself.
113 public Matcher appendReplacement(StringBuffer buffer, String replacement) {
158 * Resets the {@code Matcher}. This results in the region being set to the
163 * @return the {@code Matcher} itself.
165 public Matcher reset() {
170 * Provides a new input and resets the {@code Matcher}. This results in the
178 * @return the {@code Matcher} itself
    [all...]
  /external/chromium/testing/gmock/include/gmock/
gmock-matchers.h 55 // To implement a matcher Foo for type T, define:
58 // 2. a factory function that creates a Matcher<T> object from a
62 // to write "v" instead of "Eq(v)" where a Matcher is expected, which
64 // ownership management as Matcher objects can now be copied like
68 // used by a matcher to explain why a value matches or doesn't match.
94 // the match result. A matcher's MatchAndExplain() method can use
108 // The implementation of a matcher.
114 // Returns true iff the matcher matches x; also explains the match
117 // example, the MatchAndExplain() method of the Pointee(...) matcher
120 // You should override this method when defining a new matcher
535 typename tuple_element<N - 1, MatcherTuple>::type matcher = local
1479 const Matcher<const T&> matcher = MatcherCast<const T&>(matcher_); local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
ReplaceTest.java 21 import java.util.regex.Matcher;
33 Matcher m = p.matcher(target);
42 Matcher m;
49 m = p.matcher(target);
59 m = p.matcher(target);
  /sdk/ide_common/src/com/android/ide/common/resources/configuration/
NetworkCodeQualifier.java 19 import java.util.regex.Matcher;
42 Matcher m = sNetworkCodePattern.matcher(segment);
108 Matcher m = sNetworkCodePattern.matcher(value);
  /system/media/mca/filterfw/java/android/filterfw/io/
PatternScanner.java 20 import java.util.regex.Matcher;
50 // Create the matcher
51 Matcher matcher = pattern.matcher(mInput); local
52 matcher.region(mOffset, mInput.length());
56 if (matcher.lookingAt()) {
57 updateLineCount(mOffset, matcher.end());
58 mOffset = matcher.end();
59 result = mInput.substring(matcher.start(), matcher.end())
85 Matcher matcher = pattern.matcher(mInput); local
93 Matcher matcher = pattern.matcher(mInput); local
    [all...]

Completed in 940 milliseconds

1 2 3 4 5 6 7 8 9