/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
Matches.java | 2 * Matches 13 public final class Matches { 18 Matches(int countMax) {
|
/external/llvm/lib/Fuzzer/test/ |
RepeatedMemcmp.cpp | 11 int Matches = 0; 15 Matches++; 17 if (Matches > 20) {
|
/external/llvm/unittests/Support/ |
RegexTest.cpp | 27 SmallVector<StringRef, 1> Matches; 29 EXPECT_TRUE(r2.match("aa216b", &Matches)); 30 EXPECT_EQ(1u, Matches.size()); 31 EXPECT_EQ("216", Matches[0].str()); 34 EXPECT_TRUE(r3.match("9a:513b", &Matches)); 35 EXPECT_EQ(3u, Matches.size()); 36 EXPECT_EQ("9a:513", Matches[0].str()); 37 EXPECT_EQ("a", Matches[1].str()); 38 EXPECT_EQ("513", Matches[2].str()); 40 EXPECT_TRUE(r3.match("9:513b", &Matches)); [all...] |
/external/swiftshader/third_party/LLVM/unittests/Support/ |
RegexTest.cpp | 27 SmallVector<StringRef, 1> Matches; 29 EXPECT_TRUE(r2.match("aa216b", &Matches)); 30 EXPECT_EQ(1u, Matches.size()); 31 EXPECT_EQ("216", Matches[0].str()); 34 EXPECT_TRUE(r3.match("9a:513b", &Matches)); 35 EXPECT_EQ(3u, Matches.size()); 36 EXPECT_EQ("9a:513", Matches[0].str()); 37 EXPECT_EQ("a", Matches[1].str()); 38 EXPECT_EQ("513", Matches[2].str()); 40 EXPECT_TRUE(r3.match("9:513b", &Matches)); [all...] |
/external/llvm/lib/TableGen/ |
StringMatcher.cpp | 24 StringMatcher::StringPair*> &Matches) { 25 assert(!Matches.empty()); 26 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { 28 char Letter = Matches[0]->first[i]; 30 for (unsigned str = 0, e = Matches.size(); str != e; ++str) 31 if (Matches[str]->first[i] != Letter) 35 return Matches[0]->first.size(); 44 EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches, 46 assert(!Matches.empty() && "Must have at least one string to match!"); 49 // If we have verified that the entire string matches, we're done: output th [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
StringMatcher.cpp | 24 StringMatcher::StringPair*> &Matches) { 25 assert(!Matches.empty()); 26 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { 28 char Letter = Matches[0]->first[i]; 30 for (unsigned str = 0, e = Matches.size(); str != e; ++str) 31 if (Matches[str]->first[i] != Letter) 35 return Matches[0]->first.size(); 44 EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches, 46 assert(!Matches.empty() && "Must have at least one string to match!"); 49 // If we have verified that the entire string matches, we're done: output th [all...] |
StringMatcher.h | 29 /// not exit this code fragment. If nothing matches, execution falls through. 36 const std::vector<StringPair> &Matches; 41 const std::vector<StringPair> &matches, raw_ostream &os) 42 : StrVariableName(strVariableName), Matches(matches), OS(os) {} 48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
|
/external/google-breakpad/src/testing/test/ |
gmock-matchers_test.cc | 101 using testing::Matches; 196 // Returns the reason why x matches, or doesn't match, m. 275 EXPECT_TRUE(m.Matches(2)); 276 EXPECT_FALSE(m.Matches(3)); 290 EXPECT_TRUE(m.Matches(4)); 291 EXPECT_FALSE(m.Matches(5)); 297 EXPECT_TRUE(m1.Matches(5)); 298 EXPECT_FALSE(m1.Matches(6)); 304 EXPECT_TRUE(m1.Matches(NULL)); 306 EXPECT_FALSE(m1.Matches(&n)) [all...] |
/external/llvm/include/llvm/TableGen/ |
StringMatcher.h | 29 /// not exit this code fragment. If nothing matches, execution falls through. 37 const std::vector<StringPair> &Matches; 42 const std::vector<StringPair> &matches, raw_ostream &os) 43 : StrVariableName(strVariableName), Matches(matches), OS(os) {} 48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
|
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
Matches.java | 12 public class Matches implements ArgumentMatcher<Object>, Serializable { 16 public Matches(String regex) { 20 public Matches(Pattern pattern) { 24 public boolean matches(Object actual) { method in class:Matches 25 return (actual instanceof String) && pattern.matcher((String) actual).matches(); 29 return "matches(\"" + pattern.pattern().replaceAll("\\\\", "\\\\\\\\") + "\")";
|
/external/easymock/src/org/easymock/internal/matchers/ |
Matches.java | 22 public class Matches implements IArgumentMatcher, Serializable {
28 public Matches(String regex) {
32 public boolean matches(Object actual) {
method in class:Matches 33 return (actual instanceof String) && ((String) actual).matches(regex);
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
/external/webrtc/talk/media/base/ |
codec_unittest.cc | 124 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 20000, 1, 0))); 125 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 20000, 0, 0))); 126 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 0, 0, 0))); 127 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 0, 0, 0, 0))); 128 EXPECT_FALSE(c0.Matches(AudioCodec(96, "", 44100, 20000, 1, 0))); 129 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 55100, 20000, 1, 0))); 130 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 44100, 30000, 1, 0))); 131 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 44100, 20000, 2, 0))); 132 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 55100, 30000, 2, 0))); 136 EXPECT_TRUE(c1.Matches(AudioCodec(96, "A", 0, 0, 0, 0))) [all...] |
cryptoparams.h | 44 bool Matches(const CryptoParams& params) const {
|
/external/googletest/googlemock/test/ |
gmock-matchers_test.cc | 110 using testing::Matches; 216 // Returns the reason why x matches, or doesn't match, m. 301 EXPECT_TRUE(m.Matches(2)); 302 EXPECT_FALSE(m.Matches(3)); 316 EXPECT_TRUE(m.Matches(4)); 317 EXPECT_FALSE(m.Matches(5)); 323 EXPECT_TRUE(m1.Matches(5)); 324 EXPECT_FALSE(m1.Matches(6)); 330 EXPECT_TRUE(m1.Matches(NULL)); 332 EXPECT_FALSE(m1.Matches(&n)) 5102 ElementMatcherPairs matches = local [all...] |
/external/v8/testing/gmock/test/ |
gmock-matchers_test.cc | 110 using testing::Matches; 216 // Returns the reason why x matches, or doesn't match, m. 301 EXPECT_TRUE(m.Matches(2)); 302 EXPECT_FALSE(m.Matches(3)); 316 EXPECT_TRUE(m.Matches(4)); 317 EXPECT_FALSE(m.Matches(5)); 323 EXPECT_TRUE(m1.Matches(5)); 324 EXPECT_FALSE(m1.Matches(6)); 330 EXPECT_TRUE(m1.Matches(NULL)); 332 EXPECT_FALSE(m1.Matches(&n)) 5100 ElementMatcherPairs matches = local [all...] |
/external/llvm/lib/Support/ |
Regex.cpp | 54 /// matches it contains. 59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ 60 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; 80 if (Matches) { // match position requested 81 Matches->clear(); 86 Matches->push_back(StringRef()); 90 Matches->push_back(StringRef(String.data()+pm[i].rm_so, 100 SmallVector<StringRef, 8> Matches; 106 if (!match(String, &Matches)) 111 std::string Res(String.begin(), Matches[0].begin()) [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
Regex.cpp | 50 /// matches it contains. 55 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ 56 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; 76 if (Matches) { // match position requested 77 Matches->clear(); 82 Matches->push_back(StringRef()); 86 Matches->push_back(StringRef(String.data()+pm[i].rm_so, 96 SmallVector<StringRef, 8> Matches; 102 if (!match(String, &Matches)) 107 std::string Res(String.begin(), Matches[0].begin()) [all...] |
/external/clang/utils/TableGen/ |
ClangCommentHTMLTagsEmitter.cpp | 25 std::vector<StringMatcher::StringPair> Matches; 27 Matches.emplace_back(Tag->getValueAsString("Spelling"), "return true;"); 33 StringMatcher("Name", Matches, OS).Emit();
|
ClangCommentCommandInfoEmitter.cpp | 63 std::vector<StringMatcher::StringPair> Matches; 69 Matches.emplace_back(std::move(Name), std::move(Return)); 74 StringMatcher("Name", Matches, OS).Emit();
|
/external/dng_sdk/source/ |
dng_validate.cpp | 578 if (option.Matches ("v", true)) 583 else if (option.Matches ("d", true)) 603 else if (option.Matches ("s", true)) 619 else if (option.Matches ("b4", true)) 624 else if (option.Matches ("size", true)) 640 else if (option.Matches ("min", true)) 656 else if (option.Matches ("max", true)) 672 else if (option.Matches ("proxy", true)) 688 else if (option.Matches ("cs1", true)) 695 else if (option.Matches ("cs2", true) [all...] |
dng_string.h | 105 static bool Matches (const char *t, 111 bool Matches (const char *s,
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Regex.h | 32 /// expressions and '.' never match newline. A ^ anchor matches the 34 /// function, and the $ anchor matches the null string before any 50 /// matches it contains. The number filled in by match will include this 54 /// matches - Match the regex against a given \arg String. 56 /// \param Matches - If given, on a successful match this will be filled in 61 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = 0);
|
/external/clang/lib/Sema/ |
SemaCUDA.cpp | 150 Sema &S, const FunctionDecl *Caller, llvm::SmallVectorImpl<T> &Matches, 152 if (Matches.size() <= 1) 160 // Find the best call preference among the functions in Matches. 162 Matches.begin(), Matches.end(), 166 Matches.erase( 167 llvm::remove_if(Matches, 169 Matches.end()); 173 SmallVectorImpl<FunctionDecl *> &Matches){ 175 *this, Caller, Matches, [](const FunctionDecl *item) { return item; }) [all...] |
/external/llvm/include/llvm/Support/ |
Regex.h | 12 // to support backreferences in matches. 35 /// expressions and '.' never match newline. A ^ anchor matches the 37 /// function, and the $ anchor matches the null string before any 66 /// matches it contains. The number filled in by match will include this 70 /// matches - Match the regex against a given \p String. 72 /// \param Matches - If given, on a successful match this will be filled in 77 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = nullptr); 93 /// expression that matches Str and only Str.
|
/external/toolchain-utils/deprecated/ |
summarize_results.py | 26 def Matches(self, log_file): 59 def Matches(self, log_file): 70 matches = p.findall(log_file_lines) 71 for match in matches: 84 def Matches(self, log_file): 118 if summarizer.Matches(inp):
|