Home
last modified time | relevance | path

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

/external/libcxx/test/std/re/re.alg/re.alg.match/
Decma.pass.cpp36 assert(std::regex_match(s, m, std::regex("a"))); in main()
52 assert(std::regex_match(s, m, std::regex("ab"))); in main()
67 assert(!std::regex_match(s, m, std::regex("ba"))); in main()
74 assert(!std::regex_match(s, m, std::regex("ab"))); in main()
80 assert(!std::regex_match(s, m, std::regex("ab"), in main()
87 assert(!std::regex_match(s, m, std::regex("bc"))); in main()
93 assert(std::regex_match(s, m, std::regex("ab*c"))); in main()
108 assert(std::regex_match(s, m, std::regex("(ab)*c"))); in main()
126 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi"))); in main()
132 assert(std::regex_match(s, m, std::regex("^abc"))); in main()
[all …]
Dbasic.pass.cpp35 assert(!std::regex_match("a", m, std::regex())); in main()
42 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::basic))); in main()
58 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main()
73 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::basic))); in main()
80 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main()
86 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic), in main()
93 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::basic))); in main()
99 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::basic))); in main()
114 assert(std::regex_match(s, m, std::regex("\\(ab\\)*c", std::regex_constants::basic))); in main()
132 assert(!std::regex_match(s, m, std::regex("cd\\(\\(e\\)fg\\)hi", in main()
[all …]
Dextended.pass.cpp36 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended))); in main()
52 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::extended))); in main()
67 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::extended))); in main()
74 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended))); in main()
80 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended), in main()
87 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::extended))); in main()
93 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::extended))); in main()
108 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::extended))); in main()
126 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi", in main()
133 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::extended))); in main()
[all …]
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()
Dparse_curly_brackets.pass.cpp33 assert((std::regex_match(target, smatch, regex))); in test1()
43 assert((std::regex_match(target, smatch, regex))); in test2()
53 assert((std::regex_match(target, smatch, regex))); in test3()
63 assert((std::regex_match(target, smatch, regex))); in test4()
Degrep.pass.cpp30 assert(std::regex_match(s, m, std::regex("tour\nto\ntournament", in main()
46 assert(!std::regex_match(s, m, std::regex("tour\n\ntournament", in main()
53 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna", in main()
69 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna", in main()
Dgrep.pass.cpp30 assert(std::regex_match(s, m, std::regex("tour\nto\ntournament", in main()
46 assert(!std::regex_match(s, m, std::regex("tour\n\ntournament", in main()
Dbasic.fail.cpp34 std::regex_match(std::string("abcde"), m, re); in main()
/external/libcxx/test/std/re/re.regex/re.regex.construct/
Dawk_oct.pass.cpp25 assert(std::regex_match("\4", std::regex("\\4", awk))); in main()
26 assert(std::regex_match("\41", std::regex("\\41", awk))); in main()
27 assert(std::regex_match("\141", std::regex("\\141", awk))); in main()
28 assert(std::regex_match("\141" "1", std::regex("\\1411", awk))); in main()
/external/libcxx/test/std/re/re.const/re.matchflag/
Dmatch_not_eol.pass.cpp27 assert( std::regex_match(target, re)); in main()
28 assert(!std::regex_match(target, re, std::regex_constants::match_not_eol)); in main()
34 assert( std::regex_match(target, re)); in main()
35 assert( std::regex_match(target, re, std::regex_constants::match_not_eol)); in main()
Dmatch_not_bol.pass.cpp27 assert( std::regex_match(target, re)); in main()
28 assert(!std::regex_match(target, re, std::regex_constants::match_not_bol)); in main()
34 assert( std::regex_match(target, re)); in main()
35 assert( std::regex_match(target, re, std::regex_constants::match_not_bol)); in main()
Dmatch_not_null.pass.cpp36 assert(!std::regex_match("", m, std::regex("a*"), in main()
38 assert(!std::regex_match("", m, std::regex("a*", std::regex::extended), in main()
40 assert(!std::regex_match( in main()
/external/swiftshader/third_party/subzero/src/
DIceCompiler.cpp55 std::regex_match(Filename, std::regex(".*\\.ll")); in llvmIRInput()
60 std::regex_match(Filename, std::regex(".*\\.wasm")); in wasmInput()
/external/selinux/libselinux/src/
Dregex.h136 int regex_match(struct regex_data *regex, char const *subject,
Dregex.c206 int regex_match(struct regex_data *regex, char const *subject, int partial) in regex_match() function
433 int regex_match(struct regex_data *regex, char const *subject, int partial) in regex_match() function
Dlabel_file.c789 rc = regex_match(spec->regex, key, partial); in lookup_common()
791 rc = regex_match(spec->regex, buf, partial); in lookup_common()
/external/libcxx/test/std/re/re.alg/re.alg.search/
Dgrep.pass.cpp36 std::regex_match(s, re); in LLVMFuzzerTestOneInput()
/external/skia/tools/
Dok_vias.cpp121 if (!std::regex_match (name, match) || in draw()
/external/libcxx/include/
Dregex527 regex_match(BidirectionalIterator first, BidirectionalIterator last,
534 regex_match(BidirectionalIterator first, BidirectionalIterator last,
540 regex_match(const charT* str, match_results<const charT*, Allocator>& m,
546 regex_match(const basic_string<charT, ST, SA>& s,
553 regex_match(const basic_string<charT, ST, SA>&& s,
560 regex_match(const charT* str, const basic_regex<charT, traits>& e,
565 regex_match(const basic_string<charT, ST, SA>& s,
5346 regex_match(_Bp, _Bp, match_results<_Bp, _Ap>&, const basic_regex<_Cp, _Tp>&,
5973 // regex_match
5977 regex_match(_BidirectionalIterator __first, _BidirectionalIterator __last,
[all …]
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dhidl_manager.cpp324 if (!std::regex_match(params_str, matches, params_gsm_regex3) && in parseGsmAuthNetworkRequest()
325 !std::regex_match(params_str, matches, params_gsm_regex2)) { in parseGsmAuthNetworkRequest()
349 if (!std::regex_match(params_str, matches, params_umts_regex)) { in parseUmtsAuthNetworkRequest()
/external/Microsoft-GSL/tests/
Dspan_tests.cpp1362 std::regex_match(s.begin(), s.end(), match, std::regex(".*")); in SUITE()