Home
last modified time | relevance | path

Searched refs:Matches (Results 1 – 25 of 117) sorted by relevance

12345

/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc101 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 …]
Dgmock-generated-matchers_test.cc169 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 …]
Dgmock_link_test.h608 EXPECT_TRUE(m.Matches(helper)); in TEST()
611 EXPECT_TRUE(m2.Matches(&helper)); in TEST()
619 EXPECT_TRUE(m.Matches(helper)); in TEST()
622 EXPECT_TRUE(m2.Matches(&helper)); in TEST()
628 EXPECT_TRUE(m.Matches(NULL)); in TEST()
636 EXPECT_TRUE(m.Matches(&n)); in TEST()
642 EXPECT_TRUE(m.Matches(NULL)); in TEST()
648 EXPECT_TRUE(m.Matches(1)); in TEST()
654 EXPECT_TRUE(m.Matches(1)); in TEST()
660 EXPECT_FALSE(m.Matches(1)); in TEST()
[all …]
/external/gmock/test/
Dgmock-matchers_test.cc109 using testing::Matches;
297 EXPECT_TRUE(m.Matches(2)); in TEST()
298 EXPECT_FALSE(m.Matches(3)); in TEST()
312 EXPECT_TRUE(m.Matches(4)); in TEST()
313 EXPECT_FALSE(m.Matches(5)); in TEST()
319 EXPECT_TRUE(m1.Matches(5)); in TEST()
320 EXPECT_FALSE(m1.Matches(6)); in TEST()
326 EXPECT_TRUE(m1.Matches(NULL)); in TEST()
328 EXPECT_FALSE(m1.Matches(&n)); in TEST()
335 EXPECT_TRUE(m1.Matches(false)); in TEST()
[all …]
Dgmock-generated-matchers_test.cc174 EXPECT_TRUE(m.Matches(Tuple3('a', 1, 2))); in TEST()
175 EXPECT_FALSE(m.Matches(Tuple3('b', 2, 2))); in TEST()
181 EXPECT_TRUE(m.Matches(Tuple3('a', 'b', 2))); in TEST()
182 EXPECT_FALSE(m.Matches(Tuple3('b', 'b', 2))); in TEST()
439 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
447 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
458 EXPECT_FALSE(m.Matches(test_vector)); in TEST()
733 EXPECT_TRUE(m.Matches(6)); in TEST()
734 EXPECT_FALSE(m.Matches(7)); in TEST()
811 EXPECT_TRUE(m1.Matches("")); in TEST()
[all …]
Dgmock_link_test.h608 EXPECT_TRUE(m.Matches(helper)); in TEST()
611 EXPECT_TRUE(m2.Matches(&helper)); in TEST()
619 EXPECT_TRUE(m.Matches(helper)); in TEST()
622 EXPECT_TRUE(m2.Matches(&helper)); in TEST()
628 EXPECT_TRUE(m.Matches(NULL)); in TEST()
636 EXPECT_TRUE(m.Matches(&n)); in TEST()
642 EXPECT_TRUE(m.Matches(NULL)); in TEST()
648 EXPECT_TRUE(m.Matches(1)); in TEST()
654 EXPECT_TRUE(m.Matches(1)); in TEST()
660 EXPECT_FALSE(m.Matches(1)); in TEST()
[all …]
/external/llvm/unittests/Support/
DRegexTest.cpp27 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/llvm/lib/TableGen/
DStringMatcher.cpp24 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/
Dcodec_unittest.cc124 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/llvm/lib/Support/
DRegex.cpp59 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/dng_sdk/source/
Ddng_validate.cpp578 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/
DSemaCUDA.cpp215 llvm::SmallVectorImpl<T> &Matches, in EraseUnwantedCUDAMatchesImpl() argument
219 if (Matches.size() <= 1) in EraseUnwantedCUDAMatchesImpl()
224 for (auto const &Match : Matches) { in EraseUnwantedCUDAMatchesImpl()
231 for (unsigned I = 0, N = Matches.size(); I != N;) in EraseUnwantedCUDAMatchesImpl()
232 if (S.IdentifyCUDAPreference(Caller, FetchDecl(Matches[I])) < BestCFP) { in EraseUnwantedCUDAMatchesImpl()
233 Matches[I] = Matches[--N]; in EraseUnwantedCUDAMatchesImpl()
234 Matches.resize(N); in EraseUnwantedCUDAMatchesImpl()
241 SmallVectorImpl<FunctionDecl *> &Matches){ in EraseUnwantedCUDAMatches() argument
243 *this, Caller, Matches, [](const FunctionDecl *item) { return item; }); in EraseUnwantedCUDAMatches()
247 SmallVectorImpl<DeclAccessPair> &Matches) { in EraseUnwantedCUDAMatches() argument
[all …]
/external/iptables/extensions/
Dlibip6t_frag.man4 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.
Dlibxt_policy.man16 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.
Dlibip6t_hl.man4 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.
Dlibipt_ttl.man4 Matches the given TTL value.
7 Matches if TTL is greater than the given TTL value.
10 Matches if TTL is less than the given TTL value.
Dlibxt_owner.man9 Matches if the packet socket's file structure (if it has one) is owned by the
15 Matches if the packet socket's file structure is owned by the given group.
19 Matches if the packet is associated with a socket.
/external/libmicrohttpd/w32/VS2013/
Dgen_dll_res.ps113 [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/webrtc/webrtc/modules/desktop_capture/win/
Dcursor_unittest_resources.rc18 // Matches IDD_CURSOR1_32BPP.
21 // Matches IDD_CURSOR1_32BPP.
24 // Matches IDD_CURSOR2_32BPP.
27 // Matches IDD_CURSOR3_32BPP.
/external/pcre/dist/
Dpcregexp.pas69 Matches:Pointer;
470 Matches:=nil;
500 GetMem(Matches,SizeOf(TMatchArray));
510 if Matches <> nil then
511 FreeMem(Matches,SizeOf(TMatchArray));
520 MatchesCount:=pcre_exec( RegExpC, RegExpExt, AStr, ALen, PMatchArray(Matches)^[1],
521 Options, Matches, MAX_MATCHES ) else
523 Options, Matches, MAX_MATCHES );
544 Options, Matches, MAX_MATCHES );
555 Pos:=PMatchArray(Matches)^[ANom];
[all …]
/external/llvm/include/llvm/TableGen/
DStringMatcher.h37 const std::vector<StringPair> &Matches; variable
43 : StrVariableName(strVariableName), Matches(matches), OS(os) {} in StringMatcher()
48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
/external/clang/utils/TableGen/
DClangCommentHTMLTagsEmitter.cpp25 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentHTMLTags() local
27 Matches.emplace_back(Tag->getValueAsString("Spelling"), "return true;"); in EmitClangCommentHTMLTags()
33 StringMatcher("Name", Matches, OS).Emit(); in EmitClangCommentHTMLTags()
DClangCommentCommandInfoEmitter.cpp63 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentCommandInfo() local
69 Matches.emplace_back(std::move(Name), std::move(Return)); in EmitClangCommentCommandInfo()
74 StringMatcher("Name", Matches, OS).Emit(); in EmitClangCommentCommandInfo()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
DMatches.java13 public final class Matches { class
18 Matches(int countMax) { in Matches() method in Matches
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dreceive_statistics_unittest.cc262 void Matches(uint32_t num_calls, in Matches() function in webrtc::RtpTestCallback
298 callback.Matches(1, kSsrc1, expected); in TEST_F()
310 callback.Matches(2, kSsrc1, expected); in TEST_F()
324 callback.Matches(3, kSsrc1, expected); in TEST_F()
340 callback.Matches(5, kSsrc1, expected); in TEST_F()
349 callback.Matches(5, kSsrc1, expected); in TEST_F()
372 callback.Matches(1, kSsrc1, expected); in TEST_F()
379 callback.Matches(2, kSsrc1, expected); in TEST_F()

12345