/external/libcxx/test/std/re/re.alg/re.alg.match/ |
D | inverted_character_classes.pass.cpp | 20 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 …]
|
D | ecma.pass.cpp | 39 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 …]
|
D | basic.pass.cpp | 38 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 …]
|
D | awk.pass.cpp | 33 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 …]
|
D | extended.pass.cpp | 39 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 …]
|
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 | exponential.pass.cpp | 31 std::regex_match( in main() 45 assert(std::regex_match(s, std::regex("a*", op))); 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_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_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_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/tensorflow/tensorflow/lite/tools/evaluation/ |
D | evaluation_stage.cc | 52 if (!std::regex_match(tag_name_mapping, kTagNameMappingPattern)) { in ProcessExpectedTags() 63 if (!std::regex_match(std::string(tag), kTagPattern)) { in ProcessExpectedTags()
|
/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 | 141 int regex_match(struct regex_data *regex, char const *subject,
|
D | regex.c | 213 int regex_match(struct regex_data *regex, char const *subject, int partial) in regex_match() function 452 int regex_match(struct regex_data *regex, char const *subject, int partial) in regex_match() function
|
/external/libkmsxx/utils/ |
D | kmstest.cpp | 130 if (regex_match(crtc_str, sm, modename_re)) { in parse_crtc() 179 } else if (regex_match(crtc_str, sm, modeline_re)) { in parse_crtc() 249 if (!regex_match(plane_str, sm, plane_re)) in parse_plane() 342 if (!regex_match(fb_str, sm, fb_re)) in parse_fb() 369 if (!regex_match(view_str, sm, view_re)) in parse_view()
|
/external/libcxx/test/std/re/re.alg/re.alg.search/ |
D | grep.pass.cpp | 36 TEST_IGNORE_NODISCARD std::regex_match(s, re); in LLVMFuzzerTestOneInput() member in LLVMFuzzerTestOneInput::std
|
/external/catch2/include/internal/ |
D | catch_matchers_string.cpp | 90 return std::regex_match(matchee, reg); in match()
|
/external/libcxx/include/ |
D | regex | 532 regex_match(BidirectionalIterator first, BidirectionalIterator last, 539 regex_match(BidirectionalIterator first, BidirectionalIterator last, 545 regex_match(const charT* str, match_results<const charT*, Allocator>& m, 551 regex_match(const basic_string<charT, ST, SA>& s, 558 regex_match(const basic_string<charT, ST, SA>&& s, 565 regex_match(const charT* str, const basic_regex<charT, traits>& e, 570 regex_match(const basic_string<charT, ST, SA>& s, 5377 regex_match(_Bp, _Bp, match_results<_Bp, _Ap>&, const basic_regex<_Cp, _Tp>&, 6024 // regex_match 6028 regex_match(_BidirectionalIterator __first, _BidirectionalIterator __last, [all …]
|
/external/perfetto/tools/ftrace_proto_gen/ |
D | proto_gen_utils.cc | 239 if (std::regex_match(field.type_and_name, std::regex(R"(char \w+\[\d+\])"))) in InferProtoType()
|
/external/flatbuffers/tests/fuzzer/ |
D | flatbuffers_scalar_fuzzer.cc | 92 if (std::regex_match(str, match, re)) return true; in MatchRegexList()
|