/external/libcxx/test/std/re/re.alg/re.alg.search/ |
D | ecma.pass.cpp | 39 assert(std::regex_search(s, m, std::regex("a"))); in main() 55 assert(std::regex_search(s, m, std::regex("ab"))); in main() 70 assert(!std::regex_search(s, m, std::regex("ba"))); in main() 77 assert(std::regex_search(s, m, std::regex("ab"))); in main() 92 assert(!std::regex_search(s, m, std::regex("ab"), in main() 99 assert(std::regex_search(s, m, std::regex("bc"))); in main() 114 assert(std::regex_search(s, m, std::regex("ab*c"))); in main() 129 assert(std::regex_search(s, m, std::regex("(ab)*c"))); in main() 147 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 168 assert(std::regex_search(s, m, std::regex("^abc"))); in main() [all …]
|
D | awk.pass.cpp | 39 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::awk))); in main() 55 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::awk))); in main() 70 assert(!std::regex_search(s, m, std::regex("ba", std::regex_constants::awk))); in main() 77 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::awk))); in main() 92 assert(!std::regex_search(s, m, std::regex("ab", std::regex_constants::awk), in main() 99 assert(std::regex_search(s, m, std::regex("bc", std::regex_constants::awk))); in main() 114 assert(std::regex_search(s, m, std::regex("ab*c", std::regex_constants::awk))); in main() 129 assert(std::regex_search(s, m, std::regex("(ab)*c", std::regex_constants::awk))); in main() 147 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi", in main() 169 assert(std::regex_search(s, m, std::regex("^abc", std::regex_constants::awk))); in main() [all …]
|
D | basic.pass.cpp | 38 assert(!std::regex_search("a", m, std::regex())); in main() 45 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::basic))); in main() 61 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::basic))); in main() 76 assert(!std::regex_search(s, m, std::regex("ba", std::regex_constants::basic))); in main() 83 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::basic))); in main() 98 assert(!std::regex_search(s, m, std::regex("ab", std::regex_constants::basic), in main() 105 assert(std::regex_search(s, m, std::regex("bc", std::regex_constants::basic))); in main() 120 assert(std::regex_search(s, m, std::regex("ab*c", std::regex_constants::basic))); in main() 135 assert(std::regex_search(s, m, std::regex("\\(ab\\)*c", std::regex_constants::basic))); in main() 153 assert(std::regex_search(s, m, std::regex("cd\\(\\(e\\)fg\\)hi", in main() [all …]
|
D | extended.pass.cpp | 39 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::extended))); in main() 55 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::extended))); in main() 70 assert(!std::regex_search(s, m, std::regex("ba", std::regex_constants::extended))); in main() 77 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::extended))); in main() 92 assert(!std::regex_search(s, m, std::regex("ab", std::regex_constants::extended), in main() 99 assert(std::regex_search(s, m, std::regex("bc", std::regex_constants::extended))); in main() 114 assert(std::regex_search(s, m, std::regex("ab*c", std::regex_constants::extended))); in main() 129 assert(std::regex_search(s, m, std::regex("(ab)*c", std::regex_constants::extended))); in main() 147 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi", in main() 169 assert(std::regex_search(s, m, std::regex("^abc", std::regex_constants::extended))); in main() [all …]
|
D | egrep.pass.cpp | 30 assert(std::regex_search(s, m, std::regex("tour\nto\ntournament", in main() 46 assert(std::regex_search(s, m, std::regex("tour\n\ntournament", in main() 62 assert(std::regex_search(s, m, std::regex("(tour|to|tournament)+\ntourna", in main() 78 assert(std::regex_search(s, m, std::regex("(tour|to|tournament)+\ntourna", in main()
|
D | invert_neg_word_search.pass.cpp | 26 assert(std::regex_search("HelloWorld", std::regex("[^\\W]"))); in main() 27 assert(std::regex_search("_", std::regex("[^\\W]"))); in main()
|
D | lookahead.pass.cpp | 27 assert(!std::regex_search("ab", std::regex("(?=^)b"))); in main() 28 assert(!std::regex_search("ab", std::regex("a(?=^)b"))); in main()
|
D | exponential.pass.cpp | 31 std::regex_search( in main() 45 assert(std::regex_search(s, std::regex("a*", op))); in main()
|
D | grep.pass.cpp | 59 assert(std::regex_search(s, m, std::regex("tour\nto\ntournament", in main() 75 assert(std::regex_search(s, m, std::regex("tour\n\ntournament", in main()
|
D | basic.fail.cpp | 34 std::regex_search(std::string("abcde"), m, re); in main()
|
/external/libcxx/test/std/re/re.results/re.results.form/ |
D | form1.pass.cpp | 30 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 42 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi", in main() 55 assert(std::regex_search(s, m, std::regex("cdefghi"))); in main() 67 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 80 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 93 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi", in main() 107 assert(std::regex_search(s, m, std::regex("cdefghi"))); in main() 121 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main() 133 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main() 146 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main()
|
D | form4.pass.cpp | 29 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 38 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 47 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 57 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main() 66 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main() 75 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main()
|
D | form3.pass.cpp | 34 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 43 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 52 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 62 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main() 71 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main() 80 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main()
|
D | form2.pass.cpp | 35 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 46 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 58 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in main() 71 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main() 82 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main() 94 assert(std::regex_search(s, m, std::wregex(L"cd((e)fg)hi"))); in main()
|
/external/libcxx/test/std/re/re.const/re.matchflag/ |
D | match_not_eol.pass.cpp | 41 assert( std::regex_search(target, re)); in main() 42 assert(!std::regex_search(target, re, std::regex_constants::match_not_eol)); in main() 48 assert( std::regex_search(target, re)); in main() 49 assert( std::regex_search(target, re, std::regex_constants::match_not_eol)); in main()
|
D | match_not_bol.pass.cpp | 41 assert( std::regex_search(target, re)); in main() 42 assert(!std::regex_search(target, re, std::regex_constants::match_not_bol)); in main() 48 assert( std::regex_search(target, re)); in main() 49 assert( std::regex_search(target, re, std::regex_constants::match_not_bol)); in main()
|
D | match_not_null.pass.cpp | 24 assert(!std::regex_search("a", m, std::regex("b*"), in main() 26 assert(std::regex_search("aa", m, std::regex("a*?"), in main() 29 assert(!std::regex_search("a", m, std::regex("b*", std::regex::extended), in main() 31 assert(!std::regex_search( in main()
|
/external/libcxx/test/std/re/re.results/re.results.state/ |
D | ready.pass.cpp | 26 std::regex_search(s, m, std::regex("cd((e)fg)hi")); in test1() 36 std::regex_search(s, m, std::regex("z")); in test2()
|
/external/libcxx/test/std/re/re.regex/re.regex.assign/ |
D | assign.pass.cpp | 27 assert(std::regex_search("ab", r2)); in main() 36 assert(std::regex_search("ab", r2)); in main()
|
/external/bcc/src/cc/usdt/ |
D | usdt_args.cc | 247 matched = std::regex_search(arg_str, matches, arg_n_regex); in parse() 253 if (std::regex_search(arg_str, matches, arg_op_regex_const)) { in parse() 255 } else if (std::regex_search(arg_str, matches, arg_op_regex_reg)) { in parse() 257 } else if (std::regex_search(arg_str, matches, arg_op_regex_breg_off)) { in parse() 260 } else if (std::regex_search(arg_str, matches, arg_op_regex_breg_ireg)) { in parse()
|
/external/libcxx/utils/google-benchmark/cmake/ |
D | std_regex.cpp | 8 return std::regex_search(str, re) ? 0 : -1; in main()
|
/external/google-benchmark/cmake/ |
D | std_regex.cpp | 8 return std::regex_search(str, re) ? 0 : -1; in main()
|
/external/libcxx/test/std/re/re.results/re.results.acc/ |
D | prefix.pass.cpp | 25 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in test()
|
/external/libcxx/test/std/re/re.results/re.results.size/ |
D | empty.pass.cpp | 29 assert(std::regex_search(s, m, std::regex("cd((e)fg)hi"))); in test()
|
/external/libcxx/test/std/re/re.results/re.results.nonmember/ |
D | equal.pass.cpp | 33 assert(std::regex_search(s, m1, std::regex("cd((e)fg)hi"))); in test()
|