Home
last modified time | relevance | path

Searched refs:regex_match (Results 1 – 25 of 267) sorted by relevance

1234567891011

/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/include/boost/regex/v4/
Dregex_match.hpp44 bool regex_match(BidiIterator first, BidiIterator last, in regex_match() function
53 bool regex_match(iterator first, iterator last, in regex_match() function
58 return regex_match(first, last, m, e, flags | regex_constants::match_any); in regex_match()
68 inline bool regex_match(const charT* str, in regex_match() function
73 return regex_match(str, str + traits::length(str), m, e, flags); in regex_match()
77 inline bool regex_match(const std::basic_string<charT, ST, SA>& s, in regex_match() function
82 return regex_match(s.begin(), s.end(), m, e, flags); in regex_match()
85 inline bool regex_match(const charT* str, in regex_match() function
90 return regex_match(str, str + traits::length(str), m, e, flags | regex_constants::match_any); in regex_match()
94 inline bool regex_match(const std::basic_string<charT, ST, SA>& s, in regex_match() function
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/re/re.alg/re.alg.match/
H A Dinverted_character_classes.pass.cpp21 assert(std::regex_match("X", std::regex("[X]"))); in main()
22 assert(std::regex_match("X", std::regex("[XY]"))); in main()
23 assert(!std::regex_match("X", std::regex("[^X]"))); in main()
24 assert(!std::regex_match("X", std::regex("[^XY]"))); in main()
26 assert(std::regex_match("X", std::regex("[\\S]"))); in main()
27 assert(!std::regex_match("X", std::regex("[^\\S]"))); in main()
29 assert(!std::regex_match("X", std::regex("[\\s]"))); in main()
30 assert(std::regex_match("X", std::regex("[^\\s]"))); in main()
32 assert(std::regex_match("X", std::regex("[\\s\\S]"))); in main()
33 assert(std::regex_match("X", std::regex("[^Y\\s]"))); in main()
[all …]
H A Decma.pass.cpp29 assert(std::regex_match(s, m, std::regex("a"))); in main()
45 assert(std::regex_match(s, m, std::regex("ab"))); in main()
60 assert(!std::regex_match(s, m, std::regex("ba"))); in main()
67 assert(!std::regex_match(s, m, std::regex("ab"))); in main()
73 assert(!std::regex_match(s, m, std::regex("ab"), in main()
80 assert(!std::regex_match(s, m, std::regex("bc"))); in main()
86 assert(std::regex_match(s, m, std::regex("ab*c"))); in main()
101 assert(std::regex_match(s, m, std::regex("(ab)*c"))); in main()
119 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi"))); in main()
125 assert(std::regex_match(s, m, std::regex("^abc"))); in main()
[all …]
H A Dbasic.pass.cpp28 assert(!std::regex_match("a", m, std::regex())); in main()
35 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::basic))); in main()
51 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main()
66 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::basic))); in main()
73 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main()
79 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic), in main()
86 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::basic))); in main()
92 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::basic))); in main()
107 assert(std::regex_match(s, m, std::regex("\\(ab\\)*c", std::regex_constants::basic))); in main()
125 assert(!std::regex_match(s, m, std::regex("cd\\(\\(e\\)fg\\)hi", in main()
[all …]
H A Dextended.pass.cpp28 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended))); in main()
44 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::extended))); in main()
59 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::extended))); in main()
66 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended))); in main()
72 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended), in main()
79 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::extended))); in main()
85 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::extended))); in main()
100 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::extended))); in main()
118 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi", in main()
125 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::extended))); in main()
[all …]
H A Dawk.pass.cpp29 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); in main()
45 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main()
60 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::awk))); in main()
67 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main()
73 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk), in main()
80 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::awk))); in main()
86 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::awk))); in main()
101 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::awk))); in main()
119 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi", in main()
126 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::awk))); in main()
[all …]
H A Dawk.locale.pass.cpp40 assert(std::regex_match(s, m, in main()
43 assert(std::regex_match(s, m, in main()
60 assert(std::regex_match(s, m, std::regex("[a[.ch.]z]", in main()
77 assert(!std::regex_match(s, m, std::regex("[a[=M=]z]", in main()
88 assert(std::regex_match(s, m, std::wregex(L"[a[=m=]z]", in main()
91 assert(std::regex_match(s, m, std::wregex(L"[a[=M=]z]", in main()
110 assert(std::regex_match(s, m, std::wregex(L"[a[.ch.]z]", in main()
128 assert(!std::regex_match(s, m, std::wregex(L"[a[=M=]z]", in main()
H A Dlookahead_capture.pass.cpp35 assert(std::regex_match(s, m, re)); in main()
47 assert(std::regex_match(s, m, re)); in main()
61 assert(std::regex_match(s, m, re)); in main()
76 assert(std::regex_match(s, m, re)); in main()
90 assert(std::regex_match(s, m, re)); in main()
H A Decma.locale.pass.cpp40 assert(std::regex_match(s, m, std::regex("[a[=M=]z]"))); in main()
55 assert(std::regex_match(s, m, std::regex("[a[.ch.]z]", in main()
72 assert(!std::regex_match(s, m, std::regex("[a[=M=]z]"))); in main()
81 assert(std::regex_match(s, m, std::wregex(L"[a[=M=]z]"))); in main()
96 assert(std::regex_match(s, m, std::wregex(L"[a[.ch.]z]", in main()
113 assert(!std::regex_match(s, m, std::wregex(L"[a[=M=]z]"))); in main()
H A Dextended.locale.pass.cpp40 assert(std::regex_match(s, m, std::regex("[a[=M=]z]", in main()
56 assert(std::regex_match(s, m, std::regex("[a[.ch.]z]", in main()
73 assert(!std::regex_match(s, m, std::regex("[a[=M=]z]", in main()
83 assert(std::regex_match(s, m, std::wregex(L"[a[=M=]z]", in main()
99 assert(std::regex_match(s, m, std::wregex(L"[a[.ch.]z]", in main()
116 assert(!std::regex_match(s, m, std::wregex(L"[a[=M=]z]", in main()
H A Dbasic.locale.pass.cpp40 assert(std::regex_match(s, m, std::regex("[a[=M=]z]", in main()
56 assert(std::regex_match(s, m, std::regex("[a[.ch.]z]", in main()
73 assert(!std::regex_match(s, m, std::regex("[a[=M=]z]", in main()
83 assert(std::regex_match(s, m, std::wregex(L"[a[=M=]z]", in main()
99 assert(std::regex_match(s, m, std::wregex(L"[a[.ch.]z]", in main()
116 assert(!std::regex_match(s, m, std::wregex(L"[a[=M=]z]", in main()
/aosp_15_r20/external/libcxx/test/std/re/re.alg/re.alg.match/
H A Dinverted_character_classes.pass.cpp20 assert(std::regex_match("X", std::regex("[X]"))); in main()
21 assert(std::regex_match("X", std::regex("[XY]"))); in main()
22 assert(!std::regex_match("X", std::regex("[^X]"))); in main()
23 assert(!std::regex_match("X", std::regex("[^XY]"))); in main()
25 assert(std::regex_match("X", std::regex("[\\S]"))); in main()
26 assert(!std::regex_match("X", std::regex("[^\\S]"))); in main()
28 assert(!std::regex_match("X", std::regex("[\\s]"))); in main()
29 assert(std::regex_match("X", std::regex("[^\\s]"))); in main()
31 assert(std::regex_match("X", std::regex("[\\s\\S]"))); in main()
32 assert(std::regex_match("X", std::regex("[^Y\\s]"))); in main()
[all …]
H A Decma.pass.cpp39 assert(std::regex_match(s, m, std::regex("a"))); in main()
55 assert(std::regex_match(s, m, std::regex("ab"))); in main()
70 assert(!std::regex_match(s, m, std::regex("ba"))); in main()
77 assert(!std::regex_match(s, m, std::regex("ab"))); in main()
83 assert(!std::regex_match(s, m, std::regex("ab"), in main()
90 assert(!std::regex_match(s, m, std::regex("bc"))); in main()
96 assert(std::regex_match(s, m, std::regex("ab*c"))); in main()
111 assert(std::regex_match(s, m, std::regex("(ab)*c"))); in main()
129 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi"))); in main()
135 assert(std::regex_match(s, m, std::regex("^abc"))); in main()
[all …]
H A Dbasic.pass.cpp38 assert(!std::regex_match("a", m, std::regex())); in main()
45 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::basic))); in main()
61 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main()
76 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::basic))); in main()
83 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main()
89 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic), in main()
96 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::basic))); in main()
102 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::basic))); in main()
117 assert(std::regex_match(s, m, std::regex("\\(ab\\)*c", std::regex_constants::basic))); in main()
135 assert(!std::regex_match(s, m, std::regex("cd\\(\\(e\\)fg\\)hi", in main()
[all …]
H A Dawk.pass.cpp33 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); in main()
49 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main()
64 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::awk))); in main()
71 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk))); in main()
77 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::awk), in main()
84 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::awk))); in main()
90 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::awk))); in main()
105 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::awk))); in main()
123 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi", in main()
130 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::awk))); in main()
[all …]
H A Dextended.pass.cpp39 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended))); in main()
55 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::extended))); in main()
70 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::extended))); in main()
77 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended))); in main()
83 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended), in main()
90 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::extended))); in main()
96 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::extended))); in main()
111 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::extended))); in main()
129 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi", in main()
136 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::extended))); in main()
[all …]
H A Dlookahead_capture.pass.cpp36 assert(std::regex_match(s, m, re)); in main()
48 assert(std::regex_match(s, m, re)); in main()
62 assert(std::regex_match(s, m, re)); in main()
77 assert(std::regex_match(s, m, re)); in main()
91 assert(std::regex_match(s, m, re)); in main()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/doc/
Dregex_match.qbk9 [section:regex_match regex_match]
13 The algorithm [regex_match] determines whether a given regular expression
25 bool regex_match(BidirectionalIterator first, BidirectionalIterator last,
31 bool regex_match(BidirectionalIterator first, BidirectionalIterator last,
36 bool regex_match(const charT* str, match_results<const charT*, Allocator>& m,
41 bool regex_match(const basic_string<charT, ST, SA>& s,
47 bool regex_match(const charT* str,
52 bool regex_match(const basic_string<charT, ST, SA>& s,
59 bool regex_match(BidirectionalIterator first, BidirectionalIterator last,
109 bool regex_match(BidirectionalIterator first, BidirectionalIterator last,
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/test/regress/
Dtest_overloads.cpp31 BOOST_REGEX_TEST(boost::regex_match(cs.begin(), cs.end(), sm, e)) in test_overloads()
32 …BOOST_REGEX_TEST(boost::regex_match(cs.begin(), cs.end(), sm, e, boost::regex_constants::match_def… in test_overloads()
33 BOOST_REGEX_TEST(boost::regex_match(cs.begin(), cs.end(), e)) in test_overloads()
34 …BOOST_REGEX_TEST(boost::regex_match(cs.begin(), cs.end(), e, boost::regex_constants::match_default… in test_overloads()
35 BOOST_REGEX_TEST(boost::regex_match(s.c_str(), cm, e)) in test_overloads()
36 BOOST_REGEX_TEST(boost::regex_match(s.c_str(), cm, e, boost::regex_constants::match_default)) in test_overloads()
37 BOOST_REGEX_TEST(boost::regex_match(s.c_str(), e)) in test_overloads()
38 BOOST_REGEX_TEST(boost::regex_match(s.c_str(), e, boost::regex_constants::match_default)) in test_overloads()
39 BOOST_REGEX_TEST(boost::regex_match(s, sm, e)) in test_overloads()
40 BOOST_REGEX_TEST(boost::regex_match(s, sm, e, boost::regex_constants::match_default)) in test_overloads()
[all …]
Dtest_mfc.cpp60 if(boost::regex_match(s, r, opts)) in test_mfc()
67 if((answer_table[0] > 0) && boost::regex_match(s, r, opts)) in test_mfc()
73 if(boost::regex_match( in test_mfc()
80 if(!boost::regex_match(s, r, opts)) in test_mfc()
238 if(boost::regex_match(s, r, opts)) in test_mfc()
245 if((answer_table[0] > 0) && boost::regex_match(s, r, opts)) in test_mfc()
251 if(boost::regex_match( in test_mfc()
258 if(!boost::regex_match(s, r, opts)) in test_mfc()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/include/boost/regex/v5/
Dregex_match.hpp33 bool regex_match(BidiIterator first, BidiIterator last, in regex_match() function
42 bool regex_match(iterator first, iterator last, in regex_match() function
47 return regex_match(first, last, m, e, flags | regex_constants::match_any); in regex_match()
53 inline bool regex_match(const charT* str, in regex_match() function
58 return regex_match(str, str + traits::length(str), m, e, flags); in regex_match()
62 inline bool regex_match(const std::basic_string<charT, ST, SA>& s, in regex_match() function
67 return regex_match(s.begin(), s.end(), m, e, flags); in regex_match()
70 inline bool regex_match(const charT* str, in regex_match() function
75 return regex_match(str, str + traits::length(str), m, e, flags | regex_constants::match_any); in regex_match()
79 inline bool regex_match(const std::basic_string<charT, ST, SA>& s, in regex_match() function
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/test/pathology/
Drecursion_test.cpp53 BOOST_CHECK(boost::regex_match(good_text, what, e)); in cpp_main()
54 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e), std::runtime_error); in cpp_main()
55 BOOST_CHECK(boost::regex_match(good_text, what, e)); in cpp_main()
56 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e), std::runtime_error); in cpp_main()
57 BOOST_CHECK(boost::regex_match(good_text, what, e)); in cpp_main()
58 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e), std::runtime_error); in cpp_main()
59 BOOST_CHECK(boost::regex_match(good_text, what, e)); in cpp_main()
60 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e), std::runtime_error); in cpp_main()
61 BOOST_CHECK(boost::regex_match(good_text, what, e)); in cpp_main()
/aosp_15_r20/external/stg/
H A Dpost_processing.cc68 if (std::regex_match(report[ix], section_re) && in SummariseCRCChanges()
69 !std::regex_match(report[ix], symbol_re)) { in SummariseCRCChanges()
73 std::regex_match(report[ix], symbol_changed_re) && in SummariseCRCChanges()
74 std::regex_match(report[ix + 1], crc_re) && in SummariseCRCChanges()
75 std::regex_match(report[ix + 2], empty_re)) { in SummariseCRCChanges()
122 if (ix + 2 < report.size() && std::regex_match(report[ix], match1, re1) && in SummariseOffsetChanges()
123 std::regex_match(report[ix + 1], match2, re2) && in SummariseOffsetChanges()
124 std::regex_match(report[ix + 2], match3, re3)) { in SummariseOffsetChanges()
180 std::regex_match(report[ix], match, symbol_re) && in GroupRemovedAddedSymbols()
181 std::regex_match(report[ix + 1], empty_re)) { in GroupRemovedAddedSymbols()
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/re/re.const/re.matchflag/
H A Dmatch_not_eol.pass.cpp25 assert( std::regex_match(target, re)); in main()
26 assert(!std::regex_match(target, re, std::regex_constants::match_not_eol)); in main()
32 assert( std::regex_match(target, re)); in main()
33 assert( std::regex_match(target, re, std::regex_constants::match_not_eol)); in main()
78 assert(!std::regex_match(target, re)); in main()
79 assert(!std::regex_match(target, re, std::regex_constants::match_not_eol)); in main()
H A Dmatch_prev_avail.pass.cpp26 assert(std::regex_match(str1 + 1, str1 + 2, std::regex("^a"), in main()
30 assert(std::regex_match(str1_scnd, std::regex("a"), in main()
36 assert(std::regex_match(str1 + 1, str1 + 2, std::regex("\\ba\\b"), in main()
44 assert(std::regex_match(str1 + 1, str1 + 2, std::regex("^a"), in main()
48 assert(std::regex_match(str1_scnd, std::regex("\\ba"), in main()
79 assert(std::regex_match(Start, End, std::regex("\\bcd\\b"), in main()

1234567891011