/external/libcxx/test/std/re/re.alg/re.alg.match/ |
D | ecma.pass.cpp | 35 assert(std::regex_match(s, m, std::regex("a"))); in main() 51 assert(std::regex_match(s, m, std::regex("ab"))); in main() 66 assert(!std::regex_match(s, m, std::regex("ba"))); in main() 73 assert(!std::regex_match(s, m, std::regex("ab"))); in main() 79 assert(!std::regex_match(s, m, std::regex("ab"), in main() 86 assert(!std::regex_match(s, m, std::regex("bc"))); in main() 92 assert(std::regex_match(s, m, std::regex("ab*c"))); in main() 107 assert(std::regex_match(s, m, std::regex("(ab)*c"))); in main() 125 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi"))); in main() 131 assert(std::regex_match(s, m, std::regex("^abc"))); in main() [all …]
|
D | basic.pass.cpp | 34 assert(!std::regex_match("a", m, std::regex())); in main() 41 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::basic))); in main() 57 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main() 72 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::basic))); in main() 79 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic))); in main() 85 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::basic), in main() 92 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::basic))); in main() 98 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::basic))); in main() 113 assert(std::regex_match(s, m, std::regex("\\(ab\\)*c", std::regex_constants::basic))); in main() 131 assert(!std::regex_match(s, m, std::regex("cd\\(\\(e\\)fg\\)hi", in main() [all …]
|
D | extended.pass.cpp | 35 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended))); in main() 51 assert(std::regex_match(s, m, std::regex("ab", std::regex_constants::extended))); in main() 66 assert(!std::regex_match(s, m, std::regex("ba", std::regex_constants::extended))); in main() 73 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended))); in main() 79 assert(!std::regex_match(s, m, std::regex("ab", std::regex_constants::extended), in main() 86 assert(!std::regex_match(s, m, std::regex("bc", std::regex_constants::extended))); in main() 92 assert(std::regex_match(s, m, std::regex("ab*c", std::regex_constants::extended))); in main() 107 assert(std::regex_match(s, m, std::regex("(ab)*c", std::regex_constants::extended))); in main() 125 assert(!std::regex_match(s, m, std::regex("cd((e)fg)hi", in main() 132 assert(std::regex_match(s, m, std::regex("^abc", std::regex_constants::extended))); in main() [all …]
|
D | lookahead_capture.pass.cpp | 35 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()
|
D | parse_curly_brackets.pass.cpp | 32 assert((std::regex_match(target, smatch, regex))); in test1() 42 assert((std::regex_match(target, smatch, regex))); in test2() 52 assert((std::regex_match(target, smatch, regex))); in test3() 62 assert((std::regex_match(target, smatch, regex))); in test4()
|
D | egrep.pass.cpp | 29 assert(std::regex_match(s, m, std::regex("tour\nto\ntournament", in main() 45 assert(!std::regex_match(s, m, std::regex("tour\n\ntournament", in main() 52 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna", in main() 68 assert(std::regex_match(s, m, std::regex("(tour|to|tournament)+\ntourna", in main()
|
D | grep.pass.cpp | 29 assert(std::regex_match(s, m, std::regex("tour\nto\ntournament", in main() 45 assert(!std::regex_match(s, m, std::regex("tour\n\ntournament", in main()
|
D | basic.fail.cpp | 33 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 | 24 assert(std::regex_match("\4", std::regex("\\4", awk))); in main() 25 assert(std::regex_match("\41", std::regex("\\41", awk))); in main() 26 assert(std::regex_match("\141", std::regex("\\141", awk))); in main() 27 assert(std::regex_match("\1411", std::regex("\\1411", awk))); in main()
|
/external/libcxx/test/std/re/re.const/re.matchflag/ |
D | match_not_eol.pass.cpp | 26 assert( std::regex_match(target, re)); in main() 27 assert(!std::regex_match(target, re, std::regex_constants::match_not_eol)); in main() 33 assert( std::regex_match(target, re)); in main() 34 assert( std::regex_match(target, re, std::regex_constants::match_not_eol)); in main()
|
D | match_not_bol.pass.cpp | 26 assert( std::regex_match(target, re)); in main() 27 assert(!std::regex_match(target, re, std::regex_constants::match_not_bol)); in main() 33 assert( std::regex_match(target, re)); in main() 34 assert( std::regex_match(target, re, std::regex_constants::match_not_bol)); in main()
|
/external/lldb/source/Interpreter/ |
D | CommandObjectRegexCommand.cpp | 63 RegularExpression::Match regex_match(m_max_matches); in DoExecute() local 65 if (pos->regex.Execute (command, ®ex_match)) in DoExecute() 73 if (regex_match.GetMatchAtIndex (command, match_idx, match_str)) in DoExecute()
|
D | Args.cpp | 858 RegularExpression::Match regex_match(3); in StringToAddress() local 859 if (g_symbol_plus_offset_regex.Execute(s, ®ex_match)) in StringToAddress() 865 if (regex_match.GetMatchAtIndex(s, 1, name)) in StringToAddress() 867 if (regex_match.GetMatchAtIndex(s, 2, str)) in StringToAddress() 871 if (regex_match.GetMatchAtIndex(s, 3, str)) in StringToAddress()
|
/external/lldb/source/Target/ |
D | ThreadPlanStepInRange.cpp | 297 RegularExpression::Match regex_match(num_matches); in FrameMatchesAvoidRegexp() local 299 bool return_value = avoid_regexp_to_use->Execute(frame_function_name, ®ex_match); in FrameMatchesAvoidRegexp() 305 regex_match.GetMatchAtIndex(frame_function_name,0, match); in FrameMatchesAvoidRegexp()
|
/external/lldb/source/Core/ |
D | Disassembler.cpp | 696 RegularExpression::Match regex_match(1); in ReadArray() local 697 bool reg_exp_success = g_reg_exp.Execute (line.c_str(), ®ex_match); in ReadArray() 699 regex_match.GetMatchAtIndex (line.c_str(), 1, value); in ReadArray() 765 RegularExpression::Match regex_match(2); in ReadDictionary() local 767 bool reg_exp_success = g_reg_exp.Execute (line.c_str(), ®ex_match); in ReadDictionary() 772 regex_match.GetMatchAtIndex (line.c_str(), 1, key); in ReadDictionary() 773 regex_match.GetMatchAtIndex (line.c_str(), 2, value); in ReadDictionary()
|
D | ConnectionFileDescriptor.cpp | 58 RegularExpression::Match regex_match(2); in DecodeHostAndPort() local 59 if (g_regex.Execute (host_and_port, ®ex_match)) in DecodeHostAndPort() 61 if (regex_match.GetMatchAtIndex (host_and_port, 1, host_str) && in DecodeHostAndPort() 62 regex_match.GetMatchAtIndex (host_and_port, 2, port_str)) in DecodeHostAndPort()
|
/external/lldb/source/Symbol/ |
D | ObjectFile.cpp | 575 RegularExpression::Match regex_match(2); in SplitArchivePathWithObject() local 576 if (g_object_regex.Execute (path_with_object, ®ex_match)) in SplitArchivePathWithObject() 580 if (regex_match.GetMatchAtIndex (path_with_object, 1, path) && in SplitArchivePathWithObject() 581 regex_match.GetMatchAtIndex (path_with_object, 2, obj)) in SplitArchivePathWithObject()
|
D | Variable.cpp | 400 RegularExpression::Match regex_match(1); in GetValuesForVariableExpressionPath() local 401 if (g_regex.Execute(variable_expr_path, ®ex_match)) in GetValuesForVariableExpressionPath() 404 if (regex_match.GetMatchAtIndex(variable_expr_path, 1, variable_name)) in GetValuesForVariableExpressionPath()
|
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
D | DWARFCompileUnit.cpp | 974 RegularExpression::Match regex_match(3); in ParseProducerInfo() local 975 if (g_clang_version_regex.Execute (producer_cstr, ®ex_match)) in ParseProducerInfo() 978 if (regex_match.GetMatchAtIndex (producer_cstr, 1, str)) in ParseProducerInfo() 980 if (regex_match.GetMatchAtIndex (producer_cstr, 2, str)) in ParseProducerInfo() 982 if (regex_match.GetMatchAtIndex (producer_cstr, 3, str)) in ParseProducerInfo()
|
/external/libcxx/include/ |
D | regex | 525 regex_match(BidirectionalIterator first, BidirectionalIterator last, 532 regex_match(BidirectionalIterator first, BidirectionalIterator last, 538 regex_match(const charT* str, match_results<const charT*, Allocator>& m, 544 regex_match(const basic_string<charT, ST, SA>& s, 551 regex_match(const basic_string<charT, ST, SA>&& s, 558 regex_match(const charT* str, const basic_regex<charT, traits>& e, 563 regex_match(const basic_string<charT, ST, SA>& s, 5328 regex_match(_Bp, _Bp, match_results<_Bp, _Ap>&, const basic_regex<_Cp, _Tp>&, 5919 // regex_match 5923 regex_match(_BidirectionalIterator __first, _BidirectionalIterator __last, [all …]
|