/external/libcxx/test/std/re/re.alg/re.alg.match/ |
D | ecma.pass.cpp | 36 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 …]
|
D | basic.pass.cpp | 35 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 …]
|
D | extended.pass.cpp | 36 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 …]
|
D | lookahead_capture.pass.cpp | 36 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()
|
D | parse_curly_brackets.pass.cpp | 33 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()
|
D | egrep.pass.cpp | 30 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()
|
D | grep.pass.cpp | 30 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()
|
D | basic.fail.cpp | 34 std::regex_match(std::string("abcde"), m, re); in main()
|
/external/libcxx/test/std/re/re.regex/re.regex.construct/ |
D | awk_oct.pass.cpp | 25 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/ |
D | match_not_eol.pass.cpp | 27 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()
|
D | match_not_bol.pass.cpp | 27 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()
|
D | match_not_null.pass.cpp | 36 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/ |
D | IceCompiler.cpp | 55 std::regex_match(Filename, std::regex(".*\\.ll")); in llvmIRInput() 60 std::regex_match(Filename, std::regex(".*\\.wasm")); in wasmInput()
|
/external/selinux/libselinux/src/ |
D | regex.h | 136 int regex_match(struct regex_data *regex, char const *subject,
|
D | regex.c | 206 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
|
D | label_file.c | 789 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/ |
D | grep.pass.cpp | 36 std::regex_match(s, re); in LLVMFuzzerTestOneInput()
|
/external/skia/tools/ |
D | ok_vias.cpp | 121 if (!std::regex_match (name, match) || in draw()
|
/external/libcxx/include/ |
D | regex | 527 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/ |
D | hidl_manager.cpp | 324 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/ |
D | span_tests.cpp | 1362 std::regex_match(s.begin(), s.end(), match, std::regex(".*")); in SUITE()
|