/external/llvm-project/lldb/tools/debugserver/source/MacOSX/DarwinLog/ |
D | LogFilterRegex.cpp | 26 m_regex_text(regex), m_regex(), m_is_valid(false), m_error_text() { in LogFilterRegex() 28 memset(&m_regex, 0, sizeof(m_regex)); in LogFilterRegex() 32 auto comp_err = ::regcomp(&m_regex, regex.c_str(), DEFAULT_COMPILE_FLAGS); in LogFilterRegex() 37 ::regerror(comp_err, &m_regex, buffer, sizeof(buffer)); in LogFilterRegex() 46 regfree(&m_regex); in ~LogFilterRegex() 56 return ::regexec(&m_regex, message.GetActivity(), 0, nullptr, 0) == 0; in DoesMatch() 61 return ::regexec(&m_regex, message.GetActivityChain().c_str(), 0, nullptr, in DoesMatch() 67 return ::regexec(&m_regex, message.GetCategory(), 0, nullptr, 0) == 0; in DoesMatch() 78 bool match = ::regexec(&m_regex, message_text, 0, nullptr, 0) == 0; in DoesMatch() 89 return ::regexec(&m_regex, message.GetSubsystem(), 0, nullptr, 0) == 0; in DoesMatch()
|
D | LogFilterRegex.h | 38 regex_t m_regex; variable
|
/external/llvm-project/lldb/include/lldb/Interpreter/ |
D | OptionValueRegex.h | 20 : OptionValue(), m_regex(llvm::StringRef::withNullAsEmpty(value)), in OptionValue() 40 m_regex = RegularExpression(m_default_regex_str); in Clear() 48 return (m_regex.IsValid() ? &m_regex : nullptr); in GetCurrentValue() 53 m_regex = RegularExpression(llvm::StringRef(value)); in SetCurrentValue() 55 m_regex = RegularExpression(); in SetCurrentValue() 58 bool IsValid() const { return m_regex.IsValid(); } in IsValid() 61 RegularExpression m_regex;
|
/external/llvm-project/lldb/source/Interpreter/ |
D | OptionValueRegex.cpp | 23 if (m_regex.IsValid()) { in DumpValue() 24 llvm::StringRef regex_text = m_regex.GetText(); in DumpValue() 49 m_regex = RegularExpression(value); in SetValueFromString() 50 if (m_regex.IsValid()) { in SetValueFromString() 53 } else if (llvm::Error err = m_regex.GetError()) { in SetValueFromString() 64 return OptionValueSP(new OptionValueRegex(m_regex.GetText().str().c_str())); in DeepCopy()
|
/external/llvm-project/lldb/source/Core/ |
D | AddressResolverName.cpp | 37 m_regex(), m_match_type(type) { in AddressResolverName() 39 m_regex = RegularExpression(m_func_name.GetStringRef()); in AddressResolverName() 40 if (!m_regex.IsValid()) { in AddressResolverName() 52 m_regex(std::move(func_regex)), m_match_type(AddressResolver::Regexp) {} in AddressResolverName() 58 m_regex(), m_match_type(type) {} in AddressResolverName() 103 m_regex, eSymbolTypeCode, sym_list); in SearchCallback() 104 context.module_sp->FindFunctions(m_regex, include_symbols, in SearchCallback() 195 s->Printf("'%s' (regular expression)", m_regex.GetText().str().c_str()); in GetDescription()
|
/external/llvm-project/lldb/source/Utility/ |
D | RegularExpression.cpp | 18 m_regex(llvm::Regex(str)) {} in RegularExpression() 28 return m_regex.match(str, matches); in Execute() 31 bool RegularExpression::IsValid() const { return m_regex.isValid(); } in IsValid() 37 if (!m_regex.isValid(error)) in GetError()
|
/external/llvm-project/lldb/source/Breakpoint/ |
D | BreakpointResolverFileRegex.cpp | 26 m_regex(std::move(regex)), m_exact_match(exact_match), in BreakpointResolverFileRegex() 80 m_regex.GetText()); in SerializeToStructuredData() 105 cu_file_spec, m_regex, 1, UINT32_MAX, line_matches); in SearchCallback() 142 m_regex.GetText()); in SearchCallback() 154 m_regex.GetText().str().c_str(), m_exact_match); in GetDescription() 162 breakpoint, m_regex, m_function_names, m_exact_match)); in CopyForBreakpoint()
|
D | BreakpointResolverName.cpp | 31 m_class_name(), m_regex(), m_match_type(type), m_language(language), in BreakpointResolverName() 34 m_regex = RegularExpression(llvm::StringRef::withNullAsEmpty(name_cstr)); in BreakpointResolverName() 35 if (!m_regex.IsValid()) { in BreakpointResolverName() 79 m_class_name(nullptr), m_regex(std::move(func_regex)), in BreakpointResolverName() 88 m_regex(rhs.m_regex), m_match_type(rhs.m_match_type), in BreakpointResolverName() 191 if (m_regex.IsValid()) { in SerializeToStructuredData() 193 m_regex.GetText()); in SerializeToStructuredData() 286 m_regex, in SearchCallback() 405 s->Printf("regex = '%s'", m_regex.GetText().str().c_str()); in GetDescription()
|
/external/catch2/include/internal/ |
D | catch_matchers_string.cpp | 82 …:RegexMatcher(std::string regex, CaseSensitive::Choice caseSensitivity): m_regex(std::move(regex))… in RegexMatcher() 89 auto reg = std::regex(m_regex, flags); in match() 94 …return "matches " + ::Catch::Detail::stringify(m_regex) + ((m_caseSensitivity == CaseSensitive::Ch… in describe()
|
D | catch_matchers_string.h | 61 std::string m_regex;
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandObjectType.cpp | 50 bool m_regex; member in ScriptAddOptions 56 : m_flags(flags), m_regex(regx), m_name(name), m_category(catg) {} in ScriptAddOptions() 66 bool m_regex; member in SynthAddOptions 72 m_regex(regx), m_target_types(), m_category(catg) {} in SynthAddOptions() 122 bool m_regex; member in CommandObjectTypeSummaryAdd::CommandOptions 201 (options->m_regex in IOHandlerInputComplete() 323 m_regex = true; in SetOptionValue() 340 m_regex = false; in OptionParsingStarting() 357 bool m_regex; member in CommandObjectTypeSynthAdd::CommandOptions 440 options->m_regex in IOHandlerInputComplete() [all …]
|
D | CommandObjectFrame.cpp | 759 m_regex = true; in SetOptionValue() 772 m_regex = false; in OptionParsingStarting() 783 bool m_regex; member in CommandObjectFrameRecognizerAdd::CommandOptions 872 if (m_options.m_regex && m_options.m_symbols.size() > 1) { in DoExecute() 891 if (m_options.m_regex) { in DoExecute()
|
D | CommandCompletions.cpp | 206 m_regex = RegularExpression(regex_str); in SymbolCompleter() 218 context.module_sp->FindFunctions(m_regex, include_symbols, in SearchCallback() 230 if (!func_name.IsEmpty() && m_regex.Execute(func_name.GetStringRef())) in SearchCallback() 246 RegularExpression m_regex; member in __anonc8ffa9110311::SymbolCompleter
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | RegularExpression.h | 89 mutable llvm::Regex m_regex; variable
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | AddressResolverName.h | 53 RegularExpression m_regex; variable
|
/external/llvm-project/lldb/include/lldb/Breakpoint/ |
D | BreakpointResolverFileRegex.h | 65 m_regex; // This is the line expression that we are looking for. variable
|
D | BreakpointResolverName.h | 86 RegularExpression m_regex; variable
|
/external/catch2/single_include/catch2/ |
D | catch.hpp | 3549 std::string m_regex; member 11644 …:RegexMatcher(std::string regex, CaseSensitive::Choice caseSensitivity): m_regex(std::move(regex))… in RegexMatcher() 11651 auto reg = std::regex(m_regex, flags); in match() 11656 …return "matches " + ::Catch::Detail::stringify(m_regex) + ((m_caseSensitivity == CaseSensitive::Ch… in describe()
|
/external/libabigail/tests/lib/ |
D | catch.hpp | 3575 std::string m_regex; member 11706 …:RegexMatcher(std::string regex, CaseSensitive::Choice caseSensitivity): m_regex(std::move(regex))… in RegexMatcher() 11713 auto reg = std::regex(m_regex, flags); in match() 11718 …return "matches " + ::Catch::Detail::stringify(m_regex) + ((m_caseSensitivity == CaseSensitive::Ch… in describe()
|