Searched refs:PartialMatch (Results 1 - 25 of 69) sorted by relevance

123

/external/chromium_org/chrome/browser/component_updater/test/
H A Dcomponent_updater_service_unittest.cc152 class PartialMatch : public URLRequestPostInterceptor::RequestMatcher { class in namespace:component_updater
154 explicit PartialMatch(const std::string& expected) : expected_(expected) {} function in class:component_updater::PartialMatch
162 DISALLOW_COPY_AND_ASSIGN(PartialMatch);
281 EXPECT_TRUE(post_interceptor_->ExpectRequest(new PartialMatch(
283 EXPECT_TRUE(post_interceptor_->ExpectRequest(new PartialMatch(
333 EXPECT_TRUE(post_interceptor_->ExpectRequest(new PartialMatch(
335 EXPECT_TRUE(post_interceptor_->ExpectRequest(new PartialMatch(
417 EXPECT_TRUE(post_interceptor_->ExpectRequest(new PartialMatch(
419 EXPECT_TRUE(post_interceptor_->ExpectRequest(new PartialMatch("event")));
420 EXPECT_TRUE(post_interceptor_->ExpectRequest(new PartialMatch(
[all...]
/external/chromium_org/third_party/re2/re2/testing/
H A Dre2_test.cc6 // TODO: Test extractions for PartialMatch/Consume
331 CHECK(RE2::PartialMatch("foo", r, &word1, &word2, &word3));
335 CHECK(RE2::PartialMatch("bar", r, &word1, &word2, &word3));
339 CHECK(RE2::PartialMatch("baz", r, &word1, &word2, &word3));
343 CHECK(!RE2::PartialMatch("f", r, &word1, &word2, &word3));
370 CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port));
522 TEST(RE2, PartialMatch) {
523 CHECK(RE2::PartialMatch("x", "x"));
524 CHECK(RE2::PartialMatch("hello", "h.*o"));
525 CHECK(RE2::PartialMatch("othell
[all...]
H A Dregexp_benchmark.cc869 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match);
881 CHECK_EQ(RE2::PartialMatch(text, re), expect_match);
955 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match);
967 CHECK_EQ(RE2::PartialMatch(text, re), expect_match);
1250 CHECK(PCRE::PartialMatch(text, re, &sp1, &sp2));
1260 CHECK(RE2::PartialMatch(text, re, &sp1, &sp2));
1270 CHECK(PCRE::PartialMatch(text, re, &sp1));
1280 CHECK(RE2::PartialMatch(text, re, &sp1));
1287 PCRE::PartialMatch("", re);
1294 RE2::PartialMatch("", r
[all...]
/external/regex-re2/re2/testing/
H A Dre2_test.cc6 // TODO: Test extractions for PartialMatch/Consume
324 CHECK(RE2::PartialMatch("foo", r, &word1, &word2, &word3));
328 CHECK(RE2::PartialMatch("bar", r, &word1, &word2, &word3));
332 CHECK(RE2::PartialMatch("baz", r, &word1, &word2, &word3));
336 CHECK(!RE2::PartialMatch("f", r, &word1, &word2, &word3));
363 CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port));
515 TEST(RE2, PartialMatch) {
516 CHECK(RE2::PartialMatch("x", "x"));
517 CHECK(RE2::PartialMatch("hello", "h.*o"));
518 CHECK(RE2::PartialMatch("othell
[all...]
H A Dregexp_benchmark.cc869 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match);
881 CHECK_EQ(RE2::PartialMatch(text, re), expect_match);
955 CHECK_EQ(PCRE::PartialMatch(text, re), expect_match);
967 CHECK_EQ(RE2::PartialMatch(text, re), expect_match);
1250 CHECK(PCRE::PartialMatch(text, re, &sp1, &sp2));
1260 CHECK(RE2::PartialMatch(text, re, &sp1, &sp2));
1270 CHECK(PCRE::PartialMatch(text, re, &sp1));
1280 CHECK(RE2::PartialMatch(text, re, &sp1));
1287 PCRE::PartialMatch("", re);
1294 RE2::PartialMatch("", r
[all...]
/external/chromium_org/third_party/re2/re2/
H A Dfiltered_re2.cc60 if (RE2::PartialMatch(text, *re2_vec_[i]))
74 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]]))
87 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]]))
/external/regex-re2/re2/
H A Dfiltered_re2.cc60 if (RE2::PartialMatch(text, *re2_vec_[i]))
74 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]]))
87 if (RE2::PartialMatch(text, *re2_vec_[regexps[i]]))
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dregexp_adapter.h110 inline bool PartialMatch(const string& input_string, function in class:i18n::phonenumbers::RegExp
115 inline bool PartialMatch(const string& input_string) const { function in class:i18n::phonenumbers::RegExp
H A Dregexp_adapter_re2.cc128 return DispatchRE2Call(RE2::PartialMatch, input_string, utf8_regexp_,
H A Dphonenumbermatcher.cc583 if (reg_exps_->pub_pages_->PartialMatch(candidate) ||
584 reg_exps_->slash_separated_dates_->PartialMatch(candidate)) {
588 if (reg_exps_->time_stamps_->PartialMatch(candidate)) {
646 PartialMatch(candidate, &candidate);
/external/protobuf/gtest/test/
H A Dgtest-port_test.cc212 // Tests RE::PartialMatch().
215 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
216 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
219 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
220 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
221 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
222 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
223 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
676 // Tests RE::PartialMatch().
679 EXPECT_TRUE(RE::PartialMatch("", empt
[all...]
/external/chromium/sdch/open-vcdiff/src/gtest/internal/
H A Dgtest-port.h354 // TODO(wan): make PartialMatch() work when str contains NUL
357 static bool PartialMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
358 return PartialMatch(str.c_str(), re);
363 static bool PartialMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
364 return PartialMatch(str.c_str(), re);
368 static bool PartialMatch(const char* str, const RE& re);
/external/chromium/testing/gtest/test/
H A Dgtest-port_test.cc391 // Tests RE::PartialMatch().
394 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
395 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
398 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
399 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
400 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
401 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
402 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
857 // Tests RE::PartialMatch().
860 EXPECT_TRUE(RE::PartialMatch("", empt
[all...]
/external/chromium_org/testing/gtest/test/
H A Dgtest-port_test.cc453 // Tests RE::PartialMatch().
456 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
457 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
460 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
461 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
462 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
463 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
464 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
919 // Tests RE::PartialMatch().
922 EXPECT_TRUE(RE::PartialMatch("", empt
[all...]
/external/gtest/test/
H A Dgtest-port_test.cc411 // Tests RE::PartialMatch().
414 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
415 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
418 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
419 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
420 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
421 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
422 EXPECT_FALSE(RE::PartialMatch(TypeParam("zza"), re));
877 // Tests RE::PartialMatch().
880 EXPECT_TRUE(RE::PartialMatch("", empt
[all...]
/external/chromium_org/gpu/config/
H A Dgpu_info_collector_win.cc479 RE2::PartialMatch(gpu_info->gl_renderer,
482 RE2::PartialMatch(gpu_info->gl_renderer,
486 RE2::PartialMatch(gpu_info->gl_renderer,
506 RE2::PartialMatch(egl_vendor,
634 return RE2::PartialMatch(gl_version_string,
/external/open-vcdiff/gtest/include/gtest/internal/
H A Dgtest-port.h648 // PartialMatch(str, re) returns true iff regular expression re
651 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
657 static bool PartialMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
658 return PartialMatch(str.c_str(), re);
666 static bool PartialMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
667 return PartialMatch(str.c_str(), re);
672 static bool PartialMatch(const char* str, const RE& re);
685 regex_t partial_regex_; // For PartialMatch().
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h641 // PartialMatch(str, re) returns true iff regular expression re
644 // TODO(wan@google.com): make FullMatch() and PartialMatch() work
650 static bool PartialMatch(const ::std::string& str, const RE& re) { function in class:testing::internal::RE
651 return PartialMatch(str.c_str(), re);
659 static bool PartialMatch(const ::string& str, const RE& re) { function in class:testing::internal::RE
660 return PartialMatch(str.c_str(), re);
665 static bool PartialMatch(const char* str, const RE& re);
678 regex_t partial_regex_; // For PartialMatch().
/external/chromium_org/chrome/browser/chromeos/login/
H A Dhwid_checker.cc47 return RE2::PartialMatch(hwid, "^(SPRING [A-D])|(FALCO A)");
/external/chromium_org/components/plugins/renderer/
H A Dplugin_placeholder.cc147 if (RE2::PartialMatch(style_str, width_str) &&
148 RE2::PartialMatch(style_str, height_str))
/external/chromium/testing/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h297 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h308 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h297 ::testing::internal::RE::PartialMatch(".*", (regex)); \
/external/chromium_org/third_party/re2/util/
H A Dbenchmark.cc139 if(RE2::PartialMatch(name, argv[i]))
/external/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h297 ::testing::internal::RE::PartialMatch(".*", (regex)); \

Completed in 739 milliseconds

123