/external/google-breakpad/src/testing/test/ |
D | gmock-matchers_test.cc | 101 using testing::Matches; 275 EXPECT_TRUE(m.Matches(2)); in TEST() 276 EXPECT_FALSE(m.Matches(3)); in TEST() 290 EXPECT_TRUE(m.Matches(4)); in TEST() 291 EXPECT_FALSE(m.Matches(5)); in TEST() 297 EXPECT_TRUE(m1.Matches(5)); in TEST() 298 EXPECT_FALSE(m1.Matches(6)); in TEST() 304 EXPECT_TRUE(m1.Matches(NULL)); in TEST() 306 EXPECT_FALSE(m1.Matches(&n)); in TEST() 313 EXPECT_TRUE(m1.Matches(false)); in TEST() [all …]
|
D | gmock-generated-matchers_test.cc | 169 EXPECT_TRUE(m.Matches(Tuple3('a', 1, 2))); in TEST() 170 EXPECT_FALSE(m.Matches(Tuple3('b', 2, 2))); in TEST() 176 EXPECT_TRUE(m.Matches(Tuple3('a', 'b', 2))); in TEST() 177 EXPECT_FALSE(m.Matches(Tuple3('b', 'b', 2))); in TEST() 437 EXPECT_FALSE(m.Matches(test_vector)); in TEST() 445 EXPECT_FALSE(m.Matches(test_vector)); in TEST() 456 EXPECT_FALSE(m.Matches(test_vector)); in TEST() 598 EXPECT_TRUE(m.Matches(6)); in TEST() 599 EXPECT_FALSE(m.Matches(7)); in TEST() 676 EXPECT_TRUE(m1.Matches("")); in TEST() [all …]
|
/external/googletest/googlemock/test/ |
D | gmock-matchers_test.cc | 115 using testing::Matches; 306 EXPECT_TRUE(m.Matches(2)); in TEST() 307 EXPECT_FALSE(m.Matches(3)); in TEST() 321 EXPECT_TRUE(m.Matches(4)); in TEST() 322 EXPECT_FALSE(m.Matches(5)); in TEST() 328 EXPECT_TRUE(m1.Matches(5)); in TEST() 329 EXPECT_FALSE(m1.Matches(6)); in TEST() 335 EXPECT_TRUE(m1.Matches(NULL)); in TEST() 337 EXPECT_FALSE(m1.Matches(&n)); in TEST() 344 EXPECT_TRUE(m1.Matches(false)); in TEST() [all …]
|
D | gmock-generated-matchers_test.cc | 170 EXPECT_TRUE(m.Matches(Tuple3('a', 1, 2))); in TEST() 171 EXPECT_FALSE(m.Matches(Tuple3('b', 2, 2))); in TEST() 177 EXPECT_TRUE(m.Matches(Tuple3('a', 'b', 2))); in TEST() 178 EXPECT_FALSE(m.Matches(Tuple3('b', 'b', 2))); in TEST() 435 EXPECT_FALSE(m.Matches(test_vector)); in TEST() 443 EXPECT_FALSE(m.Matches(test_vector)); in TEST() 454 EXPECT_FALSE(m.Matches(test_vector)); in TEST() 729 EXPECT_TRUE(m.Matches(6)); in TEST() 730 EXPECT_FALSE(m.Matches(7)); in TEST() 807 EXPECT_TRUE(m1.Matches("")); in TEST() [all …]
|
/external/v8/testing/gmock/test/ |
D | gmock-matchers_test.cc | 110 using testing::Matches; 301 EXPECT_TRUE(m.Matches(2)); in TEST() 302 EXPECT_FALSE(m.Matches(3)); in TEST() 316 EXPECT_TRUE(m.Matches(4)); in TEST() 317 EXPECT_FALSE(m.Matches(5)); in TEST() 323 EXPECT_TRUE(m1.Matches(5)); in TEST() 324 EXPECT_FALSE(m1.Matches(6)); in TEST() 330 EXPECT_TRUE(m1.Matches(NULL)); in TEST() 332 EXPECT_FALSE(m1.Matches(&n)); in TEST() 339 EXPECT_TRUE(m1.Matches(false)); in TEST() [all …]
|
D | gmock-generated-matchers_test.cc | 171 EXPECT_TRUE(m.Matches(Tuple3('a', 1, 2))); in TEST() 172 EXPECT_FALSE(m.Matches(Tuple3('b', 2, 2))); in TEST() 178 EXPECT_TRUE(m.Matches(Tuple3('a', 'b', 2))); in TEST() 179 EXPECT_FALSE(m.Matches(Tuple3('b', 'b', 2))); in TEST() 436 EXPECT_FALSE(m.Matches(test_vector)); in TEST() 444 EXPECT_FALSE(m.Matches(test_vector)); in TEST() 455 EXPECT_FALSE(m.Matches(test_vector)); in TEST() 730 EXPECT_TRUE(m.Matches(6)); in TEST() 731 EXPECT_FALSE(m.Matches(7)); in TEST() 808 EXPECT_TRUE(m1.Matches("")); in TEST() [all …]
|
/external/llvm/unittests/Support/ |
D | RegexTest.cpp | 27 SmallVector<StringRef, 1> Matches; in TEST_F() local 29 EXPECT_TRUE(r2.match("aa216b", &Matches)); in TEST_F() 30 EXPECT_EQ(1u, Matches.size()); in TEST_F() 31 EXPECT_EQ("216", Matches[0].str()); in TEST_F() 34 EXPECT_TRUE(r3.match("9a:513b", &Matches)); in TEST_F() 35 EXPECT_EQ(3u, Matches.size()); in TEST_F() 36 EXPECT_EQ("9a:513", Matches[0].str()); in TEST_F() 37 EXPECT_EQ("a", Matches[1].str()); in TEST_F() 38 EXPECT_EQ("513", Matches[2].str()); in TEST_F() 40 EXPECT_TRUE(r3.match("9:513b", &Matches)); in TEST_F() [all …]
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | StringMatcher.cpp | 24 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter() argument 25 assert(!Matches.empty()); in FindFirstNonCommonLetter() 26 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { in FindFirstNonCommonLetter() 28 char Letter = Matches[0]->first[i]; in FindFirstNonCommonLetter() 30 for (unsigned str = 0, e = Matches.size(); str != e; ++str) in FindFirstNonCommonLetter() 31 if (Matches[str]->first[i] != Letter) in FindFirstNonCommonLetter() 35 return Matches[0]->first.size(); in FindFirstNonCommonLetter() 44 EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches, in EmitStringMatcherForChar() argument 46 assert(!Matches.empty() && "Must have at least one string to match!"); in EmitStringMatcherForChar() 51 if (CharNo == Matches[0]->first.size()) { in EmitStringMatcherForChar() [all …]
|
D | StringMatcher.h | 36 const std::vector<StringPair> &Matches; variable 42 : StrVariableName(strVariableName), Matches(matches), OS(os) {} in StringMatcher() 48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
|
/external/llvm/lib/TableGen/ |
D | StringMatcher.cpp | 24 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter() argument 25 assert(!Matches.empty()); in FindFirstNonCommonLetter() 26 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { in FindFirstNonCommonLetter() 28 char Letter = Matches[0]->first[i]; in FindFirstNonCommonLetter() 30 for (unsigned str = 0, e = Matches.size(); str != e; ++str) in FindFirstNonCommonLetter() 31 if (Matches[str]->first[i] != Letter) in FindFirstNonCommonLetter() 35 return Matches[0]->first.size(); in FindFirstNonCommonLetter() 44 EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches, in EmitStringMatcherForChar() argument 46 assert(!Matches.empty() && "Must have at least one string to match!"); in EmitStringMatcherForChar() 51 if (CharNo == Matches[0]->first.size()) { in EmitStringMatcherForChar() [all …]
|
/external/webrtc/talk/media/base/ |
D | codec_unittest.cc | 124 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 20000, 1, 0))); in TEST_F() 125 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 20000, 0, 0))); in TEST_F() 126 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 0, 0, 0))); in TEST_F() 127 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 0, 0, 0, 0))); in TEST_F() 128 EXPECT_FALSE(c0.Matches(AudioCodec(96, "", 44100, 20000, 1, 0))); in TEST_F() 129 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 55100, 20000, 1, 0))); in TEST_F() 130 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 44100, 30000, 1, 0))); in TEST_F() 131 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 44100, 20000, 2, 0))); in TEST_F() 132 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 55100, 30000, 2, 0))); in TEST_F() 136 EXPECT_TRUE(c1.Matches(AudioCodec(96, "A", 0, 0, 0, 0))); in TEST_F() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | RegexTest.cpp | 27 SmallVector<StringRef, 1> Matches; in TEST_F() local 29 EXPECT_TRUE(r2.match("aa216b", &Matches)); in TEST_F() 30 EXPECT_EQ(1u, Matches.size()); in TEST_F() 31 EXPECT_EQ("216", Matches[0].str()); in TEST_F() 34 EXPECT_TRUE(r3.match("9a:513b", &Matches)); in TEST_F() 35 EXPECT_EQ(3u, Matches.size()); in TEST_F() 36 EXPECT_EQ("9a:513", Matches[0].str()); in TEST_F() 37 EXPECT_EQ("a", Matches[1].str()); in TEST_F() 38 EXPECT_EQ("513", Matches[2].str()); in TEST_F() 40 EXPECT_TRUE(r3.match("9:513b", &Matches)); in TEST_F() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Regex.cpp | 55 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ in match() argument 56 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() 76 if (Matches) { // match position requested in match() 77 Matches->clear(); in match() 82 Matches->push_back(StringRef()); in match() 86 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 96 SmallVector<StringRef, 8> Matches; in sub() local 102 if (!match(String, &Matches)) in sub() 107 std::string Res(String.begin(), Matches[0].begin()); in sub() 155 RefValue < Matches.size()) in sub() [all …]
|
/external/llvm/lib/Support/ |
D | Regex.cpp | 59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ in match() argument 60 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() 80 if (Matches) { // match position requested in match() 81 Matches->clear(); in match() 86 Matches->push_back(StringRef()); in match() 90 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 100 SmallVector<StringRef, 8> Matches; in sub() local 106 if (!match(String, &Matches)) in sub() 111 std::string Res(String.begin(), Matches[0].begin()); in sub() 159 RefValue < Matches.size()) in sub() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Regex.cpp | 68 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ in match() argument 72 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() 92 if (Matches) { // match position requested in match() 93 Matches->clear(); in match() 98 Matches->push_back(StringRef()); in match() 102 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 112 SmallVector<StringRef, 8> Matches; in sub() local 118 if (!match(String, &Matches)) in sub() 123 std::string Res(String.begin(), Matches[0].begin()); in sub() 171 RefValue < Matches.size()) in sub() [all …]
|
/external/dng_sdk/source/ |
D | dng_validate.cpp | 578 if (option.Matches ("v", true)) in main() 583 else if (option.Matches ("d", true)) in main() 603 else if (option.Matches ("s", true)) in main() 619 else if (option.Matches ("b4", true)) in main() 624 else if (option.Matches ("size", true)) in main() 640 else if (option.Matches ("min", true)) in main() 656 else if (option.Matches ("max", true)) in main() 672 else if (option.Matches ("proxy", true)) in main() 688 else if (option.Matches ("cs1", true)) in main() 695 else if (option.Matches ("cs2", true)) in main() [all …]
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 150 Sema &S, const FunctionDecl *Caller, llvm::SmallVectorImpl<T> &Matches, in EraseUnwantedCUDAMatchesImpl() argument 152 if (Matches.size() <= 1) in EraseUnwantedCUDAMatchesImpl() 162 Matches.begin(), Matches.end(), in EraseUnwantedCUDAMatchesImpl() 166 Matches.erase( in EraseUnwantedCUDAMatchesImpl() 167 llvm::remove_if(Matches, in EraseUnwantedCUDAMatchesImpl() 169 Matches.end()); in EraseUnwantedCUDAMatchesImpl() 173 SmallVectorImpl<FunctionDecl *> &Matches){ in EraseUnwantedCUDAMatches() argument 175 *this, Caller, Matches, [](const FunctionDecl *item) { return item; }); in EraseUnwantedCUDAMatches() 179 SmallVectorImpl<DeclAccessPair> &Matches) { in EraseUnwantedCUDAMatches() argument 181 *this, Caller, Matches, [](const DeclAccessPair &item) { in EraseUnwantedCUDAMatches() [all …]
|
/external/iptables/extensions/ |
D | libip6t_frag.man | 4 Matches the given Identification or range of it. 11 Matches if the reserved fields are filled with zero. 14 Matches on the first fragment. 17 Matches if there are more fragments. 20 Matches if this is the last fragment.
|
D | libxt_policy.man | 16 Matches if the packet is subject to IPsec processing. \fB\-\-pol none\fP 28 Matches the reqid of the policy rule. The reqid can be specified with 35 Matches the SPI of the SA. 38 Matches the encapsulation protocol. 41 Matches the encapsulation mode. 44 Matches the source end-point address of a tunnel mode SA. 48 Matches the destination end-point address of a tunnel mode SA.
|
D | libip6t_hl.man | 4 Matches if Hop Limit equals \fIvalue\fP. 7 Matches if Hop Limit is less than \fIvalue\fP. 10 Matches if Hop Limit is greater than \fIvalue\fP.
|
/external/libmicrohttpd/w32/VS2013/ |
D | gen_dll_res.ps1 | 13 [string]$MHD_ver = $Matches[1].ToString() 14 [string]$MHD_ver_major = $Matches[2].ToString() 15 [string]$MHD_ver_minor = $Matches[3].ToString() 16 [string]$MHD_ver_patchlev = $Matches[4].ToString()
|
/external/llvm/lib/Fuzzer/test/ |
D | RepeatedMemcmp.cpp | 11 int Matches = 0; in LLVMFuzzerTestOneInput() local 15 Matches++; in LLVMFuzzerTestOneInput() 17 if (Matches > 20) { in LLVMFuzzerTestOneInput()
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | cursor_unittest_resources.rc | 18 // Matches IDD_CURSOR1_32BPP. 21 // Matches IDD_CURSOR1_32BPP. 24 // Matches IDD_CURSOR2_32BPP. 27 // Matches IDD_CURSOR3_32BPP.
|
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
D | Matches.java | 12 public class Matches implements ArgumentMatcher<Object>, Serializable { class 16 public Matches(String regex) { in Matches() method in Matches 20 public Matches(Pattern pattern) { in Matches() method in Matches
|
/external/llvm/include/llvm/TableGen/ |
D | StringMatcher.h | 37 const std::vector<StringPair> &Matches; variable 43 : StrVariableName(strVariableName), Matches(matches), OS(os) {} in StringMatcher() 48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
|